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 @@ -16,113 +16,78 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.19490671157836914 + "score": 0.19533346593379974 }, "else": { + "operation": "boost", + "score": 0.19669055938720703 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.1966409683227539 + "score": 0.1875191479921341 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.19716303050518036 + "score": -0.038249850273132324 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1983005702495575 - } + "operation": "boost", + "score": 0.19255712628364563 } }, "else": { "operation": "boost", - "score": 0.19390380382537842 + "score": 0.0008015634957700968 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.18672165274620056 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.19101537764072418 + "score": 0.19354674220085144 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.19326137006282806 - }, - "else": { - "operation": "boost", - "score": 0.1904972642660141 - } + "operation": "boost", + "score": 0.19672870635986328 } + }, + "else": { + "operation": "boost", + "score": 0.19304229319095612 } - }, - "else": { - "operation": "boost", - "score": 0.19356708228588104 } } }, @@ -131,17 +96,8 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19835755228996277 - }, - "else": { - "operation": "boost", - "score": 0.19237826764583588 - } + "operation": "boost", + "score": 0.19608449935913086 }, "else": { "operation": "if_greater", @@ -149,11 +105,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.19339041411876678 + "score": 0.19283226132392883 }, "else": { "operation": "boost", - "score": 0.18134549260139465 + "score": 0.18191476166248322 } } } @@ -167,84 +123,155 @@ "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19994968175888062 - }, - "else": { - "operation": "boost", - "score": 0.19923755526542664 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.19960644841194153 + "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": "boost", - "score": 0.17247168719768524 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.1974513977766037 + "score": 0.20000000298023224 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.1812364161014557 + "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.19938328862190247 + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19835087656974792 }, "else": { "operation": "boost", - "score": 0.19128507375717163 + "score": 0.18986621499061584 } }, "else": { - "operation": "boost", - "score": 0.1681649535894394 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.0, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "else": { + "operation": "boost", + "score": 0.18233279883861542 + } } } }, @@ -255,310 +282,393 @@ "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93.5, + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "boost", - "score": 0.1880350559949875 + "score": 0.18800073862075806 }, "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.13941003382205963 + "score": 0.19828557968139648 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1796962469816208 + "score": 0.20000000298023224 }, "else": { - "operation": "boost", - "score": 0.1463017612695694 + "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 + } } } - }, - "else": { - "operation": "boost", - "score": 0.1859941929578781 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.17912934720516205 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.19155219197273254 + "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 + } }, "else": { "operation": "boost", - "score": 0.12757840752601624 + "score": 0.1641821414232254 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16644348204135895 }, "else": { - "operation": "boost", - "score": 0.08537906408309937 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19803.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23090.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "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 + }, + "else": { + "operation": "boost", + "score": 0.1994200497865677 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "else": { + "operation": "boost", + "score": 0.19392213225364685 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16867470741271973 + }, + "else": { + "operation": "boost", + "score": 0.18983542919158936 + } + } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.16126911342144012 }, "else": { "operation": "boost", - "score": -0.027290569618344307 + "score": 0.012881728820502758 } } + }, + "else": { + "operation": "boost", + "score": 0.15168944001197815 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39164.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.20000000298023224 + "score": 0.1912827491760254 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.19387505948543549 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.20000000298023224 + "score": 0.19920213520526886 }, "else": { "operation": "boost", - "score": 0.20000000298023224 + "score": 0.1538866013288498 } }, "else": { "operation": "boost", - "score": 0.20000000298023224 + "score": 0.18721753358840942 } - }, - "else": { - "operation": "boost", - "score": 0.19003652036190033 } } }, "else": { "operation": "boost", - "score": 0.19338887929916382 + "score": 0.1785055547952652 } }, "else": { + "operation": "boost", + "score": 0.17693720757961273 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.20000000298023224 + "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.18368329107761383 + }, + "else": { + "operation": "boost", + "score": -0.013765337876975536 + } }, "else": { - "operation": "boost", - "score": 0.20000000298023224 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1677456796169281 + }, + "else": { + "operation": "boost", + "score": 0.06016721948981285 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 97.5, "then": { - "operation": "boost", - "score": 0.20000000298023224 + "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 + } }, "else": { "operation": "boost", - "score": 0.19820988178253174 + "score": 0.12005230039358139 } } }, "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": 91114.0, + "threshold": 2504.0, "then": { "operation": "boost", - "score": 0.11883357167243958 + "score": 0.20000000298023224 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75477.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77236.5, - "then": { - "operation": "boost", - "score": 0.19638828933238983 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.19946859776973724 - } - }, - "else": { - "operation": "boost", - "score": 0.18278513848781586 - } + "operation": "boost", + "score": 0.1625605672597885 } + }, + "else": { + "operation": "boost", + "score": -0.02582113817334175 } } - }, - "else": { - "operation": "boost", - "score": 0.10126110166311264 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FileProximityDistance", + "threshold": 33.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", @@ -568,43 +678,40 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15537779033184052 + "score": 0.1521744430065155 }, "else": { "operation": "boost", - "score": 0.1120707094669342 + "score": 0.07462543994188309 } }, "else": { "operation": "boost", - "score": 0.07043943554162979 + "score": 0.06317751854658127 } }, "else": { "operation": "boost", - "score": -0.029176026582717896 + "score": -0.027393395081162453 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", + "CCC_UnionTag", "CCC_Symbol", - "CCC_UnionTag" + "CCC_Type" ], "then": { "operation": "if_greater", @@ -614,135 +721,206 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25976.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.17946749925613403 + "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 + } }, "else": { - "operation": "boost", - "score": 0.1971757709980011 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350855.0, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.18844114243984222 + "score": 0.19675719738006592 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13251.5, + "threshold": 170888.5, "then": { "operation": "boost", - "score": 0.1934083253145218 + "score": 0.17461903393268585 }, "else": { "operation": "boost", - "score": 0.17645490169525146 + "score": 0.1930556446313858 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.18084296584129333 - }, - "else": { - "operation": "boost", - "score": 0.1711607128381729 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6799.0, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53969.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.16778776049613953 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22760.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.19942067563533783 + "score": 0.19937188923358917 }, "else": { "operation": "boost", - "score": 0.058849334716796875 + "score": 0.187881201505661 } + }, + "else": { + "operation": "boost", + "score": 0.17833831906318665 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7565.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.16682066023349762 + "score": 0.17501217126846313 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.1581292301416397 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18666.0, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "else": { + "operation": "boost", + "score": 0.1908876597881317 + } }, "else": { "operation": "boost", - "score": 0.20000000298023224 + "score": 0.17472603917121887 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "boost", + "score": 0.1980476826429367 }, "else": { "operation": "boost", - "score": 0.07006686925888062 + "score": 0.10176723450422287 } } }, "else": { "operation": "boost", - "score": 0.16235865652561188 + "score": 0.16014410555362701 } }, "else": { @@ -758,61 +936,43 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29003.5, + "threshold": 69539.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34973.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.1964968591928482 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.196255624294281 + "score": 0.20000000298023224 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - } + "operation": "boost", + "score": 0.20000000298023224 } + }, + "else": { + "operation": "boost", + "score": 0.20000000298023224 } + }, + "else": { + "operation": "boost", + "score": 0.1969286948442459 } }, "else": { "operation": "boost", - "score": 0.18147854506969452 + "score": 0.17839567363262177 } }, "else": { @@ -821,35 +981,17 @@ "threshold": 4.5, "then": { "operation": "boost", - "score": 0.17645478248596191 + "score": 0.17280472815036774 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19913363456726074 - }, - "else": { - "operation": "boost", - "score": 0.13431257009506226 - } - }, - "else": { - "operation": "boost", - "score": 0.12074050307273865 - } + "operation": "boost", + "score": 0.12647944688796997 } } }, "else": { "operation": "boost", - "score": 0.11532431095838547 + "score": 0.11802919209003448 } } } @@ -857,273 +999,153 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14387.5, + "threshold": 20811.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15737.0, - "then": { - "operation": "boost", - "score": 0.1920400857925415 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 42846.5, "then": { - "operation": "boost", - "score": 0.1710679680109024 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 285731.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.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.19799023866653442 - } - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "boost", - "score": 0.197475403547287 - } + "operation": "boost", + "score": 0.19941894710063934 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.1907077133655548 + "score": 0.19921576976776123 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 97095.5, "then": { + "operation": "boost", + "score": 0.19614481925964355 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25967.0, + "threshold": 96602.0, "then": { - "operation": "boost", - "score": 0.18489691615104675 - }, - "else": { "operation": "boost", "score": 0.20000000298023224 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.18866774439811707 - } }, "else": { "operation": "boost", - "score": 0.19694939255714417 + "score": 0.1981440782546997 } } } }, "else": { "operation": "boost", - "score": 0.18945801258087158 + "score": 0.20000000298023224 } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19817236065864563 + }, + "else": { + "operation": "boost", + "score": 0.1877955049276352 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", + "operation": "boost", + "score": 0.17418637871742249 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121087.0, + "then": { + "operation": "boost", + "score": 0.19916342198848724 + }, + "else": { + "operation": "boost", + "score": 0.1787724494934082 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67555.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1962914764881134 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.20000000298023224 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 275255.5, - "then": { - "operation": "boost", - "score": 0.1937667727470398 - }, - "else": { - "operation": "boost", - "score": 0.20000000298023224 - } - } - }, - "else": { - "operation": "boost", - "score": 0.19782409071922302 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1800612062215805 - } + "operation": "boost", + "score": 0.19931510090827942 }, "else": { "operation": "boost", - "score": 0.14883801341056824 + "score": 0.17779812216758728 } }, "else": { "operation": "boost", - "score": 0.16944599151611328 + "score": 0.17781588435173035 } } } }, "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" - ], - "then": { - "operation": "boost", - "score": 0.19240497052669525 - }, - "else": { - "operation": "boost", - "score": 0.13022984564304352 - } + "operation": "boost", + "score": 0.1855955868959427 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.18399521708488464 - }, - "else": { - "operation": "boost", - "score": 0.04004134237766266 - } + "operation": "boost", + "score": 0.06444863229990005 } } }, @@ -1134,15 +1156,15 @@ "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", "Destructor", - "Namespace", - "Constructor" + "Operator", + "Constructor", + "Namespace" ], "then": { "operation": "if_member", @@ -1152,81 +1174,83 @@ "CCC_Namespace" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { - "operation": "boost", - "score": 0.10822892189025879 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.169729083776474 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.19240888953208923 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.19663546979427338 + "score": 0.14621421694755554 }, "else": { - "operation": "boost", - "score": 0.20000000298023224 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "else": { + "operation": "boost", + "score": 0.20000000298023224 + } } - }, - "else": { - "operation": "boost", - "score": 0.19007615745067596 } + }, + "else": { + "operation": "boost", + "score": 0.1773659735918045 } + }, + "else": { + "operation": "boost", + "score": 0.15703141689300537 } }, "else": { "operation": "boost", - "score": 0.02374824322760105 + "score": 0.018572721630334854 } }, - "else": { - "operation": "boost", - "score": -0.11453782021999359 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.015042195096611977 - }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 143.5, "then": { "operation": "boost", - "score": 0.16003981232643127 + "score": -0.026990002021193504 }, "else": { "operation": "boost", - "score": 0.08869394659996033 + "score": -0.12391144037246704 } } + }, + "else": { + "operation": "boost", + "score": 0.061142247170209885 } }, "else": { "operation": "boost", - "score": -0.11989353597164154 + "score": -0.12079951167106628 } } } @@ -1242,53 +1266,75 @@ ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "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": 5.5, + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.17337575554847717 + "score": 0.17385268211364746 }, "else": { "operation": "boost", - "score": 0.1737491637468338 + "score": 0.17445120215415955 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.17430360615253448 - }, - "else": { - "operation": "boost", - "score": 0.1701635867357254 - } + "operation": "boost", + "score": 0.1748499721288681 } }, + "else": { + "operation": "boost", + "score": 0.17169058322906494 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17628850042819977 + }, "else": { "operation": "if_member", "feature": "ContextKind", @@ -1297,11 +1343,11 @@ ], "then": { "operation": "boost", - "score": 0.17624247074127197 + "score": 0.17707902193069458 }, "else": { "operation": "boost", - "score": 0.17310509085655212 + "score": 0.17092837393283844 } } }, @@ -1311,162 +1357,155 @@ "set": [ "CCC_Expression" ], - "then": { - "operation": "boost", - "score": 0.17669837176799774 - }, - "else": { - "operation": "boost", - "score": 0.16872604191303253 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.17200632393360138 - }, - "else": { - "operation": "boost", - "score": 0.1729995608329773 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.17246198654174805 - }, - "else": { - "operation": "boost", - "score": 0.17261411249637604 - } + "operation": "boost", + "score": -0.001039095688611269 }, "else": { "operation": "boost", - "score": 0.17343756556510925 + "score": 0.1761353611946106 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2123642861843109 - }, - "else": { - "operation": "boost", - "score": 0.17554500699043274 - } - }, - "else": { - "operation": "boost", - "score": 0.17436976730823517 - } + "operation": "boost", + "score": 0.16320472955703735 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.17326954007148743 - }, - "else": { - "operation": "boost", - "score": 0.1737867146730423 - } + "operation": "boost", + "score": 0.17153580486774445 }, "else": { "operation": "boost", - "score": 0.17454893887043 + "score": 0.1719209849834442 } }, "else": { - "operation": "boost", - "score": 0.1758958250284195 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.17255648970603943 + "score": 0.1728522926568985 }, "else": { - "operation": "boost", - "score": 0.17316369712352753 + "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": "boost", + "score": 0.17353105545043945 + }, + "else": { + "operation": "boost", + "score": -0.018497085198760033 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1737327128648758 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.19855864346027374 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20791785418987274 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1754288375377655 + }, + "else": { + "operation": "boost", + "score": 0.17585204541683197 + } + } + }, + "else": { + "operation": "boost", + "score": 0.15891949832439423 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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.17291121184825897 + "score": 0.1743224859237671 }, "else": { "operation": "boost", - "score": 0.17291247844696045 + "score": -0.030446210876107216 } } } @@ -1474,35 +1513,36 @@ }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.17569664120674133 - }, - "else": { - "operation": "boost", - "score": 0.1614881157875061 - } - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15596485137939453 + "score": -0.1254286766052246 }, "else": { - "operation": "boost", - "score": 0.16817651689052582 + "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 } } } @@ -1517,113 +1557,124 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.17330165207386017 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.17353059351444244 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.17320981621742249 + "score": 0.1762663573026657 }, "else": { "operation": "boost", - "score": -0.21612565219402313 + "score": 0.17096033692359924 } + }, + "else": { + "operation": "boost", + "score": 0.1735181212425232 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1741439253091812 - }, - "else": { - "operation": "boost", - "score": 0.17337153851985931 - } + "operation": "boost", + "score": 0.1732286959886551 }, "else": { "operation": "boost", - "score": 0.16773080825805664 + "score": 0.17090068757534027 } - }, - "else": { - "operation": "boost", - "score": 0.17427003383636475 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1749802976846695 }, "else": { - "operation": "boost", - "score": 0.17291150987148285 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "boost", + "score": 0.17330048978328705 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 549246.0, + "then": { + "operation": "boost", + "score": 0.17637899518013 + }, + "else": { + "operation": "boost", + "score": 0.17305228114128113 + } + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_member", "feature": "Scope", @@ -1632,72 +1683,61 @@ ], "then": { "operation": "boost", - "score": 0.17314593493938446 + "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, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.17347964644432068 + "score": 0.15205422043800354 }, "else": { "operation": "boost", - "score": 0.17065733671188354 + "score": 0.17429384589195251 } }, "else": { "operation": "boost", - "score": 0.1732175201177597 + "score": 0.17422351241111755 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.17604026198387146 }, "else": { "operation": "boost", - "score": 0.1645597219467163 + "score": 0.16159118711948395 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": 0.16513392329216003 - }, - "else": { - "operation": "boost", - "score": 0.17407502233982086 - } + "operation": "boost", + "score": 0.17042915523052216 }, "else": { "operation": "boost", - "score": 0.14251558482646942 + "score": 0.043860942125320435 } } } @@ -1715,266 +1755,254 @@ "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1756647527217865 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.17490559816360474 + "score": 0.17122158408164978 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.1625131517648697 + } + } + }, + "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": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 304.0, "then": { - "operation": "boost", - "score": 0.17632494866847992 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.17855599522590637 + "score": 0.1729537546634674 }, "else": { "operation": "boost", - "score": 0.17002902925014496 + "score": 0.1738344430923462 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.17688049376010895 }, "else": { "operation": "boost", - "score": 0.17219942808151245 + "score": 0.17084209620952606 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.163858100771904 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1711999773979187 - }, - "else": { - "operation": "boost", - "score": 0.17469947040081024 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16527104377746582 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 51.5, "then": { - "operation": "boost", - "score": 0.16945746541023254 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.17060332000255585 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 218625.5, + "then": { + "operation": "boost", + "score": 0.17049680650234222 + }, + "else": { + "operation": "boost", + "score": 0.17364922165870667 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95499.0, + "then": { + "operation": "boost", + "score": 0.12834183871746063 + }, + "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 + } + } + } }, "else": { + "operation": "boost", + "score": 0.16755996644496918 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.15891848504543304 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.17378398776054382 + "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.023468395695090294 + "score": 0.1631210446357727 } }, "else": { "operation": "boost", - "score": 0.12939397990703583 + "score": 0.16948504745960236 } - }, - "else": { - "operation": "boost", - "score": 0.14200875163078308 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16571153700351715 }, "else": { "operation": "boost", - "score": 0.12905734777450562 + "score": 0.04588872194290161 } - }, - "else": { - "operation": "boost", - "score": -0.04744641110301018 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.15474587678909302 - }, - "else": { - "operation": "boost", - "score": -0.1477620005607605 - } + "operation": "boost", + "score": 0.07471071928739548 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 122.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.17324240505695343 + "score": 0.1730729192495346 }, "else": { "operation": "boost", - "score": 0.17062316834926605 + "score": 0.17053326964378357 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.17322403192520142 - }, - "else": { - "operation": "boost", - "score": 0.1704479157924652 - } + "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, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91114.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11091062426567078 + "score": 0.16796031594276428 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71477.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", @@ -1982,52 +2010,61 @@ "Variable" ], "then": { - "operation": "boost", - "score": 0.1769794523715973 + "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.17356960475444794 + "score": 0.10638996958732605 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21.5, + "threshold": 1319.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "boost", - "score": 0.17338263988494873 - }, - "else": { - "operation": "boost", - "score": 0.1703696995973587 - } - }, - "else": { - "operation": "boost", - "score": 0.168692484498024 - } + "operation": "boost", + "score": 0.17001742124557495 }, "else": { "operation": "boost", - "score": 0.16608966886997223 + "score": 0.12740346789360046 } } } + }, + "else": { + "operation": "boost", + "score": -0.01228698343038559 } + }, + "else": { + "operation": "boost", + "score": -0.14724932610988617 } - }, - "else": { - "operation": "boost", - "score": -0.015926558524370193 } } } @@ -2035,19 +2072,19 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14372.5, + "threshold": 20811.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61550.0, + "threshold": 75472.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", @@ -2056,225 +2093,254 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_Type", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.1745089441537857 + "score": 0.17391082644462585 }, "else": { "operation": "boost", - "score": 0.1728890836238861 + "score": 0.17289558053016663 } }, "else": { - "operation": "boost", - "score": 0.1715085506439209 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.17304491996765137 + }, + "else": { + "operation": "boost", + "score": 0.15597844123840332 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14575.5, - "then": { - "operation": "boost", - "score": 0.16906525194644928 - }, - "else": { - "operation": "boost", - "score": 0.17466290295124054 - } + "operation": "boost", + "score": 0.17003630101680756 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78490.0, + "threshold": 44558.0, "then": { - "operation": "boost", - "score": 0.1732603907585144 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.16182368993759155 - }, - "else": { - "operation": "boost", - "score": 0.17229099571704865 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.17202283442020416 + }, + "else": { + "operation": "boost", + "score": 0.17053745687007904 } + }, + "else": { + "operation": "boost", + "score": 0.16913868486881256 } }, "else": { "operation": "boost", - "score": 0.16791237890720367 + "score": 0.16861175000667572 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 296854.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.17410777509212494 + "score": 0.16723182797431946 }, "else": { "operation": "boost", - "score": 0.16036351025104523 + "score": 0.17773769795894623 } }, "else": { "operation": "boost", - "score": 0.18037068843841553 + "score": 0.14760884642601013 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.17352263629436493 + "score": 0.17750349640846252 }, "else": { "operation": "boost", - "score": 0.1669362485408783 + "score": 0.17766523361206055 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.14839665591716766 - }, - "else": { - "operation": "boost", - "score": 0.17499271035194397 - } - }, - "else": { - "operation": "boost", - "score": 0.1630888134241104 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44558.0, + "threshold": 78490.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 220112.0, "then": { "operation": "boost", - "score": 0.17092381417751312 + "score": 0.17075440287590027 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 272339.5, + "threshold": 121087.0, "then": { "operation": "boost", - "score": -0.21662120521068573 + "score": 0.17415137588977814 }, "else": { "operation": "boost", - "score": 0.17256052792072296 + "score": 0.1738666445016861 } } }, "else": { - "operation": "boost", - "score": 0.16782434284687042 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.1460210531949997 + }, + "else": { + "operation": "boost", + "score": 0.17380395531654358 + } } + }, + "else": { + "operation": "boost", + "score": 0.16987277567386627 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.17359310388565063 + "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.16533489525318146 + "score": 0.15844541788101196 } }, "else": { "operation": "boost", - "score": 0.1483503133058548 + "score": 0.15409699082374573 } }, "else": { "operation": "boost", - "score": 0.142983078956604 + "score": 0.15230365097522736 } } } @@ -2282,54 +2348,42 @@ } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1643076390028 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_Symbol" + "Keyword", + "Destructor", + "Unknown", + "Constructor", + "Namespace" ], "then": { "operation": "boost", - "score": 0.16865019500255585 - }, - "else": { - "operation": "boost", - "score": 0.07142715901136398 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16333386301994324 + "score": 0.17266905307769775 }, "else": { "operation": "boost", - "score": -0.04691338539123535 + "score": -0.0333033986389637 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FileProximityDistance", + "threshold": 33.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", @@ -2339,81 +2393,112 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.16018719971179962 + "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.17200209200382233 + "score": 0.1726255863904953 } }, "else": { "operation": "boost", - "score": 0.09150589257478714 + "score": 0.05149541795253754 } }, "else": { "operation": "boost", - "score": 0.06468319892883301 + "score": 0.062293633818626404 } }, "else": { "operation": "boost", - "score": -0.14867106080055237 + "score": -0.152507945895195 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.1680116504430771 + "score": 0.16948175430297852 }, "else": { "operation": "boost", - "score": 0.17132365703582764 + "score": 0.12080799788236618 } }, "else": { - "operation": "boost", - "score": 0.16498352587223053 + "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.16090728342533112 + "score": 0.1660798341035843 } }, "else": { @@ -2428,75 +2513,42 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.16569311916828156 + "score": 0.16466857492923737 }, "else": { "operation": "boost", - "score": 0.14450734853744507 + "score": 0.14148353040218353 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.17028427124023438 - }, - "else": { - "operation": "boost", - "score": 0.15663394331932068 - } + "operation": "boost", + "score": 0.12589889764785767 }, "else": { - "operation": "boost", - "score": 0.12320321798324585 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.1457093060016632 - }, - "else": { - "operation": "boost", - "score": 0.16139735281467438 - } + "operation": "boost", + "score": 0.16085197031497955 }, "else": { "operation": "boost", - "score": 0.1157841607928276 + "score": 0.1500079184770584 } - }, - "else": { - "operation": "boost", - "score": 0.015689093619585037 } + }, + "else": { + "operation": "boost", + "score": 0.05477355793118477 } } } @@ -2504,7 +2556,7 @@ }, "else": { "operation": "boost", - "score": -0.15317192673683167 + "score": -0.15091364085674286 } } } @@ -2528,51 +2580,33 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.15317602455615997 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.15396717190742493 + }, + "else": { + "operation": "boost", + "score": 0.1531326323747635 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.15355810523033142 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15418682992458344 - }, - "else": { - "operation": "boost", - "score": 0.14956887066364288 - } - } + "operation": "boost", + "score": 0.15424948930740356 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.15317359566688538 - }, - "else": { - "operation": "boost", - "score": 0.15420271456241608 - } + "operation": "boost", + "score": 0.15181264281272888 } } }, @@ -2585,19 +2619,8 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15577512979507446 - }, - "else": { - "operation": "boost", - "score": 0.15294249355793 - } + "operation": "boost", + "score": 0.15588527917861938 }, "else": { "operation": "if_member", @@ -2607,11 +2630,11 @@ ], "then": { "operation": "boost", - "score": 0.15602850914001465 + "score": 0.1562241017818451 }, "else": { "operation": "boost", - "score": 0.15127414464950562 + "score": 0.15400546789169312 } } }, @@ -2622,21 +2645,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1554240733385086 - }, - "else": { - "operation": "boost", - "score": 0.15578675270080566 - } + "operation": "boost", + "score": 0.15544523298740387 }, "else": { "operation": "boost", - "score": 0.14723962545394897 + "score": 0.14508500695228577 } } } @@ -2647,98 +2661,100 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.15171724557876587 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.15143021941184998 + }, + "else": { + "operation": "boost", + "score": 0.15172122418880463 + } }, "else": { - "operation": "boost", - "score": 0.15232104063034058 + "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": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "boost", + "score": 0.15295350551605225 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1519402116537094 - }, - "else": { - "operation": "boost", - "score": 0.1522359997034073 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.15253235399723053 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1529807597398758 + "score": -0.17009080946445465 }, "else": { "operation": "boost", - "score": 0.15350398421287537 + "score": 0.15475565195083618 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1679684966802597 }, "else": { "operation": "boost", - "score": 0.1546413004398346 + "score": 0.1412745714187622 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "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.15348170697689056 + "score": 0.15332281589508057 }, "else": { "operation": "boost", - "score": 0.15245933830738068 + "score": -0.08178834617137909 } } } @@ -2750,47 +2766,38 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.15213657915592194 - }, - "else": { - "operation": "boost", - "score": 0.15281736850738525 - } + "operation": "boost", + "score": -0.10300616174936295 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.16422174870967865 + "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.15230441093444824 + "score": 0.15269339084625244 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13360466063022614 - }, - "else": { - "operation": "boost", - "score": 0.1470935344696045 - } + "operation": "boost", + "score": 0.1440243422985077 } } } @@ -2805,193 +2812,161 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.1531250774860382 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.15337632596492767 + }, + "else": { + "operation": "boost", + "score": 0.15416307747364044 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.15331867337226868 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1530337929725647 + }, + "else": { + "operation": "boost", + "score": 0.15331102907657623 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, "then": { "operation": "boost", - "score": 0.15306656062602997 + "score": 0.15299098193645477 }, "else": { "operation": "boost", - "score": -0.17003124952316284 + "score": 0.1497684270143509 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.15437668561935425 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 478260.0, + "threshold": 858647.0, "then": { "operation": "boost", - "score": 0.15372532606124878 + "score": 0.15304860472679138 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.15346255898475647 - }, - "else": { - "operation": "boost", - "score": 0.1530555784702301 - } - }, - "else": { - "operation": "boost", - "score": 0.14706625044345856 - } + "operation": "boost", + "score": 0.1531568467617035 } - }, - "else": { - "operation": "boost", - "score": 0.1525854766368866 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.1541382372379303 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.15202464163303375 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": 0.15246383845806122 - }, - "else": { - "operation": "boost", - "score": 0.15334172546863556 - } - } + "operation": "boost", + "score": 0.15336363017559052 }, "else": { "operation": "boost", - "score": 0.14729280769824982 + "score": 0.15297596156597137 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": 0.15028029680252075 - }, - "else": { - "operation": "boost", - "score": 0.15328456461429596 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14275619387626648 + "score": 0.12698757648468018 }, "else": { "operation": "boost", - "score": 0.15277829766273499 + "score": 0.1538107991218567 } }, "else": { "operation": "boost", - "score": 0.13419175148010254 + "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.05818425863981247 + "score": -0.022871391847729683 } } } @@ -3011,126 +2986,283 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.15440858900547028 + "score": 0.15285758674144745 }, "else": { + "operation": "boost", + "score": 0.1553458422422409 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15564659237861633 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1569279134273529 - }, - "else": { - "operation": "boost", - "score": 0.14555764198303223 - } - } + "operation": "boost", + "score": 0.15086820721626282 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope" ], "then": { "operation": "boost", - "score": 0.15589550137519836 + "score": 0.15464331209659576 }, "else": { "operation": "boost", - "score": 0.15205639600753784 + "score": 0.14913100004196167 } } + }, + "else": { + "operation": "boost", + "score": 0.14124099910259247 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 304.0, "then": { "operation": "boost", - "score": 0.14375853538513184 + "score": 0.1531168818473816 }, "else": { "operation": "boost", - "score": 0.15099488198757172 + "score": 0.1504388153553009 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "feature": "NumReferences", + "threshold": 51.5, "then": { - "operation": "boost", - "score": 0.15392696857452393 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 218625.5, + "then": { + "operation": "boost", + "score": 0.15092475712299347 + }, + "else": { + "operation": "boost", + "score": 0.1537080556154251 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95499.0, + "then": { + "operation": "boost", + "score": 0.09187895059585571 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19589.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1498764008283615 + }, + "else": { + "operation": "boost", + "score": 0.1530529260635376 + } + }, + "else": { + "operation": "boost", + "score": 0.15155918896198273 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14690779149532318 + } }, "else": { - "operation": "boost", - "score": 0.1463538259267807 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1404583901166916 + }, + "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.15822046995162964 + }, + "else": { + "operation": "boost", + "score": 0.1194673553109169 + } + }, + "else": { + "operation": "boost", + "score": 0.14314158260822296 + } + }, + "else": { + "operation": "boost", + "score": 0.14910759031772614 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02436218596994877 + } } } }, "else": { "operation": "boost", - "score": 0.14489485323429108 + "score": 0.05193212255835533 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 114.0, "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": "IsInBaseClass", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14887729287147522 + "score": -0.15978623926639557 }, "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "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": "NumReferences", - "threshold": 178.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15000200271606445 + "score": 0.14818798005580902 }, "else": { "operation": "if_greater", @@ -3146,299 +3278,146 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.15261690318584442 + "score": 0.15054772794246674 }, "else": { "operation": "boost", - "score": -0.025341924279928207 + "score": -0.004111700225621462 } }, "else": { "operation": "boost", - "score": 0.10738515853881836 + "score": 0.0870794951915741 } }, "else": { - "operation": "boost", - "score": 0.12259086221456528 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6621.5, + "then": { + "operation": "boost", + "score": 0.151849627494812 + }, + "else": { + "operation": "boost", + "score": 0.10928419977426529 + } } } + }, + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.14492595195770264 + "score": 0.1535707414150238 }, "else": { "operation": "boost", - "score": 0.1077888011932373 + "score": 0.1526758372783661 } }, "else": { - "operation": "boost", - "score": -0.023120582103729248 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.15281569957733154 + }, + "else": { + "operation": "boost", + "score": 0.1336551457643509 + } } + }, + "else": { + "operation": "boost", + "score": 0.1506338119506836 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.21946479380130768 - }, - "else": { - "operation": "boost", - "score": 0.14347867667675018 - } - }, - "else": { - "operation": "boost", - "score": -0.1282462477684021 - } - } - }, - "else": { - "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": 306.5, - "then": { - "operation": "boost", - "score": 0.15291565656661987 - }, - "else": { - "operation": "boost", - "score": 0.1502104550600052 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71611.0, - "then": { - "operation": "boost", - "score": 0.15582390129566193 - }, - "else": { - "operation": "boost", - "score": 0.1503099650144577 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.15328894555568695 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, - "then": { - "operation": "boost", - "score": 0.10942163318395615 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49945.5, - "then": { - "operation": "boost", - "score": 0.15346869826316833 - }, - "else": { - "operation": "boost", - "score": 0.15050001442432404 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1462182104587555 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14551366865634918 - } - } - }, - "else": { - "operation": "boost", - "score": -0.010362012311816216 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20869.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.15394124388694763 - }, - "else": { - "operation": "boost", - "score": 0.1525152623653412 - } - }, - "else": { - "operation": "boost", - "score": 0.1497359275817871 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.15243490040302277 - }, - "else": { - "operation": "boost", - "score": 0.14850299060344696 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1534944474697113 - }, - "else": { - "operation": "boost", - "score": 0.13733433187007904 - } + "operation": "boost", + "score": -0.20534925162792206 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.15768545866012573 + "score": 0.15588101744651794 }, "else": { "operation": "boost", - "score": 0.15815381705760956 + "score": 0.1561584621667862 } } }, @@ -3447,21 +3426,12 @@ "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.15413954854011536 - }, - "else": { - "operation": "boost", - "score": 0.15278232097625732 - } + "operation": "boost", + "score": 0.15305066108703613 }, "else": { "operation": "boost", - "score": 0.15027429163455963 + "score": 0.14640307426452637 } } }, @@ -3473,34 +3443,69 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { - "operation": "boost", - "score": 0.15296070277690887 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.15146464109420776 + }, + "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 + } + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32947.0, + "threshold": 45940.0, "then": { "operation": "boost", - "score": 0.14598707854747772 + "score": 0.13581416010856628 }, "else": { "operation": "boost", - "score": 0.15252520143985748 + "score": 0.1529514640569687 } } }, "else": { "operation": "boost", - "score": 0.1484561562538147 + "score": 0.14979501068592072 } }, "else": { @@ -3508,80 +3513,101 @@ "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44558.0, "then": { - "operation": "boost", - "score": 0.15187300741672516 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.1478295773267746 + "score": 0.14768342673778534 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.15456295013427734 - }, - "else": { - "operation": "boost", - "score": 0.14638036489486694 - } + "operation": "boost", + "score": 0.14401467144489288 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { - "operation": "boost", - "score": 0.15341731905937195 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103549.5, + "then": { + "operation": "boost", + "score": 0.15334844589233398 + }, + "else": { + "operation": "boost", + "score": 0.1562812775373459 + } }, "else": { "operation": "boost", - "score": 0.1430397480726242 + "score": 0.1426417976617813 } }, "else": { "operation": "boost", - "score": 0.13003091514110565 + "score": 0.12952971458435059 } }, "else": { "operation": "boost", - "score": 0.12651492655277252 + "score": 0.1279214322566986 } } } @@ -3594,36 +3620,46 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14519371092319489 + "score": 0.14486345648765564 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", "Destructor", - "Namespace", "Unknown", - "Keyword" + "Constructor", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.14614371955394745 + "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.042912911623716354 + "score": -0.039107292890548706 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FileProximityDistance", + "threshold": 33.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", @@ -3633,11 +3669,9 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", @@ -3646,82 +3680,101 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.15117259323596954 - }, - "else": { - "operation": "boost", - "score": 0.14126671850681305 - } + "operation": "boost", + "score": 0.15042981505393982 }, "else": { "operation": "boost", - "score": 0.13293802738189697 + "score": 0.13413147628307343 } }, "else": { "operation": "boost", - "score": 0.15072451531887054 + "score": 0.1516924500465393 } }, "else": { "operation": "boost", - "score": 0.08174923062324524 + "score": 0.044244393706321716 } }, "else": { "operation": "boost", - "score": 0.06670891493558884 + "score": 0.05591406673192978 } }, "else": { "operation": "boost", - "score": -0.12929807603359222 + "score": -0.13154757022857666 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.14946569502353668 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.15261682868003845 + }, + "else": { + "operation": "boost", + "score": 0.11798620223999023 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1491556018590927 + }, + "else": { + "operation": "boost", + "score": 0.15496468544006348 + } + } }, "else": { "operation": "boost", - "score": 0.1442311406135559 + "score": 0.14844773709774017 } }, "else": { "operation": "boost", - "score": 0.1397087275981903 + "score": 0.1429975926876068 } }, "else": { @@ -3733,45 +3786,45 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.14728130400180817 + "score": 0.14405442774295807 }, "else": { "operation": "boost", - "score": 0.1333698034286499 + "score": 0.12508608400821686 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08637681603431702 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.10664967447519302 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1408766806125641 + "score": 0.1417326182126999 }, "else": { "operation": "boost", - "score": 0.1288900077342987 + "score": 0.13152086734771729 } - }, - "else": { - "operation": "boost", - "score": 0.09359957277774811 } + }, + "else": { + "operation": "boost", + "score": 0.07656025886535645 } } } @@ -3779,7 +3832,7 @@ }, "else": { "operation": "boost", - "score": -0.13500459492206573 + "score": -0.133283793926239 } } } @@ -3803,51 +3856,33 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.14007402956485748 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.14132735133171082 + }, + "else": { + "operation": "boost", + "score": 0.14014697074890137 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.14047682285308838 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.14117833971977234 - }, - "else": { - "operation": "boost", - "score": 0.13717609643936157 - } - } + "operation": "boost", + "score": 0.14121687412261963 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1400330662727356 - }, - "else": { - "operation": "boost", - "score": 0.14104515314102173 - } + "operation": "boost", + "score": 0.13855332136154175 } } }, @@ -3860,19 +3895,8 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.14246340095996857 - }, - "else": { - "operation": "boost", - "score": 0.13945113122463226 - } + "operation": "boost", + "score": 0.14277209341526031 }, "else": { "operation": "if_member", @@ -3882,11 +3906,11 @@ ], "then": { "operation": "boost", - "score": 0.14273522794246674 + "score": 0.14264418184757233 }, "else": { "operation": "boost", - "score": 0.13753847777843475 + "score": 0.1411043107509613 } } }, @@ -3897,21 +3921,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14205971360206604 - }, - "else": { - "operation": "boost", - "score": 0.14235177636146545 - } + "operation": "boost", + "score": 0.14192305505275726 }, "else": { "operation": "boost", - "score": 0.13323968648910522 + "score": 0.13119500875473022 } } } @@ -3922,70 +3937,110 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.13842129707336426 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1381283849477768 + }, + "else": { + "operation": "boost", + "score": 0.13858456909656525 + } }, "else": { - "operation": "boost", - "score": 0.1387948989868164 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1386069655418396 - }, - "else": { - "operation": "boost", - "score": 0.13913476467132568 - } + "operation": "boost", + "score": 0.13935180008411407 }, "else": { "operation": "boost", - "score": 0.13984139263629913 + "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", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.1493874490261078 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14157257974147797 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15300801396369934 + }, + "else": { + "operation": "boost", + "score": 0.14089390635490417 + } + } }, "else": { "operation": "boost", - "score": 0.14096632599830627 + "score": 0.12141555547714233 } }, "else": { - "operation": "boost", - "score": 0.1396404206752777 + "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 + } } } } @@ -3996,47 +4051,32 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.13878387212753296 - }, - "else": { - "operation": "boost", - "score": 0.13955152034759521 - } + "operation": "boost", + "score": -0.09115998446941376 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.147449791431427 + "score": 0.139500692486763 }, "else": { "operation": "boost", - "score": 0.1388057917356491 + "score": 0.13843801617622375 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11920511722564697 - }, - "else": { - "operation": "boost", - "score": 0.1332419514656067 - } + "operation": "boost", + "score": 0.1298855096101761 } } } @@ -4051,157 +4091,160 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.14001788198947906 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.14024963974952698 + "score": 0.14106346666812897 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.14031049609184265 + } + }, + "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.13984468579292297 + }, + "else": { + "operation": "boost", + "score": 0.14017435908317566 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, "then": { "operation": "boost", - "score": 0.14000371098518372 + "score": 0.13970209658145905 }, "else": { "operation": "boost", - "score": -0.1511009931564331 + "score": 0.13570933043956757 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.14103291928768158 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 478260.0, + "threshold": 858647.0, "then": { "operation": "boost", - "score": 0.14044947922229767 + "score": 0.13988569378852844 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1400751769542694 - }, - "else": { - "operation": "boost", - "score": 0.13990706205368042 - } - }, - "else": { - "operation": "boost", - "score": 0.1327763795852661 - } + "operation": "boost", + "score": 0.14001934230327606 } - }, - "else": { - "operation": "boost", - "score": 0.1394117921590805 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.14069515466690063 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.13873818516731262 + "score": 0.13996073603630066 }, "else": { "operation": "boost", - "score": 0.12925834953784943 + "score": 0.13938522338867188 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13240015506744385 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { - "operation": "boost", - "score": 0.13995224237442017 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1134493425488472 + }, + "else": { + "operation": "boost", + "score": 0.14004194736480713 + } }, "else": { "operation": "boost", - "score": -0.13556377589702606 + "score": 0.13992975652217865 } + }, + "else": { + "operation": "boost", + "score": 0.12371889501810074 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1373530626296997 }, "else": { "operation": "boost", - "score": 0.1047670841217041 + "score": -0.01099332980811596 } } } @@ -4219,194 +4262,267 @@ "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.14127114415168762 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13957126438617706 - }, - "else": { - "operation": "boost", - "score": 0.14148063957691193 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14329855144023895 - }, - "else": { - "operation": "boost", - "score": 0.13616476953029633 - } + "operation": "boost", + "score": 0.13742958009243011 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope" ], "then": { "operation": "boost", - "score": 0.14205621182918549 + "score": 0.1407044529914856 }, "else": { "operation": "boost", - "score": 0.13921941816806793 + "score": 0.13620653748512268 } } + }, + "else": { + "operation": "boost", + "score": 0.12713909149169922 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 304.0, "then": { "operation": "boost", - "score": 0.13109348714351654 + "score": 0.13972711563110352 + }, + "else": { + "operation": "boost", + "score": 0.13715477287769318 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13303056359291077 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Symbol" + "CCC_Statement", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13852109014987946 + "score": 0.1273270547389984 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1382957249879837 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.14389507472515106 + }, + "else": { + "operation": "boost", + "score": 0.11207016557455063 + } + }, + "else": { + "operation": "boost", + "score": 0.12905986607074738 + } }, "else": { "operation": "boost", - "score": 0.13064886629581451 + "score": 0.13542282581329346 } } }, "else": { "operation": "boost", - "score": 0.12273220717906952 + "score": 0.009600312449038029 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.14013856649398804 - }, - "else": { - "operation": "boost", - "score": 0.13252666592597961 - } } }, "else": { "operation": "boost", - "score": 0.13059478998184204 + "score": 0.06500580906867981 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "IsInBaseClass", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.14553101360797882 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": 0.13515400886535645 + "score": 0.13906612992286682 }, "else": { "operation": "boost", - "score": 0.13391391932964325 + "score": 0.12487947940826416 } - }, - "else": { + } + } + }, + "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": "NumReferences", - "threshold": 34.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.14370915293693542 - }, - "else": { - "operation": "boost", - "score": 0.14514359831809998 - } - }, - "else": { - "operation": "boost", - "score": 0.13187694549560547 - } + "operation": "boost", + "score": 0.13425131142139435 }, "else": { "operation": "if_greater", @@ -4423,176 +4539,47 @@ "feature": "ContextKind", "set": [ "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1436847299337387 - }, - "else": { - "operation": "boost", - "score": 0.1371283233165741 - } + "operation": "boost", + "score": 0.13701224327087402 }, "else": { "operation": "boost", - "score": 0.0064874859526753426 + "score": -0.0031157447956502438 } }, "else": { "operation": "boost", - "score": 0.07833457738161087 + "score": 0.07433127611875534 } }, "else": { - "operation": "boost", - "score": 0.10197073221206665 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03265268728137016 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18654072284698486 - }, - "else": { - "operation": "boost", - "score": 0.12952034175395966 - } - }, - "else": { - "operation": "boost", - "score": -0.1129332110285759 - } - } - }, - "else": { - "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": 306.5, - "then": { - "operation": "boost", - "score": 0.1395873874425888 - }, - "else": { - "operation": "boost", - "score": 0.13686847686767578 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71611.0, - "then": { - "operation": "boost", - "score": 0.14223156869411469 - }, - "else": { - "operation": "boost", - "score": 0.13649965822696686 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 6621.5, "then": { "operation": "boost", - "score": 0.14040866494178772 + "score": 0.1385771930217743 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, - "then": { - "operation": "boost", - "score": 0.09390156716108322 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49945.5, - "then": { - "operation": "boost", - "score": 0.1401597261428833 - }, - "else": { - "operation": "boost", - "score": 0.1370236873626709 - } - } + "operation": "boost", + "score": 0.09549877792596817 } - }, - "else": { - "operation": "boost", - "score": 0.13228850066661835 } } }, "else": { "operation": "boost", - "score": 0.13150641322135925 + "score": -0.06276673823595047 } + }, + "else": { + "operation": "boost", + "score": -0.11261919885873795 } - }, - "else": { - "operation": "boost", - "score": 0.014083558693528175 } } } @@ -4600,62 +4587,62 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20869.0, + "threshold": 20811.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 75472.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_Type", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.14055079221725464 + "score": 0.14037735760211945 }, "else": { "operation": "boost", - "score": 0.13916859030723572 + "score": 0.1392742246389389 } }, "else": { - "operation": "boost", - "score": 0.13644802570343018 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.13973192870616913 + }, + "else": { + "operation": "boost", + "score": 0.1212882250547409 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.13908839225769043 - }, - "else": { - "operation": "boost", - "score": 0.13555167615413666 - } + "operation": "boost", + "score": 0.1371743530035019 } }, "else": { @@ -4666,41 +4653,31 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Function" + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.14013774693012238 - }, - "else": { - "operation": "boost", - "score": 0.12266506254673004 - } + "operation": "boost", + "score": -0.18263313174247742 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.1430511772632599 + "score": 0.14184363186359406 }, "else": { "operation": "boost", - "score": 0.14338044822216034 + "score": 0.1419159173965454 } } }, @@ -4710,11 +4687,20 @@ "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1396746188402176 + "score": 0.13982658088207245 }, "else": { - "operation": "boost", - "score": 0.13625271618366241 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.13457348942756653 + }, + "else": { + "operation": "boost", + "score": 0.14224322140216827 + } } } }, @@ -4726,16 +4712,51 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { - "operation": "boost", - "score": 0.13964812457561493 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.1385136842727661 + }, + "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 + } + } + } }, "else": { "operation": "if_greater", @@ -4743,17 +4764,17 @@ "threshold": 45940.0, "then": { "operation": "boost", - "score": 0.12352121621370316 + "score": 0.12266673892736435 }, "else": { "operation": "boost", - "score": 0.13894690573215485 + "score": 0.13949155807495117 } } }, "else": { "operation": "boost", - "score": 0.1354111284017563 + "score": 0.13634338974952698 } }, "else": { @@ -4761,80 +4782,112 @@ "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44558.0, + "threshold": 42846.5, "then": { - "operation": "boost", - "score": 0.13852925598621368 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272340.0, + "then": { + "operation": "boost", + "score": -0.19527609646320343 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146873.0, + "then": { + "operation": "boost", + "score": 0.13438640534877777 + }, + "else": { + "operation": "boost", + "score": 0.13821831345558167 + } + }, + "else": { + "operation": "boost", + "score": 0.13880455493927002 + } + } }, "else": { "operation": "boost", - "score": 0.1342065930366516 + "score": 0.1338840126991272 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.14073248207569122 - }, - "else": { - "operation": "boost", - "score": 0.13301914930343628 - } + "operation": "boost", + "score": 0.13083583116531372 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72744.5, "then": { - "operation": "boost", - "score": 0.13963983952999115 + "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 + } }, "else": { "operation": "boost", - "score": 0.12890000641345978 + "score": 0.12801359593868256 } }, "else": { "operation": "boost", - "score": 0.11736571788787842 + "score": 0.1155828982591629 } }, "else": { "operation": "boost", - "score": 0.11519037187099457 + "score": 0.11161486804485321 } } } @@ -4842,29 +4895,35 @@ } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.13268549740314484 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14192871749401093 + }, + "else": { + "operation": "boost", + "score": 0.1344141662120819 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13252533972263336 + "score": 0.13136006891727448 }, "else": { "operation": "boost", - "score": -0.030122363939881325 + "score": -0.034344382584095 } } } @@ -4875,8 +4934,8 @@ "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FileProximityDistance", + "threshold": 32.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", @@ -4886,95 +4945,112 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.13588464260101318 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.13715918362140656 - }, - "else": { - "operation": "boost", - "score": 0.12490921467542648 - } + "operation": "boost", + "score": 0.12343572080135345 }, "else": { "operation": "boost", - "score": 0.1190342977643013 + "score": 0.13770294189453125 } - }, - "else": { - "operation": "boost", - "score": 0.13714861869812012 } }, "else": { "operation": "boost", - "score": 0.07320953905582428 + "score": -0.00043427685159258544 } }, "else": { "operation": "boost", - "score": 0.0565296895802021 + "score": 0.06393055617809296 } }, "else": { "operation": "boost", - "score": -0.11433116346597672 + "score": -0.11721540242433548 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.13565082848072052 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.13875740766525269 + }, + "else": { + "operation": "boost", + "score": 0.10628057271242142 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.13674995303153992 + }, + "else": { + "operation": "boost", + "score": 0.14141340553760529 + } + } }, "else": { "operation": "boost", - "score": 0.1298515349626541 + "score": 0.1344074010848999 } }, "else": { "operation": "boost", - "score": 0.12529340386390686 + "score": 0.12903906404972076 } }, "else": { @@ -4986,14 +5062,14 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.13346216082572937 + "score": 0.12999244034290314 }, "else": { "operation": "boost", - "score": 0.11858224868774414 + "score": 0.11292148381471634 } }, "else": { @@ -5002,7 +5078,7 @@ "threshold": 3.0, "then": { "operation": "boost", - "score": 0.07406041771173477 + "score": 0.08346706628799438 }, "else": { "operation": "if_greater", @@ -5014,16 +5090,16 @@ "threshold": 4.5, "then": { "operation": "boost", - "score": 0.12692956626415253 + "score": 0.1275223046541214 }, "else": { "operation": "boost", - "score": 0.11520590633153915 + "score": 0.11693461984395981 } }, "else": { "operation": "boost", - "score": 0.07967297732830048 + "score": 0.08824971318244934 } } } @@ -5031,43 +5107,8 @@ } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Constructor" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.14823928475379944 - }, - "else": { - "operation": "boost", - "score": 0.17088913917541504 - } - }, - "else": { - "operation": "boost", - "score": 0.01147080585360527 - } - }, - "else": { - "operation": "boost", - "score": -0.12902115285396576 - } + "operation": "boost", + "score": -0.1204330176115036 } } } @@ -5091,51 +5132,33 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.13086006045341492 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.13238316774368286 + }, + "else": { + "operation": "boost", + "score": 0.13121181726455688 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13137482106685638 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.13214103877544403 - }, - "else": { - "operation": "boost", - "score": 0.12710736691951752 - } - } + "operation": "boost", + "score": 0.13223955035209656 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1308361440896988 - }, - "else": { - "operation": "boost", - "score": 0.1318577080965042 - } + "operation": "boost", + "score": 0.12952646613121033 } } }, @@ -5148,19 +5171,8 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.13337181508541107 - }, - "else": { - "operation": "boost", - "score": 0.13028773665428162 - } + "operation": "boost", + "score": 0.13374334573745728 }, "else": { "operation": "if_member", @@ -5170,11 +5182,11 @@ ], "then": { "operation": "boost", - "score": 0.13358084857463837 + "score": 0.13333725929260254 }, "else": { "operation": "boost", - "score": 0.1284269541501999 + "score": 0.13222922384738922 } } }, @@ -5185,21 +5197,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13289424777030945 - }, - "else": { - "operation": "boost", - "score": 0.13312849402427673 - } + "operation": "boost", + "score": 0.13269884884357452 }, "else": { "operation": "boost", - "score": 0.12417889386415482 + "score": 0.11836336553096771 } } } @@ -5210,88 +5213,110 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.12896430492401123 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1288728266954422 + }, + "else": { + "operation": "boost", + "score": 0.12941282987594604 + } }, "else": { - "operation": "boost", - "score": 0.12927161157131195 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13013486564159393 + }, + "else": { + "operation": "boost", + "score": 0.13074102997779846 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "boost", + "score": 0.12940353155136108 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12900155782699585 - }, - "else": { - "operation": "boost", - "score": 0.12955911457538605 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.12992358207702637 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13044822216033936 + "score": -0.14311252534389496 }, "else": { - "operation": "boost", - "score": 0.13090746104717255 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13243570923805237 + }, + "else": { + "operation": "boost", + "score": 0.13122738897800446 + } } + }, + "else": { + "operation": "boost", + "score": 0.1016077995300293 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + }, + "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.13699834048748016 + "score": 0.12997625768184662 }, "else": { "operation": "boost", - "score": 0.1315372735261917 + "score": -0.040684185922145844 } - }, - "else": { - "operation": "boost", - "score": 0.1300935298204422 } } } @@ -5302,47 +5327,32 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12930133938789368 - }, - "else": { - "operation": "boost", - "score": 0.130234494805336 - } + "operation": "boost", + "score": -0.10368392616510391 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.1339128166437149 + "score": 0.1302323192358017 }, "else": { "operation": "boost", - "score": 0.12933453917503357 + "score": 0.12906840443611145 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10780993849039078 - }, - "else": { - "operation": "boost", - "score": 0.12322220951318741 - } + "operation": "boost", + "score": 0.11941647529602051 } } } @@ -5357,140 +5367,119 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.13079239428043365 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.1312873512506485 + "score": 0.13129131495952606 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.13192588090896606 + } + }, + "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.1309014856815338 + "score": 0.13072632253170013 }, "else": { "operation": "boost", - "score": -0.13889551162719727 + "score": 0.13111430406570435 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": 0.13115574419498444 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13123944401741028 - }, - "else": { - "operation": "boost", - "score": 0.13077782094478607 - } + "operation": "boost", + "score": 0.13053598999977112 }, "else": { "operation": "boost", - "score": 0.12399011850357056 + "score": 0.12571308016777039 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.13187165558338165 }, "else": { "operation": "boost", - "score": 0.1301090568304062 + "score": 0.13084447383880615 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "FileScope" ], "then": { "operation": "boost", - "score": 0.12972576916217804 + "score": 0.1306358128786087 }, "else": { "operation": "boost", - "score": 0.12223910540342331 + "score": 0.12976807355880737 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13037484884262085 + "score": 0.128361314535141 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": 0.1322694569826126 - }, - "else": { - "operation": "boost", - "score": 0.12480722367763519 - } + "operation": "boost", + "score": 0.11277836561203003 } } }, @@ -5499,27 +5488,17 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12900188565254211 - }, - "else": { - "operation": "boost", - "score": 0.12265537679195404 - } + "operation": "boost", + "score": 0.12835869193077087 }, "else": { "operation": "boost", - "score": 0.10846926271915436 + "score": -0.023818938061594963 } } } @@ -5537,55 +5516,8 @@ "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1301855444908142 - }, - "else": { - "operation": "boost", - "score": 0.13210518658161163 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1337766945362091 - }, - "else": { - "operation": "boost", - "score": 0.12654182314872742 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1325736790895462 - }, - "else": { - "operation": "boost", - "score": 0.12814511358737946 - } - } - } + "operation": "boost", + "score": 0.13170671463012695 }, "else": { "operation": "if_greater", @@ -5597,185 +5529,54 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12093038111925125 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.048748381435871124 + }, + "else": { + "operation": "boost", + "score": 0.1687382161617279 + } }, "else": { "operation": "boost", - "score": 0.1282583475112915 + "score": 0.12794850766658783 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.1308165043592453 + "score": 0.13076971471309662 }, "else": { "operation": "boost", - "score": 0.12410807609558105 + "score": 0.12486705929040909 } } }, "else": { "operation": "boost", - "score": 0.12120164185762405 + "score": 0.11771033704280853 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12517306208610535 - }, - "else": { - "operation": "boost", - "score": 0.12288995087146759 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.13368026912212372 - }, - "else": { - "operation": "boost", - "score": 0.1345859318971634 - } - }, - "else": { - "operation": "boost", - "score": 0.12202180176973343 - } - }, - "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_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.13346140086650848 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12697003781795502 - }, - "else": { - "operation": "boost", - "score": 0.0023990930058062077 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06694209575653076 - } - }, - "else": { - "operation": "boost", - "score": 0.0907377153635025 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.021703915670514107 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1651264876127243 - }, - "else": { - "operation": "boost", - "score": 0.11866579204797745 - } - }, - "else": { - "operation": "boost", - "score": -0.10099051892757416 - } - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, @@ -5790,89 +5591,248 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 306.5, + "threshold": 304.0, "then": { "operation": "boost", - "score": 0.13016490638256073 + "score": 0.13041375577449799 }, "else": { "operation": "boost", - "score": 0.12713326513767242 + "score": 0.1275501847267151 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21.5, + "threshold": 46.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71611.0, + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.13296103477478027 + "score": 0.1315421760082245 }, "else": { - "operation": "boost", - "score": 0.12684354186058044 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 95499.0, "then": { "operation": "boost", - "score": 0.1313662827014923 + "score": 0.07199150323867798 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 91203.0, + "threshold": 19589.5, "then": { - "operation": "boost", - "score": 0.08825824409723282 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49945.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13079458475112915 + "score": 0.12587197124958038 }, "else": { "operation": "boost", - "score": 0.12727074325084686 + "score": 0.13085277378559113 } + }, + "else": { + "operation": "boost", + "score": 0.12865211069583893 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.12273207306861877 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11718671768903732 + }, + "else": { "operation": "boost", - "score": 0.12156902998685837 + "score": 0.12471770495176315 } + }, + "else": { + "operation": "boost", + "score": 0.014503761194646358 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06020234897732735 + } + }, + "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.12997157871723175 }, "else": { "operation": "boost", - "score": 0.12143813818693161 + "score": 0.11862269788980484 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1311863362789154 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.12945899367332458 + }, + "else": { + "operation": "boost", + "score": 0.11355147510766983 + } } } }, "else": { - "operation": "boost", - "score": -0.0050240978598594666 + "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.12396207451820374 + }, + "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.12704111635684967 + }, + "else": { + "operation": "boost", + "score": -0.0040860529989004135 + } + }, + "else": { + "operation": "boost", + "score": 0.05860279127955437 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6621.5, + "then": { + "operation": "boost", + "score": 0.1289561539888382 + }, + "else": { + "operation": "boost", + "score": 0.08492990583181381 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04187201336026192 + } + }, + "else": { + "operation": "boost", + "score": -0.0990992933511734 + } } } } @@ -5880,7 +5840,7 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15228.5, + "threshold": 25286.5, "then": { "operation": "if_greater", "feature": "FilterLength", @@ -5891,39 +5851,48 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 63648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_Type", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.13146211206912994 + "score": 0.1312725692987442 }, "else": { "operation": "boost", - "score": 0.13009648025035858 + "score": 0.1298857033252716 } }, "else": { "operation": "boost", - "score": 0.12910757958889008 + "score": 0.12814205884933472 } }, "else": { - "operation": "boost", - "score": 0.12684203684329987 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, + "then": { + "operation": "boost", + "score": 0.13102613389492035 + }, + "else": { + "operation": "boost", + "score": 0.12507092952728271 + } } }, "else": { @@ -5934,31 +5903,32 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Function" + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.16530804336071014 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassStructUnion", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.13117776811122894 + "score": 0.1321810781955719 }, "else": { "operation": "boost", - "score": 0.11106857657432556 + "score": 0.13202622532844543 } - }, - "else": { - "operation": "boost", - "score": 0.13287866115570068 } }, "else": { @@ -5967,11 +5937,11 @@ "threshold": 6.5, "then": { "operation": "boost", - "score": 0.13031204044818878 + "score": 0.13061551749706268 }, "else": { "operation": "boost", - "score": 0.12628914415836334 + "score": 0.12765207886695862 } } }, @@ -5983,34 +5953,69 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { - "operation": "boost", - "score": 0.13032034039497375 + "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 + } + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45940.0, + "threshold": 32947.0, "then": { "operation": "boost", - "score": 0.10958859324455261 + "score": 0.12226037681102753 }, "else": { "operation": "boost", - "score": 0.13401557505130768 + "score": 0.13142964243888855 } } }, "else": { "operation": "boost", - "score": 0.1258063167333603 + "score": 0.1273355633020401 } }, "else": { @@ -6020,73 +6025,98 @@ "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.13311035931110382 - }, - "else": { - "operation": "boost", - "score": 0.12325891107320786 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44558.0, + "threshold": 42846.5, "then": { - "operation": "boost", - "score": 0.12895794212818146 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272340.0, + "then": { + "operation": "boost", + "score": -0.18162168562412262 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146873.0, + "then": { + "operation": "boost", + "score": 0.12471718341112137 + }, + "else": { + "operation": "boost", + "score": 0.12899793684482574 + } + }, + "else": { + "operation": "boost", + "score": 0.12968407571315765 + } + } }, "else": { "operation": "boost", - "score": 0.1310596615076065 + "score": 0.1254672110080719 } + }, + "else": { + "operation": "boost", + "score": 0.12161669135093689 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72744.5, "then": { - "operation": "boost", - "score": 0.12997214496135712 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103549.5, + "then": { + "operation": "boost", + "score": 0.1297278106212616 + }, + "else": { + "operation": "boost", + "score": 0.1327129304409027 + } }, "else": { "operation": "boost", - "score": 0.12634898722171783 + "score": 0.11826545745134354 } }, "else": { "operation": "boost", - "score": 0.10399981588125229 + "score": 0.10787418484687805 } }, "else": { "operation": "boost", - "score": 0.10188227891921997 + "score": 0.10073628276586533 } } } @@ -6094,250 +6124,283 @@ } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.12143874913454056 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13208577036857605 + }, + "else": { + "operation": "boost", + "score": 0.12299049645662308 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12613533437252045 - }, - "else": { - "operation": "boost", - "score": 0.0008975777891464531 - } + "operation": "boost", + "score": 0.12118544429540634 }, "else": { "operation": "boost", - "score": -0.03457767143845558 + "score": -0.022672263905405998 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 33.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.12678462266921997 + "score": 0.12579523026943207 }, "else": { - "operation": "boost", - "score": 0.10845538973808289 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11066359281539917 + }, + "else": { + "operation": "boost", + "score": 0.12745356559753418 + } } }, "else": { "operation": "boost", - "score": 0.1263793259859085 + "score": 0.007513059303164482 } }, "else": { "operation": "boost", - "score": 0.11902479082345963 + "score": 0.05783577263355255 } }, "else": { "operation": "boost", - "score": 0.07046753168106079 + "score": -0.10240945965051651 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.03152348846197128 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12688229978084564 - }, - "else": { - "operation": "boost", - "score": 0.0996355339884758 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Destructor", - "Namespace" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.09468210488557816 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12924227118492126 + }, + "else": { + "operation": "boost", + "score": 0.09228869527578354 + } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12812024354934692 + "score": 0.1260734647512436 }, "else": { "operation": "boost", - "score": 0.1348181515932083 + "score": 0.1321878731250763 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1386527419090271 - }, - "else": { - "operation": "boost", - "score": 0.15381504595279694 - } + "operation": "boost", + "score": 0.12410110980272293 } }, "else": { "operation": "boost", - "score": 0.004314491059631109 + "score": 0.1182960495352745 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1166997030377388 - }, - "else": { - "operation": "boost", - "score": -0.12661829590797424 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag" + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 259.5, "then": { "operation": "boost", - "score": 0.13029231131076813 + "score": 0.12673504650592804 }, "else": { - "operation": "boost", - "score": 0.12851721048355103 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1179983913898468 + }, + "else": { + "operation": "boost", + "score": 0.09180619567632675 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.11832130700349808 + "score": 0.06974900513887405 }, "else": { - "operation": "boost", - "score": 0.09168756753206253 + "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_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12627074122428894 + }, + "else": { + "operation": "boost", + "score": 0.1159939169883728 + } + }, + "else": { + "operation": "boost", + "score": 0.105562724173069 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12400064617395401 + }, + "else": { + "operation": "boost", + "score": -0.13037718832492828 + } }, "else": { "operation": "boost", - "score": 0.009216946549713612 + "score": -0.00011980631097685546 } } } @@ -6363,51 +6426,33 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.12426687031984329 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12587770819664001 + }, + "else": { + "operation": "boost", + "score": 0.12447214126586914 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12488465011119843 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12566092610359192 - }, - "else": { - "operation": "boost", - "score": 0.1210470199584961 - } - } + "operation": "boost", + "score": 0.12573689222335815 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12475619465112686 - }, - "else": { - "operation": "boost", - "score": 0.12528719007968903 - } + "operation": "boost", + "score": 0.12263109534978867 } } }, @@ -6420,19 +6465,8 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12695497274398804 - }, - "else": { - "operation": "boost", - "score": 0.12303244322538376 - } + "operation": "boost", + "score": 0.1272842437028885 }, "else": { "operation": "if_member", @@ -6442,11 +6476,11 @@ ], "then": { "operation": "boost", - "score": 0.12698829174041748 + "score": 0.12666495144367218 }, "else": { "operation": "boost", - "score": 0.11936753988265991 + "score": 0.12638694047927856 } } }, @@ -6457,21 +6491,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12643390893936157 - }, - "else": { - "operation": "boost", - "score": 0.126506045460701 - } + "operation": "boost", + "score": 0.12598751485347748 }, "else": { "operation": "boost", - "score": 0.11629046499729156 + "score": 0.11127940565347672 } } } @@ -6482,79 +6507,92 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.12204078584909439 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12186058610677719 + }, + "else": { + "operation": "boost", + "score": 0.1225079894065857 + } }, "else": { - "operation": "boost", - "score": 0.12220647186040878 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12215814739465714 - }, - "else": { - "operation": "boost", - "score": 0.1228029727935791 - } + "operation": "boost", + "score": 0.12328121066093445 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1232556477189064 - }, - "else": { - "operation": "boost", - "score": 0.12397665530443192 - } + "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", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.12830518186092377 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13367854058742523 + }, + "else": { + "operation": "boost", + "score": 0.12455291301012039 + } }, "else": { "operation": "boost", - "score": 0.12474717944860458 + "score": 0.09020587056875229 } }, "else": { - "operation": "boost", - "score": 0.12309811264276505 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1228397861123085 + }, + "else": { + "operation": "boost", + "score": -0.044322870671749115 + } } } } @@ -6565,56 +6603,32 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12253791838884354 - }, - "else": { - "operation": "boost", - "score": 0.12358361482620239 - } + "operation": "boost", + "score": -0.09089649468660355 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.12271038442850113 + "score": 0.12336272746324539 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16505104303359985 - }, - "else": { - "operation": "boost", - "score": 0.12222874909639359 - } + "operation": "boost", + "score": 0.12214123457670212 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10075952112674713 - }, - "else": { - "operation": "boost", - "score": 0.1153278797864914 - } + "operation": "boost", + "score": 0.1115230917930603 } } } @@ -6629,123 +6643,118 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.12421094626188278 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.12491941452026367 + "score": 0.1245139092206955 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.12450817227363586 - }, - "else": { - "operation": "boost", - "score": -0.12995481491088867 - } + "operation": "boost", + "score": 0.12518806755542755 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_TopLevel", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12493284791707993 - }, - "else": { - "operation": "boost", - "score": 0.12431258708238602 - } + "operation": "boost", + "score": 0.12419634312391281 }, "else": { "operation": "boost", - "score": 0.11679762601852417 + "score": 0.12440799176692963 } }, "else": { - "operation": "boost", - "score": 0.12467154115438461 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": 0.12356136739253998 + }, + "else": { + "operation": "boost", + "score": 0.11891496181488037 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12517571449279785 }, "else": { "operation": "boost", - "score": 0.12349364161491394 + "score": 0.12404220551252365 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "FileScope" ], "then": { "operation": "boost", - "score": 0.12244118750095367 + "score": 0.12363939732313156 }, "else": { "operation": "boost", - "score": 0.11434434354305267 + "score": 0.12263202667236328 } }, "else": { - "operation": "boost", - "score": 0.12350890785455704 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.12107010185718536 + }, + "else": { + "operation": "boost", + "score": 0.10164695233106613 + } } }, "else": { @@ -6753,27 +6762,16 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12217404693365097 - }, - "else": { - "operation": "boost", - "score": 0.11269466578960419 - } + "operation": "boost", + "score": 0.12085331976413727 }, "else": { "operation": "boost", - "score": 0.10009188205003738 + "score": -0.00734816724434495 } } } @@ -6791,55 +6789,8 @@ "feature": "IsInBaseClass", "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.12479875981807709 - }, - "else": { - "operation": "boost", - "score": 0.12618175148963928 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12681205570697784 - }, - "else": { - "operation": "boost", - "score": 0.11923665553331375 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1258907914161682 - }, - "else": { - "operation": "boost", - "score": 0.12213601171970367 - } - } - } + "operation": "boost", + "score": 0.12498895078897476 }, "else": { "operation": "if_greater", @@ -6851,141 +6802,265 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11243811249732971 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03827841207385063 + }, + "else": { + "operation": "boost", + "score": 0.1632082611322403 + } }, "else": { "operation": "boost", - "score": 0.12132571637630463 + "score": 0.12081331759691238 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.12384513020515442 + "score": 0.12380734086036682 }, "else": { "operation": "boost", - "score": 0.11527147144079208 + "score": 0.1173727810382843 } } }, "else": { "operation": "boost", - "score": 0.11290588229894638 + "score": 0.10954398661851883 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304.0, "then": { "operation": "boost", - "score": 0.11780768632888794 + "score": 0.12339581549167633 }, "else": { "operation": "boost", - "score": -0.06332673877477646 + "score": 0.12020380795001984 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11382634192705154 - }, - "else": { - "operation": "boost", - "score": 0.05527171865105629 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 319.0, + "threshold": 46.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.1302003413438797 - }, + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.1248498484492302 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91203.0, + "then": { + "operation": "boost", + "score": 0.0866250991821289 + }, + "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 + } + } + } + }, "else": { "operation": "boost", - "score": 0.11489009857177734 + "score": 0.11517553776502609 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10950405895709991 + }, + "else": { + "operation": "boost", + "score": 0.11708949506282806 + } + }, + "else": { + "operation": "boost", + "score": -0.001054544234648347 + } + } + } + }, + "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, + "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, + "then": { + "operation": "boost", + "score": -0.13495953381061554 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.12190599739551544 + }, + "else": { + "operation": "boost", + "score": 0.10364782065153122 + } + } + } + }, + "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.15788961946964264 + "score": 0.11612097173929214 }, "else": { "operation": "boost", - "score": 0.10916237533092499 + "score": -0.11969910562038422 } + }, + "else": { + "operation": "boost", + "score": 0.05254447087645531 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace", "Keyword", - "Macro", - "Function" + "Variable", + "Function", + "Namespace" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", @@ -7000,139 +7075,58 @@ "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_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.1222807839512825 + "score": 0.11994793266057968 }, "else": { "operation": "boost", - "score": 0.006173219997435808 + "score": -0.01041330210864544 } }, "else": { "operation": "boost", - "score": 0.05758789926767349 + "score": 0.07259354740381241 } }, "else": { - "operation": "boost", - "score": 0.08092769980430603 - } - }, - "else": { - "operation": "boost", - "score": -0.004628378432244062 - } - }, - "else": { - "operation": "boost", - "score": -0.09715913981199265 - } - } - } - }, - "else": { - "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": 306.5, - "then": { - "operation": "boost", - "score": 0.12351304292678833 - }, - "else": { - "operation": "boost", - "score": 0.12011341750621796 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71611.0, - "then": { - "operation": "boost", - "score": 0.1265430897474289 - }, - "else": { - "operation": "boost", - "score": 0.11959303170442581 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 6621.5, "then": { "operation": "boost", - "score": 0.12499315291643143 + "score": 0.12172023952007294 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, - "then": { - "operation": "boost", - "score": 0.07766324281692505 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49945.5, - "then": { - "operation": "boost", - "score": 0.12422314286231995 - }, - "else": { - "operation": "boost", - "score": 0.12006295472383499 - } - } + "operation": "boost", + "score": 0.08926698565483093 } - }, - "else": { - "operation": "boost", - "score": 0.11383161693811417 } + }, + "else": { + "operation": "boost", + "score": 0.008554327301681042 } }, "else": { "operation": "boost", - "score": 0.11381235718727112 + "score": -0.08983761072158813 } } - }, - "else": { - "operation": "boost", - "score": 0.008879497647285461 } } } @@ -7140,7 +7134,7 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20869.0, + "threshold": 25286.5, "then": { "operation": "if_greater", "feature": "FilterLength", @@ -7156,34 +7150,43 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61387.0, + "threshold": 63648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_Type", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.12500624358654022 + "score": 0.12465094774961472 }, "else": { "operation": "boost", - "score": 0.12345881760120392 + "score": 0.1230480819940567 } }, "else": { "operation": "boost", - "score": 0.11925464868545532 + "score": 0.12104270607233047 } }, "else": { - "operation": "boost", - "score": 0.12185438722372055 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, + "then": { + "operation": "boost", + "score": 0.12430502474308014 + }, + "else": { + "operation": "boost", + "score": 0.11714440584182739 + } } }, "else": { @@ -7194,45 +7197,45 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Function" + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": -0.15667559206485748 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.30084019899368286 + "score": 0.12493136525154114 }, "else": { "operation": "boost", - "score": 0.12540820240974426 + "score": 0.12485748529434204 } - }, - "else": { - "operation": "boost", - "score": 0.09679579734802246 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.08800403773784637 + "score": 0.12369400262832642 }, "else": { "operation": "boost", - "score": 0.12209669500589371 + "score": 0.1196770966053009 } } }, @@ -7244,34 +7247,42 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { - "operation": "boost", - "score": 0.12376976758241653 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.12227573245763779 + }, + "else": { + "operation": "boost", + "score": 0.12405123561620712 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45940.0, + "threshold": 32947.0, "then": { "operation": "boost", - "score": 0.10349693894386292 + "score": 0.1150340884923935 }, "else": { "operation": "boost", - "score": 0.12246494740247726 + "score": 0.12440533190965652 } } }, "else": { "operation": "boost", - "score": 0.11889279633760452 + "score": 0.11965116113424301 } }, "else": { @@ -7279,80 +7290,91 @@ "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44558.0, + "threshold": 42846.5, "then": { - "operation": "boost", - "score": 0.12233008444309235 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272340.0, + "then": { + "operation": "boost", + "score": -0.16854263842105865 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12125788629055023 + }, + "else": { + "operation": "boost", + "score": 0.12276632338762283 + } + } }, "else": { "operation": "boost", - "score": 0.11698321998119354 + "score": 0.11826757341623306 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.12485122680664062 - }, - "else": { - "operation": "boost", - "score": 0.11560315638780594 - } + "operation": "boost", + "score": 0.11407013982534409 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72744.5, "then": { - "operation": "boost", - "score": 0.1231367439031601 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103549.5, + "then": { + "operation": "boost", + "score": 0.12214037775993347 + }, + "else": { + "operation": "boost", + "score": 0.1254485845565796 + } }, "else": { "operation": "boost", - "score": 0.11056748777627945 + "score": 0.1091567799448967 } }, "else": { "operation": "boost", - "score": 0.09622710943222046 + "score": 0.09913092106580734 } }, "else": { "operation": "boost", - "score": 0.09416414052248001 + "score": 0.09204074740409851 } } } @@ -7360,38 +7382,47 @@ } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.11431270837783813 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12489776313304901 + }, + "else": { + "operation": "boost", + "score": 0.11439701169729233 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11467303335666656 + "score": 0.1132378950715065 }, "else": { "operation": "boost", - "score": -0.02369212731719017 + "score": -0.01760932244360447 } } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FileProximityDistance", + "threshold": 33.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", @@ -7405,105 +7436,108 @@ "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.11838161200284958 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12095914781093597 + "score": 0.10264015942811966 }, "else": { "operation": "boost", - "score": 0.10423249006271362 + "score": 0.1196630671620369 } - }, - "else": { - "operation": "boost", - "score": 0.12067200988531113 } }, "else": { "operation": "boost", - "score": 0.04138768091797829 + "score": 0.0028017389122396708 } }, "else": { "operation": "boost", - "score": 0.04814814403653145 + "score": 0.05296313017606735 } }, "else": { "operation": "boost", - "score": -0.09317507594823837 + "score": -0.09572849422693253 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_Namespace", "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.10843279212713242 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12265865504741669 + }, + "else": { + "operation": "boost", + "score": 0.07906555384397507 + } }, "else": { - "operation": "boost", - "score": 0.12358734756708145 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11729124188423157 + }, + "else": { + "operation": "boost", + "score": 0.12574072182178497 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11667025834321976 - }, - "else": { - "operation": "boost", - "score": 0.10683144629001617 - } + "operation": "boost", + "score": 0.11634153127670288 } }, "else": { "operation": "boost", - "score": 0.07216765731573105 + "score": 0.11047732830047607 } }, "else": { @@ -7514,46 +7548,55 @@ ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 259.5, "then": { "operation": "boost", - "score": 0.11543726921081543 + "score": 0.11901907622814178 }, "else": { - "operation": "boost", - "score": 0.07243770360946655 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10952675342559814 + }, + "else": { + "operation": "boost", + "score": 0.08210990577936172 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.06038171425461769 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09923480451107025 + "score": 0.10851171612739563 }, "else": { "operation": "boost", - "score": 0.11263704299926758 + "score": 0.09581243246793747 } }, "else": { "operation": "boost", - "score": 0.07295036315917969 + "score": 0.07328794151544571 } - }, - "else": { - "operation": "boost", - "score": -0.001367480494081974 } } } @@ -7563,10 +7606,10 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", "Destructor", - "Namespace", - "Constructor" + "Operator", + "Constructor", + "Namespace" ], "then": { "operation": "if_member", @@ -7581,25 +7624,16 @@ "threshold": 8.5, "then": { "operation": "boost", - "score": 0.11751336604356766 + "score": 0.12956663966178894 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.13858655095100403 - }, - "else": { - "operation": "boost", - "score": 0.14424952864646912 - } + "operation": "boost", + "score": 0.1555223912000656 } }, "else": { "operation": "boost", - "score": 0.021870389580726624 + "score": 0.02503075823187828 } }, "else": { @@ -7612,16 +7646,43 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12046030908823013 + "score": -0.11497645825147629 }, "else": { "operation": "boost", - "score": -0.12353648245334625 + "score": -0.12325362116098404 } }, "else": { - "operation": "boost", - "score": 0.008319628424942493 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.022166235372424126 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16447512805461884 + }, + "else": { + "operation": "boost", + "score": 0.10485164821147919 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08246518671512604 + } } } } @@ -7647,40 +7708,33 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.11929434537887573 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12119611352682114 + }, + "else": { + "operation": "boost", + "score": 0.1197219043970108 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12002735584974289 - }, - "else": { - "operation": "boost", - "score": 0.12091463059186935 - } + "operation": "boost", + "score": 0.12104137241840363 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11948946118354797 - }, - "else": { - "operation": "boost", - "score": 0.12036920338869095 - } + "operation": "boost", + "score": 0.11682932823896408 } } }, @@ -7694,7 +7748,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12216780334711075 + "score": 0.12241791933774948 }, "else": { "operation": "if_member", @@ -7704,11 +7758,11 @@ ], "then": { "operation": "boost", - "score": 0.12212684750556946 + "score": 0.1217925027012825 }, "else": { "operation": "boost", - "score": 0.11558847874403 + "score": 0.1215435341000557 } } }, @@ -7719,21 +7773,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12154514342546463 - }, - "else": { - "operation": "boost", - "score": 0.12154638767242432 - } + "operation": "boost", + "score": 0.12102727591991425 }, "else": { "operation": "boost", - "score": 0.11231476068496704 + "score": 0.10602554678916931 } } } @@ -7744,88 +7789,92 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.11672655493021011 + "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": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11804447323083878 - }, - "else": { - "operation": "boost", - "score": 0.11835885047912598 - } + "operation": "boost", + "score": 0.11821065843105316 }, "else": { "operation": "boost", - "score": 0.11508417874574661 + "score": 0.11898418515920639 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11703633517026901 - }, - "else": { - "operation": "boost", - "score": 0.11783362179994583 - } - }, - "else": { - "operation": "boost", - "score": 0.1187778189778328 - } + "operation": "boost", + "score": 0.1167450025677681 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.12197256088256836 + "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.11950597167015076 + "score": 0.07740702480077744 } }, "else": { - "operation": "boost", - "score": 0.11765623092651367 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11728805303573608 + }, + "else": { + "operation": "boost", + "score": -0.030664870515465736 + } } } } @@ -7836,47 +7885,32 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11722981184720993 - }, - "else": { - "operation": "boost", - "score": 0.11851897835731506 - } + "operation": "boost", + "score": 0.01899571903049946 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.1611931473016739 + "score": 0.11813230812549591 }, "else": { "operation": "boost", - "score": 0.11666274815797806 + "score": 0.1162342056632042 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09451597183942795 - }, - "else": { - "operation": "boost", - "score": 0.10865762829780579 - } + "operation": "boost", + "score": 0.10403391718864441 } } } @@ -7891,125 +7925,129 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.11922913044691086 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.12014608085155487 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.119610995054245 + "score": 0.12293189764022827 }, "else": { "operation": "boost", - "score": -0.12346919625997543 + "score": 0.11413019895553589 } + }, + "else": { + "operation": "boost", + "score": 0.11956767737865448 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_TopLevel", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12017848342657089 - }, - "else": { - "operation": "boost", - "score": 0.1193772479891777 - } + "operation": "boost", + "score": 0.11944061517715454 }, "else": { "operation": "boost", - "score": 0.11133886873722076 + "score": 0.11952733993530273 } }, "else": { - "operation": "boost", - "score": 0.1196441650390625 + "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.11836690455675125 + "score": 0.11907438188791275 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "FileScope" ], "then": { "operation": "boost", - "score": 0.11672337353229523 + "score": 0.11845660209655762 }, "else": { "operation": "boost", - "score": 0.10791365802288055 + "score": 0.1169799193739891 } }, "else": { - "operation": "boost", - "score": 0.11821166425943375 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11526694148778915 + }, + "else": { + "operation": "boost", + "score": 0.09653716534376144 + } } }, "else": { @@ -8017,29 +8055,17 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11878566443920135 - }, - "else": { - "operation": "boost", - "score": 0.11370537430047989 - } + "operation": "boost", + "score": 0.11487280577421188 }, "else": { "operation": "boost", - "score": 0.092056505382061 + "score": -0.024076901376247406 } } } @@ -8057,222 +8083,254 @@ "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11995402723550797 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11826705932617188 - }, - "else": { - "operation": "boost", - "score": 0.1205158606171608 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12178728729486465 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06319843232631683 + }, + "else": { + "operation": "boost", + "score": 0.1577204167842865 + } }, "else": { "operation": "boost", - "score": 0.11355303972959518 + "score": 0.11532328277826309 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope" ], "then": { "operation": "boost", - "score": 0.1207084208726883 + "score": 0.1183653250336647 }, "else": { "operation": "boost", - "score": 0.1165146604180336 + "score": 0.11301813274621964 } } + }, + "else": { + "operation": "boost", + "score": 0.10293734818696976 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 304.0, "then": { "operation": "boost", - "score": 0.10750146955251694 + "score": 0.11811206489801407 }, "else": { "operation": "boost", - "score": 0.11582890897989273 + "score": 0.11472001671791077 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50007.0, + "feature": "NumReferences", + "threshold": 46.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { + "operation": "boost", + "score": 0.12002451717853546 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 91203.0, "then": { "operation": "boost", - "score": -0.3866330087184906 + "score": 0.07241708785295486 }, "else": { - "operation": "boost", - "score": 0.12047649174928665 + "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 + } } - }, - "else": { - "operation": "boost", - "score": 0.11597837507724762 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": 0.10885337740182877 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1201920285820961 + "score": 0.10171493142843246 }, "else": { "operation": "boost", - "score": 0.1196092814207077 + "score": 0.11108005046844482 } + }, + "else": { + "operation": "boost", + "score": -0.007949978113174438 } - }, - "else": { - "operation": "boost", - "score": 0.1110777035355568 } } }, "else": { "operation": "boost", - "score": 0.10532408952713013 + "score": 0.007304436527192593 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", "Function" ], "then": { "operation": "boost", - "score": 0.11173459142446518 + "score": 0.10972098261117935 }, "else": { "operation": "boost", - "score": -0.1343853622674942 + "score": -0.07815256714820862 } }, "else": { "operation": "boost", - "score": 0.09548205137252808 + "score": 0.08917643874883652 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 319.0, + "threshold": 23.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_SymbolOrNewName", + "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.124134361743927 + "score": 0.11700879037380219 }, "else": { "operation": "boost", - "score": 0.10703504830598831 + "score": 0.10262138396501541 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": -0.14591869711875916 + "score": 0.1156032383441925 }, "else": { "operation": "boost", - "score": 0.10226703435182571 + "score": 0.088108591735363 } } }, @@ -8280,13 +8338,15 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", "Variable", - "Function" + "Function", + "Namespace" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", @@ -8301,158 +8361,58 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.11525250971317291 + "score": 0.11409099400043488 }, "else": { "operation": "boost", - "score": -0.00839395821094513 + "score": -0.01168738678097725 } }, "else": { "operation": "boost", - "score": 0.07689264416694641 + "score": 0.06518735736608505 } }, "else": { - "operation": "boost", - "score": 0.08861833810806274 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6621.5, + "then": { + "operation": "boost", + "score": 0.11623498052358627 + }, + "else": { + "operation": "boost", + "score": 0.08264568448066711 + } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07531578093767166 - }, - "else": { - "operation": "boost", - "score": -0.024694066494703293 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0705871433019638 - } - } - } - }, - "else": { - "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": 306.5, - "then": { - "operation": "boost", - "score": 0.11827092617750168 - }, - "else": { - "operation": "boost", - "score": 0.11446397006511688 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71611.0, - "then": { - "operation": "boost", - "score": 0.12166742235422134 - }, - "else": { - "operation": "boost", - "score": 0.11339423060417175 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.12020982801914215 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91203.0, - "then": { - "operation": "boost", - "score": 0.07097774744033813 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49945.5, - "then": { - "operation": "boost", - "score": 0.11910878866910934 - }, - "else": { - "operation": "boost", - "score": 0.1141810268163681 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10722211748361588 - } + "operation": "boost", + "score": 0.004224621690809727 } }, "else": { "operation": "boost", - "score": 0.10723086446523666 + "score": -0.0817423090338707 } } - }, - "else": { - "operation": "boost", - "score": 0.0028099988121539354 } } } @@ -8460,7 +8420,7 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14372.5, + "threshold": 20811.0, "then": { "operation": "if_greater", "feature": "FilterLength", @@ -8472,7 +8432,7 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61550.0, + "threshold": 75472.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", @@ -8483,36 +8443,39 @@ "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_Type", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.12013884633779526 + "score": 0.11981629580259323 }, "else": { "operation": "boost", - "score": 0.11841384321451187 + "score": 0.11788350343704224 } }, "else": { - "operation": "boost", - "score": 0.11696905642747879 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11884362995624542 + }, + "else": { + "operation": "boost", + "score": 0.09547129273414612 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14575.5, - "then": { - "operation": "boost", - "score": 0.11364472657442093 - }, - "else": { - "operation": "boost", - "score": 0.12395212799310684 - } + "operation": "boost", + "score": 0.11486894637346268 } }, "else": { @@ -8523,36 +8486,45 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Function" + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11972884088754654 + "score": -0.14092107117176056 }, "else": { - "operation": "boost", - "score": 0.08614074438810349 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11959598958492279 + }, + "else": { + "operation": "boost", + "score": 0.11966031044721603 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.07820185273885727 + "score": 0.11863100528717041 }, "else": { "operation": "boost", - "score": 0.11634931713342667 + "score": 0.11341708898544312 } } }, @@ -8564,43 +8536,69 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16714.5, + "threshold": 78490.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78490.0, + "threshold": 220112.0, "then": { "operation": "boost", - "score": 0.11855028569698334 + "score": 0.11722931265830994 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45940.0, + "threshold": 121087.0, "then": { - "operation": "boost", - "score": 0.09728053957223892 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "boost", + "score": 0.12044071406126022 + }, + "else": { + "operation": "boost", + "score": 0.1193011924624443 + } }, "else": { - "operation": "boost", - "score": 0.11817038059234619 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "boost", + "score": -0.14053958654403687 + }, + "else": { + "operation": "boost", + "score": 0.1190926730632782 + } } } }, "else": { - "operation": "boost", - "score": 0.14247608184814453 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32947.0, + "then": { + "operation": "boost", + "score": 0.10887303948402405 + }, + "else": { + "operation": "boost", + "score": 0.12215220928192139 + } } }, "else": { "operation": "boost", - "score": 0.11292942613363266 + "score": 0.11453889310359955 } }, "else": { @@ -8610,62 +8608,89 @@ "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.1138969287276268 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44558.0, + "threshold": 42846.5, "then": { - "operation": "boost", - "score": 0.11677347868680954 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272340.0, + "then": { + "operation": "boost", + "score": -0.14012761414051056 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11575504392385483 + }, + "else": { + "operation": "boost", + "score": 0.11759170144796371 + } + } }, "else": { "operation": "boost", - "score": 0.11954385042190552 + "score": 0.11575620621442795 } + }, + "else": { + "operation": "boost", + "score": 0.10999485850334167 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72744.5, "then": { - "operation": "boost", - "score": 0.11771949380636215 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103549.5, + "then": { + "operation": "boost", + "score": 0.11652491986751556 + }, + "else": { + "operation": "boost", + "score": 0.12006963789463043 + } }, "else": { "operation": "boost", - "score": 0.11298117786645889 + "score": 0.10282241553068161 } }, "else": { "operation": "boost", - "score": 0.08966502547264099 + "score": 0.08843041956424713 } }, "else": { "operation": "boost", - "score": 0.08557111024856567 + "score": 0.08718814700841904 } } } @@ -8673,26 +8698,35 @@ } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10719378292560577 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11946488171815872 + }, + "else": { + "operation": "boost", + "score": 0.1076255738735199 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10839667916297913 + "score": 0.10730741918087006 }, "else": { "operation": "boost", - "score": -0.027163587510585785 + "score": -0.019194869324564934 } } } @@ -8701,8 +8735,8 @@ "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", "FunctionScope", + "ClassScope", "FileScope" ], "then": { @@ -8714,58 +8748,58 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11240765452384949 + "score": 0.11493503302335739 }, "else": { "operation": "boost", - "score": 0.09489945322275162 + "score": 0.10210377722978592 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11366764456033707 + "score": 0.09642253071069717 }, "else": { - "operation": "boost", - "score": 0.1174771785736084 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11438445746898651 + }, + "else": { + "operation": "boost", + "score": 0.12691329419612885 + } } } }, "else": { "operation": "boost", - "score": 0.05698665231466293 + "score": 0.054352983832359314 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.02416493184864521 - }, - "else": { - "operation": "boost", - "score": 0.08521692454814911 - } + "operation": "boost", + "score": -0.01503479853272438 } }, "else": { @@ -8789,29 +8823,47 @@ ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.094246044754982 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12513957917690277 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09488772600889206 + }, + "else": { + "operation": "boost", + "score": 0.11902166903018951 + } }, "else": { - "operation": "boost", - "score": 0.13119032979011536 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11404117196798325 + }, + "else": { + "operation": "boost", + "score": 0.13918271660804749 + } } + }, + "else": { + "operation": "boost", + "score": 0.08624853193759918 } }, "else": { "operation": "boost", - "score": -0.011788197793066502 + "score": -0.010966906324028969 } }, "else": { @@ -8820,11 +8872,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10544245690107346 + "score": -0.10071047395467758 }, "else": { "operation": "boost", - "score": -0.11486576497554779 + "score": -0.11381218582391739 } } }, @@ -8836,31 +8888,33 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag" + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.11688400059938431 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.10320190340280533 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11749343574047089 + }, + "else": { + "operation": "boost", + "score": 0.12081567943096161 + } }, "else": { "operation": "boost", - "score": 0.07586608827114105 + "score": 0.11901114881038666 } + }, + "else": { + "operation": "boost", + "score": 0.08417658507823944 } }, "else": { @@ -8868,50 +8922,50 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.0003689741715788841 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.0, + "then": { + "operation": "boost", + "score": 0.16081175208091736 + }, + "else": { + "operation": "boost", + "score": 0.15084686875343323 + } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.1507977992296219 + "score": 0.019576098769903183 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.15107516944408417 - }, - "else": { - "operation": "boost", - "score": 0.13564994931221008 - } + "operation": "boost", + "score": 0.148265540599823 }, "else": { "operation": "boost", - "score": 0.0894283726811409 + "score": 0.09366220235824585 } } } }, "else": { "operation": "boost", - "score": -0.0767642930150032 + "score": -0.07694527506828308 } } } @@ -8938,40 +8992,24 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.11559810489416122 + "score": 0.11641047894954681 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11652669310569763 - }, - "else": { - "operation": "boost", - "score": 0.11735793948173523 - } + "operation": "boost", + "score": 0.11746147274971008 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11566051095724106 - }, - "else": { - "operation": "boost", - "score": 0.11667361110448837 - } + "operation": "boost", + "score": 0.11300672590732574 } } }, @@ -8985,7 +9023,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11848047375679016 + "score": 0.11875198036432266 }, "else": { "operation": "if_member", @@ -8995,11 +9033,11 @@ ], "then": { "operation": "boost", - "score": 0.11838960647583008 + "score": 0.11799407750368118 }, "else": { "operation": "boost", - "score": 0.1085590049624443 + "score": 0.11788005381822586 } } }, @@ -9010,21 +9048,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11753761768341064 - }, - "else": { - "operation": "boost", - "score": 0.11764448881149292 - } + "operation": "boost", + "score": 0.11725304275751114 }, "else": { "operation": "boost", - "score": 0.10657909512519836 + "score": 0.09579700231552124 } } } @@ -9035,70 +9064,92 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.11275042593479156 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11260415613651276 + }, + "else": { + "operation": "boost", + "score": 0.11345380544662476 + } }, "else": { - "operation": "boost", - "score": 0.11231323331594467 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11278083920478821 - }, - "else": { - "operation": "boost", - "score": 0.11372779309749603 - } + "operation": "boost", + "score": 0.1142982542514801 }, "else": { "operation": "boost", - "score": 0.11483249813318253 + "score": 0.11515509337186813 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11200570315122604 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.11726580560207367 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11895431578159332 + }, + "else": { + "operation": "boost", + "score": 0.11510385572910309 + } }, "else": { "operation": "boost", - "score": 0.11535303294658661 + "score": 0.07501054555177689 } }, "else": { - "operation": "boost", - "score": 0.11325019598007202 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1128266453742981 + }, + "else": { + "operation": "boost", + "score": -0.030750200152397156 + } } } } @@ -9109,47 +9160,32 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11313800513744354 - }, - "else": { - "operation": "boost", - "score": 0.11466027051210403 - } + "operation": "boost", + "score": 0.00979738961905241 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.15168234705924988 + "score": 0.11404508352279663 }, "else": { "operation": "boost", - "score": 0.11224480718374252 + "score": 0.11234888434410095 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08685126155614853 - }, - "else": { - "operation": "boost", - "score": 0.10397052764892578 - } + "operation": "boost", + "score": 0.0990118607878685 } } } @@ -9164,95 +9200,109 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.1155480146408081 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11587662249803543 + }, + "else": { + "operation": "boost", + "score": 0.1163925975561142 + } }, "else": { - "operation": "boost", - "score": 0.11629999428987503 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.11616656929254532 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11713960766792297 - }, - "else": { - "operation": "boost", - "score": 0.11591767519712448 - } + "operation": "boost", + "score": 0.11462422460317612 }, "else": { "operation": "boost", - "score": 0.10575226694345474 + "score": 0.1095297783613205 } - }, - "else": { - "operation": "boost", - "score": 0.11605337262153625 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11691773682832718 }, "else": { "operation": "boost", - "score": 0.11463440209627151 + "score": 0.11548912525177002 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "FileScope" ], "then": { "operation": "boost", - "score": 0.11201805621385574 + "score": 0.11462436616420746 }, "else": { "operation": "boost", - "score": 0.10201078653335571 + "score": 0.1125241219997406 } }, "else": { - "operation": "boost", - "score": 0.11402109265327454 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11054060608148575 + }, + "else": { + "operation": "boost", + "score": 0.0898740217089653 + } } }, "else": { @@ -9260,18 +9310,17 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.10998932272195816 + "score": 0.10977572202682495 }, "else": { "operation": "boost", - "score": 0.08509616553783417 + "score": -0.03711888939142227 } } } @@ -9289,382 +9338,278 @@ "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11601562798023224 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11445122212171555 - }, - "else": { - "operation": "boost", - "score": 0.11690232157707214 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11785674840211868 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08924993872642517 + }, + "else": { + "operation": "boost", + "score": 0.1542593538761139 + } }, "else": { "operation": "boost", - "score": 0.10904040187597275 + "score": 0.11099054664373398 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope" ], "then": { "operation": "boost", - "score": 0.11694669723510742 - }, - "else": { - "operation": "boost", - "score": 0.11073338985443115 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10210481286048889 - }, - "else": { - "operation": "boost", - "score": 0.11166880279779434 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50007.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1163768321275711 - }, - "else": { - "operation": "boost", - "score": 0.11076793074607849 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.11626493185758591 - }, - "else": { - "operation": "boost", - "score": 0.11549454182386398 - } - } + "score": 0.11382551491260529 }, "else": { "operation": "boost", - "score": 0.1039767637848854 + "score": 0.1069055050611496 } } }, "else": { "operation": "boost", - "score": 0.10032308846712112 + "score": 0.09669717401266098 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1060091182589531 - }, - "else": { - "operation": "boost", - "score": -0.12865403294563293 - } - }, - "else": { - "operation": "boost", - "score": 0.07937774062156677 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 319.0, + "threshold": 304.0, "then": { "operation": "boost", - "score": 0.11616960167884827 + "score": 0.11423131823539734 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1385822594165802 - }, - "else": { - "operation": "boost", - "score": 0.09461640566587448 - } + "operation": "boost", + "score": 0.11025538295507431 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.11651279777288437 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91203.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.06432437151670456 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19589.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11612530797719955 + "score": 0.10996823012828827 }, "else": { "operation": "boost", - "score": 0.10890008509159088 + "score": 0.11550747603178024 } }, "else": { "operation": "boost", - "score": 0.0027434853836894035 + "score": 0.11135101318359375 } - }, - "else": { - "operation": "boost", - "score": 0.04491106793284416 } - }, - "else": { - "operation": "boost", - "score": 0.0658419206738472 } }, "else": { "operation": "boost", - "score": 0.0030858272220939398 + "score": 0.1031254306435585 } }, "else": { - "operation": "boost", - "score": -0.06617368012666702 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10377974063158035 + }, + "else": { + "operation": "boost", + "score": 0.003141457913443446 + } } } + }, + "else": { + "operation": "boost", + "score": 0.03135048598051071 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, "then": { + "operation": "boost", + "score": 0.10844844579696655 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11435431987047195 + "score": -0.1289406418800354 }, "else": { "operation": "boost", - "score": 0.11000754684209824 + "score": 0.09043923765420914 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Variable", + "Function" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71611.0, - "then": { - "operation": "boost", - "score": 0.11810240894556046 - }, - "else": { - "operation": "boost", - "score": 0.10892579704523087 - } + "operation": "boost", + "score": 0.10410875082015991 }, "else": { + "operation": "boost", + "score": -0.10663174837827682 + } + }, + "else": { + "operation": "boost", + "score": 0.0810122862458229 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11645424365997314 - }, - "else": { - "operation": "boost", - "score": 0.11600976437330246 - } + "operation": "boost", + "score": 0.11079441756010056 }, "else": { "operation": "boost", - "score": 0.08673892170190811 + "score": -0.0028368905186653137 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19589.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11532814055681229 - }, - "else": { - "operation": "boost", - "score": 0.1093512624502182 - } - }, - "else": { - "operation": "boost", - "score": 0.10598950833082199 - } + "operation": "boost", + "score": 0.09786824882030487 } + }, + "else": { + "operation": "boost", + "score": 0.04682198911905289 } }, "else": { "operation": "boost", - "score": 0.10154625028371811 + "score": -0.017825448885560036 } } - }, - "else": { - "operation": "boost", - "score": 0.00773789593949914 } } } @@ -9672,7 +9617,7 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14372.5, + "threshold": 30903.0, "then": { "operation": "if_greater", "feature": "FilterLength", @@ -9683,47 +9628,56 @@ "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 63648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_Type", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.11659464985132217 + "score": 0.11622614413499832 }, "else": { "operation": "boost", - "score": 0.11451084911823273 + "score": 0.11396890133619308 } }, "else": { - "operation": "boost", - "score": 0.11293107271194458 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32083.5, + "then": { + "operation": "boost", + "score": 0.10818535089492798 + }, + "else": { + "operation": "boost", + "score": 0.15177322924137115 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14575.5, + "threshold": 205835.5, "then": { "operation": "boost", - "score": 0.10878988355398178 + "score": 0.1158897876739502 }, "else": { "operation": "boost", - "score": 0.11917676776647568 + "score": 0.1083010584115982 } } }, @@ -9735,28 +9689,46 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Function" + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11580163240432739 + "score": -0.13659068942070007 }, "else": { - "operation": "boost", - "score": 0.08053216338157654 - } - }, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11570192873477936 + }, + "else": { + "operation": "boost", + "score": 0.11595240980386734 + } + } + }, "else": { - "operation": "boost", - "score": 0.11006038635969162 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11489898711442947 + }, + "else": { + "operation": "boost", + "score": 0.10894259810447693 + } } }, "else": { @@ -9767,43 +9739,33 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16714.5, + "threshold": 78490.0, "then": { + "operation": "boost", + "score": 0.11493141204118729 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78490.0, + "threshold": 32947.0, "then": { "operation": "boost", - "score": 0.11479312926530838 + "score": 0.1037277951836586 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.09171097725629807 - }, - "else": { - "operation": "boost", - "score": 0.1137726828455925 - } + "operation": "boost", + "score": 0.11546321958303452 } - }, - "else": { - "operation": "boost", - "score": 0.13303670287132263 } }, "else": { "operation": "boost", - "score": 0.10886558890342712 + "score": 0.10878776013851166 } }, "else": { @@ -9813,41 +9775,62 @@ "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.10830827802419662 + "score": 0.11259423941373825 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44558.0, - "then": { - "operation": "boost", - "score": 0.11285747587680817 - }, - "else": { - "operation": "boost", - "score": 0.11370674520730972 - } + "operation": "boost", + "score": 0.10269846767187119 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.10241763293743134 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103549.5, + "then": { + "operation": "boost", + "score": 0.11206576228141785 + }, + "else": { + "operation": "boost", + "score": 0.11624400317668915 + } + }, + "else": { + "operation": "boost", + "score": 0.09454834461212158 + } + }, + "else": { + "operation": "boost", + "score": 0.08414481580257416 + } }, "else": { "operation": "boost", - "score": 0.07801457494497299 + "score": 0.08010321855545044 } } } @@ -9855,41 +9838,103 @@ } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.10073372721672058 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.10335251688957214 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12350218743085861 + }, + "else": { + "operation": "boost", + "score": 0.14177241921424866 + } + }, + "else": { + "operation": "boost", + "score": 0.12442126870155334 + } }, "else": { - "operation": "boost", - "score": -0.02547048032283783 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31239.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11594400554895401 + }, + "else": { + "operation": "boost", + "score": 0.12015494704246521 + } + }, + "else": { + "operation": "boost", + "score": 0.10632868111133575 + } + }, + "else": { + "operation": "boost", + "score": 0.11636073887348175 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10914449393749237 + }, + "else": { + "operation": "boost", + "score": 0.07555894553661346 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.046384941786527634 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FileProximityDistance", + "threshold": 33.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", @@ -9906,12 +9951,28 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.1087021753191948 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11045931279659271 + }, + "else": { + "operation": "boost", + "score": -0.3470112979412079 + } }, "else": { "operation": "if_greater", @@ -9919,106 +9980,83 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09294407814741135 + "score": 0.09482519328594208 }, "else": { "operation": "boost", - "score": 0.11124321073293686 + "score": 0.10979517549276352 } } }, "else": { "operation": "boost", - "score": 0.03608899936079979 + "score": 0.009964678436517715 } }, "else": { "operation": "boost", - "score": 0.03913634642958641 + "score": 0.044826820492744446 } }, "else": { "operation": "boost", - "score": -0.07891732454299927 + "score": -0.07861299812793732 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.10496653616428375 + "score": 0.11374770849943161 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_UnionTag" - ], - "then": { - "operation": "boost", - "score": 0.11493222415447235 - }, - "else": { - "operation": "boost", - "score": 0.11272989958524704 - } + "operation": "boost", + "score": 0.06855163723230362 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11344757676124573 - }, - "else": { - "operation": "boost", - "score": 0.10150057822465897 - } + "operation": "boost", + "score": 0.11702041327953339 } }, "else": { "operation": "boost", - "score": 0.09418657422065735 + "score": 0.10896171629428864 } }, "else": { "operation": "boost", - "score": 0.06357603520154953 + "score": 0.10127498209476471 } }, "else": { @@ -10029,163 +10067,179 @@ ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 259.5, "then": { "operation": "boost", - "score": 0.10500875860452652 + "score": 0.1096913293004036 }, "else": { - "operation": "boost", - "score": 0.059214185923337936 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0999528244137764 + }, + "else": { + "operation": "boost", + "score": 0.067432701587677 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.05393628031015396 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09024079889059067 + "score": 0.10030659288167953 }, "else": { - "operation": "boost", - "score": 0.10359909385442734 + "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 + } } }, "else": { "operation": "boost", - "score": 0.03899865597486496 + "score": 0.061667975038290024 } - }, - "else": { - "operation": "boost", - "score": 0.05399207025766373 } } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Operator", + "Constructor", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Constructor" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0984700620174408 - }, - "else": { - "operation": "boost", - "score": 0.12087564170360565 - } - }, - "else": { - "operation": "boost", - "score": 0.0006031212978996336 - } + "operation": "boost", + "score": 0.10801086574792862 }, "else": { "operation": "boost", - "score": -0.11246079951524734 + "score": 0.13303282856941223 } }, "else": { "operation": "boost", - "score": -0.11093655228614807 + "score": 0.021868770942091942 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004717906005680561 + "score": -0.10379552841186523 }, "else": { + "operation": "boost", + "score": -0.11414434760808945 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.1445876657962799 + "score": 0.1410679966211319 }, "else": { "operation": "boost", - "score": 0.13706037402153015 + "score": 0.13966608047485352 } }, "else": { "operation": "boost", - "score": 0.10684366524219513 + "score": 0.09451880306005478 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1295342594385147 - }, - "else": { - "operation": "boost", - "score": 0.0822460949420929 - } + "operation": "boost", + "score": 0.03678275644779205 } + }, + "else": { + "operation": "boost", + "score": -0.07651832699775696 } - }, - "else": { - "operation": "boost", - "score": -0.07366691529750824 } } } @@ -10211,40 +10265,24 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.11275579035282135 + "score": 0.11369560658931732 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11386134475469589 - }, - "else": { - "operation": "boost", - "score": 0.11472485959529877 - } + "operation": "boost", + "score": 0.11478926241397858 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11398562788963318 - }, - "else": { - "operation": "boost", - "score": 0.11379560083150864 - } + "operation": "boost", + "score": 0.10827924311161041 } } }, @@ -10258,7 +10296,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11578098684549332 + "score": 0.11592748761177063 }, "else": { "operation": "if_member", @@ -10268,11 +10306,11 @@ ], "then": { "operation": "boost", - "score": 0.11559638381004333 + "score": 0.1152067556977272 }, "else": { "operation": "boost", - "score": 0.10595715045928955 + "score": 0.11485791206359863 } } }, @@ -10283,21 +10321,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11480718851089478 - }, - "else": { - "operation": "boost", - "score": 0.11461012810468674 - } + "operation": "boost", + "score": 0.11415990442037582 }, "else": { "operation": "boost", - "score": 0.10103906691074371 + "score": 0.08945435285568237 } } } @@ -10308,70 +10337,101 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.10922900587320328 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10928084701299667 + }, + "else": { + "operation": "boost", + "score": 0.11012834310531616 + } }, "else": { - "operation": "boost", - "score": 0.10868067294359207 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1097482368350029 - }, - "else": { - "operation": "boost", - "score": 0.110886350274086 - } + "operation": "boost", + "score": 0.11105799674987793 }, "else": { "operation": "boost", - "score": 0.11188711225986481 + "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", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.11373092979192734 + "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.11200198531150818 + "score": 0.06740029156208038 } }, "else": { - "operation": "boost", - "score": 0.10952455550432205 + "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 + } } } } @@ -10382,47 +10442,20 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10993447154760361 - }, - "else": { - "operation": "boost", - "score": 0.11153565347194672 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14794151484966278 - }, - "else": { - "operation": "boost", - "score": 0.10860756784677505 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07960382103919983 + "score": 0.013255096040666103 }, "else": { "operation": "boost", - "score": 0.09866321086883545 + "score": 0.11021395772695541 } + }, + "else": { + "operation": "boost", + "score": 0.09297329932451248 } } } @@ -10437,86 +10470,97 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.11272177845239639 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11301282048225403 + }, + "else": { + "operation": "boost", + "score": 0.11328229308128357 + } }, "else": { - "operation": "boost", - "score": 0.1135684996843338 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.11340656131505966 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, "then": { "operation": "boost", - "score": 0.11357439309358597 + "score": 0.11155606806278229 }, "else": { "operation": "boost", - "score": 0.1014041006565094 + "score": 0.10614977031946182 } - }, - "else": { - "operation": "boost", - "score": 0.11318415403366089 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11422496289014816 }, "else": { "operation": "boost", - "score": 0.11159367114305496 + "score": 0.11261291056871414 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.10902093350887299 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.107973612844944 + "score": 0.10599817335605621 }, "else": { "operation": "boost", - "score": 0.09683384001255035 + "score": 0.0841469094157219 } - }, - "else": { - "operation": "boost", - "score": 0.11055006831884384 } }, "else": { @@ -10524,18 +10568,17 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.10586534440517426 + "score": 0.10571350157260895 }, "else": { "operation": "boost", - "score": 0.07861734926700592 + "score": -0.0362948402762413 } } } @@ -10557,201 +10600,224 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11137374490499496 - }, - "else": { - "operation": "boost", - "score": 0.11389537900686264 - } + "operation": "boost", + "score": 0.11292967200279236 }, "else": { + "operation": "boost", + "score": 0.11346691101789474 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11497005075216293 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05147448554635048 + }, + "else": { + "operation": "boost", + "score": 0.14922408759593964 + } }, "else": { "operation": "boost", - "score": 0.10513200610876083 + "score": 0.1070241779088974 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope" ], "then": { "operation": "boost", - "score": 0.11384961754083633 + "score": 0.11009225994348526 }, "else": { "operation": "boost", - "score": 0.10577559471130371 + "score": 0.10306692868471146 } } + }, + "else": { + "operation": "boost", + "score": 0.09269571304321289 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.1069711223244667 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304.0, + "then": { + "operation": "boost", + "score": 0.1108003556728363 + }, + "else": { + "operation": "boost", + "score": 0.10660836100578308 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 46.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.11304105073213577 + "score": 0.1137610375881195 }, "else": { - "operation": "boost", - "score": 0.10705427825450897 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91203.0, + "then": { + "operation": "boost", + "score": 0.059029098600149155 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19589.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10641951858997345 + }, + "else": { + "operation": "boost", + "score": 0.11259830743074417 + } + }, + "else": { + "operation": "boost", + "score": 0.10767178982496262 + } + } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.11288757622241974 - }, - "else": { - "operation": "boost", - "score": 0.11191584169864655 - } + "operation": "boost", + "score": 0.09760589897632599 } }, "else": { - "operation": "boost", - "score": 0.09653709083795547 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09941023588180542 + }, + "else": { + "operation": "boost", + "score": 0.0010269013000652194 + } } } }, "else": { "operation": "boost", - "score": 0.09525296092033386 + "score": 0.041217803955078125 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", "Function" ], "then": { "operation": "boost", - "score": 0.10250584781169891 + "score": 0.09947020560503006 }, "else": { "operation": "boost", - "score": -0.12183509021997452 + "score": -0.0674571767449379 } }, "else": { "operation": "boost", - "score": 0.08296811580657959 + "score": 0.08259961009025574 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "Variable", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 317.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11287634074687958 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": -0.13428166508674622 + "score": 0.12071332335472107 }, "else": { - "operation": "boost", - "score": 0.09176274389028549 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, @@ -10759,624 +10825,604 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.10781753063201904 + "score": 0.10430170595645905 }, "else": { "operation": "boost", - "score": 0.003731833305209875 + "score": -0.0020382446236908436 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10868692398071289 - }, - "else": { - "operation": "boost", - "score": 0.03781925141811371 - } + "operation": "boost", + "score": 0.10158360749483109 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5587.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.112519770860672 + }, + "else": { + "operation": "boost", + "score": 0.10219305008649826 } }, "else": { "operation": "boost", - "score": 0.03953958675265312 + "score": 0.04247909039258957 + } + } + }, + "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.09804926067590714 + }, + "else": { + "operation": "boost", + "score": 0.09085749834775925 } }, "else": { "operation": "boost", - "score": -0.012634332291781902 + "score": -0.02350633591413498 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 619.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5759.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11126012355089188 + "score": 0.14087316393852234 }, "else": { - "operation": "boost", - "score": 0.10605524480342865 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91114.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.11410803347826004 + "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.10777845233678818 + "score": 0.11963826417922974 } }, "else": { - "operation": "boost", - "score": 0.03984057903289795 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79050.5, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.11542865633964539 + "score": 0.16637516021728516 }, "else": { "operation": "boost", - "score": 0.1110396757721901 + "score": 0.12818646430969238 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29812.0, + "then": { + "operation": "boost", + "score": 0.10967881232500076 }, "else": { "operation": "boost", - "score": 0.10438830405473709 + "score": 0.14036574959754944 } } - }, - "else": { - "operation": "boost", - "score": 0.09670503437519073 } + }, + "else": { + "operation": "boost", + "score": 0.12127749621868134 } }, "else": { - "operation": "boost", - "score": -0.010260633192956448 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "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, + "threshold": 8.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "Variable", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3121.5, "then": { "operation": "boost", - "score": 0.10713967680931091 + "score": 0.16877815127372742 }, "else": { "operation": "boost", - "score": 0.08274657279253006 + "score": 0.16140031814575195 } }, "else": { "operation": "boost", - "score": 0.08621226996183395 + "score": 0.15932682156562805 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.1302957832813263 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11729203164577484 + }, + "else": { + "operation": "boost", + "score": 0.08550520241260529 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10515062510967255 + "score": 0.10395988821983337 }, "else": { "operation": "boost", - "score": 0.10295051336288452 + "score": 0.07970006763935089 } } }, "else": { - "operation": "boost", - "score": 0.05342704430222511 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28364.0, + "threshold": 20966.0, "then": { - "operation": "boost", - "score": 0.11415236443281174 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11118782311677933 + }, + "else": { + "operation": "boost", + "score": 0.10661789029836655 + } + }, + "else": { + "operation": "boost", + "score": 0.09879282861948013 + } }, "else": { + "operation": "boost", + "score": 0.11869504302740097 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56853.0, "then": { "operation": "boost", - "score": 0.17287316918373108 + "score": 0.126464381814003 }, "else": { "operation": "boost", - "score": 0.15700075030326843 + "score": 0.0995582640171051 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "boost", + "score": 0.10061712563037872 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30877.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1725756675004959 + "score": 0.11476241052150726 }, "else": { "operation": "boost", - "score": 0.10375506430864334 + "score": 0.12342588603496552 } }, "else": { - "operation": "boost", - "score": 0.09780673682689667 + "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 + } + } + } } + }, + "else": { + "operation": "boost", + "score": -0.038678381592035294 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Function" ], "then": { "operation": "boost", - "score": 0.1668085753917694 + "score": 0.11192172765731812 }, "else": { "operation": "boost", - "score": 0.09729942679405212 + "score": 0.10062727332115173 } }, "else": { "operation": "boost", - "score": 0.060717981308698654 + "score": 0.09309293329715729 } }, "else": { "operation": "boost", - "score": 1.8586839360068552e-05 + "score": 0.050923947244882584 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04134758934378624 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029722558334469795 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104858.5, - "then": { - "operation": "boost", - "score": 0.1387687623500824 }, "else": { "operation": "boost", - "score": 0.1075110211968422 + "score": -0.044328365474939346 } } - }, - "else": { - "operation": "boost", - "score": 0.0699261873960495 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Destructor", - "Namespace" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], - "then": { - "operation": "boost", - "score": 0.11296502500772476 - }, - "else": { - "operation": "boost", - "score": 0.10941040515899658 - } - }, - "else": { - "operation": "boost", - "score": 0.09936970472335815 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2909.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11122545599937439 + "score": 0.10637087374925613 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.13366615772247314 - }, - "else": { - "operation": "boost", - "score": 0.06814593821763992 - } - }, - "else": { - "operation": "boost", - "score": 0.06013490632176399 - } + "operation": "boost", + "score": 0.09425932168960571 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 326.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 336.5, - "then": { - "operation": "boost", - "score": 0.12569871544837952 - }, - "else": { - "operation": "boost", - "score": 0.1512933075428009 - } + "operation": "boost", + "score": 0.08839324116706848 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Function" ], "then": { "operation": "boost", - "score": 0.11857988685369492 + "score": 0.10594355314970016 }, "else": { "operation": "boost", - "score": 0.11778116971254349 + "score": 0.11176303029060364 } } } }, "else": { "operation": "boost", - "score": -0.003363893600180745 + "score": 0.0448327474296093 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14379.0, + "feature": "FileProximityDistance", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.011112953536212444 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, - "then": { - "operation": "boost", - "score": 0.11185619980096817 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.08647934347391129 - }, - "else": { - "operation": "boost", - "score": 0.11025182902812958 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1257462501525879 - } - }, - "else": { - "operation": "boost", - "score": 0.10513512045145035 - } + "operation": "boost", + "score": 0.10559426248073578 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3028898239135742 - }, - "else": { - "operation": "boost", - "score": 0.11291255056858063 - } - }, - "else": { - "operation": "boost", - "score": 0.10609395056962967 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, - "then": { - "operation": "boost", - "score": 0.10952796041965485 - }, - "else": { - "operation": "boost", - "score": 0.10594984889030457 - } - }, - "else": { - "operation": "boost", - "score": 0.10169161856174469 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1063806563615799 - }, - "else": { - "operation": "boost", - "score": 0.07935035973787308 - } - } - } + "operation": "boost", + "score": 0.011213590390980244 } }, "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": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.09612119197845459 + "score": 0.09845957159996033 }, "else": { "operation": "boost", - "score": -0.03280278667807579 + "score": 0.12166021764278412 } + }, + "else": { + "operation": "boost", + "score": 0.0015377497766166925 } }, "else": { @@ -11385,47 +11431,51 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.096161387860775 + "score": -0.09971440583467484 }, "else": { "operation": "boost", - "score": -0.10704226046800613 + "score": -0.10846680402755737 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], - "then": { - "operation": "boost", - "score": 0.10733029246330261 - }, - "else": { - "operation": "boost", - "score": 0.08688613027334213 - } + "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, @@ -11435,27 +11485,27 @@ "threshold": 3.0, "then": { "operation": "boost", - "score": 0.14414721727371216 + "score": 0.12945537269115448 }, "else": { "operation": "boost", - "score": 0.13222041726112366 + "score": 0.1301424503326416 } }, "else": { "operation": "boost", - "score": 0.08794558048248291 + "score": 0.09117697179317474 } + }, + "else": { + "operation": "boost", + "score": 0.03532000631093979 } }, "else": { "operation": "boost", - "score": 0.04263277351856232 + "score": -0.06547743082046509 } - }, - "else": { - "operation": "boost", - "score": -0.02981783263385296 } } } @@ -11481,31 +11531,24 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.11055421829223633 + "score": 0.11138442158699036 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11176072061061859 - }, - "else": { - "operation": "boost", - "score": 0.11274468153715134 - } + "operation": "boost", + "score": 0.11260776221752167 }, "else": { "operation": "boost", - "score": 0.11051369458436966 + "score": 0.10733778774738312 } } }, @@ -11519,7 +11562,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11360660940408707 + "score": 0.11372324079275131 }, "else": { "operation": "if_member", @@ -11529,11 +11572,11 @@ ], "then": { "operation": "boost", - "score": 0.11334092170000076 + "score": 0.11295861750841141 }, "else": { "operation": "boost", - "score": 0.10144197940826416 + "score": 0.11316007375717163 } } }, @@ -11544,21 +11587,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11254177987575531 - }, - "else": { - "operation": "boost", - "score": 0.11209063977003098 - } + "operation": "boost", + "score": 0.11169914901256561 }, "else": { "operation": "boost", - "score": 0.09744499623775482 + "score": 0.08384349197149277 } } } @@ -11569,70 +11603,53 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10654184222221375 + "score": 0.10707225650548935 }, "else": { "operation": "boost", - "score": 0.10538074374198914 + "score": 0.1091422364115715 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10715818405151367 - }, - "else": { - "operation": "boost", - "score": 0.10829926282167435 - } - }, - "else": { - "operation": "boost", - "score": 0.10933665931224823 - } + "operation": "boost", + "score": 0.10513731092214584 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.11099639534950256 + "score": 0.1091151311993599 }, "else": { "operation": "boost", - "score": 0.1092572808265686 + "score": 0.06257414817810059 } }, "else": { "operation": "boost", - "score": 0.10651946812868118 + "score": 0.10619659721851349 } } } @@ -11643,56 +11660,20 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10738116502761841 - }, - "else": { - "operation": "boost", - "score": 0.10911041498184204 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14199110865592957 - }, - "else": { - "operation": "boost", - "score": 0.10526712238788605 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07463622838258743 + "score": -0.06444110721349716 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11819581687450409 - }, - "else": { - "operation": "boost", - "score": 0.09346658736467361 - } + "operation": "boost", + "score": 0.10714796930551529 } + }, + "else": { + "operation": "boost", + "score": 0.08910759538412094 } } } @@ -11707,86 +11688,96 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1105630025267601 - }, - "else": { - "operation": "boost", - "score": 0.1116521805524826 - } - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 2.0, + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.11061243712902069 + }, + "else": { + "operation": "boost", + "score": 0.11085425317287445 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11122792959213257 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, "then": { "operation": "boost", - "score": 0.1117197573184967 + "score": 0.10918153822422028 }, "else": { "operation": "boost", - "score": 0.09726066142320633 + "score": 0.10279238224029541 } - }, - "else": { - "operation": "boost", - "score": 0.1111338809132576 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11246601492166519 }, "else": { "operation": "boost", - "score": 0.10934008657932281 + "score": 0.11033472418785095 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.10581668466329575 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.10439912229776382 + "score": 0.10220222175121307 }, "else": { "operation": "boost", - "score": 0.09189821034669876 + "score": 0.07701864093542099 } - }, - "else": { - "operation": "boost", - "score": 0.10770495980978012 } }, "else": { @@ -11794,18 +11785,17 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.10227903723716736 + "score": 0.10273673385381699 }, "else": { "operation": "boost", - "score": 0.07271122187376022 + "score": -0.09902960062026978 } } } @@ -11827,889 +11817,949 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10903491824865341 - }, - "else": { - "operation": "boost", - "score": 0.11175712198019028 - } + "operation": "boost", + "score": 0.11049427837133408 }, "else": { + "operation": "boost", + "score": 0.1109919622540474 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11261863261461258 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0563400536775589 + }, + "else": { + "operation": "boost", + "score": 0.14279907941818237 + } }, "else": { "operation": "boost", - "score": 0.10184679925441742 + "score": 0.10404530167579651 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope", + "FileScope" ], "then": { "operation": "boost", - "score": 0.11103152483701706 - }, - "else": { - "operation": "boost", - "score": 0.10585866868495941 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10390764474868774 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.10909618437290192 + "score": 0.10751419514417648 }, "else": { "operation": "boost", - "score": 0.09468641132116318 + "score": 0.10024666041135788 } } }, "else": { "operation": "boost", - "score": 0.09081411361694336 + "score": 0.08642741292715073 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.09687309712171555 - }, - "else": { - "operation": "boost", - "score": -0.12257182598114014 - } - }, - "else": { - "operation": "boost", - "score": 0.07220839709043503 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 319.0, + "threshold": 197.5, "then": { "operation": "boost", - "score": 0.10844777524471283 + "score": 0.1081802099943161 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1316438466310501 - }, - "else": { - "operation": "boost", - "score": 0.08257182687520981 - } + "operation": "boost", + "score": 0.10308925807476044 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10657735913991928 - }, - "else": { - "operation": "boost", - "score": 0.11869421601295471 - } - }, - "else": { - "operation": "boost", - "score": 0.10143207013607025 - } + "operation": "boost", + "score": 0.11159674823284149 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 91203.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.05997699499130249 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19589.5, "then": { - "operation": "boost", - "score": 0.10959354788064957 + "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.09889420121908188 + "score": 0.1049264594912529 } - }, - "else": { - "operation": "boost", - "score": 0.04663572087883949 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06560594588518143 - }, - "else": { - "operation": "boost", - "score": -0.034948281943798065 - } + "operation": "boost", + "score": 0.0933849886059761 } }, "else": { "operation": "boost", - "score": -0.015044985339045525 + "score": 0.0926477238535881 } } + }, + "else": { + "operation": "boost", + "score": 0.02540426142513752 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10881023854017258 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.101384237408638 + }, + "else": { + "operation": "boost", + "score": -0.0009319137898273766 + } }, "else": { "operation": "boost", - "score": 0.10269302129745483 + "score": 0.09986427426338196 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 91114.0, + "threshold": 218.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11205318570137024 - }, - "else": { - "operation": "boost", - "score": 0.10419072955846786 - } - }, - "else": { - "operation": "boost", - "score": 0.033620379865169525 - } + "operation": "boost", + "score": 0.10869486629962921 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79050.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11348340660333633 - }, - "else": { - "operation": "boost", - "score": 0.10837803781032562 - } - }, - "else": { - "operation": "boost", - "score": 0.10040517151355743 - } + "operation": "boost", + "score": 0.07728233188390732 } }, "else": { "operation": "boost", - "score": 0.0919075533747673 + "score": 0.01755915954709053 } } }, "else": { - "operation": "boost", - "score": 0.04004858061671257 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.09999218583106995 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19842.0, + "then": { + "operation": "boost", + "score": 0.1123083159327507 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1669691652059555 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6632.5, + "then": { + "operation": "boost", + "score": 0.16207823157310486 + }, + "else": { + "operation": "boost", + "score": 0.16278627514839172 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11949263513088226 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0820770263671875 + "score": 0.13967114686965942 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": 0.10281365364789963 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7369.0, + "then": { + "operation": "boost", + "score": 0.15686967968940735 + }, + "else": { + "operation": "boost", + "score": 0.15666936337947845 + } }, "else": { "operation": "boost", - "score": 0.09924612939357758 + "score": 0.12737759947776794 } } } }, "else": { - "operation": "boost", - "score": 0.05727613344788551 + "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.09439760446548462 + "score": 0.12007838487625122 } }, "else": { "operation": "boost", - "score": -0.06759430468082428 + "score": 0.12695525586605072 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61294.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11682812124490738 + }, + "else": { + "operation": "boost", + "score": 0.08102115988731384 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.0984751284122467 + "score": 0.11149490624666214 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, - "then": { - "operation": "boost", - "score": 0.12257838994264603 - }, - "else": { - "operation": "boost", - "score": 0.12289237231016159 - } + "operation": "boost", + "score": 0.10636093467473984 } }, "else": { "operation": "boost", - "score": 0.13224050402641296 + "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": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 4667.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.09927904605865479 - }, - "else": { - "operation": "boost", - "score": 0.10949930548667908 - } - }, - "else": { - "operation": "boost", - "score": 0.10209927707910538 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 32342.0, "then": { "operation": "boost", - "score": 0.10651843994855881 + "score": 0.10626910626888275 }, "else": { "operation": "boost", - "score": 0.09316743165254593 + "score": 0.1523316204547882 } + }, + "else": { + "operation": "boost", + "score": 0.15038248896598816 } }, "else": { "operation": "boost", - "score": 0.08749289065599442 + "score": 0.12696416676044464 } - } - }, - "else": { - "operation": "boost", - "score": 0.06986352801322937 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74366.5, + "threshold": 78490.0, "then": { - "operation": "boost", - "score": 0.10813342034816742 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11107300966978073 + }, + "else": { + "operation": "boost", + "score": 0.08117634057998657 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10404457151889801 + "score": 0.14868102967739105 }, "else": { "operation": "boost", - "score": 0.09500370174646378 + "score": 0.0857071653008461 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 12855.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1075.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.12190493196249008 + "score": 0.10981237143278122 }, "else": { "operation": "boost", - "score": 0.1146569550037384 + "score": 0.10143651813268661 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30183.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 40920.5, "then": { "operation": "boost", - "score": 0.11198125034570694 + "score": 0.11074887961149216 }, "else": { "operation": "boost", - "score": 0.11567480117082596 + "score": 0.09546219557523727 } }, "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": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 56853.0, "then": { "operation": "boost", - "score": 0.08226699382066727 + "score": 0.1256445050239563 }, "else": { "operation": "boost", - "score": 0.0981145054101944 + "score": 0.09372197091579437 } + }, + "else": { + "operation": "boost", + "score": 0.09339139610528946 } + }, + "else": { + "operation": "boost", + "score": 0.029815077781677246 } }, "else": { "operation": "boost", - "score": 0.06535090506076813 + "score": -0.03532494232058525 } } - }, - "else": { - "operation": "boost", - "score": 0.020647825673222542 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Destructor", - "Namespace", - "Constructor" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67917.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.11190285533666611 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10257167369127274 + }, + "else": { + "operation": "boost", + "score": 0.08797973394393921 + } }, "else": { - "operation": "boost", - "score": 0.0849699079990387 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08427122980356216 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10323546081781387 + }, + "else": { + "operation": "boost", + "score": 0.10968109965324402 + } + } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.11065861582756042 - }, - "else": { - "operation": "boost", - "score": 0.11780931055545807 - } + "operation": "boost", + "score": 0.047244250774383545 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3299.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 288037.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11144635826349258 + "score": -0.11681395024061203 }, "else": { - "operation": "boost", - "score": 0.11017869412899017 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.15345625579357147 + }, + "else": { + "operation": "boost", + "score": 0.14581839740276337 + } } }, "else": { - "operation": "boost", - "score": 0.05086032673716545 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.16783428192138672 + }, + "else": { + "operation": "boost", + "score": 0.09645510464906693 + } + }, + "else": { + "operation": "boost", + "score": 0.056136537343263626 + } + }, + "else": { + "operation": "boost", + "score": 0.0062573933973908424 + } } }, "else": { "operation": "boost", - "score": -0.0021013019140809774 + "score": -0.034604188054800034 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16202.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.22892284393310547 - }, - "else": { - "operation": "boost", - "score": 0.11035406589508057 - } + "operation": "boost", + "score": 0.09239251166582108 }, "else": { "operation": "boost", - "score": 0.10194848477840424 + "score": 0.11535986512899399 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, - "then": { - "operation": "boost", - "score": 0.1094788908958435 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.08174074441194534 - }, - "else": { - "operation": "boost", - "score": 0.10912080109119415 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10146209597587585 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44558.0, - "then": { - "operation": "boost", - "score": 0.10673113912343979 - }, - "else": { - "operation": "boost", - "score": 0.10075245797634125 - } + "operation": "boost", + "score": 0.11304349452257156 }, "else": { "operation": "boost", - "score": 0.09601441025733948 + "score": 0.08833754807710648 } }, "else": { "operation": "boost", - "score": 0.07373794913291931 + "score": 0.07727540284395218 } + }, + "else": { + "operation": "boost", + "score": -0.0063174511305987835 } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09155039489269257 - }, - "else": { - "operation": "boost", - "score": -0.045458000153303146 - } + "operation": "boost", + "score": -0.09916984289884567 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10366310179233551 - }, - "else": { - "operation": "boost", - "score": -0.10923884063959122 - } + "operation": "boost", + "score": -0.1022336557507515 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.1380288302898407 + "score": 0.10261552780866623 }, "else": { "operation": "boost", - "score": 0.12500697374343872 + "score": 0.11218585819005966 } }, "else": { "operation": "boost", - "score": 0.08361522108316422 + "score": 0.10847064852714539 } }, "else": { "operation": "boost", - "score": 0.025136904790997505 + "score": 0.06838180124759674 } }, "else": { - "operation": "boost", - "score": -0.06863709539175034 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12466690689325333 + }, + "else": { + "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.123404361307621 + }, + "else": { + "operation": "boost", + "score": 0.12836135923862457 + } + }, + "else": { + "operation": "boost", + "score": 0.07626525312662125 + } + }, + "else": { + "operation": "boost", + "score": 0.014664157293736935 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06853244453668594 + } } } } @@ -12735,31 +12785,24 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1087954044342041 + "score": 0.1095844954252243 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11023339629173279 - }, - "else": { - "operation": "boost", - "score": 0.1110779345035553 - } + "operation": "boost", + "score": 0.11085938662290573 }, "else": { "operation": "boost", - "score": 0.10971008241176605 + "score": 0.10426368564367294 } } }, @@ -12773,7 +12816,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11174870282411575 + "score": 0.11201436817646027 }, "else": { "operation": "if_member", @@ -12783,11 +12826,11 @@ ], "then": { "operation": "boost", - "score": 0.11153910309076309 + "score": 0.11116715520620346 }, "else": { "operation": "boost", - "score": 0.09542302042245865 + "score": 0.11006668955087662 } } }, @@ -12798,21 +12841,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11059917509555817 - }, - "else": { - "operation": "boost", - "score": 0.11023682355880737 - } + "operation": "boost", + "score": 0.10966736078262329 }, "else": { "operation": "boost", - "score": 0.09313978254795074 + "score": 0.08609756082296371 } } } @@ -12823,70 +12857,53 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1042175218462944 + "score": 0.1047702357172966 }, "else": { "operation": "boost", - "score": 0.10258693248033524 + "score": 0.1069466844201088 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10463237762451172 - }, - "else": { - "operation": "boost", - "score": 0.10611503571271896 - } - }, - "else": { - "operation": "boost", - "score": 0.10730414092540741 - } + "operation": "boost", + "score": 0.10218971967697144 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.10885708779096603 + "score": 0.1066644936800003 }, "else": { "operation": "boost", - "score": 0.10674041509628296 + "score": 0.05460306629538536 } }, "else": { "operation": "boost", - "score": 0.103658527135849 + "score": 0.10309281945228577 } } } @@ -12897,83 +12914,20 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11169975250959396 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.15039366483688354 - }, - "else": { - "operation": "boost", - "score": -0.277507483959198 - } - }, - "else": { - "operation": "boost", - "score": 0.12807735800743103 - } - }, - "else": { - "operation": "boost", - "score": -0.3688569664955139 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10502851009368896 - }, - "else": { - "operation": "boost", - "score": 0.10668735951185226 - } - }, - "else": { - "operation": "boost", - "score": 0.10235123336315155 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0660671815276146 + "score": -0.05232534185051918 }, "else": { "operation": "boost", - "score": 0.090155228972435 + "score": 0.10459012538194656 } + }, + "else": { + "operation": "boost", + "score": 0.08369584381580353 } } } @@ -12988,86 +12942,100 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "boost", - "score": 0.10891495645046234 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10917434096336365 + }, + "else": { + "operation": "boost", + "score": 0.10839203745126724 + } }, "else": { - "operation": "boost", - "score": 0.11006296426057816 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.10943377017974854 + "score": 0.10950817912817001 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Type" ], "then": { "operation": "boost", - "score": 0.11004138737916946 + "score": 0.10726556181907654 }, "else": { "operation": "boost", - "score": 0.09544224292039871 + "score": 0.09979444742202759 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11120191216468811 }, "else": { "operation": "boost", - "score": 0.107370525598526 + "score": 0.10850802809000015 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.10276862233877182 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10096301138401031 + "score": 0.09864891320466995 }, "else": { "operation": "boost", - "score": 0.08716694265604019 + "score": 0.0712357833981514 } - }, - "else": { - "operation": "boost", - "score": 0.1051144078373909 } }, "else": { @@ -13075,28 +13043,17 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1015128642320633 - }, - "else": { - "operation": "boost", - "score": 0.07319292426109314 - } + "operation": "boost", + "score": 0.0981026217341423 }, "else": { "operation": "boost", - "score": 0.04176260903477669 + "score": -0.08066617697477341 } } } @@ -13118,123 +13075,155 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10739915817975998 - }, - "else": { - "operation": "boost", - "score": 0.1100480854511261 - } + "operation": "boost", + "score": 0.10859359800815582 }, "else": { + "operation": "boost", + "score": 0.10840704292058945 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11080509424209595 + "score": 0.10396529734134674 }, "else": { "operation": "boost", - "score": 0.09100541472434998 + "score": 0.1400451809167862 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10905805230140686 + "score": 0.10058761388063431 }, "else": { - "operation": "boost", - "score": 0.09850818663835526 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1043204665184021 + }, + "else": { + "operation": "boost", + "score": 0.09428401291370392 + } } } + }, + "else": { + "operation": "boost", + "score": 0.08248349279165268 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.10083907842636108 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 197.5, + "then": { + "operation": "boost", + "score": 0.10577958077192307 + }, + "else": { + "operation": "boost", + "score": 0.09969764202833176 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.10823656618595123 + "score": 0.10910018533468246 }, "else": { "operation": "boost", - "score": 0.09997943043708801 + "score": 0.07902844995260239 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19589.5, "then": { - "operation": "boost", - "score": 0.108196921646595 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10859653353691101 + }, + "else": { + "operation": "boost", + "score": 0.09824615716934204 + } }, "else": { "operation": "boost", - "score": 0.1068023070693016 + "score": 0.09475945681333542 } } }, "else": { "operation": "boost", - "score": 0.09042397141456604 + "score": -0.01022934541106224 } } }, "else": { "operation": "boost", - "score": 0.08590181171894073 + "score": 0.026908719912171364 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ @@ -13253,89 +13242,66 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.0992121547460556 + "score": 0.09796370565891266 }, "else": { "operation": "boost", - "score": 0.001747954753227532 + "score": -0.0036435374058783054 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07516661286354065 - }, - "else": { - "operation": "boost", - "score": 0.1146930605173111 - } + "operation": "boost", + "score": 0.08183826506137848 }, "else": { "operation": "boost", - "score": 0.09167571365833282 + "score": 0.12371379882097244 } }, "else": { "operation": "boost", - "score": 0.07731732726097107 + "score": 0.08550386875867844 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5587.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 289.0, - "then": { - "operation": "boost", - "score": 0.1105787381529808 - }, - "else": { - "operation": "boost", - "score": 0.08680518716573715 - } + "operation": "boost", + "score": 0.10248743742704391 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06142548471689224 - }, - "else": { - "operation": "boost", - "score": -0.017835214734077454 - } + "operation": "boost", + "score": 0.035072196274995804 } } }, @@ -13343,573 +13309,673 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.0748993307352066 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09963864833116531 - }, - "else": { - "operation": "boost", - "score": 0.03781425952911377 - } + "operation": "boost", + "score": -0.12483438849449158 }, "else": { "operation": "boost", - "score": -0.0179500263184309 + "score": 0.08311271667480469 } + }, + "else": { + "operation": "boost", + "score": -0.011554036289453506 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3091.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306.5, - "then": { - "operation": "boost", - "score": 0.10666686296463013 - }, - "else": { - "operation": "boost", - "score": 0.0998251661658287 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91114.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.1062014177441597 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19842.0, + "then": { + "operation": "boost", + "score": 0.10995613038539886 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1514456570148468 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6632.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14701487123966217 + }, + "else": { + "operation": "boost", + "score": 0.14850039780139923 + } + }, + "else": { + "operation": "boost", + "score": 0.14767928421497345 + } + } + } }, "else": { "operation": "boost", - "score": 0.0323205403983593 + "score": 0.11515205353498459 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71477.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.13335147500038147 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": 0.11201408505439758 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7369.0, + "then": { + "operation": "boost", + "score": 0.1450662761926651 + }, + "else": { + "operation": "boost", + "score": 0.14571928977966309 + } }, "else": { "operation": "boost", - "score": 0.10549168288707733 + "score": 0.12207780033349991 } - }, - "else": { - "operation": "boost", - "score": 0.09609203785657883 } } }, "else": { - "operation": "boost", - "score": 0.08712545037269592 + "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": "boost", - "score": 0.012952004559338093 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1141357272863388 + }, + "else": { + "operation": "boost", + "score": 0.13385005295276642 + } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72744.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.0952853113412857 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.1155477836728096 + }, + "else": { + "operation": "boost", + "score": 0.07534542679786682 + } }, "else": { - "operation": "boost", - "score": 0.07734303176403046 + "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.10959935188293457 + }, + "else": { + "operation": "boost", + "score": 0.10345815867185593 + } + }, + "else": { + "operation": "boost", + "score": 0.0988479033112526 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "boost", + "score": 0.0959782674908638 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.049441222101449966 + "score": 0.09735067188739777 }, "else": { "operation": "boost", - "score": 0.10300636291503906 + "score": 0.026601118966937065 } - }, - "else": { - "operation": "boost", - "score": 0.09396471828222275 } } }, "else": { - "operation": "boost", - "score": 0.04890899360179901 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "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", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40920.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.11124607920646667 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4667.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32342.0, "then": { "operation": "boost", - "score": 0.15481115877628326 + "score": 0.10401536524295807 }, "else": { "operation": "boost", - "score": 0.14067643880844116 + "score": 0.14311550557613373 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.15396510064601898 - }, - "else": { - "operation": "boost", - "score": 0.09448109567165375 - } - }, - "else": { - "operation": "boost", - "score": 0.08651724457740784 - } + "operation": "boost", + "score": 0.13512660562992096 } + }, + "else": { + "operation": "boost", + "score": 0.1197822242975235 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10940157622098923 + }, + "else": { + "operation": "boost", + "score": 0.07230648398399353 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.1396564394235611 + }, + "else": { + "operation": "boost", + "score": 0.07689394801855087 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, "then": { "operation": "boost", - "score": 0.15014131367206573 + "score": 0.1086459532380104 }, "else": { "operation": "boost", - "score": 0.08836087584495544 + "score": 0.0903552919626236 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19434.0, + "threshold": 292981.5, "then": { - "operation": "boost", - "score": 0.10881762951612473 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10799024999141693 + }, + "else": { + "operation": "boost", + "score": 0.09390223026275635 + } }, "else": { - "operation": "boost", - "score": 0.04949052631855011 + "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" + ], + "then": { + "operation": "boost", + "score": 0.10926280915737152 + }, + "else": { + "operation": "boost", + "score": 0.06957665830850601 + } + }, + "else": { + "operation": "boost", + "score": 0.0861545130610466 + } } } }, "else": { "operation": "boost", - "score": 0.0023724453058093786 + "score": 0.056223221123218536 } - } - }, - "else": { - "operation": "boost", - "score": -0.03266008198261261 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0001941875379998237 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104858.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1258469671010971 + "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 + } }, "else": { "operation": "boost", - "score": 0.10068771243095398 + "score": -0.03083433397114277 } } - }, - "else": { - "operation": "boost", - "score": 0.06054715812206268 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6408.0, + "feature": "FileProximityDistance", + "threshold": 32.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74787.5, - "then": { - "operation": "boost", - "score": 0.10660761594772339 - }, - "else": { - "operation": "boost", - "score": 0.10012438893318176 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "FunctionScope", + "ClassScope" ], - "then": { - "operation": "boost", - "score": 0.1038418784737587 - }, - "else": { - "operation": "boost", - "score": 0.05118720978498459 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { + "operation": "boost", + "score": 0.09999354183673859 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08229856938123703 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Function" ], "then": { "operation": "boost", - "score": 0.13551975786685944 + "score": 0.10112606734037399 }, "else": { "operation": "boost", - "score": 0.12378203868865967 + "score": 0.10525105148553848 } - }, - "else": { - "operation": "boost", - "score": 0.10469160228967667 } - }, - "else": { - "operation": "boost", - "score": 0.06546216458082199 } }, "else": { "operation": "boost", - "score": 0.04580478370189667 + "score": 0.042658984661102295 } }, "else": { + "operation": "boost", + "score": -0.08108234405517578 + } + }, + "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, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_Namespace", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.11007843911647797 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10216384381055832 + }, + "else": { + "operation": "boost", + "score": 0.11002326756715775 + } }, "else": { "operation": "boost", - "score": 0.11006070673465729 + "score": 0.10211652517318726 } + }, + "else": { + "operation": "boost", + "score": 0.08989109098911285 } }, "else": { - "operation": "boost", - "score": -0.006535739172250032 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14379.0, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.08956414461135864 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "Namespace" ], "then": { "operation": "boost", - "score": 0.10639480501413345 + "score": 0.08172885328531265 }, "else": { - "operation": "boost", - "score": 0.09873724728822708 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10750064253807068 + "score": 0.04464532434940338 }, "else": { - "operation": "boost", - "score": 0.09878673404455185 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.10199514776468277 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10988599807024002 + }, + "else": { + "operation": "boost", + "score": 0.09322725981473923 + } }, "else": { "operation": "boost", - "score": 0.09174844622612 + "score": 0.06864874809980392 } - }, - "else": { - "operation": "boost", - "score": 0.07111674547195435 } } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08766243606805801 - }, - "else": { - "operation": "boost", - "score": -0.03321465849876404 - } + "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.09312868863344193 + "score": -0.10570283234119415 } }, "else": { @@ -13917,75 +13983,59 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.11693963408470154 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12364915013313293 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.12036789953708649 + "score": 0.11711292713880539 }, "else": { "operation": "boost", - "score": 0.10503845661878586 + "score": 0.12227106839418411 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.10138246417045593 + "score": 0.03459428250789642 }, "else": { "operation": "boost", - "score": 0.07373494654893875 + "score": 0.08269309997558594 } - }, - "else": { - "operation": "boost", - "score": 0.07335701584815979 } + }, + "else": { + "operation": "boost", + "score": 0.012452631257474422 } - }, - "else": { - "operation": "boost", - "score": 0.029619477689266205 } }, "else": { "operation": "boost", - "score": -0.03092980943620205 + "score": -0.06894181668758392 } } } @@ -14011,40 +14061,24 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10744765400886536 + "score": 0.10818728059530258 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10889073461294174 - }, - "else": { - "operation": "boost", - "score": 0.10976985096931458 - } + "operation": "boost", + "score": 0.10962507128715515 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1088336631655693 - }, - "else": { - "operation": "boost", - "score": 0.10781210660934448 - } + "operation": "boost", + "score": 0.10440175980329514 } } }, @@ -14058,7 +14092,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11033537983894348 + "score": 0.1106608584523201 }, "else": { "operation": "if_member", @@ -14068,11 +14102,11 @@ ], "then": { "operation": "boost", - "score": 0.11012718081474304 + "score": 0.10977908223867416 }, "else": { "operation": "boost", - "score": 0.09569605439901352 + "score": 0.1094546690583229 } } }, @@ -14083,21 +14117,12 @@ "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10880627483129501 - }, - "else": { - "operation": "boost", - "score": 0.10856131464242935 - } + "operation": "boost", + "score": 0.1083064079284668 }, "else": { "operation": "boost", - "score": 0.09008459746837616 + "score": 0.07947266846895218 } } } @@ -14108,70 +14133,53 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10204095393419266 + "score": 0.10278452932834625 }, "else": { "operation": "boost", - "score": 0.09990354627370834 + "score": 0.10506173968315125 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1027788370847702 - }, - "else": { - "operation": "boost", - "score": 0.10418643057346344 - } - }, - "else": { - "operation": "boost", - "score": 0.10528247803449631 - } + "operation": "boost", + "score": 0.09937219321727753 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.10713094472885132 + "score": 0.1045994982123375 }, "else": { "operation": "boost", - "score": 0.10463637858629227 + "score": 0.05074216052889824 } }, "else": { "operation": "boost", - "score": 0.10095107555389404 + "score": 0.10044308751821518 } } } @@ -14182,74 +14190,20 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12538504600524902 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.14315757155418396 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12418071925640106 - }, - "else": { - "operation": "boost", - "score": -0.2898924946784973 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10286262631416321 - }, - "else": { - "operation": "boost", - "score": 0.10476544499397278 - } - }, - "else": { - "operation": "boost", - "score": 0.09965664148330688 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0632791593670845 + "score": -0.07848593592643738 }, "else": { "operation": "boost", - "score": 0.08585056662559509 + "score": 0.10226548463106155 } + }, + "else": { + "operation": "boost", + "score": 0.07922739535570145 } } } @@ -14264,84 +14218,78 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10759252309799194 + "score": 0.10777629911899567 }, "else": { - "operation": "boost", - "score": 0.10895707458257675 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1089906245470047 - }, - "else": { - "operation": "boost", - "score": 0.09188561141490936 - } + "operation": "boost", + "score": 0.107998788356781 }, "else": { "operation": "boost", - "score": 0.10821104794740677 + "score": 0.10125678777694702 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11019746959209442 }, "else": { "operation": "boost", - "score": 0.10585460811853409 + "score": 0.10699084401130676 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.10013145208358765 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09773344546556473 + "score": 0.0956873968243599 }, "else": { "operation": "boost", - "score": 0.08190431445837021 + "score": 0.06614193320274353 } - }, - "else": { - "operation": "boost", - "score": 0.10284458845853806 } }, "else": { @@ -14349,18 +14297,17 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.09555277228355408 + "score": 0.09491673111915588 }, "else": { "operation": "boost", - "score": 0.05950193479657173 + "score": -0.06793522089719772 } } } @@ -14382,859 +14329,979 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10559152066707611 - }, - "else": { - "operation": "boost", - "score": 0.10866434872150421 - } + "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": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10923679172992706 + "score": 0.06470903754234314 }, "else": { "operation": "boost", - "score": 0.09617018699645996 + "score": 0.13522189855575562 } }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.10737345367670059 - }, - "else": { - "operation": "boost", - "score": 0.09612663090229034 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09772713482379913 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10456672310829163 + "score": 0.0979619026184082 }, "else": { "operation": "boost", - "score": 0.08564914017915726 + "score": 0.09987743198871613 } } }, "else": { "operation": "boost", - "score": 0.08086048811674118 + "score": 0.07715988159179688 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 197.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0968557670712471 - }, - "else": { - "operation": "boost", - "score": 0.08307091146707535 - } + "operation": "boost", + "score": 0.10366126149892807 }, "else": { "operation": "boost", - "score": -0.11991511285305023 + "score": 0.09675264358520508 } }, "else": { - "operation": "boost", - "score": 0.06817008554935455 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 91203.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.10165297240018845 + "score": 0.10883732885122299 }, "else": { "operation": "boost", - "score": 0.1113901287317276 + "score": 0.03907909244298935 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19589.5, "then": { - "operation": "boost", - "score": 0.10386867076158524 + "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.11651916801929474 + "score": 0.0991453304886818 } } }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09038688987493515 - }, - "else": { - "operation": "boost", - "score": 0.07177300751209259 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 289.0, - "then": { - "operation": "boost", - "score": 0.10877017676830292 - }, - "else": { - "operation": "boost", - "score": 0.08247913420200348 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05676477774977684 - }, - "else": { - "operation": "boost", - "score": -0.016342854127287865 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.132247194647789 - }, "else": { "operation": "boost", - "score": 0.07964285463094711 + "score": 0.08477269858121872 } }, "else": { "operation": "boost", - "score": -0.013854405842721462 + "score": 0.08392925560474396 } } + }, + "else": { + "operation": "boost", + "score": 0.013027012348175049 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Operator", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.10479172319173813 + "score": 0.09007140249013901 }, "else": { "operation": "boost", - "score": 0.09718175232410431 + "score": -0.11593618243932724 } }, "else": { + "operation": "boost", + "score": 0.07162822037935257 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91114.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1092812791466713 - }, - "else": { - "operation": "boost", - "score": 0.09774335473775864 - } - }, - "else": { - "operation": "boost", - "score": 0.023855190724134445 - } + "operation": "boost", + "score": 0.01943764090538025 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71477.0, + "threshold": 62.5, "then": { + "operation": "boost", + "score": 0.10489436239004135 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.11097678542137146 + "score": 0.09493445605039597 }, "else": { "operation": "boost", - "score": 0.10312647372484207 + "score": 0.08018583804368973 } - }, - "else": { - "operation": "boost", - "score": 0.09244736284017563 } } }, "else": { "operation": "boost", - "score": 0.0828278511762619 + "score": 0.023062217980623245 } + }, + "else": { + "operation": "boost", + "score": -0.11314450949430466 } - }, - "else": { - "operation": "boost", - "score": 0.02613874524831772 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 586.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3091.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1277266889810562 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09478026628494263 - }, - "else": { - "operation": "boost", - "score": 0.07383669912815094 - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.04273003712296486 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19842.0, + "then": { + "operation": "boost", + "score": 0.10788334906101227 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.14013652503490448 + }, + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.1003151535987854 + "score": 0.11177453398704529 } }, "else": { - "operation": "boost", - "score": 0.08692540228366852 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7369.0, + "then": { + "operation": "boost", + "score": 0.13618358969688416 + }, + "else": { + "operation": "boost", + "score": 0.13391102850437164 + } + }, + "else": { + "operation": "boost", + "score": 0.11763742566108704 + } } + }, + "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.0491911917924881 + "score": 0.10553183406591415 } }, "else": { "operation": "boost", - "score": -0.08390429615974426 + "score": 0.09535157680511475 } - }, - "else": { - "operation": "boost", - "score": -0.057629674673080444 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61294.0, + "threshold": 350855.0, "then": { + "operation": "boost", + "score": 0.11024269461631775 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.08943445980548859 + "score": 0.11404350399971008 }, "else": { + "operation": "boost", + "score": 0.06525825709104538 + } + }, + "else": { + "operation": "boost", + "score": 0.10051321238279343 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09238975495100021 + }, + "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 + } + } + } + }, + "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": 4980.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 412896.5, + "threshold": 32342.0, "then": { "operation": "boost", - "score": 0.11563942581415176 + "score": 0.1018492579460144 }, "else": { "operation": "boost", - "score": 0.11809303611516953 + "score": 0.1340516209602356 } + }, + "else": { + "operation": "boost", + "score": 0.10788179188966751 } }, "else": { + "operation": "boost", + "score": 0.11783990263938904 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "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.049203649163246155 + "score": 0.13108839094638824 }, "else": { + "operation": "boost", + "score": 0.07307653874158859 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 40920.5, "then": { "operation": "boost", - "score": -0.07930617779493332 + "score": 0.10729516297578812 + }, + "else": { + "operation": "boost", + "score": 0.08639171719551086 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10645601153373718 + }, + "else": { + "operation": "boost", + "score": 0.09029529243707657 + } }, "else": { "operation": "boost", - "score": 0.13067050278186798 + "score": 0.08969519287347794 } } + }, + "else": { + "operation": "boost", + "score": 0.05283517390489578 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.04484656825661659 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 92287.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09286469221115112 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1047050952911377 + "score": 0.08490176498889923 }, "else": { - "operation": "boost", - "score": 0.09699993580579758 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.128379687666893 + }, + "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 + } + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10084451735019684 }, "else": { "operation": "boost", - "score": 0.08512585610151291 + "score": 0.0878198891878128 } + }, + "else": { + "operation": "boost", + "score": 0.04577914625406265 } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09518016874790192 }, "else": { "operation": "boost", - "score": 0.08037632703781128 + "score": 0.07756313681602478 } + }, + "else": { + "operation": "boost", + "score": 0.09789445251226425 } }, "else": { "operation": "boost", - "score": 0.06137925013899803 + "score": 0.03400709852576256 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74366.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10365775227546692 + "score": -0.10993263125419617 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.09786106646060944 + "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.0875268280506134 + "score": 0.13061915338039398 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1075.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.12050379067659378 + "score": 0.1514987200498581 }, "else": { "operation": "boost", - "score": 0.10998083651065826 + "score": 0.08941182494163513 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07373718917369843 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": 0.0754900798201561 - }, - "else": { - "operation": "boost", - "score": 0.1177084669470787 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.08368969708681107 - }, - "else": { - "operation": "boost", - "score": 0.09807269275188446 - } - } - } + "operation": "boost", + "score": 0.056537892669439316 } }, "else": { "operation": "boost", - "score": 0.06003352627158165 + "score": 0.0036681299097836018 } } }, "else": { "operation": "boost", - "score": 0.019843291491270065 + "score": -0.02546115592122078 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1705.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34495.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10328736156225204 + "score": 0.08513261377811432 }, "else": { "operation": "boost", - "score": 0.10185825079679489 + "score": 0.11027774214744568 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.10629311203956604 + "score": 0.07958292961120605 }, "else": { "operation": "boost", - "score": 0.08639218658208847 + "score": 0.07902790606021881 } }, "else": { "operation": "boost", - "score": 0.08278609812259674 + "score": -0.0001715273829177022 } } }, "else": { "operation": "boost", - "score": 0.06976353377103806 + "score": -0.09221488982439041 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08650514483451843 - }, - "else": { - "operation": "boost", - "score": -0.03769225999712944 - } + "operation": "boost", + "score": -0.0969264805316925 } }, "else": { - "operation": "boost", - "score": -0.09395778924226761 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { - "operation": "boost", - "score": 0.12423855811357498 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10783699154853821 + }, + "else": { + "operation": "boost", + "score": 0.10367309302091599 + } }, "else": { "operation": "boost", - "score": 0.1102006733417511 + "score": 0.05759033188223839 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { "operation": "boost", - "score": 0.12418582290410995 + "score": 0.11587008833885193 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1170642301440239 - }, - "else": { - "operation": "boost", - "score": 0.10405148565769196 - } + "operation": "boost", + "score": 0.10800515115261078 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.010284488089382648 + "score": -0.0038561176043003798 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04936980456113815 + "score": 0.1174796000123024 }, "else": { - "operation": "boost", - "score": 0.0862807184457779 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08299686014652252 + }, + "else": { + "operation": "boost", + "score": 0.04017297178506851 + } } } } }, "else": { "operation": "boost", - "score": 0.016454407945275307 + "score": -0.06579383462667465 } } - }, - "else": { - "operation": "boost", - "score": -0.052583470940589905 } } } @@ -15259,22 +15326,24 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10630960017442703 + "score": 0.10698916763067245 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.108649842441082 + "score": 0.10855970531702042 }, "else": { "operation": "boost", - "score": 0.10672742873430252 + "score": 0.10078494250774384 } } }, @@ -15288,7 +15357,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10924031585454941 + "score": 0.10961427539587021 }, "else": { "operation": "if_member", @@ -15298,11 +15367,11 @@ ], "then": { "operation": "boost", - "score": 0.10890988260507584 + "score": 0.10863887518644333 }, "else": { "operation": "boost", - "score": 0.09110457450151443 + "score": 0.1070803627371788 } } }, @@ -15314,11 +15383,11 @@ ], "then": { "operation": "boost", - "score": 0.10724352300167084 + "score": 0.10679663717746735 }, "else": { "operation": "boost", - "score": 0.08590403944253922 + "score": 0.07802943885326385 } } } @@ -15329,43 +15398,53 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09733649343252182 + "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": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1018613800406456 - }, - "else": { - "operation": "boost", - "score": 0.1036650612950325 - } + "operation": "boost", + "score": 0.09666267037391663 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.10279117524623871 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10243970155715942 + }, + "else": { + "operation": "boost", + "score": 0.06326586753129959 + } }, "else": { "operation": "boost", - "score": 0.09850785881280899 + "score": 0.09780130535364151 } } } @@ -15376,56 +15455,20 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "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.019609257578849792 - }, - "else": { - "operation": "boost", - "score": 0.12428935617208481 - } - }, - "else": { - "operation": "boost", - "score": 0.12655682861804962 - } + "operation": "boost", + "score": -0.07068818062543869 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10158408433198929 - }, - "else": { - "operation": "boost", - "score": 0.10307136923074722 - } - }, - "else": { - "operation": "boost", - "score": 0.09688753634691238 - } + "operation": "boost", + "score": 0.10014152526855469 } }, "else": { "operation": "boost", - "score": 0.0745074525475502 + "score": 0.07508399337530136 } } } @@ -15440,81 +15483,99 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10663274675607681 + "score": 0.1066160798072815 }, "else": { - "operation": "boost", - "score": 0.10769766569137573 - } - }, - "else": { - "operation": "boost", - "score": 0.10258401185274124 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.09461644291877747 + "score": 0.10693669319152832 }, "else": { "operation": "boost", - "score": 0.07704973220825195 + "score": 0.09929375350475311 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "boost", + "score": 0.108050137758255 }, "else": { "operation": "boost", - "score": 0.10062616318464279 + "score": 0.1072666198015213 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.09009870141744614 + "score": 0.09770937263965607 }, "else": { - "operation": "boost", - "score": 0.026432868093252182 - } - } - } - }, + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09227823466062546 + }, + "else": { + "operation": "boost", + "score": 0.06021488830447197 + } + } + }, + "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", @@ -15533,85 +15594,143 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10673437267541885 + "score": 0.10516589879989624 }, "else": { + "operation": "boost", + "score": 0.10490160435438156 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.1081661805510521 + "score": 0.06292009353637695 }, "else": { "operation": "boost", - "score": 0.09359294176101685 + "score": 0.13367284834384918 } }, "else": { - "operation": "boost", - "score": 0.1041601151227951 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09567975252866745 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09963613748550415 + }, + "else": { + "operation": "boost", + "score": 0.08648844808340073 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.07307735830545425 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.09538519382476807 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10247093439102173 + "score": 0.09834179282188416 }, "else": { "operation": "boost", - "score": 0.0813414603471756 + "score": 0.08256027847528458 } + }, + "else": { + "operation": "boost", + "score": 0.08104356378316879 } }, "else": { "operation": "boost", - "score": 0.07719583809375763 + "score": 0.0056274146772921085 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07616126537322998 + "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": [ - "Variable", - "Namespace", "Keyword", - "Macro", + "Variable", + "Function", "Type", - "Function" + "Namespace" ], "then": { "operation": "if_greater", @@ -15623,78 +15742,58 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.009674947708845139 + "score": 0.01782882772386074 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 171.0, + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.10800036042928696 + "score": 0.10477197915315628 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11144594103097916 + "score": -0.11092475801706314 }, "else": { - "operation": "boost", - "score": 0.07486190646886826 + "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 + } } } } }, "else": { "operation": "boost", - "score": 0.025257132947444916 - } - }, - "else": { - "operation": "boost", - "score": -0.11019913852214813 - } - } - }, - "else": { - "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": 306.5, - "then": { - "operation": "boost", - "score": 0.1031176820397377 - }, - "else": { - "operation": "boost", - "score": 0.09394089877605438 + "score": 0.020866796374320984 } }, "else": { "operation": "boost", - "score": 0.08300048112869263 + "score": -0.11084145307540894 } - }, - "else": { - "operation": "boost", - "score": -0.021195413544774055 } } } @@ -15702,495 +15801,393 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1705.0, + "threshold": 548.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 3091.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12665681540966034 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.18428945541381836 - }, - "else": { - "operation": "boost", - "score": 0.1087685376405716 - } - } - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15244.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10480741411447525 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9552.5, + "threshold": 16714.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10230.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13638.5, - "then": { - "operation": "boost", - "score": 0.18489789962768555 - }, - "else": { - "operation": "boost", - "score": 0.18465501070022583 - } - }, - "else": { - "operation": "boost", - "score": 0.18496093153953552 - } + "operation": "boost", + "score": 0.1068042516708374 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5982.5, + "threshold": 7129.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7761.5, - "then": { - "operation": "boost", - "score": 0.18267473578453064 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7092.5, - "then": { - "operation": "boost", - "score": 0.18427805602550507 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, - "then": { - "operation": "boost", - "score": 0.18389950692653656 - }, - "else": { - "operation": "boost", - "score": 0.1888595074415207 - } - } - } + "operation": "boost", + "score": 0.13472987711429596 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1814713478088379 - }, - "else": { - "operation": "boost", - "score": 0.184914693236351 - } - }, - "else": { - "operation": "boost", - "score": 0.17855963110923767 - } + "operation": "boost", + "score": 0.13379809260368347 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6395.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15221.0, + "threshold": 22267.0, "then": { "operation": "boost", - "score": 0.10972929000854492 + "score": 0.10385016351938248 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13744.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.18489773571491241 + "score": 0.1319226622581482 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10142.5, + "threshold": 6632.5, "then": { - "operation": "boost", - "score": 0.18103492259979248 + "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.1847389191389084 + "score": 0.12692245841026306 } } } }, "else": { "operation": "boost", - "score": 0.1814155876636505 + "score": 0.10930103808641434 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15754.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.10258044302463531 + "score": 0.1285760998725891 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7126.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7691.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.17678992450237274 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8372.0, - "then": { - "operation": "boost", - "score": 0.18192532658576965 - }, - "else": { - "operation": "boost", - "score": 0.17232702672481537 - } - } - }, - "else": { - "operation": "boost", - "score": 0.18429604172706604 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.18257108330726624 - }, - "else": { - "operation": "boost", - "score": 0.17931191623210907 - } - }, - "else": { - "operation": "boost", - "score": 0.17807677388191223 - } - } + "operation": "boost", + "score": 0.11288796365261078 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.10977837443351746 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10399075597524643 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0987958088517189 + }, + "else": { + "operation": "boost", + "score": 0.12915223836898804 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350855.0, + "then": { + "operation": "boost", + "score": 0.1091126948595047 + }, + "else": { + "operation": "boost", + "score": 0.09593269973993301 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08938590437173843 + }, + "else": { + "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.08184568583965302 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.16301582753658295 + "score": 0.12185942381620407 }, "else": { "operation": "boost", - "score": 0.15280552208423615 + "score": 0.10889720171689987 } - }, - "else": { - "operation": "boost", - "score": 0.13534045219421387 } + }, + "else": { + "operation": "boost", + "score": 0.017148753628134727 } - }, - "else": { - "operation": "boost", - "score": 0.13787730038166046 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16714.5, + "threshold": 4667.5, "then": { - "operation": "boost", - "score": 0.10219860076904297 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8266.0, + "threshold": 16714.5, "then": { + "operation": "boost", + "score": 0.10356183350086212 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 13821.0, "then": { "operation": "boost", - "score": 0.11509401351213455 + "score": 0.13778743147850037 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11900.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.17260216176509857 + "score": 0.13534148037433624 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11149.0, - "then": { - "operation": "boost", - "score": 0.18468287587165833 - }, - "else": { - "operation": "boost", - "score": 0.18450544774532318 - } + "operation": "boost", + "score": 0.1372307389974594 } } - }, - "else": { - "operation": "boost", - "score": 0.17313233017921448 } - } - }, - "else": { - "operation": "boost", - "score": 0.1360275000333786 - } - }, - "else": { - "operation": "boost", - "score": 0.12453516572713852 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63436.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10472316294908524 }, "else": { "operation": "boost", - "score": 0.0997609794139862 + "score": 0.11807990819215775 } }, "else": { "operation": "boost", - "score": 0.09158452600240707 + "score": 0.10831144452095032 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.004464673809707165 + "score": 0.12037666141986847 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 78490.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.10587349534034729 + "score": 0.10597112774848938 }, "else": { "operation": "boost", - "score": 0.0860229954123497 + "score": 0.06620751321315765 } }, "else": { "operation": "boost", - "score": 0.10490556061267853 + "score": 0.06679829210042953 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58073.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12855.0, "then": { - "operation": "boost", - "score": 0.08884570002555847 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12067825347185135 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63566.0, + "then": { + "operation": "boost", + "score": 0.1068475991487503 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11945769190788269 + }, + "else": { + "operation": "boost", + "score": 0.08112434297800064 + } + } }, "else": { - "operation": "boost", - "score": 0.09176680445671082 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.10561221837997437 + }, + "else": { + "operation": "boost", + "score": 0.111052967607975 + } + }, + "else": { + "operation": "boost", + "score": 0.04357365518808365 + } + }, + "else": { + "operation": "boost", + "score": 0.07591849565505981 + } } + }, + "else": { + "operation": "boost", + "score": 0.0295286625623703 } }, "else": { "operation": "boost", - "score": 0.08735319972038269 + "score": -0.04083368554711342 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "boost", - "score": 0.0981188639998436 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, @@ -16199,17 +16196,8 @@ "feature": "NumReferences", "threshold": 296854.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.14163421094417572 - }, - "else": { - "operation": "boost", - "score": 0.13155914843082428 - } + "operation": "boost", + "score": 0.12315909564495087 }, "else": { "operation": "if_member", @@ -16219,33 +16207,107 @@ ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07850193977355957 + "score": 0.009303427301347256 }, "else": { "operation": "boost", - "score": 0.1384359747171402 + "score": 0.11973530799150467 } }, "else": { "operation": "boost", - "score": 0.07921189814805984 + "score": 0.10602238774299622 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10159583389759064 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97784.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03515598177909851 + }, + "else": { + "operation": "boost", + "score": 0.12121367454528809 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10584300011396408 + }, + "else": { + "operation": "boost", + "score": 0.126725435256958 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11512649059295654 + }, + "else": { + "operation": "boost", + "score": 0.13425853848457336 + } + }, + "else": { + "operation": "boost", + "score": 0.10562342405319214 + } } + }, + "else": { + "operation": "boost", + "score": 0.04769973084330559 } }, "else": { "operation": "boost", - "score": 0.008532634004950523 + "score": -0.014107156544923782 } } } - }, - "else": { - "operation": "boost", - "score": -0.026283307000994682 } } } @@ -16256,8 +16318,8 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50011.5, + "feature": "FileProximityDistance", + "threshold": 32.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", @@ -16266,75 +16328,61 @@ "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "FunctionScope" + "FunctionScope", + "ClassScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09152451157569885 - }, - "else": { - "operation": "boost", - "score": 0.07194360345602036 - } + "operation": "boost", + "score": 0.09369350969791412 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09190689772367477 + "score": 0.0722113698720932 }, "else": { "operation": "boost", - "score": 0.08681144565343857 + "score": 0.0947757139801979 } } }, "else": { "operation": "boost", - "score": 0.04361855983734131 + "score": 0.03543271869421005 } }, "else": { "operation": "boost", - "score": -0.07265188544988632 + "score": -0.08767537027597427 } }, "else": { "operation": "boost", - "score": -0.05310500040650368 + "score": -0.05082354322075844 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag" ], "then": { @@ -16342,21 +16390,34 @@ "feature": "NumReferences", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { - "operation": "boost", - "score": 0.10023938864469528 + "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.08317126333713531 + "score": 0.09710436314344406 } }, "else": { "operation": "boost", - "score": 0.07927310466766357 + "score": 0.0815439447760582 } }, "else": { @@ -16366,10 +16427,22 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.08574603497982025 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10169872641563416 + }, + "else": { + "operation": "boost", + "score": 0.08261949568986893 + } }, "else": { "operation": "if_member", @@ -16379,26 +16452,17 @@ ], "then": { "operation": "boost", - "score": 0.07888797670602798 + "score": 0.06986016780138016 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.03236048296093941 - }, - "else": { - "operation": "boost", - "score": 0.07096592336893082 - } + "operation": "boost", + "score": 0.05488815903663635 } } }, "else": { "operation": "boost", - "score": 0.024526473134756088 + "score": 0.021478427574038506 } } } @@ -16406,75 +16470,81 @@ "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09541688114404678 + "score": -0.09096655249595642 }, "else": { "operation": "boost", - "score": -0.10115610808134079 + "score": -0.10164188593626022 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Namespace" ], "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11297492682933807 + }, + "else": { + "operation": "boost", + "score": 0.10257267951965332 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 291.0, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 379.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.11722902953624725 + "score": 0.0455186702311039 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1412321925163269 + "score": 0.1147882267832756 }, "else": { "operation": "boost", - "score": 0.1154937744140625 + "score": 0.07828737050294876 } } }, "else": { "operation": "boost", - "score": 0.10995271056890488 + "score": 0.01679440774023533 } - }, - "else": { - "operation": "boost", - "score": 0.08426304906606674 } }, "else": { "operation": "boost", - "score": -0.007880614139139652 + "score": -0.05947907269001007 } } } @@ -16500,14 +16570,14 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10542774945497513 + "score": 0.10632012784481049 }, "else": { "operation": "boost", - "score": 0.10710291564464569 + "score": 0.10770808160305023 } }, "else": { @@ -16520,7 +16590,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10836680233478546 + "score": 0.10860088467597961 }, "else": { "operation": "if_member", @@ -16530,11 +16600,11 @@ ], "then": { "operation": "boost", - "score": 0.1080503836274147 + "score": 0.10772459954023361 }, "else": { "operation": "boost", - "score": 0.09264059364795685 + "score": 0.10560904443264008 } } }, @@ -16546,11 +16616,11 @@ ], "then": { "operation": "boost", - "score": 0.10606837272644043 + "score": 0.10569486767053604 }, "else": { "operation": "boost", - "score": 0.07965097576379776 + "score": 0.07325878739356995 } } } @@ -16561,43 +16631,53 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09490399062633514 + "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": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10034487396478653 - }, - "else": { - "operation": "boost", - "score": 0.10210174322128296 - } + "operation": "boost", + "score": 0.09391700476408005 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.10113312304019928 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10079647600650787 + }, + "else": { + "operation": "boost", + "score": 0.04699840024113655 + } }, "else": { "operation": "boost", - "score": 0.09617829322814941 + "score": 0.09542027115821838 } } } @@ -16607,48 +16687,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09556230157613754 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13362345099449158 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11911053210496902 - }, - "else": { - "operation": "boost", - "score": -0.3029530644416809 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0971243679523468 - } + "operation": "boost", + "score": 0.09786402434110641 }, "else": { "operation": "boost", - "score": 0.07004562020301819 + "score": 0.07065246999263763 } } } @@ -16663,43 +16707,53 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10577782243490219 + "score": 0.1056610494852066 }, "else": { - "operation": "boost", - "score": 0.106847383081913 + "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.10053563117980957 + "score": 0.1071629524230957 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0839870348572731 + "score": 0.06349675357341766 }, "else": { "operation": "boost", - "score": 0.09876775741577148 + "score": 0.09283924102783203 } }, "else": { @@ -16707,18 +16761,16 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.0892343744635582 + "score": 0.08979424834251404 }, "else": { "operation": "boost", - "score": 0.048966001719236374 + "score": -0.041407469660043716 } } } @@ -16733,185 +16785,246 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10575543344020844 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.107289157807827 + "score": 0.09959600120782852 }, "else": { "operation": "boost", - "score": 0.08067008852958679 + "score": 0.1260083019733429 } }, "else": { - "operation": "boost", - "score": 0.10316472500562668 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10556674748659134 + }, + "else": { + "operation": "boost", + "score": 0.09287883341312408 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.09271184355020523 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10060224682092667 + "score": 0.10649557411670685 }, "else": { "operation": "boost", - "score": 0.07902448624372482 + "score": 0.10104721784591675 } + }, + "else": { + "operation": "boost", + "score": 0.08334636688232422 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10000945627689362 }, "else": { "operation": "boost", - "score": 0.07441369444131851 + "score": 0.06668178737163544 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "boost", + "score": 0.09459489583969116 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.005435213912278414 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.11504366248846054 + "score": 0.10688306391239166 }, "else": { "operation": "boost", - "score": 0.11046569049358368 + "score": 0.06320104002952576 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19589.5, "then": { - "operation": "boost", - "score": 0.08818120509386063 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10498280823230743 + }, + "else": { + "operation": "boost", + "score": 0.08935269713401794 + } }, "else": { "operation": "boost", - "score": 0.06911735236644745 + "score": 0.08326543122529984 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0685572400689125 }, "else": { "operation": "boost", - "score": 0.022756684571504593 + "score": -0.040638260543346405 } } }, "else": { "operation": "boost", - "score": -0.10952705889940262 + "score": -0.009992293082177639 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07612177729606628 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10133859515190125 + "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 + } + } }, "else": { - "operation": "boost", - "score": 0.09115948528051376 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.058724187314510345 + }, + "else": { + "operation": "boost", + "score": -0.0417984202504158 + } } }, "else": { - "operation": "boost", - "score": 0.07895536720752716 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10048748552799225 + }, + "else": { + "operation": "boost", + "score": 0.07877806574106216 + } + }, + "else": { + "operation": "boost", + "score": -0.005733537022024393 + } } - }, - "else": { - "operation": "boost", - "score": -0.012229138985276222 } } } @@ -16919,519 +17032,534 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1705.0, + "threshold": 251.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 2908.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12139343470335007 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16387686133384705 - }, - "else": { - "operation": "boost", - "score": 0.10580726712942123 - } - } - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15244.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10333867371082306 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7092.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7761.5, + "threshold": 22267.0, "then": { + "operation": "boost", + "score": 0.10259904712438583 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9552.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.12567929923534393 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10230.5, + "threshold": 6632.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13638.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.16414427757263184 + "score": 0.12834948301315308 }, "else": { "operation": "boost", - "score": 0.16401739418506622 + "score": 0.12343394011259079 } }, "else": { "operation": "boost", - "score": 0.16428379714488983 + "score": 0.12040301412343979 } - }, - "else": { - "operation": "boost", - "score": 0.16248361766338348 } - }, - "else": { - "operation": "boost", - "score": 0.16425453126430511 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "boost", + "score": 0.10708080977201462 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11932878941297531 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.16434431076049805 + "score": 0.12279706448316574 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16226431727409363 - }, - "else": { - "operation": "boost", - "score": 0.15075598657131195 - } - }, - "else": { - "operation": "boost", - "score": 0.16223864257335663 - } + "operation": "boost", + "score": 0.10967327654361725 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30903.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6395.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15221.0, - "then": { - "operation": "boost", - "score": 0.10886505991220474 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13744.0, - "then": { - "operation": "boost", - "score": 0.16414692997932434 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10142.5, - "then": { - "operation": "boost", - "score": 0.16088613867759705 - }, - "else": { - "operation": "boost", - "score": 0.16413329541683197 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.16088536381721497 - } + "operation": "boost", + "score": 0.07380237430334091 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15754.5, + "threshold": 32056.0, "then": { - "operation": "boost", - "score": 0.10111311078071594 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7126.0, + "threshold": 61294.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7691.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.15908275544643402 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8372.0, - "then": { - "operation": "boost", - "score": 0.16235056519508362 - }, - "else": { - "operation": "boost", - "score": 0.1550035923719406 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16337238252162933 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.16244056820869446 - }, - "else": { - "operation": "boost", - "score": 0.15978936851024628 - } + "operation": "boost", + "score": 0.10632220655679703 }, "else": { "operation": "boost", - "score": 0.15780813992023468 + "score": 0.10178505629301071 } + }, + "else": { + "operation": "boost", + "score": 0.08644653856754303 } + }, + "else": { + "operation": "boost", + "score": 0.13062338531017303 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, "then": { "operation": "boost", - "score": 0.1466296911239624 + "score": 0.10537247359752655 }, "else": { "operation": "boost", - "score": 0.130472332239151 + "score": 0.12366446852684021 } + }, + "else": { + "operation": "boost", + "score": 0.08069130778312683 } }, "else": { "operation": "boost", - "score": 0.12716637551784515 + "score": -0.012794425711035728 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16714.5, + "threshold": 4995.5, "then": { - "operation": "boost", - "score": 0.09861358255147934 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5193.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 16714.5, "then": { "operation": "boost", - "score": 0.13100630044937134 + "score": 0.10193446278572083 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 13821.0, "then": { "operation": "boost", - "score": 0.16492649912834167 + "score": 0.13050876557826996 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13545.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.14580011367797852 + "score": 0.1278836578130722 }, "else": { "operation": "boost", - "score": 0.16703592240810394 + "score": 0.13239659368991852 } } } }, "else": { "operation": "boost", - "score": 0.1511448323726654 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12089408189058304 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63436.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.1033456102013588 - }, - "else": { - "operation": "boost", - "score": 0.09800051152706146 + "score": 0.10150875896215439 } }, "else": { "operation": "boost", - "score": 0.08752404153347015 + "score": 0.11162035167217255 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.010117894038558006 + "score": 0.12000031769275665 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 78490.0, "then": { - "operation": "boost", - "score": 0.09219632297754288 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10323052108287811 + }, + "else": { + "operation": "boost", + "score": 0.0518890805542469 + } }, "else": { "operation": "boost", - "score": 0.09931240975856781 + "score": 0.06146992743015289 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58073.0, + "threshold": 188273.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0849284678697586 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233715.5, "then": { "operation": "boost", - "score": 0.11762181669473648 + "score": 0.09964592009782791 }, "else": { - "operation": "boost", - "score": 0.10194037854671478 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0832638069987297 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78428.0, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 224059.0, "then": { "operation": "boost", - "score": 0.03649354726076126 + "score": 0.12972784042358398 }, "else": { "operation": "boost", - "score": 0.12454203516244888 + "score": 0.11909864842891693 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.02827148325741291 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03793445974588394 + "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.12716634571552277 + "score": 0.10108617693185806 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 71954.5, "then": { "operation": "boost", - "score": -0.1544734686613083 + "score": 0.11207287013530731 }, "else": { - "operation": "boost", - "score": 0.1256604790687561 + "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.053082939237356186 + "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.018881121650338173 + "score": -0.04583188146352768 } } - }, - "else": { - "operation": "boost", - "score": -0.024477804079651833 } } } @@ -17440,8 +17568,8 @@ "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", "FunctionScope", + "ClassScope", "FileScope" ], "then": { @@ -17455,60 +17583,70 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.08478999882936478 + "score": 0.0873006284236908 }, "else": { "operation": "boost", - "score": 0.06374208629131317 + "score": 0.06344039738178253 } }, "else": { "operation": "boost", - "score": 0.08724480867385864 + "score": 0.08971454948186874 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.12916502356529236 + "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.13635040819644928 + "score": 0.12081724405288696 } }, "else": { "operation": "boost", - "score": 0.05262274667620659 + "score": 0.04946554824709892 } } }, "else": { "operation": "boost", - "score": -0.014746605418622494 + "score": -0.01716025359928608 } }, "else": { @@ -17535,50 +17673,39 @@ ], "then": { "operation": "boost", - "score": 0.07915506511926651 + "score": 0.08119551092386246 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.13709697127342224 - }, - "else": { - "operation": "boost", - "score": 0.07669385522603989 - } + "operation": "boost", + "score": 0.06769025325775146 }, "else": { "operation": "boost", - "score": 0.07607636600732803 + "score": 0.07461866736412048 } }, "else": { "operation": "boost", - "score": -0.01272677630186081 + "score": -0.0025724724400788546 } } }, "else": { "operation": "boost", - "score": -0.09258358925580978 + "score": -0.09123560041189194 } }, "else": { "operation": "boost", - "score": -0.09189265966415405 + "score": -0.09410659223794937 } }, "else": { @@ -17589,14 +17716,21 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ClassOrStructTag" + "CCC_Namespace" ], "then": { - "operation": "boost", - "score": 0.10049449652433395 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10442037880420685 + }, + "else": { + "operation": "boost", + "score": 0.09962568432092667 + } }, "else": { "operation": "if_greater", @@ -17610,27 +17744,27 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", - "score": 0.09831368923187256 + "score": 0.09844401478767395 }, "else": { "operation": "boost", - "score": 0.08127627521753311 + "score": 0.0790724977850914 } }, "else": { "operation": "boost", - "score": 0.060109417885541916 + "score": 0.05383661761879921 } }, "else": { "operation": "boost", - "score": 0.021202798932790756 + "score": 0.027293680235743523 } } }, @@ -17645,77 +17779,20 @@ "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "CCC_Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 379.5, - "then": { - "operation": "boost", - "score": 0.11475017666816711 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.13397316634655 - }, - "else": { - "operation": "boost", - "score": 0.11361579596996307 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10522562265396118 - } + "operation": "boost", + "score": 0.11381188780069351 }, "else": { "operation": "boost", - "score": 0.08629204332828522 + "score": 0.09521917253732681 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13847313821315765 - }, - "else": { - "operation": "boost", - "score": 0.0792175903916359 - } - }, - "else": { - "operation": "boost", - "score": 0.015385257080197334 - } - }, - "else": { - "operation": "boost", - "score": -0.05957351252436638 - } + "operation": "boost", + "score": -0.00427229842171073 } } } @@ -17742,14 +17819,14 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10475829243659973 + "score": 0.10538673400878906 }, "else": { "operation": "boost", - "score": 0.10652511566877365 + "score": 0.10688631236553192 } }, "else": { @@ -17762,7 +17839,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10757021605968475 + "score": 0.10801646113395691 }, "else": { "operation": "if_member", @@ -17772,11 +17849,11 @@ ], "then": { "operation": "boost", - "score": 0.10721322894096375 + "score": 0.10692442953586578 }, "else": { "operation": "boost", - "score": 0.08584892004728317 + "score": 0.10197018831968307 } } }, @@ -17788,11 +17865,11 @@ ], "then": { "operation": "boost", - "score": 0.10471969097852707 + "score": 0.10421966761350632 }, "else": { "operation": "boost", - "score": 0.08056440949440002 + "score": 0.06721276789903641 } } } @@ -17806,8 +17883,17 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09221700578927994 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09628482908010483 + }, + "else": { + "operation": "boost", + "score": 0.09305420517921448 + } }, "else": { "operation": "if_greater", @@ -17819,27 +17905,37 @@ "threshold": 6.5, "then": { "operation": "boost", - "score": 0.09826888889074326 + "score": 0.09833516925573349 }, "else": { "operation": "boost", - "score": 0.10054616630077362 + "score": 0.10082586109638214 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.09911975264549255 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0989702120423317 + }, + "else": { + "operation": "boost", + "score": 0.043373625725507736 + } }, "else": { "operation": "boost", - "score": 0.09394562244415283 + "score": 0.09244994074106216 } } } @@ -17849,39 +17945,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01619628630578518 - }, - "else": { - "operation": "boost", - "score": 0.12183329463005066 - } - }, - "else": { - "operation": "boost", - "score": 0.12304233014583588 - } - }, - "else": { - "operation": "boost", - "score": 0.09476035088300705 - } + "operation": "boost", + "score": 0.09558168798685074 }, "else": { "operation": "boost", - "score": 0.06633605062961578 + "score": 0.06545069813728333 } } } @@ -17896,59 +17965,79 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10506963729858398 + "score": 0.10482154786586761 }, "else": { - "operation": "boost", - "score": 0.10624464601278305 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10529960691928864 + }, + "else": { + "operation": "boost", + "score": 0.09477247297763824 + } } }, "else": { - "operation": "boost", - "score": 0.09903548657894135 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1318535.0, + "threshold": 858647.0, "then": { "operation": "boost", - "score": 0.0800936296582222 + "score": 0.10708757489919662 }, "else": { "operation": "boost", - "score": 0.09699580818414688 + "score": 0.1062157079577446 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09555428475141525 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09188377857208252 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0559593066573143 + }, + "else": { + "operation": "boost", + "score": 0.08511682599782944 + } }, "else": { "operation": "boost", - "score": 0.04851378872990608 + "score": -0.03806758299469948 } } } @@ -17978,15 +18067,33 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10465916246175766 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10642862319946289 + }, + "else": { + "operation": "boost", + "score": 0.1237359493970871 + } }, "else": { - "operation": "boost", - "score": 0.09044430404901505 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10441265255212784 + }, + "else": { + "operation": "boost", + "score": 0.09179113805294037 + } } }, "else": { @@ -17995,25 +18102,37 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10582839697599411 + "score": 0.10573612153530121 }, "else": { "operation": "boost", - "score": 0.09868748486042023 + "score": 0.09901473671197891 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.07014150172472 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.08339153230190277 + }, + "else": { + "operation": "boost", + "score": 0.062295470386743546 + } }, "else": { "operation": "boost", - "score": 0.08525648713111877 + "score": 0.0878908559679985 } } }, @@ -18023,77 +18142,27 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1159934476017952 + "score": -0.11490331590175629 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 34611.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19434.0, - "then": { - "operation": "boost", - "score": 0.12041915953159332 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1255166083574295 - }, - "else": { - "operation": "boost", - "score": 0.10991888493299484 - } - }, - "else": { - "operation": "boost", - "score": 0.08828100562095642 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12831664085388184 - } + "operation": "boost", + "score": 0.11925950646400452 }, "else": { "operation": "boost", - "score": 0.09208869189023972 + "score": 0.11094824224710464 } }, "else": { @@ -18102,14 +18171,14 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04246121272444725 + "score": 0.04543857276439667 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_member", @@ -18118,256 +18187,338 @@ "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.17527668178081512 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.10064873844385147 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11073806136846542 + "score": 0.1029386967420578 }, "else": { "operation": "boost", - "score": 0.14962264895439148 + "score": 0.14474396407604218 } }, "else": { - "operation": "boost", - "score": 0.10026906430721283 - } - } - }, - "else": { - "operation": "boost", - "score": 0.17605306208133698 - } - }, - "else": { - "operation": "boost", - "score": 0.0933804139494896 - } - }, - "else": { - "operation": "boost", - "score": 0.08580084145069122 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1725.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14187.5, - "then": { - "operation": "boost", - "score": 0.09036514163017273 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6235.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09123296290636063 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1479322612285614 + }, + "else": { + "operation": "boost", + "score": 0.22546294331550598 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10141593217849731 + } + } + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.10932139307260513 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 19434.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13295.5, - "then": { - "operation": "boost", - "score": 0.1496506780385971 - }, - "else": { - "operation": "boost", - "score": 0.15189573168754578 - } + "operation": "boost", + "score": 0.11650216579437256 }, "else": { "operation": "boost", - "score": 0.151899054646492 + "score": 0.10532116889953613 } + }, + "else": { + "operation": "boost", + "score": 0.08265627175569534 } - }, - "else": { - "operation": "boost", - "score": 0.1347961127758026 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Expression" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11047.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10052715241909027 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13247358798980713 + }, + "else": { + "operation": "boost", + "score": 0.14296415448188782 + } + } + }, + "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.1413055956363678 + "score": 0.10228375345468521 }, "else": { "operation": "boost", - "score": 0.1479451209306717 + "score": -0.031010163947939873 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0832286924123764 }, "else": { "operation": "boost", - "score": 0.1477217674255371 + "score": 0.010868972167372704 } - }, - "else": { - "operation": "boost", - "score": 0.13761208951473236 } } - }, - "else": { - "operation": "boost", - "score": 0.13733452558517456 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 896.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 900.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable", - "Namespace", - "Type" + "Namespace" ], "then": { "operation": "boost", - "score": 0.09864144027233124 + "score": 0.09647728502750397 }, "else": { "operation": "boost", - "score": 0.07900962233543396 + "score": 0.08359793573617935 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.13087229430675507 + "score": -0.1498386263847351 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.12767460942268372 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11414322257041931 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44558.0, + "threshold": 233715.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "boost", + "score": 0.09479658305644989 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224059.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09662536531686783 + "score": 0.11838682740926743 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "boost", - "score": 0.13256226480007172 - }, - "else": { - "operation": "boost", - "score": 0.11713868379592896 - } + "operation": "boost", + "score": 0.13278938829898834 } }, "else": { "operation": "boost", - "score": 0.05664704367518425 + "score": 0.11307501792907715 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 899.0, + "then": { + "operation": "boost", + "score": 0.10257268697023392 }, "else": { "operation": "boost", - "score": 0.11269202083349228 + "score": 0.14707466959953308 + } + } + }, + "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.04562809690833092 + "score": 0.032777268439531326 } } } @@ -18394,8 +18545,8 @@ ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { "operation": "if_member", "feature": "ContextKind", @@ -18404,39 +18555,68 @@ ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12231980264186859 + "score": 0.15143056213855743 }, "else": { - "operation": "boost", - "score": 0.13689033687114716 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13178585469722748 + }, + "else": { + "operation": "boost", + "score": 0.15510646998882294 + } } }, "else": { "operation": "boost", - "score": 0.1334041804075241 + "score": 0.15513412654399872 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09737318009138107 + "score": 0.09861258417367935 }, "else": { - "operation": "boost", - "score": 0.06469237059354782 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11832375079393387 + }, + "else": { + "operation": "boost", + "score": 0.09649576246738434 + } + }, + "else": { + "operation": "boost", + "score": 0.0392170250415802 + } } } }, "else": { "operation": "boost", - "score": 0.054411664605140686 + "score": 0.05566256120800972 } }, "else": { @@ -18445,38 +18625,59 @@ "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08865329623222351 + "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.09678763151168823 + "score": 0.07568788528442383 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { - "operation": "boost", - "score": 0.012121336534619331 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08783527463674545 + }, + "else": { + "operation": "boost", + "score": 0.057680584490299225 + } }, "else": { "operation": "boost", - "score": 0.07746952772140503 + "score": -0.028664376586675644 } } }, "else": { "operation": "boost", - "score": -0.05840194225311279 + "score": -0.056474316865205765 } } }, @@ -18490,76 +18691,42 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12272501736879349 + "score": 0.11631883680820465 }, "else": { "operation": "boost", - "score": 0.1148177832365036 + "score": 0.11503197997808456 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag" - ], + "operation": "boost", + "score": -0.00017354161536786705 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": 0.1371520608663559 - }, - "else": { - "operation": "boost", - "score": 0.1149553582072258 - } - }, - "else": { - "operation": "boost", - "score": -0.031142696738243103 - } + "operation": "boost", + "score": 0.08247809112071991 }, "else": { "operation": "boost", - "score": 0.09014997631311417 + "score": 0.054741375148296356 } - }, - "else": { - "operation": "boost", - "score": 0.05617986619472504 } }, "else": { "operation": "boost", - "score": 0.03376328945159912 + "score": 0.041878316551446915 } } } @@ -18569,419 +18736,323 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1699.5, + "threshold": 71306.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14619.5, + "operation": "boost", + "score": 0.10024398565292358 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.10311146080493927 + "score": 0.10727610439062119 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5982.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9552.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10230.5, - "then": { - "operation": "boost", - "score": 0.1472816914319992 - }, - "else": { - "operation": "boost", - "score": 0.1474343240261078 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7761.5, - "then": { - "operation": "boost", - "score": 0.14809593558311462 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7092.5, - "then": { - "operation": "boost", - "score": 0.14922745525836945 - }, - "else": { - "operation": "boost", - "score": 0.1516738086938858 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.14368881285190582 - } + "operation": "boost", + "score": 0.1048942357301712 } + } + }, + "else": { + "operation": "boost", + "score": 0.09744227677583694 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10743779689073563 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.01031743735074997 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" ], + "then": { + "operation": "boost", + "score": 0.1019461378455162 + }, + "else": { + "operation": "boost", + "score": 0.07705479115247726 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14426.5, - "then": { - "operation": "boost", - "score": 0.10597111284732819 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6836.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10142.5, - "then": { - "operation": "boost", - "score": 0.14831139147281647 - }, - "else": { - "operation": "boost", - "score": 0.1497865915298462 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.14849956333637238 - }, - "else": { - "operation": "boost", - "score": 0.13806308805942535 - } - } - } + "operation": "boost", + "score": 0.10356344282627106 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13884.5, - "then": { - "operation": "boost", - "score": 0.09879766404628754 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7126.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7175.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12957.0, - "then": { - "operation": "boost", - "score": 0.12815476953983307 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10889081656932831 - }, - "else": { - "operation": "boost", - "score": 0.14988668262958527 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1402600258588791 - } - }, - "else": { - "operation": "boost", - "score": 0.14596062898635864 - } - }, - "else": { - "operation": "boost", - "score": 0.14986899495124817 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1397850513458252 - }, - "else": { - "operation": "boost", - "score": 0.130672425031662 - } - } - } + "operation": "boost", + "score": 0.10886835306882858 } }, "else": { "operation": "boost", - "score": 0.11674212664365768 + "score": 0.07054976373910904 } - }, - "else": { - "operation": "boost", - "score": 0.11240103095769882 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12334857136011124 - }, - "else": { - "operation": "boost", - "score": 0.07198047637939453 - } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.021808460354804993 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 188273.5, + "threshold": 296854.0, "then": { "operation": "boost", - "score": 0.1054726094007492 + "score": 0.1190328374505043 }, "else": { - "operation": "boost", - "score": 0.0907774269580841 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09813396632671356 + "score": 0.04071899503469467 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6210.5, + "threshold": 93657.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 97784.5, "then": { "operation": "boost", - "score": 0.13005930185317993 + "score": 0.11882944405078888 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.15022893249988556 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13565.5, - "then": { - "operation": "boost", - "score": 0.13605523109436035 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, - "then": { - "operation": "boost", - "score": 0.15136897563934326 - }, - "else": { - "operation": "boost", - "score": 0.15594838559627533 - } - } - } + "operation": "boost", + "score": 0.1196088045835495 } }, "else": { "operation": "boost", - "score": 0.14233925938606262 + "score": 0.11199841648340225 } } }, "else": { "operation": "boost", - "score": 0.11525369435548782 + "score": 0.0935264378786087 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 220112.0, "then": { "operation": "boost", - "score": -0.007217812817543745 + "score": 0.11229278892278671 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.10192427784204483 - }, - "else": { - "operation": "boost", - "score": 0.09338345378637314 - } + "operation": "boost", + "score": 0.10497727245092392 } + }, + "else": { + "operation": "boost", + "score": 0.06993338465690613 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09488455206155777 + "score": 0.08124203234910965 }, "else": { "operation": "boost", - "score": 0.08881223946809769 + "score": 0.006223167758435011 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 288037.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10095564275979996 + "score": 0.09708401560783386 }, "else": { "operation": "boost", - "score": 0.07061149924993515 + "score": 0.07005593180656433 } }, "else": { - "operation": "boost", - "score": -0.012233059853315353 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.10209978371858597 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05111325904726982 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11117683351039886 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11561950296163559 + }, + "else": { + "operation": "boost", + "score": 0.07091665267944336 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1119973435997963 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017711402848362923 + } } } + }, + "else": { + "operation": "boost", + "score": -0.0651426762342453 } - }, - "else": { - "operation": "boost", - "score": -0.0641697496175766 } } } @@ -19004,14 +19075,14 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10407339781522751 + "score": 0.10474418103694916 }, "else": { "operation": "boost", - "score": 0.10582074522972107 + "score": 0.10621697455644608 } }, "else": { @@ -19024,7 +19095,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1066904366016388 + "score": 0.10709629952907562 }, "else": { "operation": "if_member", @@ -19034,11 +19105,11 @@ ], "then": { "operation": "boost", - "score": 0.10630552470684052 + "score": 0.10608786344528198 }, "else": { "operation": "boost", - "score": 0.09046104550361633 + "score": 0.10045668482780457 } } }, @@ -19050,11 +19121,11 @@ ], "then": { "operation": "boost", - "score": 0.10368525981903076 + "score": 0.10320450365543365 }, "else": { "operation": "boost", - "score": 0.07436377555131912 + "score": 0.054816555231809616 } } } @@ -19069,7 +19140,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08961448818445206 + "score": 0.09091218560934067 }, "else": { "operation": "if_greater", @@ -19081,27 +19152,26 @@ "threshold": 6.5, "then": { "operation": "boost", - "score": 0.09673603624105453 + "score": 0.09682422876358032 }, "else": { "operation": "boost", - "score": 0.09901050478219986 + "score": 0.09940025955438614 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.09739790856838226 + "score": 0.09734134376049042 }, "else": { "operation": "boost", - "score": 0.09095931798219681 + "score": 0.09035370498895645 } } } @@ -19111,39 +19181,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "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.08617579191923141 - }, - "else": { - "operation": "boost", - "score": 0.1180424839258194 - } - }, - "else": { - "operation": "boost", - "score": 0.11771630495786667 - } - }, - "else": { - "operation": "boost", - "score": 0.09245242178440094 - } + "operation": "boost", + "score": 0.09303316473960876 }, "else": { "operation": "boost", - "score": 0.06222166866064072 + "score": 0.06207228824496269 } } } @@ -19158,59 +19201,50 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.1045512855052948 + "score": 0.10398033261299133 }, "else": { "operation": "boost", - "score": 0.10572907328605652 + "score": 0.09761158376932144 } }, "else": { "operation": "boost", - "score": 0.09737102687358856 + "score": 0.1060977578163147 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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.07629873603582382 - }, - "else": { - "operation": "boost", - "score": 0.09484711289405823 - } + "operation": "boost", + "score": 0.09310828149318695 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09377168118953705 + "score": 0.0759270116686821 }, "else": { "operation": "boost", - "score": 0.056642431765794754 + "score": -0.045569390058517456 } } } @@ -19240,34 +19274,52 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10408452898263931 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.041948575526475906 + }, + "else": { + "operation": "boost", + "score": 0.11929710954427719 + } }, "else": { - "operation": "boost", - "score": 0.08919421583414078 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10296697169542313 + }, + "else": { + "operation": "boost", + "score": 0.08946286141872406 + } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10494641959667206 - }, - "else": { - "operation": "boost", - "score": 0.09644369035959244 - } + "operation": "boost", + "score": 0.09731446206569672 } }, "else": { - "operation": "boost", - "score": 0.07359085232019424 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.067634217441082 + }, + "else": { + "operation": "boost", + "score": 0.08228632062673569 + } } }, "else": { @@ -19276,21 +19328,19 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11250327527523041 + "score": -0.09975038468837738 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_Type", "CCC_ClassOrStructTag", "CCC_Symbol" ], @@ -19300,48 +19350,83 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06966689229011536 + "score": 0.053090911358594894 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13367927074432373 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.14342980086803436 + }, + "else": { + "operation": "boost", + "score": 0.1480880081653595 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50012.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "boost", + "score": 0.10028191655874252 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.22182656824588776 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.13787171244621277 + }, + "else": { + "operation": "boost", + "score": 0.11612097173929214 + } }, "else": { - "operation": "boost", - "score": 0.16068826615810394 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07476432621479034 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1680600941181183 + }, + "else": { + "operation": "boost", + "score": 0.22579325735569 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.09689470380544662 } }, "else": { "operation": "boost", - "score": 0.10562460869550705 + "score": 0.06906413286924362 } } } @@ -19350,24 +19435,25 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 36980.0, + "threshold": 34611.5, "then": { "operation": "boost", - "score": 0.1239996924996376 + "score": 0.11721882224082947 }, "else": { "operation": "boost", - "score": 0.10300958156585693 + "score": 0.10603485256433487 } }, "else": { "operation": "boost", - "score": 0.0728248581290245 + "score": 0.0784236341714859 } } }, @@ -19379,57 +19465,74 @@ "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.10292021185159683 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12108343839645386 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12282005697488785 + }, + "else": { + "operation": "boost", + "score": 0.10772444307804108 + } }, "else": { "operation": "boost", - "score": 0.10618763417005539 + "score": 0.08037953823804855 } }, "else": { "operation": "boost", - "score": 0.07620950788259506 + "score": 0.10328757762908936 } }, "else": { "operation": "boost", - "score": 0.0901361033320427 + "score": -0.12967337667942047 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04169662296772003 }, "else": { "operation": "boost", - "score": -0.11800287663936615 + "score": 0.0795278325676918 } - }, - "else": { - "operation": "boost", - "score": 0.06425552815198898 } } } @@ -19438,186 +19541,73 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1725.0, + "threshold": 897.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 900.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35110.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224059.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 233715.5, "then": { "operation": "boost", - "score": 0.06417446583509445 + "score": 0.09085364639759064 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09996442496776581 + "score": 0.11621872335672379 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.1242734044790268 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13724319636821747 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.13380752503871918 - }, - "else": { - "operation": "boost", - "score": 0.13172733783721924 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11992472410202026 - } - } + "operation": "boost", + "score": 0.12714722752571106 } } }, "else": { - "operation": "boost", - "score": 0.0921957865357399 - } - }, - "else": { - "operation": "boost", - "score": 0.10679375380277634 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14187.5, - "then": { - "operation": "boost", - "score": 0.08942314237356186 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6235.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 16206.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 16870.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11342474073171616 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1406792849302292 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1452721804380417 - }, - "else": { - "operation": "boost", - "score": 0.14108231663703918 - } - } - }, - "else": { - "operation": "boost", - "score": 0.13899873197078705 - } - } + "operation": "boost", + "score": 0.10307790338993073 }, "else": { "operation": "boost", - "score": 0.13206784427165985 + "score": 0.13149258494377136 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.14177098870277405 - }, - "else": { - "operation": "boost", - "score": 0.10607752948999405 - } + "operation": "boost", + "score": 0.10112842172384262 } }, "else": { @@ -19626,11 +19616,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13819581270217896 + "score": 0.11289148032665253 }, "else": { "operation": "boost", - "score": 0.12726104259490967 + "score": 0.07176510244607925 } } } @@ -19641,7 +19631,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09022914618253708 + "score": 0.08658129721879959 }, "else": { "operation": "if_greater", @@ -19649,90 +19639,220 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11865565180778503 + "score": 0.10800961405038834 }, "else": { - "operation": "boost", - "score": 0.05493706092238426 + "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 + } } } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.12287326157093048 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.13871432840824127 + }, + "else": { + "operation": "boost", + "score": 0.04015637934207916 + } + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Destructor", - "Namespace" + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "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.11473558098077774 + "score": 0.13465069234371185 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1242070198059082 + "score": 0.13104045391082764 + }, + "else": { + "operation": "boost", + "score": 0.14959557354450226 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14231932163238525 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09530052542686462 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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.13087376952171326 + "score": 0.11203517764806747 } } }, "else": { "operation": "boost", - "score": 0.12837177515029907 + "score": 0.047768328338861465 } + } + } + }, + "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_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { "operation": "boost", - "score": 0.09533433616161346 + "score": 0.062291473150253296 }, "else": { "operation": "boost", - "score": 0.06276597082614899 + "score": -0.031970977783203125 } } }, "else": { "operation": "boost", - "score": 0.05668414756655693 + "score": -0.039221521466970444 } }, "else": { @@ -19741,86 +19861,38 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08994574844837189 + "score": 0.11617103219032288 }, "else": { "operation": "boost", - "score": 0.06563806533813477 + "score": 0.11528033763170242 } }, "else": { - "operation": "boost", - "score": -0.030008137226104736 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11882348358631134 - }, - "else": { - "operation": "boost", - "score": 0.11575938016176224 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1216326579451561 - }, - "else": { - "operation": "boost", - "score": -0.019875427708029747 - } + "operation": "boost", + "score": 0.07003793120384216 }, "else": { "operation": "boost", - "score": 0.08934340626001358 + "score": 0.08519451320171356 } }, "else": { "operation": "boost", - "score": 0.0636008083820343 + "score": 0.026541123166680336 } - }, - "else": { - "operation": "boost", - "score": 0.035160209983587265 } } } @@ -19830,273 +19902,133 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1650.5, + "threshold": 252.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 3091.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10838107019662857 - }, - "else": { - "operation": "boost", - "score": 0.09093628823757172 - } - }, - "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15244.5, - "then": { - "operation": "boost", - "score": 0.10189760476350784 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9552.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10625.5, - "then": { - "operation": "boost", - "score": 0.13974648714065552 - }, - "else": { - "operation": "boost", - "score": 0.14048801362514496 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5982.5, - "then": { - "operation": "boost", - "score": 0.14000020921230316 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.12678351998329163 - }, - "else": { - "operation": "boost", - "score": 0.14111724495887756 - } - }, - "else": { - "operation": "boost", - "score": 0.13055849075317383 - } - } - } - } + "operation": "boost", + "score": 0.11392863839864731 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Type", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4717.0, + "threshold": 22368.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15221.0, - "then": { - "operation": "boost", - "score": 0.10703030228614807 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.13498428463935852 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.14149120450019836 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7297.5, - "then": { - "operation": "boost", - "score": 0.14259172976016998 - }, - "else": { - "operation": "boost", - "score": -0.12812989950180054 - } - } - } - } + "operation": "boost", + "score": 0.0998341366648674 }, "else": { - "operation": "boost", - "score": 0.13973461091518402 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5742.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13422.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.09957428276538849 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 6592.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.13924232125282288 + "score": 0.12391141057014465 }, "else": { "operation": "boost", - "score": 0.13875189423561096 + "score": 0.11867634207010269 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6984.0, - "then": { - "operation": "boost", - "score": 0.1399824172258377 - }, - "else": { - "operation": "boost", - "score": 0.12777367234230042 - } + "operation": "boost", + "score": 0.11567235738039017 } + }, + "else": { + "operation": "boost", + "score": 0.1093168705701828 } - }, - "else": { - "operation": "boost", - "score": 0.12829403579235077 } + }, + "else": { + "operation": "boost", + "score": 0.10359320789575577 } }, "else": { - "operation": "boost", - "score": 0.11061595380306244 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11633191257715225 + }, + "else": { + "operation": "boost", + "score": 0.10250407457351685 + } } } + }, + "else": { + "operation": "boost", + "score": 0.0953805148601532 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "boost", - "score": 0.1050548329949379 - }, - "else": { - "operation": "boost", - "score": 0.08822236955165863 - } + "operation": "boost", + "score": 0.08899008482694626 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12192672491073608 - }, - "else": { - "operation": "boost", - "score": 0.10848372429609299 - } + "operation": "boost", + "score": 0.13514560461044312 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.008990714326500893 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.10096732527017593 - }, - "else": { - "operation": "boost", - "score": 0.08757779002189636 - } - } + "operation": "boost", + "score": 0.1244569793343544 } } } @@ -20111,11 +20043,47 @@ "threshold": 78490.0, "then": { "operation": "boost", - "score": 0.09452434629201889 + "score": 0.09354879707098007 }, "else": { - "operation": "boost", - "score": 0.0821455717086792 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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": 32947.0, + "then": { + "operation": "boost", + "score": 0.06449182331562042 + }, + "else": { + "operation": "boost", + "score": 0.11761315166950226 + } + }, + "else": { + "operation": "boost", + "score": 0.09036644548177719 + } + }, + "else": { + "operation": "boost", + "score": 0.10312062501907349 + } + }, + "else": { + "operation": "boost", + "score": 0.06786078959703445 + } } }, "else": { @@ -20129,38 +20097,41 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 56853.0, + "threshold": 25183.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.07141140848398209 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11242470890283585 + "score": 0.07299456745386124 }, "else": { "operation": "boost", - "score": 0.10103054344654083 + "score": 0.09705395251512527 } + }, + "else": { + "operation": "boost", + "score": 0.09432007372379303 } }, "else": { - "operation": "boost", - "score": 0.07299560308456421 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09065695106983185 + }, + "else": { + "operation": "boost", + "score": 0.06192973628640175 + } } }, "else": { @@ -20171,60 +20142,168 @@ "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.09245306253433228 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "boost", + "score": 0.10113269835710526 + }, + "else": { + "operation": "boost", + "score": 0.0641559436917305 + } }, "else": { "operation": "boost", - "score": -0.013352756388485432 + "score": -0.008620675653219223 } } }, "else": { - "operation": "boost", - "score": -0.02481076307594776 + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10107428580522537 + }, + "else": { + "operation": "boost", + "score": 0.07091135531663895 + } + }, + "else": { + "operation": "boost", + "score": 0.07508769631385803 + } + }, + "else": { + "operation": "boost", + "score": 0.026076195761561394 + } + }, + "else": { + "operation": "boost", + "score": -0.021411392837762833 + } } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "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": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10273339599370956 + "score": 0.04432067275047302 }, "else": { "operation": "boost", - "score": 0.06928899884223938 + "score": -0.062029335647821426 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.0072463564574718475 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0031900315079838037 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04134067893028259 + } }, "else": { "operation": "boost", - "score": 0.07579393684864044 + "score": -0.07458433508872986 } } - }, - "else": { - "operation": "boost", - "score": -0.07217641919851303 } } } @@ -20248,14 +20327,14 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10346285998821259 + "score": 0.10425006598234177 }, "else": { "operation": "boost", - "score": 0.10513709485530853 + "score": 0.10557590425014496 } }, "else": { @@ -20268,7 +20347,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10595386475324631 + "score": 0.10628551244735718 }, "else": { "operation": "if_member", @@ -20278,11 +20357,11 @@ ], "then": { "operation": "boost", - "score": 0.10563872754573822 + "score": 0.10527244955301285 }, "else": { "operation": "boost", - "score": 0.0818660706281662 + "score": 0.0962231382727623 } } }, @@ -20294,11 +20373,11 @@ ], "then": { "operation": "boost", - "score": 0.10247006267309189 + "score": 0.10188669711351395 }, "else": { "operation": "boost", - "score": 0.07078903168439865 + "score": 0.055783480405807495 } } } @@ -20313,7 +20392,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08732084929943085 + "score": 0.08863522857427597 }, "else": { "operation": "if_greater", @@ -20325,27 +20404,26 @@ "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0955105721950531 + "score": 0.09555763751268387 }, "else": { "operation": "boost", - "score": 0.09753786027431488 + "score": 0.09806624054908752 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.09543503075838089 + "score": 0.09516587108373642 }, "else": { "operation": "boost", - "score": 0.08852902054786682 + "score": 0.08725550025701523 } } } @@ -20355,48 +20433,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1547905057668686 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1245141327381134 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11302585899829865 - }, - "else": { - "operation": "boost", - "score": -0.2774142920970917 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0899595320224762 - } + "operation": "boost", + "score": 0.09074150025844574 }, "else": { "operation": "boost", - "score": 0.056901715695858 + "score": 0.05729282274842262 } } } @@ -20411,39 +20453,51 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10409481078386307 + "score": 0.10348790884017944 }, "else": { "operation": "boost", - "score": 0.10527671873569489 + "score": 0.0960618257522583 } }, "else": { "operation": "boost", - "score": 0.09621528536081314 + "score": 0.10584483295679092 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.08240414410829544 + "score": 0.09089160710573196 }, "else": { - "operation": "boost", - "score": 0.05859768018126488 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0723537802696228 + }, + "else": { + "operation": "boost", + "score": -0.03693278133869171 + } } } }, @@ -20452,28 +20506,58 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10343572497367859 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04968561604619026 + }, + "else": { + "operation": "boost", + "score": 0.11803045123815536 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10172007232904434 + }, + "else": { + "operation": "boost", + "score": 0.08647239953279495 + } + } }, "else": { "operation": "boost", - "score": 0.10480143874883652 + "score": 0.0955289974808693 } }, "else": { @@ -20481,94 +20565,46 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08458162844181061 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.09443353861570358 - }, - "else": { - "operation": "boost", - "score": 0.06598669290542603 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1643.0, - "then": { - "operation": "boost", - "score": 0.1196809783577919 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.12045948952436447 + "score": 0.07972630858421326 }, "else": { "operation": "boost", - "score": 0.1345748007297516 + "score": 0.058404356241226196 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08858947455883026 }, "else": { "operation": "boost", - "score": 0.045309700071811676 + "score": 0.08248725533485413 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10903596878051758 + "score": -0.10377553105354309 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", "CCC_ClassOrStructTag", "CCC_Symbol" ], @@ -20578,89 +20614,74 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12681925296783447 + "score": 0.08857335895299911 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1451800912618637 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.13862812519073486 + }, + "else": { + "operation": "boost", + "score": 0.14040787518024445 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.09082522988319397 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.10813131183385849 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13220055401325226 - }, - "else": { - "operation": "boost", - "score": 0.13093608617782593 - } + "operation": "boost", + "score": 0.13025428354740143 }, "else": { "operation": "boost", - "score": -0.22528494894504547 + "score": 0.11371646821498871 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1888907104730606 }, "else": { - "operation": "boost", - "score": 0.15289288759231567 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002879087347537279 + }, + "else": { + "operation": "boost", + "score": 0.15254457294940948 + } } } }, "else": { "operation": "boost", - "score": 0.09363268315792084 + "score": 0.06320499628782272 } } } @@ -20673,12 +20694,21 @@ "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.09999581426382065 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, + "then": { + "operation": "boost", + "score": 0.11552521586418152 + }, + "else": { + "operation": "boost", + "score": 0.10256966948509216 + } }, "else": { "operation": "boost", - "score": 0.0684434175491333 + "score": 0.07726706564426422 } } }, @@ -20690,25 +20720,52 @@ "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.10573814064264297 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11907084286212921 + }, + "else": { + "operation": "boost", + "score": 0.10346034914255142 + } + }, + "else": { + "operation": "boost", + "score": 0.08232142776250839 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ @@ -20716,315 +20773,416 @@ ], "then": { "operation": "boost", - "score": 0.11735689640045166 + "score": 0.10709602385759354 }, "else": { "operation": "boost", - "score": 0.10240394622087479 + "score": 0.08454003185033798 } - }, - "else": { - "operation": "boost", - "score": 0.07157846540212631 } }, "else": { "operation": "boost", - "score": 0.08457819372415543 + "score": -0.12478349357843399 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03329899534583092 }, "else": { "operation": "boost", - "score": -0.1147608533501625 + "score": 0.07359911501407623 } - }, - "else": { - "operation": "boost", - "score": 0.05840471014380455 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1725.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3082.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224059.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 224059.0, + "threshold": 233715.5, "then": { + "operation": "boost", + "score": 0.09143218398094177 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10337277501821518 + "score": 0.1148969978094101 }, "else": { + "operation": "boost", + "score": 0.12317453324794769 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16206.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 16870.0, "then": { "operation": "boost", - "score": 0.11929599940776825 + "score": 0.10206875205039978 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.12901097536087036 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.14782629907131195 + }, + "else": { + "operation": "boost", + "score": 0.12979531288146973 + } }, "else": { "operation": "boost", - "score": 0.12644335627555847 + "score": 0.12134648859500885 } } + }, + "else": { + "operation": "boost", + "score": 0.10042542964220047 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "boost", - "score": 0.11099577695131302 - }, - "else": { - "operation": "boost", - "score": 0.10798146575689316 - } + "operation": "boost", + "score": 0.11203036457300186 }, "else": { "operation": "boost", - "score": 0.06760342419147491 + "score": 0.07069218903779984 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0847570151090622 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11296811699867249 + }, + "else": { + "operation": "boost", + "score": 0.0969642847776413 + } + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10442424565553665 + }, + "else": { + "operation": "boost", + "score": 0.048773907124996185 + } + } + } + } + }, + "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": 30.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14187.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08629731833934784 + "score": 0.12083341181278229 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5490.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.12824268639087677 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10165943205356598 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13440902531147003 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1389126032590866 - }, - "else": { - "operation": "boost", - "score": 0.13622504472732544 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12945513427257538 - } - }, - "else": { - "operation": "boost", - "score": 0.1272779107093811 - } + "operation": "boost", + "score": 0.1255120187997818 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.13515016436576843 - }, - "else": { - "operation": "boost", - "score": 0.09902315586805344 - } + "operation": "boost", + "score": 0.14027516543865204 } - }, - "else": { - "operation": "boost", - "score": 0.11950603127479553 } } }, "else": { "operation": "boost", - "score": 0.1133033037185669 + "score": 0.13331453502178192 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08588161319494247 + "score": 0.06621867418289185 }, "else": { - "operation": "boost", - "score": 0.0453762486577034 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10082904249429703 + }, + "else": { + "operation": "boost", + "score": 0.08587725460529327 + } } } + }, + "else": { + "operation": "boost", + "score": 0.05504552274942398 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 15.0, + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08656224608421326 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12643349170684814 + }, + "else": { + "operation": "boost", + "score": -0.0013380198506638408 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.12383387237787247 + }, + "else": { + "operation": "boost", + "score": 0.059307169169187546 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1140681728720665 + "score": -0.14164914190769196 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11976806074380875 + "score": 0.08640710264444351 }, "else": { "operation": "boost", - "score": 0.1277199536561966 + "score": 0.10133069008588791 } } }, "else": { - "operation": "boost", - "score": 0.1224382296204567 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08645347505807877 + }, + "else": { + "operation": "boost", + "score": 0.0563608855009079 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.03881388157606125 + }, + "else": { + "operation": "boost", + "score": 0.0710248276591301 + } + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0644155964255333 - }, - "else": { - "operation": "boost", - "score": 0.09638749808073044 - } + "operation": "boost", + "score": -0.04636048525571823 } - }, - "else": { - "operation": "boost", - "score": 0.050411541014909744 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.027439605444669724 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11254443228244781 + }, + "else": { + "operation": "boost", + "score": 0.11276564002037048 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FilterLength", @@ -21033,49 +21191,44 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag" + "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "boost", - "score": 0.1368388831615448 - }, - "else": { - "operation": "boost", - "score": 0.10888572037220001 - } + "operation": "boost", + "score": 0.11416144669055939 }, "else": { "operation": "boost", - "score": 0.028319979086518288 + "score": -0.1785253882408142 } }, "else": { "operation": "boost", - "score": 0.08149756491184235 + "score": 0.07858147472143173 } }, "else": { "operation": "boost", - "score": 0.054776065051555634 + "score": 0.05580703541636467 } }, "else": { "operation": "boost", - "score": 0.03256544470787048 + "score": 0.024889592081308365 } } } @@ -21086,70 +21239,45 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1650.5, + "threshold": 1535.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 7094.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14619.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10137192904949188 + "score": 0.0995875671505928 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5982.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9552.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10625.5, - "then": { - "operation": "boost", - "score": 0.1313100904226303 - }, - "else": { - "operation": "boost", - "score": 0.13189008831977844 - } - }, - "else": { - "operation": "boost", - "score": 0.1330697387456894 - } - }, - "else": { - "operation": "boost", - "score": 0.1274595558643341 - } + "operation": "boost", + "score": 0.11619309335947037 } }, "else": { @@ -21157,133 +21285,109 @@ "feature": "FilterLength", "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13589.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.09731516987085342 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9063.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14988.5, - "then": { - "operation": "boost", - "score": 0.10281006246805191 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6836.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10142.5, - "then": { - "operation": "boost", - "score": 0.12848259508609772 - }, - "else": { - "operation": "boost", - "score": 0.13262729346752167 - } - }, - "else": { - "operation": "boost", - "score": 0.12845748662948608 - } - } + "operation": "boost", + "score": 0.1157984659075737 }, "else": { "operation": "boost", - "score": 0.11891563981771469 + "score": 0.10801836103200912 } - }, - "else": { - "operation": "boost", - "score": 0.10866137593984604 } }, "else": { "operation": "boost", - "score": 0.10281828790903091 + "score": 0.07834476232528687 } } }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1161489486694336 - }, - "else": { - "operation": "boost", - "score": 0.06239188089966774 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11691345274448395 - }, - "else": { - "operation": "boost", - "score": 0.1011565625667572 - } - }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { - "operation": "boost", - "score": 0.10380405187606812 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16714.5, + "then": { + "operation": "boost", + "score": 0.09929011017084122 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13648.0, + "then": { + "operation": "boost", + "score": 0.12080693244934082 + }, + "else": { + "operation": "boost", + "score": 0.11793233454227448 + } + } }, "else": { "operation": "boost", - "score": 0.0836712047457695 + "score": 0.08890819549560547 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.007956630550324917 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09992627799510956 + }, + "else": { + "operation": "boost", + "score": 0.0806569829583168 + } }, "else": { "operation": "boost", - "score": 0.08330721408128738 + "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": { @@ -21293,212 +21397,170 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78490.0, + "threshold": 195234.5, "then": { - "operation": "boost", - "score": 0.09231899678707123 + "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.0771690085530281 + "score": 0.07088177651166916 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350855.0, + "then": { + "operation": "boost", + "score": 0.10472723841667175 + }, + "else": { + "operation": "boost", + "score": 0.06288570165634155 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61550.0, + "threshold": 74544.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "boost", - "score": 0.06724405288696289 + "score": 0.10382455587387085 }, "else": { - "operation": "boost", - "score": 0.11041343212127686 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10440400242805481 + }, + "else": { + "operation": "boost", + "score": 0.08010875433683395 + } } }, "else": { "operation": "boost", - "score": 0.06323271244764328 + "score": 0.04870791360735893 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0798865407705307 - }, - "else": { - "operation": "boost", - "score": -0.011761607602238655 - } + "operation": "boost", + "score": -0.02228308469057083 } - }, - "else": { - "operation": "boost", - "score": -0.021511465311050415 } } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.04529716819524765 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09986526519060135 - }, - "else": { - "operation": "boost", - "score": 0.07310045510530472 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0823080837726593 + "score": 0.008727574720978737 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08328492939472198 - }, - "else": { - "operation": "boost", - "score": 0.051862601190805435 - } - }, - "else": { - "operation": "boost", - "score": 0.01917768083512783 - } + "operation": "boost", + "score": 0.06857730448246002 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.08400766551494598 - }, - "else": { - "operation": "boost", - "score": 0.05899854749441147 - } + "operation": "boost", + "score": 0.1063777431845665 } } + }, + "else": { + "operation": "boost", + "score": 0.10158178210258484 } }, "else": { "operation": "boost", - "score": 0.0025981375947594643 + "score": 0.0007161966641433537 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.09539608657360077 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10618367791175842 - }, - "else": { - "operation": "boost", - "score": 0.09668980538845062 - } + "operation": "boost", + "score": 0.07855052500963211 }, "else": { "operation": "boost", - "score": 0.007574618794023991 + "score": 0.028328407555818558 } + }, + "else": { + "operation": "boost", + "score": -0.09273163974285126 } - }, - "else": { - "operation": "boost", - "score": -0.09704615920782089 } + }, + "else": { + "operation": "boost", + "score": -0.043929323554039 } } } @@ -21522,23 +21584,14 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10289645195007324 + "score": 0.10368882864713669 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10559941828250885 - }, - "else": { - "operation": "boost", - "score": 0.10121576488018036 - } + "operation": "boost", + "score": 0.10493633896112442 } }, "else": { @@ -21551,7 +21604,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10554146766662598 + "score": 0.10577129572629929 }, "else": { "operation": "if_member", @@ -21561,11 +21614,11 @@ ], "then": { "operation": "boost", - "score": 0.10497993975877762 + "score": 0.10472741723060608 }, "else": { "operation": "boost", - "score": 0.08021402359008789 + "score": 0.0966801866889 } } }, @@ -21577,11 +21630,11 @@ ], "then": { "operation": "boost", - "score": 0.10113729536533356 + "score": 0.10083850473165512 }, "else": { "operation": "boost", - "score": 0.07241463661193848 + "score": 0.04786746948957443 } } } @@ -21596,7 +21649,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08416678011417389 + "score": 0.08592279255390167 }, "else": { "operation": "if_greater", @@ -21608,27 +21661,26 @@ "threshold": 6.5, "then": { "operation": "boost", - "score": 0.09399854391813278 + "score": 0.09423716366291046 }, "else": { "operation": "boost", - "score": 0.09609213471412659 + "score": 0.09667423367500305 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.09344270825386047 + "score": 0.09334573894739151 }, "else": { "operation": "boost", - "score": 0.08575307577848434 + "score": 0.08446567505598068 } } } @@ -21638,39 +21690,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07486405968666077 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11350811272859573 - }, - "else": { - "operation": "boost", - "score": 0.11434205621480942 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08747565746307373 - } + "operation": "boost", + "score": 0.08826317638158798 }, "else": { "operation": "boost", - "score": 0.054672401398420334 + "score": 0.05342940241098404 } } } @@ -21685,39 +21710,51 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10375172644853592 + "score": 0.10293618589639664 }, "else": { "operation": "boost", - "score": 0.10479442775249481 + "score": 0.09465999901294708 } }, "else": { "operation": "boost", - "score": 0.09448496997356415 + "score": 0.10569102317094803 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.07908003032207489 + "score": 0.08798515796661377 }, "else": { - "operation": "boost", - "score": 0.05278955399990082 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06851441413164139 + }, + "else": { + "operation": "boost", + "score": -0.02713131345808506 + } } } }, @@ -21726,115 +21763,105 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1015724390745163 - }, - "else": { - "operation": "boost", - "score": 0.10347731411457062 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08087055385112762 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.14281749725341797 + }, + "else": { + "operation": "boost", + "score": 0.11559645086526871 + } + }, + "else": { + "operation": "boost", + "score": -0.14231549203395844 + } + }, + "else": { + "operation": "boost", + "score": 0.08492173999547958 + } }, "else": { - "operation": "boost", - "score": 0.09062319248914719 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 625.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1195402443408966 + "score": 0.09300398826599121 }, "else": { "operation": "boost", - "score": 0.11504684388637543 + "score": 0.07523921132087708 } - }, - "else": { - "operation": "boost", - "score": 0.13038097321987152 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08460786193609238 + "score": 0.04875481501221657 }, "else": { "operation": "boost", - "score": 0.036388907581567764 + "score": 0.07535311579704285 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10393735766410828 + "score": -0.10021496564149857 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag", "CCC_Symbol" ], "then": { @@ -21843,80 +21870,65 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11663619428873062 + "score": 0.07889794558286667 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.14036932587623596 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13261456787586212 + }, + "else": { + "operation": "boost", + "score": 0.13222751021385193 + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 50012.0, + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": -0.03255408629775047 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.10583335161209106 + "score": 0.12390189617872238 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12476810812950134 + "score": 0.013792723417282104 }, "else": { "operation": "boost", - "score": -0.19987453520298004 + "score": 0.14082995057106018 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17348098754882812 - }, - "else": { - "operation": "boost", - "score": 0.14318528771400452 - } } }, "else": { "operation": "boost", - "score": 0.08949830383062363 + "score": 0.0651857778429985 } } } @@ -21925,16 +21937,26 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_TopLevel", "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.09774478524923325 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, + "then": { + "operation": "boost", + "score": 0.11330397427082062 + }, + "else": { + "operation": "boost", + "score": 0.09915608167648315 + } }, "else": { "operation": "boost", - "score": 0.06747599691152573 + "score": 0.07223202288150787 } } }, @@ -21946,334 +21968,406 @@ "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.09726324677467346 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.08100167661905289 + "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.12757834792137146 + "score": 0.09904054552316666 } }, "else": { "operation": "boost", - "score": 0.09702706336975098 + "score": 0.07550685852766037 } }, "else": { "operation": "boost", - "score": 0.06618588417768478 + "score": 0.09909835457801819 } }, "else": { "operation": "boost", - "score": 0.07960610091686249 + "score": -0.12246974557638168 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03750455752015114 }, "else": { "operation": "boost", - "score": -0.1190730556845665 + "score": 0.06873799115419388 } - }, - "else": { - "operation": "boost", - "score": 0.05507010221481323 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1725.0, + } + }, + "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": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224059.0, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233715.5, + "then": { + "operation": "boost", + "score": 0.08513856679201126 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11395056545734406 + }, + "else": { + "operation": "boost", + "score": 0.12061285227537155 + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44699.0, + "threshold": 16206.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16870.0, "then": { "operation": "boost", - "score": 0.05185185745358467 + "score": 0.09818112850189209 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.10747496038675308 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.1220589354634285 + "score": 0.12598338723182678 }, "else": { "operation": "boost", - "score": 0.110171377658844 + "score": 0.14221228659152985 } + }, + "else": { + "operation": "boost", + "score": 0.11772455275058746 } } }, "else": { "operation": "boost", - "score": 0.10486584156751633 + "score": 0.09712732583284378 } }, "else": { "operation": "boost", - "score": 0.06539074331521988 + "score": 0.08177092671394348 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08184551447629929 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "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": "NumReferences", - "threshold": 14187.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08397191017866135 + "score": 0.11157940328121185 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5490.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.12262964248657227 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10119765996932983 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12938834726810455 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1331951767206192 - }, - "else": { - "operation": "boost", - "score": 0.13103987276554108 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12452896684408188 - } - }, - "else": { - "operation": "boost", - "score": 0.12281255424022675 - } + "operation": "boost", + "score": 0.1211174875497818 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.12958092987537384 - }, - "else": { - "operation": "boost", - "score": 0.1014154702425003 - } + "operation": "boost", + "score": 0.13311508297920227 } - }, - "else": { - "operation": "boost", - "score": 0.11483550816774368 } } }, "else": { "operation": "boost", - "score": 0.1073651909828186 + "score": 0.1282411366701126 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08355012536048889 + "score": 0.06105718016624451 }, "else": { "operation": "boost", - "score": 0.04151604697108269 + "score": 0.09097940474748611 } } + }, + "else": { + "operation": "boost", + "score": 0.05516565591096878 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 15.0, + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.11065471917390823 + "score": 0.08385226875543594 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.01438909862190485 + } + }, + "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, "then": { + "operation": "boost", + "score": -0.136590376496315 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11011452227830887 + "score": 0.08163676410913467 }, "else": { "operation": "boost", - "score": 0.12320083379745483 + "score": 0.10033517330884933 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.056493062525987625 }, "else": { - "operation": "boost", - "score": 0.12088781595230103 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.034712836146354675 + }, + "else": { + "operation": "boost", + "score": 0.07018512487411499 + } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.059502385556697845 - }, - "else": { - "operation": "boost", - "score": 0.09342822432518005 - } + "operation": "boost", + "score": -0.041936542838811874 } - }, - "else": { - "operation": "boost", - "score": 0.050041452050209045 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.025844372808933258 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10990169644355774 + }, + "else": { + "operation": "boost", + "score": 0.10607292503118515 + } }, "else": { "operation": "if_greater", @@ -22285,16 +22379,16 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0818668082356453 + "score": 0.08163303881883621 }, "else": { "operation": "boost", - "score": 0.05196448788046837 + "score": 0.05332084000110626 } }, "else": { "operation": "boost", - "score": 0.029420580714941025 + "score": 0.02417825721204281 } } } @@ -22305,172 +22399,53 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 909.5, + "threshold": 252.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 3091.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1656.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14619.5, - "then": { - "operation": "boost", - "score": 0.10042817890644073 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5982.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9552.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10625.5, - "then": { - "operation": "boost", - "score": 0.1253056824207306 - }, - "else": { - "operation": "boost", - "score": 0.12603029608726501 - } - }, - "else": { - "operation": "boost", - "score": 0.12670782208442688 - } - }, - "else": { - "operation": "boost", - "score": 0.12133897095918655 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14790.5, - "then": { - "operation": "boost", - "score": 0.09484159201383591 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7076.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10376766324043274 - }, - "else": { - "operation": "boost", - "score": 0.12498012185096741 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12230504304170609 - }, - "else": { - "operation": "boost", - "score": 0.11332914233207703 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10627372562885284 - } - }, - "else": { - "operation": "boost", - "score": 0.09969742596149445 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09397280216217041 - } + "operation": "boost", + "score": 0.10119274258613586 }, "else": { "operation": "boost", - "score": 0.08848937600851059 + "score": 0.08909645676612854 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.08787326514720917 + "score": 0.08224137872457504 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { "operation": "boost", - "score": 0.11274310946464539 + "score": 0.1290513426065445 }, "else": { "operation": "boost", - "score": 0.07430484145879745 + "score": 0.12240880727767944 } } } @@ -22482,14 +22457,32 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 78490.0, + "threshold": 195234.5, "then": { - "operation": "boost", - "score": 0.09042003750801086 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.17918407917022705 + }, + "else": { + "operation": "boost", + "score": 0.11068416386842728 + } }, "else": { - "operation": "boost", - "score": 0.07714907824993134 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09944029897451401 + }, + "else": { + "operation": "boost", + "score": 0.06570228189229965 + } } }, "else": { @@ -22503,32 +22496,23 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61550.0, + "threshold": 31541.5, "then": { + "operation": "boost", + "score": 0.09203411638736725 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.06142816320061684 + "score": 0.08652553707361221 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07436604797840118 - }, - "else": { - "operation": "boost", - "score": 0.10195228457450867 - } + "operation": "boost", + "score": 0.05464703217148781 } - }, - "else": { - "operation": "boost", - "score": 0.065093994140625 } }, "else": { @@ -22539,247 +22523,306 @@ "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.0817922055721283 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "boost", + "score": 0.09722638130187988 + }, + "else": { + "operation": "boost", + "score": 0.05919089540839195 + } }, "else": { "operation": "boost", - "score": -0.002316777128726244 + "score": -0.008768279105424881 } } }, "else": { - "operation": "boost", - "score": -0.01453655119985342 + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09469275921583176 + }, + "else": { + "operation": "boost", + "score": 0.12124847620725632 + } + }, + "else": { + "operation": "boost", + "score": 0.0656939223408699 + } + }, + "else": { + "operation": "boost", + "score": 0.06462936848402023 + } + }, + "else": { + "operation": "boost", + "score": 0.02609597146511078 + } + }, + "else": { + "operation": "boost", + "score": -0.018528640270233154 + } } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": -0.07933938503265381 + }, + "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": 3.5, + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Namespace", - "Type" + "ClassScope" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09651633352041245 + "score": 0.09161185473203659 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13157151639461517 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.14548572897911072 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13488712906837463 - }, - "else": { - "operation": "boost", - "score": 0.13614071905612946 - } - } - } + "operation": "boost", + "score": 0.1337658017873764 } }, "else": { - "operation": "boost", - "score": -0.04402879625558853 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.13090397417545319 + }, + "else": { + "operation": "boost", + "score": 0.10442540049552917 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08828217536211014 + "score": 0.09762369096279144 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.0825614184141159 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.07492641359567642 + "score": 0.10089468955993652 }, "else": { "operation": "boost", - "score": 0.04572400078177452 + "score": 0.1279165893793106 } } + }, + "else": { + "operation": "boost", + "score": 0.015537355095148087 } - }, - "else": { - "operation": "boost", - "score": 0.013597044162452221 } }, "else": { "operation": "boost", - "score": -0.046211376786231995 + "score": -0.05627795681357384 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ClassOrStructTag" + "Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09621385484933853 - }, - "else": { - "operation": "boost", - "score": 0.07730976492166519 - } - }, - "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04593946412205696 + "score": -0.026135042309761047 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { - "operation": "boost", - "score": 0.08071067929267883 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.2505941689014435 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14125332236289978 + }, + "else": { + "operation": "boost", + "score": 0.14105795323848724 + } + } }, "else": { "operation": "boost", - "score": 0.06223316863179207 + "score": 0.09285801649093628 } } - } - }, - "else": { - "operation": "boost", - "score": 0.02028121054172516 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.09289628267288208 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10352516174316406 - }, - "else": { - "operation": "boost", - "score": 0.08918711543083191 - } }, "else": { "operation": "boost", - "score": 0.006876291707158089 + "score": -0.03842611983418465 } + }, + "else": { + "operation": "boost", + "score": -0.06787480413913727 } - }, - "else": { - "operation": "boost", - "score": -0.09493231773376465 } } } @@ -22804,32 +22847,14 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10264527052640915 + "score": 0.10329734534025192 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10498983412981033 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11996963620185852 - }, - "else": { - "operation": "boost", - "score": 0.10131628811359406 - } - } + "operation": "boost", + "score": 0.10453527420759201 } }, "else": { @@ -22842,7 +22867,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10489881038665771 + "score": 0.10521509498357773 }, "else": { "operation": "if_member", @@ -22852,11 +22877,11 @@ ], "then": { "operation": "boost", - "score": 0.10437682271003723 + "score": 0.10396013408899307 }, "else": { "operation": "boost", - "score": 0.0802333727478981 + "score": 0.09296120703220367 } } }, @@ -22868,11 +22893,11 @@ ], "then": { "operation": "boost", - "score": 0.09994347393512726 + "score": 0.0992877408862114 }, "else": { "operation": "boost", - "score": 0.060232557356357574 + "score": 0.04281450808048248 } } } @@ -22887,7 +22912,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0817403569817543 + "score": 0.08311630040407181 }, "else": { "operation": "if_greater", @@ -22896,30 +22921,29 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.09252127259969711 + "score": 0.0897068977355957 }, "else": { "operation": "boost", - "score": 0.09450525045394897 + "score": 0.0952216312289238 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.0915725901722908 + "score": 0.09119682013988495 }, "else": { "operation": "boost", - "score": 0.08280669152736664 + "score": 0.08133240044116974 } } } @@ -22929,48 +22953,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08873504400253296 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11715089529752731 - }, - "else": { - "operation": "boost", - "score": 0.11000824719667435 - } - }, - "else": { - "operation": "boost", - "score": -0.23166529834270477 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0847305878996849 - } + "operation": "boost", + "score": 0.08495151251554489 }, "else": { "operation": "boost", - "score": 0.04873732104897499 + "score": 0.05070669203996658 } } } @@ -22986,45 +22974,49 @@ "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 2.0, + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 749331.5, + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10347753763198853 + "score": 0.10257557779550552 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.05015045031905174 - }, - "else": { - "operation": "boost", - "score": 0.10372795164585114 - } + "operation": "boost", + "score": 0.09313683211803436 } }, "else": { "operation": "boost", - "score": 0.10346512496471405 + "score": 0.10560378432273865 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.07601431012153625 + "score": 0.0859752967953682 }, "else": { - "operation": "boost", - "score": 0.04813560098409653 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06425798684358597 + }, + "else": { + "operation": "boost", + "score": -0.01864858716726303 + } } } }, @@ -23033,114 +23025,75 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1014665737748146 - }, - "else": { - "operation": "boost", - "score": 0.07843457907438278 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10295148938894272 - }, - "else": { - "operation": "boost", - "score": 0.08872944861650467 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 477.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11776190251111984 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.049583010375499725 + }, + "else": { + "operation": "boost", + "score": 0.11410412192344666 + } }, "else": { "operation": "boost", - "score": 0.10369101166725159 + "score": 0.08305097371339798 } }, "else": { "operation": "boost", - "score": 0.12381992489099503 + "score": 0.09105654805898666 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08148475736379623 - }, - "else": { - "operation": "boost", - "score": 0.03901784121990204 - } + "operation": "boost", + "score": 0.06536269187927246 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10409499704837799 + "score": -0.10004983097314835 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", "CCC_ClassOrStructTag", "CCC_Symbol" ], @@ -23150,71 +23103,65 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10786571353673935 + "score": 0.07490529865026474 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13523899018764496 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1304868459701538 + }, + "else": { + "operation": "boost", + "score": 0.12478920817375183 + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 50012.0, + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.08783616125583649 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.10241858661174774 + "score": 0.11910200864076614 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11960893869400024 + "score": -0.0013354640686884522 }, "else": { "operation": "boost", - "score": -0.18569806218147278 + "score": 0.13280948996543884 } } - }, - "else": { - "operation": "boost", - "score": 0.13473941385746002 } }, "else": { "operation": "boost", - "score": 0.08659501373767853 + "score": 0.06062910333275795 } } } @@ -23227,41 +23174,21 @@ "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12164487689733505 - }, - "else": { - "operation": "boost", - "score": 0.13089647889137268 - } - }, - "else": { - "operation": "boost", - "score": 0.12633980810642242 - } + "operation": "boost", + "score": 0.11170969158411026 }, "else": { "operation": "boost", - "score": 0.09053777158260345 + "score": 0.09449733048677444 } }, "else": { "operation": "boost", - "score": 0.06539124250411987 + "score": 0.07056497037410736 } } }, @@ -23276,1116 +23203,1240 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace", "Keyword", - "Macro", + "Variable", + "Function", "Type", - "Function" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.11034319549798965 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11111187189817429 + "score": 0.09653657674789429 }, "else": { "operation": "boost", - "score": 0.09174435585737228 + "score": 0.06476835161447525 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08121920377016068 }, "else": { "operation": "boost", - "score": 0.06132388859987259 + "score": -0.026014555245637894 } - }, - "else": { - "operation": "boost", - "score": 0.07579519599676132 } }, "else": { "operation": "boost", - "score": -0.11624091118574142 + "score": -0.11985090374946594 } }, "else": { - "operation": "boost", - "score": 0.05041540414094925 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1602.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.046834032982587814 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.061751510947942734 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07263316214084625 + }, + "else": { + "operation": "boost", + "score": 0.0939590260386467 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06743372231721878 + } + }, + "else": { + "operation": "boost", + "score": 0.03591925650835037 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1027645394206047 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.11432473361492157 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11692839860916138 + "score": -0.0038332385011017323 }, "else": { "operation": "boost", - "score": 0.12259544432163239 + "score": 0.07848112285137177 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07306891679763794 }, "else": { "operation": "boost", - "score": 0.10792238265275955 + "score": -0.10116294771432877 } } } }, "else": { "operation": "boost", - "score": 0.07262290269136429 + "score": -0.1280006617307663 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3005.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "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.08777209371328354 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10054571181535721 + "score": 0.11315073072910309 }, "else": { "operation": "boost", - "score": 0.05100850388407707 + "score": 0.11833721399307251 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 16141.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14187.5, + "threshold": 16870.0, "then": { "operation": "boost", - "score": 0.08216413855552673 + "score": 0.09594082832336426 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5490.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.1002797856926918 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12529422342777252 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12856192886829376 - }, - "else": { - "operation": "boost", - "score": 0.1268514096736908 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11994127929210663 - } - }, - "else": { - "operation": "boost", - "score": 0.11867082864046097 - } + "operation": "boost", + "score": 0.12707430124282837 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.12524397671222687 - }, - "else": { - "operation": "boost", - "score": 0.10113266855478287 - } + "operation": "boost", + "score": 0.13791756331920624 } }, "else": { "operation": "boost", - "score": 0.11101806163787842 + "score": 0.1155514121055603 } } }, "else": { "operation": "boost", - "score": 0.10289492458105087 + "score": 0.09431582689285278 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08053463697433472 + "score": 0.10810758918523788 }, "else": { "operation": "boost", - "score": 0.03829208388924599 + "score": 0.06462275236845016 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1069091185927391 - }, - "else": { - "operation": "boost", - "score": 0.11737777292728424 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.05601806938648224 - }, - "else": { - "operation": "boost", - "score": 0.09015149623155594 - } - } - }, - "else": { - "operation": "boost", - "score": 0.046499039977788925 - } + "operation": "boost", + "score": 0.07770359516143799 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.029490821063518524 + "score": 0.102444589138031 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009621811099350452 - }, - "else": { - "operation": "boost", - "score": 0.06325340270996094 - } + "operation": "boost", + "score": 0.09608625620603561 }, "else": { "operation": "boost", - "score": 0.03681644797325134 + "score": 0.048397619277238846 } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 809.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5087.0, + "feature": "FileProximityDistance", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14114.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.09462972730398178 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13638.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12264420837163925 + "score": 0.10509228706359863 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6044.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12217102944850922 + "score": 0.1183212623000145 }, "else": { - "operation": "boost", - "score": 0.1145896166563034 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11745796352624893 + }, + "else": { + "operation": "boost", + "score": 0.1279468685388565 + } } } + }, + "else": { + "operation": "boost", + "score": 0.12145376205444336 } }, "else": { - "operation": "boost", - "score": 0.13272212445735931 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08892448246479034 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08532002568244934 + }, + "else": { + "operation": "boost", + "score": 0.10855968296527863 + } + }, + "else": { + "operation": "boost", + "score": 0.03025796264410019 + } + } } }, "else": { "operation": "boost", - "score": 0.09330635517835617 + "score": 0.0513591468334198 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, - "then": { - "operation": "boost", - "score": 0.0880732610821724 - }, - "else": { - "operation": "boost", - "score": 0.06560155749320984 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10191305726766586 - }, - "else": { - "operation": "boost", - "score": 0.05996238440275192 - } - }, - "else": { - "operation": "boost", - "score": 0.02005532756447792 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08534763753414154 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 904.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14304.5, - "then": { - "operation": "boost", - "score": 0.09848175942897797 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.13179542124271393 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1334712952375412 - }, - "else": { - "operation": "boost", - "score": 0.11705135554075241 - } - } - } + "operation": "boost", + "score": 0.07981503754854202 }, "else": { "operation": "boost", - "score": 0.11402613669633865 + "score": 0.01571480557322502 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 929.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "boost", - "score": 0.11147957295179367 + "score": 0.11376345902681351 }, "else": { "operation": "boost", - "score": 0.18562868237495422 + "score": 0.05073346197605133 } } }, "else": { - "operation": "boost", - "score": 0.09394195675849915 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1382952630519867 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 299159.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10230851173400879 + "score": 0.07867398113012314 }, "else": { "operation": "boost", - "score": 0.1169714480638504 + "score": 0.09777562320232391 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.052962902933359146 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.05342864990234375 + "score": -0.031808000057935715 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11262882500886917 - }, - "else": { - "operation": "boost", - "score": 0.05747036635875702 - } + "operation": "boost", + "score": 0.06619735807180405 } } - }, - "else": { - "operation": "boost", - "score": 0.08693502098321915 } }, "else": { "operation": "boost", - "score": 0.033080317080020905 + "score": -0.03705385699868202 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08121377974748611 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 113.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74698.5, + "threshold": 133.5, "then": { + "operation": "boost", + "score": 0.13220137357711792 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.09683585911989212 + "score": 0.1295863389968872 }, "else": { "operation": "boost", - "score": 0.06918530911207199 + "score": 0.10052814334630966 } - }, - "else": { - "operation": "boost", - "score": 0.0432051420211792 } }, "else": { "operation": "boost", - "score": -0.04517224431037903 + "score": 0.10608422756195068 } + }, + "else": { + "operation": "boost", + "score": 0.10215650498867035 } - } - } - }, - "else": { - "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_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.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.0946466326713562 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.13832494616508484 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1255231350660324 - }, - "else": { - "operation": "boost", - "score": 0.1326979547739029 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09165355563163757 + "score": 0.10672829300165176 }, "else": { "operation": "boost", - "score": 0.15636539459228516 + "score": -0.15889109671115875 } }, "else": { "operation": "boost", - "score": 0.09548258036375046 + "score": 0.07206263393163681 } - } - }, - "else": { - "operation": "boost", - "score": -0.08694346249103546 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.06248363107442856 }, "else": { "operation": "boost", - "score": 0.09272236377000809 + "score": 0.05092048645019531 } }, "else": { "operation": "boost", - "score": -0.0002843864494934678 + "score": 0.023334631696343422 } } - }, - "else": { - "operation": "boost", - "score": -0.05992395803332329 } } } } - } - } - } - }, - { - "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": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10395494848489761 - }, - "else": { - "operation": "boost", - "score": 0.10465694218873978 - } - }, - "else": { - "operation": "boost", - "score": 0.09735424816608429 - } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 71306.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.10425072908401489 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, "then": { - "operation": "boost", - "score": 0.10374870896339417 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": 0.09232895076274872 + }, + "else": { + "operation": "boost", + "score": 0.10405620187520981 + } + }, + "else": { + "operation": "boost", + "score": 0.08781755715608597 + } }, "else": { - "operation": "boost", - "score": 0.07537541538476944 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09894438832998276 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10238134115934372 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.031178178265690804 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09629028290510178 + }, + "else": { + "operation": "boost", + "score": 0.05992761254310608 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10216585546731949 + }, + "else": { + "operation": "boost", + "score": 0.05827334150671959 + } + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.053375497460365295 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.009165040217339993 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.11480008065700531 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08861710876226425 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121087.0, + "then": { + "operation": "boost", + "score": 0.10931236296892166 + }, + "else": { + "operation": "boost", + "score": 0.08974531292915344 + } + }, + "else": { + "operation": "boost", + "score": 0.061326105147600174 + } + } + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07897103577852249 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08917411416769028 + "score": 0.06929314136505127 }, "else": { - "operation": "boost", - "score": 0.09276830404996872 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5188.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16714.5, + "then": { + "operation": "boost", + "score": 0.09264931082725525 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13648.0, + "then": { + "operation": "boost", + "score": 0.11498711258172989 + }, + "else": { + "operation": "boost", + "score": 0.11171255260705948 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08664707839488983 + } + }, + "else": { + "operation": "boost", + "score": 0.09767300635576248 + } + }, + "else": { + "operation": "boost", + "score": 0.061006393283605576 + } + }, + "else": { + "operation": "boost", + "score": 0.022465188056230545 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08913584053516388 + "score": -0.08662264794111252 }, "else": { "operation": "boost", - "score": 0.07973472028970718 + "score": -0.03803091496229172 } } } + } + } + } + }, + { + "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.1027916669845581 + }, + "else": { + "operation": "boost", + "score": 0.1039339229464531 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.1045740395784378 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.1232488602399826 + "score": 0.10338488221168518 }, "else": { "operation": "boost", - "score": 0.11024264991283417 + "score": 0.09045221656560898 } - }, - "else": { - "operation": "boost", - "score": 0.08164505660533905 } }, "else": { - "operation": "boost", - "score": 0.047578904777765274 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10016772896051407 + "score": -0.02423366717994213 }, "else": { "operation": "boost", - "score": 0.07470129430294037 + "score": 0.11265657842159271 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.10278242081403732 + "score": 0.09800243377685547 }, "else": { "operation": "boost", - "score": 0.0862225592136383 + "score": 0.046469200402498245 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08022903650999069 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 477.5, - "then": { - "operation": "boost", - "score": 0.11479891836643219 - }, - "else": { - "operation": "boost", - "score": 0.0970543920993805 - } + "operation": "boost", + "score": 0.08842722326517105 }, "else": { "operation": "boost", - "score": 0.11882815510034561 + "score": 0.09371563047170639 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.07862924784421921 + "score": 0.08928316831588745 }, "else": { "operation": "boost", - "score": 0.03919783607125282 + "score": 0.07867465913295746 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "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, "then": { + "operation": "boost", + "score": -0.07991296052932739 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36980.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.11555040627717972 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0692567378282547 + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, + "then": { + "operation": "boost", + "score": 0.11001641303300858 + }, + "else": { + "operation": "boost", + "score": 0.09045501053333282 + } }, "else": { "operation": "boost", - "score": 0.09319274127483368 + "score": 0.06523347645998001 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09900888800621033 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10132234543561935 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.12967781722545624 + "score": 0.14513622224330902 }, "else": { + "operation": "boost", + "score": 0.11198204755783081 + } + }, + "else": { + "operation": "boost", + "score": 0.07979388535022736 + } + }, + "else": { + "operation": "boost", + "score": 0.08972452580928802 + } + }, + "else": { + "operation": "boost", + "score": 0.06237979605793953 + } + }, + "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.0941106528043747 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Variable" ], "then": { "operation": "if_greater", @@ -24393,183 +24444,303 @@ "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07058960199356079 + "score": 0.07925587147474289 }, "else": { "operation": "boost", - "score": 0.11566771566867828 + "score": 0.12239458411931992 } }, "else": { "operation": "boost", - "score": 0.1280815601348877 + "score": 0.09211332350969315 } }, "else": { "operation": "boost", - "score": 0.08897686749696732 + "score": 0.0670701414346695 } + }, + "else": { + "operation": "boost", + "score": 0.09014355391263962 } + }, + "else": { + "operation": "boost", + "score": -0.11804090440273285 } - }, - "else": { - "operation": "boost", - "score": 0.061247020959854126 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "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 + } + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.10860607773065567 + "score": 0.09630633145570755 }, "else": { "operation": "boost", - "score": 0.08843068033456802 + "score": 0.08319224417209625 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06852495670318604 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03979102522134781 + }, + "else": { + "operation": "boost", + "score": 0.09276311099529266 + } } }, "else": { "operation": "boost", - "score": 0.056952424347400665 + "score": -0.034136224538087845 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.060949306935071945 }, "else": { "operation": "boost", - "score": -0.11591225117444992 + "score": 0.000353206938598305 } - }, - "else": { - "operation": "boost", - "score": 0.06550873816013336 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.024437572807073593 - }, - "else": { - "operation": "boost", - "score": 0.05655381456017494 - } + "operation": "boost", + "score": -0.1230221539735794 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1602.0, + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 224059.0, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233715.5, + "then": { + "operation": "boost", + "score": 0.08997370302677155 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11213172972202301 + }, + "else": { + "operation": "boost", + "score": 0.11666318029165268 + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", + "Type", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61155.5, + "threshold": 16206.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16870.0, "then": { "operation": "boost", - "score": 0.09448675811290741 + "score": 0.09227467328310013 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.0, + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.08971982449293137 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.1114005446434021 + }, + "else": { + "operation": "boost", + "score": 0.13307107985019684 + } }, "else": { "operation": "boost", - "score": 0.11960139870643616 + "score": 0.11471889913082123 } } }, "else": { "operation": "boost", - "score": 0.08026882261037827 + "score": 0.08923517167568207 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03238247334957123 - }, - "else": { - "operation": "boost", - "score": 0.08530324697494507 - } + "operation": "boost", + "score": 0.07208787649869919 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07849244773387909 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "operation": "boost", + "score": 0.09506282210350037 + }, + "else": { + "operation": "boost", + "score": 0.04717133939266205 + } + } + } + }, + "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_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08758268505334854 + "score": 0.09795073419809341 }, "else": { "operation": "if_greater", @@ -24577,128 +24748,127 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11697884649038315 + "score": 0.11390858888626099 }, "else": { "operation": "boost", - "score": 0.12132053822278976 + "score": 0.12078613042831421 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11067884415388107 - }, - "else": { - "operation": "boost", - "score": 0.06343237310647964 - } + "operation": "boost", + "score": 0.11665474623441696 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11376895010471344 - }, - "else": { - "operation": "boost", - "score": 0.10469948500394821 - } + "operation": "boost", + "score": 0.061091963201761246 }, "else": { "operation": "boost", - "score": 0.03374813497066498 + "score": 0.09292712807655334 } } + }, + "else": { + "operation": "boost", + "score": 0.047171447426080704 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 15.0, + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.10422766953706741 + "score": 0.07740968465805054 }, "else": { "operation": "boost", - "score": 0.11433010548353195 + "score": 0.015748286619782448 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "boost", - "score": 0.052192382514476776 + "score": 0.10842178016901016 }, "else": { "operation": "boost", - "score": 0.08656593412160873 + "score": 0.04936930537223816 } } }, "else": { "operation": "boost", - "score": 0.046632226556539536 + "score": -0.01958444155752659 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 113.0, "then": { - "operation": "boost", - "score": 0.023542948067188263 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "boost", + "score": 0.12521573901176453 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12860901653766632 + }, + "else": { + "operation": "boost", + "score": 0.08989930897951126 + } + } }, "else": { "operation": "boost", - "score": 0.07778096944093704 + "score": 0.10401519387960434 } }, "else": { "operation": "boost", - "score": -0.04503391310572624 + "score": 0.09892670810222626 } }, "else": { @@ -24707,77 +24877,20 @@ "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06499651074409485 + "score": 0.07389792054891586 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 335.5, - "then": { - "operation": "boost", - "score": 0.1865648776292801 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.15492966771125793 - }, - "else": { - "operation": "boost", - "score": 0.1572803407907486 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "boost", - "score": 0.16291444003582 - }, - "else": { - "operation": "boost", - "score": 0.1647687703371048 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1169164851307869 - } - }, - "else": { - "operation": "boost", - "score": 0.08053188025951385 - } + "operation": "boost", + "score": 0.036552440375089645 } }, "else": { "operation": "boost", - "score": 0.023151716217398643 + "score": 0.025264175608754158 } } } @@ -24794,36 +24907,21 @@ "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.09969199448823929 + "score": 0.10250589996576309 }, "else": { "operation": "boost", - "score": 0.10217908024787903 + "score": 0.09419234097003937 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06553801894187927 - }, - "else": { - "operation": "boost", - "score": 0.005520797334611416 - } + "operation": "boost", + "score": 0.06358295679092407 } }, "else": { @@ -24833,91 +24931,92 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 809.5, + "threshold": 141.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 245728.5, "then": { "operation": "boost", - "score": 0.10243672132492065 + "score": -0.16601364314556122 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16714.5, - "then": { - "operation": "boost", - "score": 0.09182555973529816 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5982.5, - "then": { - "operation": "boost", - "score": 0.11874134093523026 - }, - "else": { - "operation": "boost", - "score": 0.13063287734985352 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10877357423305511 - } + "operation": "boost", + "score": 0.11010897159576416 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78490.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 164855.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3199.5, "then": { - "operation": "boost", - "score": 0.13376128673553467 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.11604098230600357 + "score": 0.11022049933671951 } }, "else": { "operation": "boost", - "score": 0.08884632587432861 + "score": 0.15515775978565216 } }, "else": { "operation": "boost", - "score": 0.06318219006061554 + "score": 0.06053495779633522 } }, "else": { "operation": "boost", - "score": 0.04525861144065857 + "score": 0.06468010693788528 } } }, @@ -24926,21 +25025,12 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10063083469867706 - }, - "else": { - "operation": "boost", - "score": 0.05743098631501198 - } + "operation": "boost", + "score": 0.06479569524526596 }, "else": { "operation": "boost", - "score": 0.026463093236088753 + "score": 0.02871512994170189 } } }, @@ -24950,344 +25040,268 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08474757522344589 + "score": -0.08277449756860733 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 904.0, + "threshold": 1220.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 928.5, + "threshold": 7094.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14988.5, - "then": { - "operation": "boost", - "score": 0.0920003205537796 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7003.0, - "then": { - "operation": "boost", - "score": 0.11566940695047379 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.16139455139636993 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1206.5, - "then": { - "operation": "boost", - "score": 0.13501399755477905 - }, - "else": { - "operation": "boost", - "score": 0.08114680647850037 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12838295102119446 - } - }, - "else": { - "operation": "boost", - "score": 0.12549811601638794 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09514091908931732 - } - } + "operation": "boost", + "score": 0.10337304323911667 }, "else": { "operation": "boost", - "score": 0.0955527052283287 + "score": 0.08796185255050659 } }, "else": { - "operation": "boost", - "score": 0.10151886940002441 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 912.5, - "then": { - "operation": "boost", - "score": 0.16616028547286987 - }, - "else": { - "operation": "boost", - "score": 0.10909459739923477 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Type", + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 296854.0, + "threshold": 24366.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11466370522975922 - }, - "else": { - "operation": "boost", - "score": 0.10112972557544708 - } + "operation": "boost", + "score": 0.08514901995658875 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14677.0, "then": { - "operation": "boost", - "score": 0.04210742563009262 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.11319028586149216 + "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": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 20410.5, "then": { "operation": "boost", - "score": 0.1099647507071495 + "score": 0.13324962556362152 }, "else": { "operation": "boost", - "score": 0.11557936668395996 + "score": 0.10576621443033218 } } }, "else": { "operation": "boost", - "score": 0.10539823025465012 + "score": 0.11567050963640213 } }, "else": { "operation": "boost", - "score": 0.04854491353034973 + "score": 0.11426301300525665 } + }, + "else": { + "operation": "boost", + "score": 0.10779105871915817 } } }, "else": { "operation": "boost", - "score": 0.07708724588155746 + "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, + "then": { + "operation": "boost", + "score": 0.0812964215874672 + }, + "else": { + "operation": "boost", + "score": 0.06258900463581085 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09745816141366959 }, "else": { "operation": "boost", - "score": 0.07764627784490585 + "score": 0.0320863239467144 } }, "else": { - "operation": "boost", - "score": 0.02850906364619732 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11333060264587402 + }, + "else": { + "operation": "boost", + "score": 0.03163371607661247 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.025440800935029984 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 93657.0, "then": { - "operation": "boost", - "score": 0.07766168564558029 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74698.5, + "threshold": 296854.0, "then": { + "operation": "boost", + "score": 0.11219605058431625 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 97784.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06242740899324417 + "score": 0.032587822526693344 }, "else": { - "operation": "boost", - "score": 0.09912986308336258 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.0, + "then": { + "operation": "boost", + "score": 0.10391276329755783 + }, + "else": { + "operation": "boost", + "score": 0.10882458090782166 + } } }, "else": { "operation": "boost", - "score": 0.07295656204223633 + "score": 0.1128191277384758 } - }, - "else": { - "operation": "boost", - "score": 0.023005185648798943 } }, "else": { "operation": "boost", - "score": -0.06885690987110138 + "score": 0.08139672130346298 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08618362993001938 - }, - "else": { - "operation": "boost", - "score": 0.08161277323961258 - } + "operation": "boost", + "score": 0.08482184261083603 }, "else": { "operation": "boost", - "score": 0.02776731178164482 + "score": 0.014680483378469944 } - }, - "else": { - "operation": "boost", - "score": 0.011761567555367947 } - }, - "else": { - "operation": "boost", - "score": 0.07284608483314514 } - }, - "else": { - "operation": "boost", - "score": -0.04987872764468193 } + }, + "else": { + "operation": "boost", + "score": -0.041252631694078445 } } } @@ -25311,24 +25325,15 @@ "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10349997133016586 - }, - "else": { - "operation": "boost", - "score": 0.10347364842891693 - } + "operation": "boost", + "score": 0.10211843997240067 }, "else": { "operation": "boost", - "score": 0.09947444498538971 + "score": 0.10314469784498215 } }, "else": { @@ -25341,7 +25346,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10370954871177673 + "score": 0.10389205813407898 }, "else": { "operation": "if_member", @@ -25351,27 +25356,45 @@ ], "then": { "operation": "boost", - "score": 0.10299117118120193 + "score": 0.1027236357331276 }, "else": { "operation": "boost", - "score": 0.07372965663671494 + "score": 0.08955726027488708 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0972370132803917 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021423742175102234 + }, + "else": { + "operation": "boost", + "score": 0.11151184886693954 + } }, "else": { - "operation": "boost", - "score": 0.047327857464551926 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09685162454843521 + }, + "else": { + "operation": "boost", + "score": 0.042327459901571274 + } } } } @@ -25386,7 +25409,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07599584758281708 + "score": 0.07747206091880798 }, "else": { "operation": "if_greater", @@ -25398,16 +25421,27 @@ "threshold": 7.5, "then": { "operation": "boost", - "score": 0.08709666877985 + "score": 0.08629985898733139 }, "else": { "operation": "boost", - "score": 0.09132573753595352 + "score": 0.09223172068595886 } }, "else": { - "operation": "boost", - "score": 0.0842408761382103 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.0871601477265358 + }, + "else": { + "operation": "boost", + "score": 0.07539836317300797 + } } } }, @@ -25416,48 +25450,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06892786920070648 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11404839158058167 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10731761157512665 - }, - "else": { - "operation": "boost", - "score": -0.35169658064842224 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07885795086622238 - } + "operation": "boost", + "score": 0.07950848340988159 }, "else": { "operation": "boost", - "score": 0.04284622520208359 + "score": 0.04277215152978897 } } } @@ -25467,109 +25465,43 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07502410560846329 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10143732279539108 - }, - "else": { - "operation": "boost", - "score": 0.08406693488359451 - } - } + "operation": "boost", + "score": -0.07974559813737869 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 477.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1110326498746872 + "score": 0.05748733878135681 }, "else": { - "operation": "boost", - "score": 0.09835721552371979 - } - }, - "else": { - "operation": "boost", - "score": 0.1147647425532341 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0748637318611145 - }, - "else": { - "operation": "boost", - "score": 0.03663961589336395 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36980.0, - "then": { - "operation": "boost", - "score": 0.11305872350931168 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, @@ -25579,70 +25511,165 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11455421894788742 + "score": 0.11434684693813324 + }, + "else": { + "operation": "boost", + "score": 0.11278398334980011 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08755996823310852 + }, + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.12261371314525604 + "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.11435206979513168 + "score": 0.08568938076496124 } }, "else": { "operation": "boost", - "score": 0.07993334531784058 + "score": 0.06202095374464989 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09562379121780396 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09277452528476715 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.12531565129756927 + "score": 0.14058806002140045 }, "else": { + "operation": "boost", + "score": 0.11027955263853073 + } + }, + "else": { + "operation": "boost", + "score": 0.07810443639755249 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.09407338500022888 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50012.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Variable" ], "then": { "operation": "if_greater", @@ -25650,197 +25677,421 @@ "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.05070196092128754 + "score": 0.07563497126102448 }, "else": { "operation": "boost", - "score": 0.11253684014081955 + "score": 0.11943497508764267 } }, "else": { "operation": "boost", - "score": 0.12252412736415863 + "score": 0.08710499852895737 } }, "else": { "operation": "boost", - "score": 0.08618483692407608 + "score": 0.06075740605592728 } + }, + "else": { + "operation": "boost", + "score": 0.0879327654838562 } + }, + "else": { + "operation": "boost", + "score": -0.11653995513916016 } - }, - "else": { - "operation": "boost", - "score": 0.058409422636032104 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "boost", + "score": 0.059088580310344696 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "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_Symbol" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.07124388962984085 + "score": -0.07432906329631805 }, "else": { "operation": "boost", - "score": 0.12063263356685638 + "score": 0.12288923561573029 } }, "else": { - "operation": "boost", - "score": 0.0840613842010498 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12184564769268036 + }, + "else": { + "operation": "boost", + "score": 0.08727708458900452 + } } }, "else": { - "operation": "boost", - "score": 0.04969058185815811 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.059171728789806366 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03357525169849396 + }, + "else": { + "operation": "boost", + "score": 0.08344151824712753 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04034753143787384 + } } }, "else": { "operation": "boost", - "score": -0.11424067616462708 + "score": 0.006793489679694176 } - }, - "else": { - "operation": "boost", - "score": 0.06122210621833801 } }, "else": { "operation": "boost", - "score": 0.04426034539937973 + "score": -0.12046770751476288 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1526.5, + } + }, + "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": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 224059.0, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233715.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.0942227691411972 + }, + "else": { + "operation": "boost", + "score": 0.035163093358278275 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11390956491231918 + }, + "else": { + "operation": "boost", + "score": 0.11385606974363327 + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", + "Type", "Namespace" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 16206.0, "then": { - "operation": "boost", - "score": 0.08743396401405334 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16870.0, "then": { "operation": "boost", - "score": 0.07911691814661026 + "score": 0.08949806541204453 }, "else": { - "operation": "boost", - "score": 0.11698608100414276 + "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 + } } + }, + "else": { + "operation": "boost", + "score": 0.0848383679986 } }, "else": { "operation": "boost", - "score": 0.07248363643884659 + "score": 0.06786075979471207 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "boost", + "score": 0.09556686878204346 + }, + "else": { + "operation": "boost", + "score": 0.06916038691997528 } }, "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09255407005548477 + }, + "else": { + "operation": "boost", + "score": 0.04417378455400467 + } + } + } + }, + "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_ClassStructUnion", "CCC_SymbolOrNewName", + "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "feature": "FileProximityDistance", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.08375898003578186 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09241421520709991 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11233469098806381 + }, + "else": { + "operation": "boost", + "score": 0.11841461062431335 + } + } }, "else": { + "operation": "boost", + "score": 0.11097146570682526 + } + }, + "else": { + "operation": "boost", + "score": 0.05746937915682793 + } + }, + "else": { + "operation": "boost", + "score": 0.04564015567302704 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.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": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": 0.06284986436367035 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 878.0, "then": { - "operation": "boost", - "score": 0.12192316353321075 + "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.11806423962116241 + "score": 0.08224945515394211 } }, "else": { "operation": "boost", - "score": 0.10902037471532822 + "score": 0.07842588424682617 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.13006135821342468 + }, + "else": { + "operation": "boost", + "score": 0.10444484651088715 } }, "else": { "operation": "boost", - "score": 0.12337109446525574 + "score": -0.003604368306696415 } } }, @@ -25848,156 +26099,160 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", + "Variable", "Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, - "then": { - "operation": "boost", - "score": 0.10177166759967804 - }, - "else": { - "operation": "boost", - "score": 0.09691527485847473 - } + "operation": "boost", + "score": 0.10316929221153259 }, "else": { "operation": "boost", - "score": 0.05981089919805527 + "score": 0.04814025014638901 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.10384076088666916 + "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 + } }, "else": { "operation": "boost", - "score": 0.03306819871068001 + "score": -0.03790534287691116 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "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_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 133.5, "then": { + "operation": "boost", + "score": 0.1292969286441803 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.10033988952636719 + "score": 0.18502962589263916 }, "else": { "operation": "boost", - "score": 0.1106494888663292 + "score": 0.12382552027702332 } - }, - "else": { - "operation": "boost", - "score": 0.04878442361950874 } }, "else": { "operation": "boost", - "score": 0.04543161019682884 + "score": 0.1042613610625267 } }, "else": { + "operation": "boost", + "score": 0.1024247333407402 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0019353870302438736 + "score": 0.028483031317591667 }, "else": { "operation": "boost", - "score": 0.07279040664434433 + "score": 0.070552758872509 } }, "else": { - "operation": "boost", - "score": -0.057059451937675476 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.041494954377412796 - }, - "else": { - "operation": "boost", - "score": 0.10216844826936722 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.06279809027910233 + "score": 0.10868088155984879 }, "else": { "operation": "boost", - "score": 0.0716376081109047 + "score": 0.06205614283680916 } } }, "else": { "operation": "boost", - "score": 0.023744851350784302 + "score": 0.021817702800035477 } } } @@ -26018,31 +26273,16 @@ "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10308312624692917 + "score": 0.10208412259817123 }, "else": { "operation": "boost", - "score": 0.0915173590183258 + "score": 0.09252098947763443 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.06603894382715225 - }, - "else": { - "operation": "boost", - "score": 0.01810585707426071 - } + "operation": "boost", + "score": 0.059633709490299225 } }, "else": { @@ -26052,510 +26292,262 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 809.5, + "threshold": 141.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 245728.5, "then": { "operation": "boost", - "score": 0.10054360330104828 + "score": -0.16168741881847382 }, "else": { "operation": "boost", - "score": 0.11053332686424255 + "score": 0.10918238759040833 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.13345417380332947 + "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.11601632833480835 + "score": 0.1454186737537384 } }, "else": { "operation": "boost", - "score": 0.05976835638284683 + "score": 0.05741335451602936 } }, "else": { "operation": "boost", - "score": 0.04689010977745056 + "score": 0.0615314282476902 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.05062413588166237 + "score": 0.06260780245065689 }, "else": { "operation": "boost", - "score": -0.0011770084965974092 + "score": 0.029076993465423584 } } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.08236038684844971 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 784.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2677.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.08163411170244217 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14304.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09638631343841553 + "score": 0.00845232605934143 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1751.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.12571857869625092 - }, - "else": { - "operation": "boost", - "score": 0.1514405757188797 - } + "operation": "boost", + "score": 0.11495398730039597 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12821471691131592 - }, - "else": { - "operation": "boost", - "score": 0.11031261086463928 - } + "operation": "boost", + "score": 0.09863197058439255 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.10517185926437378 + "score": 0.1033381000161171 }, "else": { "operation": "boost", - "score": 0.12462078034877777 + "score": 0.060227490961551666 } } }, "else": { "operation": "boost", - "score": 0.10714787989854813 + "score": 0.010836216621100903 } - }, - "else": { - "operation": "boost", - "score": 0.0863102376461029 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 99.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11314088106155396 - }, - "else": { - "operation": "boost", - "score": 0.09988754242658615 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03669341653585434 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1087271049618721 - }, - "else": { - "operation": "boost", - "score": 0.05056722089648247 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0781138464808464 - } + "operation": "boost", + "score": 0.11262358725070953 }, "else": { "operation": "boost", - "score": 0.02672211453318596 + "score": 0.10396908223628998 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07371904700994492 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, - "then": { - "operation": "boost", - "score": 0.05688416585326195 - }, - "else": { - "operation": "boost", - "score": 0.09679102897644043 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, - "then": { - "operation": "boost", - "score": 0.08660245686769485 - }, - "else": { - "operation": "boost", - "score": 0.10678683966398239 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287036.5, - "then": { - "operation": "boost", - "score": 0.11200090497732162 - }, - "else": { - "operation": "boost", - "score": 0.07922444492578506 - } - }, - "else": { - "operation": "boost", - "score": 0.029887795448303223 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02408398501574993 - } - }, - "else": { - "operation": "boost", - "score": -0.06552595645189285 - } - } + "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": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.025482797995209694 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11405375599861145 + "score": 0.08237334340810776 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12863154709339142 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11566861718893051 - }, - "else": { - "operation": "boost", - "score": 0.0824061706662178 - } - }, - "else": { - "operation": "boost", - "score": 0.07366274297237396 - } - }, - "else": { - "operation": "boost", - "score": 0.06828588247299194 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11209651082754135 - } + "operation": "boost", + "score": -0.06505297869443893 } - }, - "else": { - "operation": "boost", - "score": -0.001344500109553337 } }, "else": { + "operation": "boost", + "score": -0.07610669732093811 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.05701034143567085 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 379.5, - "then": { - "operation": "boost", - "score": 0.10594768077135086 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12524370849132538 - }, - "else": { - "operation": "boost", - "score": 0.10490871220827103 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09323352575302124 - } - }, - "else": { - "operation": "boost", - "score": 0.07456329464912415 - } + "operation": "boost", + "score": 0.10908405482769012 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.09108791500329971 - }, - "else": { - "operation": "boost", - "score": 0.04375437647104263 - } - }, - "else": { - "operation": "boost", - "score": 0.018584977835416794 - } + "operation": "boost", + "score": 0.09898042678833008 } + }, + "else": { + "operation": "boost", + "score": 0.08529295027256012 } + }, + "else": { + "operation": "boost", + "score": -0.03750084713101387 } } } @@ -26580,15 +26572,15 @@ "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10317104309797287 + "score": 0.10194625705480576 }, "else": { "operation": "boost", - "score": 0.09852032363414764 + "score": 0.10267733782529831 } }, "else": { @@ -26601,7 +26593,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10317414999008179 + "score": 0.10329724848270416 }, "else": { "operation": "if_member", @@ -26611,11 +26603,11 @@ ], "then": { "operation": "boost", - "score": 0.10249586403369904 + "score": 0.10212759673595428 }, "else": { "operation": "boost", - "score": 0.06983542442321777 + "score": 0.08556656539440155 } } }, @@ -26627,11 +26619,11 @@ ], "then": { "operation": "boost", - "score": 0.09635068476200104 + "score": 0.09586634486913681 }, "else": { "operation": "boost", - "score": 0.050445348024368286 + "score": 0.03903985023498535 } } } @@ -26646,30 +26638,38 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07294853031635284 + "score": 0.07482842355966568 }, "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08919090777635574 + "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", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.08528987318277359 + "score": 0.08507171273231506 }, "else": { "operation": "boost", - "score": 0.07258246839046478 + "score": 0.07177077233791351 } } } @@ -26679,48 +26679,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04500601068139076 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1100371927022934 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10569238662719727 - }, - "else": { - "operation": "boost", - "score": -0.11308594048023224 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07435037940740585 - } + "operation": "boost", + "score": 0.07652152329683304 }, "else": { "operation": "boost", - "score": 0.039224185049533844 + "score": 0.040314577519893646 } } } @@ -26730,461 +26694,432 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "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.09838831424713135 - }, - "else": { - "operation": "boost", - "score": 0.10128697007894516 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.068242646753788 - }, - "else": { - "operation": "boost", - "score": 0.08112574368715286 - } - } + "operation": "boost", + "score": -0.07162168622016907 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 477.5, - "then": { - "operation": "boost", - "score": 0.10804024338722229 - }, - "else": { - "operation": "boost", - "score": 0.08791624754667282 - } - }, - "else": { - "operation": "boost", - "score": 0.11223407834768295 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.07119273394346237 - }, - "else": { - "operation": "boost", - "score": 0.03431244567036629 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36980.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.11094904690980911 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05151185020804405 + "score": 0.05786583572626114 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50002.5, - "then": { - "operation": "boost", - "score": 0.12055186927318573 - }, - "else": { - "operation": "boost", - "score": 0.04237455874681473 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10017581284046173 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08578986674547195 + "score": 0.10943955183029175 }, "else": { + "operation": "boost", + "score": 0.10954972356557846 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.12134730815887451 + "score": 0.08414001762866974 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.1100461483001709 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0317855104804039 - }, - "else": { - "operation": "boost", - "score": 0.1104658991098404 - } + "operation": "boost", + "score": -0.016337504610419273 }, "else": { "operation": "boost", - "score": 0.1179448738694191 + "score": 0.11456239223480225 } - }, - "else": { - "operation": "boost", - "score": 0.0833333358168602 } } + }, + "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.05554874986410141 + "score": 0.07906220108270645 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "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, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "boost", + "score": 0.07489856332540512 + }, + "else": { + "operation": "boost", + "score": 0.08465512841939926 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.09391489624977112 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "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.06279809027910233 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06775334477424622 + "score": 0.09542833268642426 }, "else": { "operation": "boost", - "score": 0.11755909025669098 + "score": 0.11389999091625214 } - }, - "else": { - "operation": "boost", - "score": 0.08103372156620026 } }, "else": { "operation": "boost", - "score": 0.047020163387060165 + "score": 0.06066546216607094 } }, "else": { "operation": "boost", - "score": -0.11120429635047913 + "score": 0.0834159106016159 } }, "else": { "operation": "boost", - "score": 0.05743131414055824 + "score": -0.11545996367931366 } - }, - "else": { - "operation": "boost", - "score": 0.0399249866604805 } + }, + "else": { + "operation": "boost", + "score": 0.04669920355081558 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1526.5, + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 224059.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233715.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63438.0, - "then": { - "operation": "boost", - "score": 0.08863305300474167 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09810078889131546 - }, - "else": { - "operation": "boost", - "score": 0.11516281217336655 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07581736892461777 - } + "operation": "boost", + "score": 0.08438151329755783 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1170264407992363 + "score": 0.11317616701126099 }, "else": { "operation": "boost", - "score": 0.0397065244615078 + "score": 0.11209819465875626 } } }, "else": { + "operation": "boost", + "score": 0.07916736602783203 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0736815333366394 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08913807570934296 + }, + "else": { + "operation": "boost", + "score": 0.04275349900126457 + } + } + } + }, + "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_ClassStructUnion", "CCC_SymbolOrNewName", + "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.08143309503793716 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": 0.09254322201013565 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11820661276578903 + "score": 0.10717818140983582 }, "else": { "operation": "boost", - "score": 0.10873804241418839 + "score": 0.11573851108551025 } - }, - "else": { - "operation": "boost", - "score": 0.12092969566583633 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10175825655460358 }, "else": { "operation": "boost", - "score": 0.057423826307058334 + "score": 0.10615114122629166 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10156117379665375 }, "else": { "operation": "boost", - "score": 0.030966348946094513 + "score": 0.05360548943281174 } + }, + "else": { + "operation": "boost", + "score": 0.043897777795791626 } + }, + "else": { + "operation": "boost", + "score": -0.012066377326846123 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "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_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 133.5, "then": { "operation": "boost", - "score": 0.1068117767572403 + "score": 0.12374350428581238 }, "else": { - "operation": "boost", - "score": 0.045110173523426056 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.04402923583984375 + "score": 0.10518155992031097 } }, "else": { "operation": "boost", - "score": -0.022935830056667328 + "score": 0.10058087110519409 } }, "else": { @@ -27196,50 +27131,45 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Type", + "CCC_Namespace", "CCC_Symbol", - "CCC_UnionTag" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00036146678030490875 - }, - "else": { - "operation": "boost", - "score": 0.104139544069767 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25.5, + "threshold": 98.5, "then": { "operation": "boost", - "score": 0.12150655686855316 + "score": 0.1133391484618187 }, "else": { "operation": "boost", - "score": 0.08722130954265594 + "score": 0.09944246709346771 } }, "else": { "operation": "boost", - "score": 0.062367070466279984 + "score": 0.010576224885880947 } + }, + "else": { + "operation": "boost", + "score": 0.06562107056379318 } }, "else": { "operation": "boost", - "score": 0.0239563025534153 + "score": 0.024295581504702568 } } } @@ -27260,16 +27190,16 @@ "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.10283591598272324 + "score": 0.10139475017786026 }, "else": { "operation": "boost", - "score": 0.08974441885948181 + "score": 0.09052251279354095 } }, "else": { "operation": "boost", - "score": 0.04522610828280449 + "score": 0.054902780801057816 } }, "else": { @@ -27279,401 +27209,444 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 809.5, + "threshold": 141.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 245728.5, "then": { "operation": "boost", - "score": 0.09704101085662842 + "score": -0.15606990456581116 }, "else": { "operation": "boost", - "score": 0.10769888758659363 + "score": 0.10852286964654922 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1315232813358307 - }, - "else": { - "operation": "boost", - "score": 0.11564702540636063 - } - }, - "else": { - "operation": "boost", - "score": 0.06229192391037941 - } + "operation": "boost", + "score": 0.09324062615633011 }, "else": { "operation": "boost", - "score": 0.04508739337325096 + "score": 0.05635671690106392 } } }, "else": { "operation": "boost", - "score": 0.030676132068037987 + "score": 0.03863409161567688 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.04561445862054825 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3091.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.09565266966819763 + }, + "else": { + "operation": "boost", + "score": 0.08083406835794449 + } + }, + "else": { + "operation": "boost", + "score": 0.07633835077285767 + } }, "else": { - "operation": "boost", - "score": 0.08786077797412872 - } - }, - "else": { - "operation": "boost", - "score": 0.016293266788125038 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.12001683562994003 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Function" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1607862412929535 + }, + "else": { + "operation": "boost", + "score": 0.15713223814964294 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.13154682517051697 + "score": 0.09745560586452484 }, "else": { - "operation": "boost", - "score": 0.13242779672145844 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.07795534282922745 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1268874555826187 - }, - "else": { - "operation": "boost", - "score": 0.1243741363286972 - } + "operation": "boost", + "score": 0.1555061787366867 }, "else": { "operation": "boost", - "score": -0.19574615359306335 + "score": 0.14942072331905365 } + }, + "else": { + "operation": "boost", + "score": 0.13375723361968994 } - }, - "else": { - "operation": "boost", - "score": 0.09023842215538025 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08398956805467606 }, "else": { "operation": "boost", - "score": 0.01708587445318699 + "score": 0.13147927820682526 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "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, + "then": { + "operation": "boost", + "score": 0.08537527173757553 + }, + "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": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 296854.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09043784439563751 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.030169080942869186 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12782171368598938 - }, - "else": { - "operation": "boost", - "score": 0.13110461831092834 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07075171172618866 - } + "operation": "boost", + "score": 0.10753558576107025 }, "else": { "operation": "boost", - "score": 0.04081283137202263 + "score": 0.09221429377794266 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6499.0, + "operation": "boost", + "score": 0.07030769437551498 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6741.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.10710500180721283 + "score": 0.09257543087005615 }, "else": { "operation": "boost", - "score": 0.1310165375471115 + "score": 0.12156503647565842 } }, "else": { "operation": "boost", - "score": -0.01603865809738636 + "score": 0.04516209661960602 } + }, + "else": { + "operation": "boost", + "score": 0.013851573690772057 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0741790384054184 }, "else": { "operation": "boost", - "score": -0.04530815780162811 + "score": 0.0030118965078145266 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02455821819603443 + "score": 0.010339183732867241 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.10716240108013153 - }, - "else": { - "operation": "boost", - "score": 0.05571342632174492 - } + "operation": "boost", + "score": 0.07887139916419983 }, "else": { + "operation": "boost", + "score": -0.038348350673913956 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09332738071680069 + } + } + }, + "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": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08697590976953506 + "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_SymbolOrNewName", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.08288808912038803 + "score": 0.12461967766284943 }, "else": { "operation": "boost", - "score": 0.06341151893138885 + "score": 0.10257643461227417 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17974026501178741 }, "else": { - "operation": "boost", - "score": 0.10188724845647812 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09535535424947739 + }, + "else": { + "operation": "boost", + "score": 0.04440266638994217 + } } }, "else": { - "operation": "boost", - "score": 0.02778668887913227 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 763.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 29.5, "then": { - "operation": "boost", - "score": 0.09189768880605698 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 7.5, @@ -27681,142 +27654,160 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15092.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.0769498273730278 + "score": 0.15988294780254364 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1060.5, + "threshold": 82.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1302.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.11563973873853683 + "score": -0.13312655687332153 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.14186929166316986 - }, - "else": { - "operation": "boost", - "score": 0.1683233678340912 - } - }, - "else": { - "operation": "boost", - "score": 0.1438317745923996 - } + "operation": "boost", + "score": 0.16046662628650665 } }, "else": { "operation": "boost", - "score": 0.10594621300697327 + "score": 0.12904152274131775 } } }, "else": { "operation": "boost", - "score": 0.10543914884328842 + "score": 0.13881467282772064 } }, "else": { - "operation": "boost", - "score": 0.09381334483623505 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09698754549026489 + }, + "else": { + "operation": "boost", + "score": 0.12401089072227478 + } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 296854.0, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.06911173462867737 + "score": 0.08150684088468552 }, "else": { "operation": "boost", - "score": 0.11136452853679657 + "score": 0.07513368129730225 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02722049504518509 + }, + "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": "NumReferences", - "threshold": 78428.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05835540592670441 - }, - "else": { - "operation": "boost", - "score": 0.10920204967260361 - } + "operation": "boost", + "score": 0.13253383338451385 }, "else": { "operation": "boost", - "score": 0.08828527480363846 + "score": 0.1317012459039688 } - }, - "else": { - "operation": "boost", - "score": 0.020991280674934387 } + }, + "else": { + "operation": "boost", + "score": 0.09015722572803497 } - }, - "else": { - "operation": "boost", - "score": -0.008436476811766624 } + }, + "else": { + "operation": "boost", + "score": -0.04174390062689781 } }, "else": { "operation": "boost", - "score": -0.0832383781671524 + "score": -0.0637674406170845 } - }, - "else": { - "operation": "boost", - "score": -0.09223195165395737 } } } @@ -27841,15 +27832,15 @@ "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10231494903564453 + "score": 0.10103550553321838 }, "else": { "operation": "boost", - "score": 0.09746837615966797 + "score": 0.10221869498491287 } }, "else": { @@ -27862,7 +27853,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10255756229162216 + "score": 0.1030830591917038 }, "else": { "operation": "if_member", @@ -27872,11 +27863,11 @@ ], "then": { "operation": "boost", - "score": 0.10162579268217087 + "score": 0.10141000151634216 }, "else": { "operation": "boost", - "score": 0.06743768602609634 + "score": 0.08418097347021103 } } }, @@ -27888,11 +27879,11 @@ ], "then": { "operation": "boost", - "score": 0.0950905978679657 + "score": 0.09413398057222366 }, "else": { "operation": "boost", - "score": 0.04458523541688919 + "score": 0.04501327499747276 } } } @@ -27907,19 +27898,39 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06984450668096542 + "score": 0.07203096896409988 }, "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08741093426942825 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.08317942172288895 + }, + "else": { + "operation": "boost", + "score": 0.08868706971406937 + } }, "else": { - "operation": "boost", - "score": 0.07875257730484009 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.08225443959236145 + }, + "else": { + "operation": "boost", + "score": 0.068202443420887 + } } } }, @@ -27928,48 +27939,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04412749037146568 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10933342576026917 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10467441380023956 - }, - "else": { - "operation": "boost", - "score": -0.12460672855377197 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07260908931493759 - } + "operation": "boost", + "score": 0.07353859394788742 }, "else": { "operation": "boost", - "score": 0.03754175081849098 + "score": 0.03649128973484039 } } } @@ -27979,738 +27954,651 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06943415850400925 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09924423694610596 - }, - "else": { - "operation": "boost", - "score": 0.07881525903940201 - } - } + "operation": "boost", + "score": -0.06849317252635956 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 477.5, - "then": { - "operation": "boost", - "score": 0.10614030063152313 - }, - "else": { - "operation": "boost", - "score": 0.08505473285913467 - } - }, - "else": { - "operation": "boost", - "score": 0.10774227231740952 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.04478400945663452 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.0967990830540657 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1153382882475853 - }, - "else": { - "operation": "boost", - "score": 0.09227019548416138 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Type" + "CCC_ClassOrStructTag", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29185.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05057692527770996 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07286392152309418 + "score": 0.10781911015510559 }, "else": { "operation": "boost", - "score": 0.11243772506713867 + "score": 0.10656165331602097 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.060289885848760605 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07936207950115204 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10747617483139038 + }, + "else": { + "operation": "boost", + "score": 0.10931980609893799 + } + } }, "else": { "operation": "boost", - "score": 0.09371485561132431 + "score": 0.06743642687797546 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0462191142141819 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "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": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08396506309509277 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.07739503681659698 + "score": 0.12369024753570557 }, "else": { "operation": "boost", - "score": 0.029660968109965324 + "score": 0.10822884738445282 } + }, + "else": { + "operation": "boost", + "score": 0.0726684182882309 } }, "else": { "operation": "boost", - "score": 0.008384735323488712 + "score": 0.08337461203336716 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.11590508371591568 }, "else": { "operation": "boost", - "score": 0.03498495742678642 + "score": 0.05481072515249252 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.023702280595898628 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08470036089420319 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.10936008393764496 + "score": 0.09964317828416824 }, "else": { - "operation": "boost", - "score": 0.11728876084089279 + "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.10569539666175842 + "score": 0.05983489751815796 } }, "else": { "operation": "boost", - "score": 0.06894300132989883 + "score": -0.11391264945268631 } + } + }, + "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": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16870.0, "then": { "operation": "boost", - "score": 0.03206467255949974 + "score": 0.08530250936746597 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.11615294218063354 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "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_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06240653246641159 - }, - "else": { - "operation": "boost", - "score": 0.11226388067007065 - } - }, - "else": { - "operation": "boost", - "score": 0.08328984677791595 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06674075126647949 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12313087284564972 - }, - "else": { - "operation": "boost", - "score": 0.11930729448795319 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07452081143856049 - } - }, - "else": { - "operation": "boost", - "score": 0.030229896306991577 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12170378118753433 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 49999.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.021851403638720512 - }, - "else": { - "operation": "boost", - "score": 0.10788948833942413 - } - }, - "else": { - "operation": "boost", - "score": 0.11313352733850479 - } - }, - "else": { - "operation": "boost", - "score": 0.03006228804588318 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": 0.11019457876682281 - }, - "else": { - "operation": "boost", - "score": 0.08820822089910507 - } - }, - "else": { - "operation": "boost", - "score": 0.05897143483161926 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04665891081094742 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "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.0664832815527916 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12982141971588135 - }, - "else": { - "operation": "boost", - "score": 0.12126857042312622 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013723008334636688 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0986875519156456 - }, - "else": { - "operation": "boost", - "score": 0.10918403416872025 - } - }, - "else": { - "operation": "boost", - "score": 0.033303726464509964 - } - } - }, - "else": { - "operation": "boost", - "score": 0.030574126169085503 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.05169859528541565 + "score": 0.10870133340358734 }, "else": { "operation": "boost", - "score": -0.07508676499128342 + "score": 0.12418550997972488 } + }, + "else": { + "operation": "boost", + "score": 0.10936254262924194 } } + }, + "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": "boost", - "score": -0.10729008913040161 + "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": "NumReferences", - "threshold": 1492.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.0772269070148468 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11730174720287323 + "score": 0.08749158680438995 }, "else": { - "operation": "boost", - "score": 0.1083369106054306 + "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.11808299273252487 + "score": 0.10109912604093552 } + }, + "else": { + "operation": "boost", + "score": 0.04908088594675064 } }, "else": { + "operation": "boost", + "score": 0.040096551179885864 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Keyword", + "Variable", + "Destructor", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.0975489392876625 + "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.1320115476846695 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0718664601445198 + }, + "else": { + "operation": "boost", + "score": 0.09272085875272751 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0788327008485794 + }, + "else": { + "operation": "boost", + "score": 0.04865065589547157 + } + } }, "else": { "operation": "boost", - "score": 0.05313817039132118 + "score": -0.09809672832489014 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09810996055603027 }, "else": { - "operation": "boost", - "score": 0.02790028788149357 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03722847253084183 + } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.04645013064146042 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 113.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25.5, + "threshold": 133.5, "then": { + "operation": "boost", + "score": 0.11971444636583328 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 129.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.0, - "then": { - "operation": "boost", - "score": 0.1521909385919571 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1419805884361267 - }, - "else": { - "operation": "boost", - "score": 0.1389041692018509 - } - } + "operation": "boost", + "score": 0.12857386469841003 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11502619087696075 + "score": 0.137957364320755 }, "else": { "operation": "boost", - "score": 0.13302244246006012 + "score": 0.07620657980442047 } } + } + }, + "else": { + "operation": "boost", + "score": 0.1060355007648468 + } + }, + "else": { + "operation": "boost", + "score": 0.09792731702327728 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10433409363031387 + }, + "else": { + "operation": "boost", + "score": 0.1166694238781929 + } }, "else": { "operation": "boost", - "score": 0.09115682542324066 + "score": 0.09102116525173187 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.10465940088033676 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.12537674605846405 + }, + "else": { + "operation": "boost", + "score": 0.09889163076877594 + } }, "else": { "operation": "boost", - "score": 0.061006393283605576 + "score": 0.061724115163087845 } } }, "else": { "operation": "boost", - "score": 0.01946527324616909 + "score": 0.023331349715590477 } } } @@ -28724,14 +28612,23 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.0641263797879219 + "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.013933273032307625 + "score": 0.05086821690201759 } }, "else": { @@ -28741,53 +28638,80 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 452.5, + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 245728.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1088225394487381 - }, - "else": { - "operation": "boost", - "score": 0.08551312237977982 - } + "operation": "boost", + "score": -0.15405236184597015 }, "else": { + "operation": "boost", + "score": 0.10744518041610718 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.2814110219478607 + "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 + } }, "else": { "operation": "boost", - "score": 0.11063823848962784 + "score": 0.05218341201543808 } }, "else": { "operation": "boost", - "score": 0.058206234127283096 + "score": 0.05552844703197479 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05645189806818962 + }, + "else": { + "operation": "boost", + "score": 0.035518746823072433 } } - }, - "else": { - "operation": "boost", - "score": 0.036729246377944946 } }, "else": { @@ -28795,294 +28719,361 @@ "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07751098275184631 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": -0.07009044289588928 + }, + "else": { + "operation": "boost", + "score": -0.09322939813137054 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 308.5, + "threshold": 145.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 788.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2914.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09604073315858841 + }, + "else": { + "operation": "boost", + "score": 0.090487040579319 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.06714363396167755 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_Type" + "CCC_TopLevel", + "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14988.5, + "threshold": 199.5, "then": { - "operation": "boost", - "score": 0.09375658631324768 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 18.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10289044678211212 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 831.5, - "then": { - "operation": "boost", - "score": 0.11781886965036392 - }, - "else": { - "operation": "boost", - "score": 0.16771672666072845 - } - } + "operation": "boost", + "score": 0.13046082854270935 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1615.0, - "then": { - "operation": "boost", - "score": 0.09885577112436295 - }, - "else": { - "operation": "boost", - "score": 0.15187345445156097 - } - }, - "else": { - "operation": "boost", - "score": 0.11192500591278076 - } + "operation": "boost", + "score": 0.11739278584718704 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1061079204082489 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1532.0, + "threshold": 181.5, "then": { "operation": "boost", - "score": 0.10263563692569733 + "score": 0.14810633659362793 }, "else": { "operation": "boost", - "score": 0.13889969885349274 + "score": 0.14315468072891235 } } + }, + "else": { + "operation": "boost", + "score": 0.11238603293895721 } - }, - "else": { - "operation": "boost", - "score": 0.09154869616031647 } - }, - "else": { - "operation": "boost", - "score": 0.0783262699842453 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08204013109207153 + "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": 413.5, + "threshold": 147.5, "then": { - "operation": "boost", - "score": 0.1391487717628479 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.18112973868846893 + "score": 0.14650051295757294 }, "else": { "operation": "boost", - "score": 0.15878742933273315 + "score": 0.1285526156425476 } + }, + "else": { + "operation": "boost", + "score": 0.14194530248641968 } }, "else": { "operation": "boost", - "score": 0.11756277829408646 + "score": 0.10515067726373672 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07428868860006332 + }, + "else": { + "operation": "boost", + "score": -0.05142727121710777 + } + }, + "else": { + "operation": "boost", + "score": -0.002336851553991437 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.03974201902747154 + "score": 0.07986811548471451 }, "else": { - "operation": "boost", - "score": 0.0954483151435852 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.05218113958835602 + "score": 0.052515801042318344 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71954.5, + "threshold": 92148.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "operation": "boost", + "score": 0.105484239757061 + }, + "else": { + "operation": "boost", + "score": 0.09304501861333847 + } + }, + "else": { + "operation": "boost", + "score": 0.07171054184436798 + } + }, + "else": { + "operation": "boost", + "score": 0.03241107985377312 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12327039986848831 + }, + "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": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1076565682888031 - }, - "else": { - "operation": "boost", - "score": 0.06406039744615555 - } + "operation": "boost", + "score": 0.08696945756673813 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03877941519021988 - }, - "else": { - "operation": "boost", - "score": 0.10575851798057556 - } - }, - "else": { - "operation": "boost", - "score": 0.0489240363240242 - } + "operation": "boost", + "score": 0.05975402519106865 } }, "else": { "operation": "boost", - "score": 0.08700468391180038 + "score": 0.06044100970029831 } }, "else": { "operation": "boost", - "score": 0.007236940320581198 + "score": -0.12007568031549454 } - }, - "else": { - "operation": "boost", - "score": 0.03784993663430214 } } }, "else": { "operation": "boost", - "score": -0.006847409065812826 + "score": 0.014125242829322815 } + }, + "else": { + "operation": "boost", + "score": -0.04521164298057556 } - }, - "else": { - "operation": "boost", - "score": -0.03505103290081024 } } } @@ -29106,24 +29097,15 @@ "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10097426176071167 - }, - "else": { - "operation": "boost", - "score": 0.10189419984817505 - } + "operation": "boost", + "score": 0.10074210911989212 }, "else": { "operation": "boost", - "score": 0.09693792462348938 + "score": 0.10150332003831863 } }, "else": { @@ -29136,22 +29118,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10178861021995544 + "score": 0.10235167294740677 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10103567689657211 - }, - "else": { - "operation": "boost", - "score": 0.0661257952451706 - } + "operation": "boost", + "score": 0.10018783807754517 } }, "else": { @@ -29162,11 +29133,11 @@ ], "then": { "operation": "boost", - "score": 0.09368909895420074 + "score": 0.09255963563919067 }, "else": { "operation": "boost", - "score": 0.03977050632238388 + "score": 0.03744826838374138 } } } @@ -29180,17 +29151,8 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08078170567750931 - }, - "else": { - "operation": "boost", - "score": 0.05190939083695412 - } + "operation": "boost", + "score": 0.06957267224788666 }, "else": { "operation": "if_greater", @@ -29198,64 +29160,36 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08541058003902435 + "score": 0.08669762313365936 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.07998327165842056 + "score": 0.08028707653284073 }, "else": { "operation": "boost", - "score": 0.06645836681127548 + "score": 0.06545548141002655 } } } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17886483669281006 - }, - "else": { - "operation": "boost", - "score": 0.10980907082557678 - } - }, - "else": { - "operation": "boost", - "score": 0.09844259917736053 - } + "operation": "boost", + "score": 0.07023951411247253 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06912992149591446 - }, - "else": { - "operation": "boost", - "score": 0.03414435312151909 - } + "operation": "boost", + "score": 0.03577946871519089 } } } @@ -29265,605 +29199,639 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.09602256119251251 + "score": 0.07459260523319244 }, "else": { "operation": "boost", - "score": 0.09923789650201797 + "score": 0.047398027032613754 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06377524137496948 - }, - "else": { - "operation": "boost", - "score": 0.07523408532142639 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 475.5, - "then": { - "operation": "boost", - "score": 0.10397814959287643 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.07972785085439682 - }, - "else": { - "operation": "boost", - "score": 0.10403471440076828 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.048316363245248795 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.059964071959257126 + }, + "else": { + "operation": "boost", + "score": 0.10333514213562012 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0768369808793068 + }, + "else": { + "operation": "boost", + "score": 0.048937972635030746 + } + } }, "else": { - "operation": "boost", - "score": 0.0349167101085186 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34611.5, + "then": { + "operation": "boost", + "score": 0.10401178896427155 + }, + "else": { + "operation": "boost", + "score": 0.07448448240756989 + } + }, + "else": { + "operation": "boost", + "score": 0.04733862355351448 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09278217703104019 + "score": 0.027821049094200134 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.11376544088125229 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10394494235515594 + }, + "else": { + "operation": "boost", + "score": 0.10332600027322769 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0684368759393692 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10545133054256439 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.044152867048978806 + }, + "else": { + "operation": "boost", + "score": 0.10648705810308456 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06440615653991699 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06082760542631149 + } }, "else": { "operation": "boost", - "score": 0.08682199567556381 + "score": 0.045046061277389526 } } } } + }, + "else": { + "operation": "boost", + "score": -0.11481451988220215 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09830570966005325 + }, + "else": { + "operation": "boost", + "score": 0.06723029166460037 + } + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10838141292333603 + "score": 0.09723813831806183 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.11737262457609177 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 670.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09373289346694946 + }, + "else": { + "operation": "boost", + "score": 0.11376242339611053 + } + }, + "else": { + "operation": "boost", + "score": 0.10607680678367615 + } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { "operation": "boost", - "score": 0.10139427334070206 + "score": 0.08484400063753128 }, "else": { "operation": "boost", - "score": 0.10865137726068497 + "score": 0.021210720762610435 } } } - }, - "else": { - "operation": "boost", - "score": 0.05643971636891365 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Variable", + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.04066738858819008 + "score": 0.11764760315418243 }, "else": { - "operation": "boost", - "score": 0.10658623278141022 + "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.1380356103181839 + "score": 0.061774082481861115 } }, "else": { - "operation": "boost", - "score": 0.06356912106275558 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48687.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.027462609112262726 + }, + "else": { + "operation": "boost", + "score": 0.09720822423696518 + } + }, + "else": { + "operation": "boost", + "score": 0.08897099643945694 + } } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.016489721834659576 + "score": 0.10093683004379272 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007355343084782362 - }, - "else": { - "operation": "boost", - "score": 0.05024437606334686 - } + "operation": "boost", + "score": 0.040678057819604874 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1195.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08229685574769974 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10326255857944489 + }, + "else": { + "operation": "boost", + "score": 0.11192294955253601 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09690593928098679 + } + }, + "else": { + "operation": "boost", + "score": 0.04732656851410866 + } + }, + "else": { + "operation": "boost", + "score": 0.040415145456790924 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31775.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", "Variable", - "Namespace", - "Type" + "Destructor", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.07805802673101425 + "score": 0.04939870536327362 }, "else": { "operation": "boost", - "score": 0.11077507585287094 + "score": -0.12314438074827194 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.05533948540687561 + "score": 0.08142505586147308 }, "else": { "operation": "boost", - "score": 0.09193756431341171 + "score": 0.06889687478542328 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252796.0, - "then": { - "operation": "boost", - "score": 0.1201421394944191 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "boost", - "score": 0.023189514875411987 - }, - "else": { - "operation": "boost", - "score": 0.1094321683049202 - } - } + "operation": "boost", + "score": -0.09711913764476776 } }, "else": { "operation": "boost", - "score": 0.05721262842416763 + "score": -0.03379612788558006 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.073412224650383 + "score": 0.15285837650299072 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11648157984018326 - }, - "else": { - "operation": "boost", - "score": 0.10798004269599915 - } - }, - "else": { - "operation": "boost", - "score": 0.1165626272559166 - } + "operation": "boost", + "score": 0.12025311589241028 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0952945277094841 - }, - "else": { - "operation": "boost", - "score": 0.0500744953751564 - } + "operation": "boost", + "score": -0.14675216376781464 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10364629328250885 + "score": 0.10088285058736801 }, "else": { "operation": "boost", - "score": 0.03306063637137413 + "score": 0.09571295231580734 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Symbol" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.0, + "feature": "FilterLength", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.07009505480527878 + "score": 0.1718037873506546 }, "else": { - "operation": "boost", - "score": 0.10355578362941742 - } - }, - "else": { - "operation": "boost", - "score": 0.07521528750658035 - } - }, - "else": { - "operation": "boost", - "score": 0.024753862991929054 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.07027917355298996 - }, - "else": { - "operation": "boost", - "score": 0.06324100494384766 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.041272833943367004 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.08591361343860626 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 67.5, "then": { "operation": "boost", - "score": 0.11694040894508362 + "score": 0.1358511745929718 }, "else": { "operation": "boost", - "score": 0.058899279683828354 + "score": 0.07886702567338943 } - }, - "else": { - "operation": "boost", - "score": 0.05051853135228157 - } - } - }, - "else": { - "operation": "boost", - "score": 0.014918687753379345 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.03249033913016319 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, - "then": { - "operation": "boost", - "score": 0.13447150588035583 - }, - "else": { - "operation": "boost", - "score": 0.12053848057985306 } }, "else": { "operation": "boost", - "score": 0.118424192070961 + "score": 0.1302683800458908 } }, "else": { "operation": "boost", - "score": 0.07095729559659958 + "score": 0.12030066549777985 } + }, + "else": { + "operation": "boost", + "score": 0.0909452959895134 } }, "else": { "operation": "boost", - "score": -0.010041127912700176 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.03726339340209961 - }, - "else": { - "operation": "boost", - "score": -0.09849231690168381 + "score": 0.0642714872956276 } }, "else": { "operation": "boost", - "score": -0.03535684943199158 + "score": 0.02209080196917057 } } } @@ -29879,34 +29847,12 @@ "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.10210424661636353 - }, - "else": { - "operation": "boost", - "score": 0.0855969488620758 - } + "operation": "boost", + "score": 0.09603098034858704 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.07213668525218964 - }, - "else": { - "operation": "boost", - "score": 0.020228805020451546 - } + "operation": "boost", + "score": 0.04653044790029526 } }, "else": { @@ -29916,442 +29862,508 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 452.5, + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { + "operation": "boost", + "score": 0.082788847386837 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.09702063351869583 + "score": 0.11488429456949234 }, "else": { "operation": "boost", - "score": 0.10337704420089722 + "score": 0.0921257734298706 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 141.5, + "then": { + "operation": "boost", + "score": 0.06095041707158089 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12865029275417328 - }, - "else": { - "operation": "boost", - "score": 0.11428211629390717 - } - }, - "else": { - "operation": "boost", - "score": 0.06269636750221252 - } + "operation": "boost", + "score": 0.05634601414203644 }, "else": { "operation": "boost", - "score": 0.049228399991989136 + "score": 0.030656760558485985 } } - }, - "else": { - "operation": "boost", - "score": 0.03365390747785568 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07288984209299088 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10781064629554749 + }, + "else": { + "operation": "boost", + "score": 0.06530530750751495 + } }, "else": { "operation": "boost", - "score": 0.007631784304976463 + "score": -0.04247163236141205 } }, "else": { + "operation": "boost", + "score": -0.06536716222763062 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92290.5, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.10071196407079697 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.07794711738824844 + "score": 0.10401970893144608 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "boost", + "score": 0.09624484181404114 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125771.5, "then": { + "operation": "boost", + "score": 0.10065103322267532 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10011031478643417 + }, + "else": { + "operation": "boost", + "score": 0.1088843047618866 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FileScope" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 104520.5, "then": { "operation": "boost", - "score": 0.07103056460618973 + "score": -0.16752617061138153 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12218212336301804 - }, - "else": { - "operation": "boost", - "score": 0.08390726894140244 - } + "operation": "boost", + "score": 0.13075588643550873 } }, "else": { "operation": "boost", - "score": 0.07276590913534164 + "score": 0.14890994131565094 } + } + } + }, + "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.06745424121618271 + "score": 0.09798572957515717 } }, "else": { "operation": "boost", - "score": 0.050259847193956375 + "score": 0.068008653819561 } } - }, - "else": { - "operation": "boost", - "score": -0.09592819958925247 } + }, + "else": { + "operation": "boost", + "score": 0.0077086882665753365 } }, "else": { "operation": "boost", - "score": -0.006533997133374214 + "score": 0.05078461021184921 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 308.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 150.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417.5, - "then": { - "operation": "boost", - "score": 0.12620167434215546 - }, - "else": { - "operation": "boost", - "score": 0.18430009484291077 - } - }, - "else": { - "operation": "boost", - "score": 0.11446119844913483 - } + "operation": "boost", + "score": 0.07318583875894547 }, "else": { "operation": "boost", - "score": 0.15069833397865295 + "score": 0.03637876361608505 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 662.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13589.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.08151361346244812 + "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 + } + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11503397673368454 + "score": 0.08371025323867798 }, "else": { "operation": "boost", - "score": 0.1044897511601448 + "score": 0.10746051371097565 } } }, "else": { "operation": "boost", - "score": 0.11524175852537155 + "score": 0.09067565202713013 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1278681606054306 + }, + "else": { + "operation": "boost", + "score": 0.11679862439632416 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09716345369815826 + "score": 0.034502483904361725 }, "else": { - "operation": "boost", - "score": -0.18655560910701752 + "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": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "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.11047524958848953 + "score": 0.005731381010264158 }, "else": { - "operation": "boost", - "score": 0.10147083550691605 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04419950395822525 - } - }, - "else": { - "operation": "boost", - "score": 0.05305188149213791 + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00810820609331131 + } + } } }, "else": { - "operation": "boost", - "score": -0.006717059761285782 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0729912742972374 + } + }, + "else": { + "operation": "boost", + "score": 0.04749932885169983 + } } } }, "else": { "operation": "boost", - "score": -0.057582806795835495 + "score": -0.007504863664507866 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10277713090181351 - }, - "else": { - "operation": "boost", - "score": 0.07797021418809891 - } - }, - "else": { - "operation": "boost", - "score": 0.0625014528632164 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08319050818681717 - }, - "else": { - "operation": "boost", - "score": 0.07445221394300461 - } - }, - "else": { - "operation": "boost", - "score": 0.01557244174182415 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263945.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11131704598665237 - }, - "else": { - "operation": "boost", - "score": 0.04910186305642128 - } + "operation": "boost", + "score": -0.04367159679532051 }, "else": { "operation": "boost", - "score": 0.09054472297430038 + "score": -0.0670025423169136 } - }, - "else": { - "operation": "boost", - "score": -0.06598731875419617 } } } @@ -30376,15 +30388,15 @@ "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10124675929546356 + "score": 0.09998769313097 }, "else": { "operation": "boost", - "score": 0.09285930544137955 + "score": 0.10085102915763855 } }, "else": { @@ -30397,22 +30409,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1014610007405281 + "score": 0.10179370641708374 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10012288391590118 - }, - "else": { - "operation": "boost", - "score": 0.06332584470510483 - } + "operation": "boost", + "score": 0.09978199005126953 } }, "else": { @@ -30423,11 +30424,11 @@ ], "then": { "operation": "boost", - "score": 0.09250196814537048 + "score": 0.09134194999933243 }, "else": { "operation": "boost", - "score": 0.043563105165958405 + "score": 0.03814175724983215 } } } @@ -30441,17 +30442,8 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07835584133863449 - }, - "else": { - "operation": "boost", - "score": 0.048411041498184204 - } + "operation": "boost", + "score": 0.06621427834033966 }, "else": { "operation": "if_greater", @@ -30459,11 +30451,11 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08338829129934311 + "score": 0.08467020094394684 }, "else": { "operation": "boost", - "score": 0.07253363728523254 + "score": 0.07330860942602158 } } }, @@ -30472,30 +30464,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06026524305343628 - }, - "else": { - "operation": "boost", - "score": 0.1038823276758194 - } - }, - "else": { - "operation": "boost", - "score": 0.06575409322977066 - } + "operation": "boost", + "score": 0.06761990487575531 }, "else": { "operation": "boost", - "score": 0.03138946369290352 + "score": 0.03161162883043289 } } } @@ -30514,19 +30488,19 @@ "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09498561918735504 + "score": 0.11162705719470978 }, "else": { "operation": "boost", - "score": 0.09923762828111649 + "score": -0.14111103117465973 } }, "else": { @@ -30535,38 +30509,47 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.061987437307834625 + "score": 0.06461283564567566 }, "else": { "operation": "boost", - "score": 0.07265685498714447 + "score": 0.07449112832546234 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 116.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.09852899610996246 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 475.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.10139583796262741 + "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.07110645622015 + "score": 0.08542577177286148 } - }, - "else": { - "operation": "boost", - "score": 0.10307545959949493 } }, "else": { @@ -30574,550 +30557,555 @@ "feature": "FileProximityDistance", "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.041947148740291595 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.08591396361589432 - }, - "else": { - "operation": "boost", - "score": 0.10315991938114166 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.09861242771148682 + "score": 0.04951534792780876 }, "else": { "operation": "boost", - "score": 0.10781523585319519 + "score": 0.055241625756025314 } }, "else": { - "operation": "boost", - "score": 0.05235084518790245 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04344397038221359 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08172253519296646 + } + }, + "else": { + "operation": "boost", + "score": 0.12550878524780273 + } }, "else": { "operation": "boost", - "score": 0.10361098498106003 + "score": 0.12883447110652924 } }, "else": { "operation": "boost", - "score": -0.1097855344414711 + "score": 0.08693362772464752 } }, "else": { "operation": "boost", - "score": 0.06370905786752701 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011898260563611984 - }, - "else": { - "operation": "boost", - "score": 0.04163602367043495 + "score": 0.0953967496752739 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1178.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": -0.08318805694580078 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31775.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.08605385571718216 - }, - "else": { - "operation": "boost", - "score": 0.042782921344041824 - } - }, - "else": { - "operation": "boost", - "score": 0.05422152578830719 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14674.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06036337837576866 + "score": 0.0478086955845356 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6235.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1068221852183342 + "score": 0.10123523324728012 }, "else": { "operation": "boost", - "score": 0.11107225716114044 + "score": 0.09934757649898529 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1666.5, - "then": { - "operation": "boost", - "score": 0.095655657351017 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.16000990569591522 - }, - "else": { - "operation": "boost", - "score": 0.16301117837429047 - } - }, - "else": { - "operation": "boost", - "score": 0.19932319223880768 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1563.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1581.5, - "then": { - "operation": "boost", - "score": 0.1494448482990265 - }, - "else": { - "operation": "boost", - "score": 0.1551566869020462 - } - }, - "else": { - "operation": "boost", - "score": 0.14693135023117065 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1180.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07316617667675018 + "score": 0.07281392812728882 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.11385847628116608 + "score": 0.10303256660699844 }, "else": { "operation": "boost", - "score": 0.11419351398944855 + "score": 0.10186795890331268 } } }, "else": { "operation": "boost", - "score": 0.0744856595993042 + "score": 0.05925663560628891 } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.09586746245622635 }, "else": { "operation": "boost", - "score": 0.1668325513601303 + "score": 0.06453591585159302 } }, "else": { - "operation": "boost", - "score": 0.035817261785268784 + "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": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3005.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 44699.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1905013769865036 + "score": -0.0019600028172135353 }, "else": { "operation": "boost", - "score": 0.1673155277967453 + "score": 0.09452009201049805 } }, "else": { "operation": "boost", - "score": 0.11372430622577667 + "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", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "CCC_UnionTag", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 42.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.015171756036579609 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": 0.10092204064130783 - }, - "else": { - "operation": "boost", - "score": 0.08069773018360138 - } + "operation": "boost", + "score": 0.0964503362774849 }, "else": { "operation": "boost", - "score": 0.06975903362035751 + "score": 0.12225674837827682 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50016.0, + "feature": "NumReferences", + "threshold": 192.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.11633560061454773 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 182.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.562165379524231 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.1946628987789154 - }, - "else": { - "operation": "boost", - "score": 0.10420562326908112 - } - } + "operation": "boost", + "score": 0.12632471323013306 }, "else": { "operation": "boost", - "score": 0.11259704828262329 + "score": 0.12119748443365097 } - }, - "else": { - "operation": "boost", - "score": 0.021767260506749153 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.0738423690199852 + "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.06028750166296959 + "score": 0.09614239633083344 } } } + }, + "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": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.035119786858558655 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09010626375675201 + }, + "else": { + "operation": "boost", + "score": -3.087921504629776e-05 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, - "then": { - "operation": "boost", - "score": 0.12957069277763367 - }, - "else": { - "operation": "boost", - "score": 0.11618912220001221 - } + "operation": "boost", + "score": 0.12278363108634949 }, "else": { "operation": "boost", - "score": 0.11333989351987839 + "score": 0.11016308516263962 } }, "else": { "operation": "boost", - "score": 0.06519083678722382 + "score": 0.083390973508358 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.04290703311562538 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 27.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.08518723398447037 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07810868322849274 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09988368302583694 + }, + "else": { + "operation": "boost", + "score": 0.10985642671585083 + } + } }, "else": { "operation": "boost", - "score": 0.06728321313858032 + "score": 0.09177011251449585 } }, "else": { "operation": "boost", - "score": 0.030515948310494423 + "score": 0.04026748985052109 } }, "else": { "operation": "boost", - "score": 0.01241842657327652 + "score": 0.06158693507313728 } + }, + "else": { + "operation": "boost", + "score": 0.03339335322380066 } - }, - "else": { - "operation": "boost", - "score": -0.005623947363346815 } } } }, "else": { "operation": "boost", - "score": -0.014197301119565964 + "score": -0.02048930712044239 } } } @@ -31126,483 +31114,511 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 310.5, + "threshold": 443558.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "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": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 796.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3091.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.09234050661325455 + }, + "else": { + "operation": "boost", + "score": 0.0775487944483757 + } + }, + "else": { + "operation": "boost", + "score": 0.06952771544456482 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11259087920188904 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" + "Function" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14988.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.0829562246799469 + "score": 0.14540995657444 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 806.5, - "then": { - "operation": "boost", - "score": 0.11089473962783813 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.14793246984481812 - }, - "else": { - "operation": "boost", - "score": -0.10934748500585556 - } - } + "operation": "boost", + "score": 0.13928453624248505 } }, "else": { - "operation": "boost", - "score": 0.09500222653150558 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10971711575984955 - }, - "else": { - "operation": "boost", - "score": 0.07921188324689865 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160.5, + "then": { + "operation": "boost", + "score": 0.11919205635786057 + }, + "else": { + "operation": "boost", + "score": 0.13782206177711487 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 799.5, - "then": { - "operation": "boost", - "score": 0.0755147784948349 }, "else": { "operation": "boost", - "score": 0.17314784228801727 + "score": 0.09834462404251099 } } - }, - "else": { - "operation": "boost", - "score": 0.11021316796541214 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 413.5, - "then": { - "operation": "boost", - "score": 0.13918708264827728 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12776988744735718 - }, - "else": { - "operation": "boost", - "score": 0.1554858237504959 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11509637534618378 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08285542577505112 + "score": 0.05666632205247879 }, "else": { "operation": "boost", - "score": 0.0566609725356102 + "score": -0.005363681819289923 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.062246788293123245 - }, - "else": { - "operation": "boost", - "score": 0.019397592172026634 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.2082969844341278 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12361838668584824 + }, + "else": { + "operation": "boost", + "score": 0.10714451223611832 + } }, "else": { "operation": "boost", - "score": 0.11110053211450577 + "score": 0.08018286526203156 } }, "else": { - "operation": "boost", - "score": 0.0639091432094574 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3078.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.023112675175070763 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10177362710237503 + } }, "else": { "operation": "boost", - "score": 0.06524552404880524 + "score": 0.0485927052795887 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04072462394833565 - }, - "else": { - "operation": "boost", - "score": 0.14632435142993927 - } + "operation": "boost", + "score": 0.02700420282781124 } - }, - "else": { - "operation": "boost", - "score": -0.009377454407513142 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.021269306540489197 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 31.5, "then": { + "operation": "boost", + "score": -0.02371092699468136 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], - "then": { - "operation": "boost", - "score": 0.09295368194580078 - }, - "else": { - "operation": "boost", - "score": 0.0723208636045456 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", + "CCC_ClassStructUnion", "CCC_SymbolOrNewName", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.058441802859306335 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Type" ], - "then": { - "operation": "boost", - "score": 0.05396736413240433 - }, - "else": { - "operation": "boost", - "score": 0.03382081910967827 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005216589663177729 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.07732100039720535 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07569099962711334 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.051436856389045715 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14794430136680603 + "score": -0.009202755987644196 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": 0.10336194187402725 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.1517769694328308 + "score": 0.09987715631723404 }, "else": { "operation": "boost", - "score": 0.13969451189041138 + "score": 0.07489126920700073 } }, "else": { "operation": "boost", - "score": 0.14858859777450562 + "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_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 14.0, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.2229032665491104 + "score": -0.050409648567438126 }, "else": { - "operation": "boost", - "score": 0.15333962440490723 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.14516116678714752 + }, + "else": { + "operation": "boost", + "score": 0.19257663190364838 + } } }, "else": { "operation": "boost", - "score": 0.1587989330291748 + "score": 0.014219434931874275 } }, "else": { "operation": "boost", - "score": 0.055832501500844955 + "score": 0.06198708340525627 } } + }, + "else": { + "operation": "boost", + "score": 0.04975070804357529 } }, "else": { + "operation": "boost", + "score": 0.03803709149360657 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013146830722689629 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.07979728281497955 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10053598135709763 + }, + "else": { + "operation": "boost", + "score": 0.08828029781579971 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "boost", + "score": 0.10033559054136276 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, "then": { - "operation": "boost", - "score": 0.1400701254606247 + "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.13376164436340332 + "score": 0.10796554386615753 } - }, - "else": { - "operation": "boost", - "score": 0.09801055490970612 } + }, + "else": { + "operation": "boost", + "score": 0.05841028690338135 } }, "else": { "operation": "boost", - "score": 0.07203160971403122 + "score": -0.016563281416893005 } - }, - "else": { - "operation": "boost", - "score": -0.00452529126778245 } } + }, + "else": { + "operation": "boost", + "score": -0.08898825943470001 } - }, - "else": { - "operation": "boost", - "score": -0.08507858961820602 } } } @@ -31625,15 +31641,15 @@ "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10058552026748657 + "score": 0.09932459890842438 }, "else": { "operation": "boost", - "score": 0.09208158403635025 + "score": 0.10004948824644089 } }, "else": { @@ -31646,38 +31662,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1003037691116333 + "score": 0.10092539340257645 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09918798506259918 - }, - "else": { - "operation": "boost", - "score": 0.06760644912719727 - } + "operation": "boost", + "score": 0.09870356321334839 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09008283913135529 - }, - "else": { - "operation": "boost", - "score": 0.04405805096030235 - } + "operation": "boost", + "score": 0.0888437032699585 } } }, @@ -31690,17 +31684,8 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0763227790594101 - }, - "else": { - "operation": "boost", - "score": 0.04631395265460014 - } + "operation": "boost", + "score": 0.0635547786951065 }, "else": { "operation": "if_greater", @@ -31708,23 +31693,11 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08130790293216705 + "score": 0.08285298198461533 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07461027801036835 - }, - "else": { - "operation": "boost", - "score": 0.05844106897711754 - } + "operation": "boost", + "score": 0.07058992236852646 } } }, @@ -31733,48 +31706,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05569762736558914 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1049366146326065 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10209879279136658 - }, - "else": { - "operation": "boost", - "score": -0.13169428706169128 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06238251179456711 - } + "operation": "boost", + "score": 0.06433539092540741 }, "else": { "operation": "boost", - "score": 0.029134495183825493 + "score": 0.029646653681993484 } } } @@ -31789,64 +31726,64 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 112.5, "then": { + "operation": "boost", + "score": 0.09926255792379379 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09296325594186783 - }, - "else": { - "operation": "boost", - "score": 0.0981934517621994 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05732179060578346 + "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.07014225423336029 + "score": 0.07372123003005981 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "boost", - "score": 0.10165727883577347 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 9.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function" + "ClassScope" ], "then": { "operation": "boost", - "score": 0.05125463008880615 + "score": 0.0493784174323082 }, "else": { "operation": "boost", - "score": 0.01715552993118763 + "score": 0.06768085807561874 } }, "else": { @@ -31855,11 +31792,31 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09640952944755554 + "score": 0.10372419655323029 }, "else": { - "operation": "boost", - "score": 0.09440546482801437 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10369132459163666 + }, + "else": { + "operation": "boost", + "score": 0.11200492829084396 + } + }, + "else": { + "operation": "boost", + "score": 0.056193456053733826 + } } } } @@ -31869,89 +31826,98 @@ "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope" + "ClassScope", + "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_Symbol" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09596432000398636 - }, - "else": { - "operation": "boost", - "score": 0.10467703640460968 - } - }, - "else": { - "operation": "boost", - "score": 0.056593459099531174 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.032353173941373825 + "score": 0.0926426500082016 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10109248012304306 + "score": 0.07106882333755493 }, "else": { "operation": "boost", - "score": -0.07903067767620087 + "score": 0.029507754370570183 } } }, "else": { - "operation": "boost", - "score": 0.059730250388383865 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.015087341889739037 + }, + "else": { + "operation": "boost", + "score": 0.08522047102451324 + } + }, + "else": { + "operation": "boost", + "score": 0.041113171726465225 + } } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02270159311592579 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type", + "Namespace" ], "then": { "operation": "if_member", @@ -31961,930 +31927,978 @@ ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07211092114448547 + "score": 0.0997401773929596 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0866740345954895 - }, - "else": { - "operation": "boost", - "score": 0.11309048533439636 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.05771796405315399 + "score": -0.0484488382935524 }, "else": { - "operation": "boost", - "score": 0.12166883051395416 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10133979469537735 + }, + "else": { + "operation": "boost", + "score": 0.09963186830282211 + } } }, "else": { "operation": "boost", - "score": 0.05394703894853592 - } - }, - "else": { - "operation": "boost", - "score": 0.055292628705501556 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09678227454423904 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.017228957265615463 - }, - "else": { - "operation": "boost", - "score": 0.060801103711128235 + "score": 0.05599016696214676 } } }, "else": { "operation": "boost", - "score": -0.06070546433329582 + "score": 0.05465397611260414 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.05909248813986778 }, "else": { "operation": "boost", - "score": -0.12542285025119781 + "score": 0.038136012852191925 } } } + }, + "else": { + "operation": "boost", + "score": -0.1132279559969902 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1178.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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": 31775.0, + "threshold": 15623.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.08363104611635208 - }, - "else": { - "operation": "boost", - "score": 0.04117938131093979 - } + "operation": "boost", + "score": 0.08450575917959213 }, "else": { - "operation": "boost", - "score": 0.05210615321993828 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1444.5, - "then": { - "operation": "boost", - "score": 0.11017139256000519 - }, - "else": { - "operation": "boost", - "score": 0.16165819764137268 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14669.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.07481574267148972 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5459.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.11125974357128143 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1637.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10516256839036942 + "score": 0.06980862468481064 }, "else": { - "operation": "boost", - "score": 0.1561763435602188 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09729903936386108 + }, + "else": { + "operation": "boost", + "score": 0.10851673036813736 + } } }, "else": { "operation": "boost", - "score": 0.10763619840145111 + "score": 0.08874266594648361 } + }, + "else": { + "operation": "boost", + "score": 0.07381711900234222 } + }, + "else": { + "operation": "boost", + "score": 0.022372279316186905 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.056092433631420135 + }, + "else": { + "operation": "boost", + "score": 0.05168671905994415 } } }, "else": { - "operation": "boost", - "score": 0.08540329337120056 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1180.5, + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224059.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.04609879106283188 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06935365498065948 + "score": 0.09761855751276016 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 123.5, "then": { - "operation": "boost", - "score": 0.11359446495771408 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 124.5, + "then": { + "operation": "boost", + "score": 0.1173693835735321 + }, + "else": { + "operation": "boost", + "score": 0.1665211170911789 + } }, "else": { "operation": "boost", - "score": 0.11312974989414215 + "score": 0.13381488621234894 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0176190584897995 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09093871712684631 - }, - "else": { - "operation": "boost", - "score": 0.037870123982429504 - } + "operation": "boost", + "score": 0.06722558289766312 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06967971473932266 }, "else": { "operation": "boost", - "score": 0.15255901217460632 + "score": 0.021842539310455322 } }, "else": { "operation": "boost", - "score": 0.03277275338768959 + "score": 0.047136612236499786 } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.020343076437711716 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], + "operation": "boost", + "score": 0.09133344888687134 + }, + "else": { + "operation": "boost", + "score": 0.08585544675588608 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09961261600255966 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.058774322271347046 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 212125.0, "then": { "operation": "boost", - "score": 0.17481958866119385 + "score": 0.06619451940059662 }, "else": { - "operation": "boost", - "score": 0.15373781323432922 + "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 + } } }, "else": { - "operation": "boost", - "score": 0.11256293207406998 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 152619.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": -0.07916650176048279 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.016139429062604904 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" + "Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": 0.0982566550374031 - }, - "else": { - "operation": "boost", - "score": 0.07710524648427963 - } + "operation": "boost", + "score": 0.09606136381626129 }, "else": { "operation": "boost", - "score": 0.06338081508874893 + "score": 0.032746024429798126 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.422405868768692 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.11937391757965088 - }, - "else": { - "operation": "boost", - "score": 0.10223562270402908 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10702461749315262 - } - }, - "else": { - "operation": "boost", - "score": 0.019848503172397614 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": 0.07111459970474243 - }, - "else": { - "operation": "boost", - "score": 0.056077852845191956 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.03229732811450958 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.09377473592758179 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Symbol" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" ], "then": { "operation": "boost", - "score": 0.1265771985054016 + "score": 0.10761624574661255 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.12924957275390625 - }, - "else": { - "operation": "boost", - "score": 0.11065498739480972 - } + "operation": "boost", + "score": -0.334852397441864 } - }, - "else": { - "operation": "boost", - "score": 0.10909061878919601 } - }, - "else": { - "operation": "boost", - "score": 0.062142834067344666 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.040926605463027954 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.08022648841142654 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0676141306757927 - }, - "else": { - "operation": "boost", - "score": 0.02852749265730381 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011347776278853416 - } + "operation": "boost", + "score": 0.0654779002070427 } - }, - "else": { - "operation": "boost", - "score": -0.004367976449429989 } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.03671783208847046 - }, - "else": { - "operation": "boost", - "score": -0.09717506915330887 - } - }, - "else": { - "operation": "boost", - "score": -0.03422337770462036 - } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 325.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.18950331211090088 + "score": 0.0645832046866417 }, "else": { "operation": "boost", - "score": 0.11170809715986252 + "score": -0.010259861126542091 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.08898892253637314 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.15198639035224915 - }, - "else": { - "operation": "boost", - "score": 0.10332010686397552 - } + "operation": "boost", + "score": 0.09327362477779388 }, "else": { "operation": "boost", - "score": 0.06922764331102371 + "score": 0.04717090353369713 } - }, - "else": { - "operation": "boost", - "score": 0.050332505255937576 } } - }, - "else": { - "operation": "boost", - "score": 0.03594011440873146 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "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": "boost", + "score": 0.05575476959347725 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61387.0, + "threshold": 130.5, "then": { "operation": "boost", - "score": 0.060968879610300064 + "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" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.01047208160161972 - }, - "else": { - "operation": "boost", - "score": 0.07134091854095459 - } + "operation": "boost", + "score": 0.05852504447102547 }, "else": { "operation": "boost", - "score": 0.08745923638343811 + "score": 0.08895762264728546 } }, "else": { + "operation": "boost", + "score": 0.0026062980759888887 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06938191503286362 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37723.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.12152999639511108 - }, - "else": { - "operation": "boost", - "score": -0.15344879031181335 - } - }, - "else": { - "operation": "boost", - "score": 0.0673220083117485 - } - } + "operation": "boost", + "score": 0.06009600684046745 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.005098283290863037 - }, - "else": { - "operation": "boost", - "score": 0.07325638085603714 - } + "operation": "boost", + "score": 0.02026878297328949 } + }, + "else": { + "operation": "boost", + "score": -0.07258697599172592 } } }, "else": { - "operation": "boost", - "score": -0.011163243092596531 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "boost", - "score": -0.0940132811665535 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03570106253027916 - }, - "else": { - "operation": "boost", - "score": 0.08913756161928177 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.07459411025047302 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.14048387110233307 + }, + "else": { + "operation": "boost", + "score": 0.09724607318639755 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12021595984697342 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08711062371730804 + }, + "else": { + "operation": "boost", + "score": 0.13435092568397522 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12736129760742188 + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 116.5, "then": { "operation": "boost", - "score": 0.10182815790176392 + "score": 0.11654260754585266 }, "else": { "operation": "boost", - "score": 0.04553927853703499 + "score": 0.11016272753477097 } } }, "else": { - "operation": "boost", - "score": -0.08526675403118134 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 130.5, + "then": { + "operation": "boost", + "score": 0.0983005240559578 + }, + "else": { + "operation": "boost", + "score": 0.08852090686559677 + } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0011677806032821536 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.03978012874722481 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263945.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.1348542422056198 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 119.5, "then": { - "operation": "boost", - "score": -0.11374358832836151 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.11783421784639359 + "score": 0.1250377595424652 } }, "else": { "operation": "boost", - "score": 0.08475016057491302 + "score": 0.11595530062913895 } }, "else": { "operation": "boost", - "score": -0.041275158524513245 + "score": 0.030240565538406372 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { - "operation": "boost", - "score": -0.054358720779418945 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10186692327260971 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08714230358600616 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12114982306957245 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12490243464708328 + }, + "else": { + "operation": "boost", + "score": 0.010157212615013123 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12612298130989075 + }, + "else": { + "operation": "boost", + "score": 0.12928442656993866 + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_Expression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.012633911333978176 + } + } }, "else": { - "operation": "boost", - "score": -0.08064303547143936 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.027868865057826042 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05696645379066467 + }, + "else": { + "operation": "boost", + "score": 0.0061548990197479725 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.03690199553966522 } } } @@ -32907,8 +32921,17 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09816364198923111 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09836581349372864 + }, + "else": { + "operation": "boost", + "score": 0.09916064143180847 + } }, "else": { "operation": "if_greater", @@ -32920,27 +32943,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09978890419006348 + "score": 0.10035522282123566 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09797514230012894 - }, - "else": { - "operation": "boost", - "score": 0.059788741171360016 - } + "operation": "boost", + "score": 0.09784076362848282 } }, "else": { "operation": "boost", - "score": 0.0879586711525917 + "score": 0.0865032747387886 } } }, @@ -32953,17 +32965,8 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07376091927289963 - }, - "else": { - "operation": "boost", - "score": 0.042984019964933395 - } + "operation": "boost", + "score": 0.06060732528567314 }, "else": { "operation": "if_greater", @@ -32971,11 +32974,22 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07907678931951523 + "score": 0.0805329978466034 }, "else": { - "operation": "boost", - "score": 0.06705287098884583 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.0720386803150177 + }, + "else": { + "operation": "boost", + "score": 0.05355618894100189 + } } } }, @@ -32984,30 +32998,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06557200103998184 - }, - "else": { - "operation": "boost", - "score": 0.10202157497406006 - } - }, - "else": { - "operation": "boost", - "score": 0.05889349430799484 - } + "operation": "boost", + "score": 0.06066697835922241 }, "else": { "operation": "boost", - "score": 0.025942400097846985 + "score": 0.02691120095551014 } } } @@ -33023,87 +33019,130 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 112.5, "then": { - "operation": "boost", - "score": 0.10039080679416656 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.0956396609544754 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 135.5, "then": { "operation": "boost", - "score": 0.09062919020652771 + "score": 0.12525182962417603 }, "else": { "operation": "boost", - "score": 0.0958927646279335 + "score": 0.11774390190839767 } }, "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": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0562005490064621 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.060545191168785095 + }, + "else": { + "operation": "boost", + "score": 0.10119149088859558 + } }, "else": { "operation": "boost", - "score": 0.06747492402791977 + "score": 0.058893147855997086 } + }, + "else": { + "operation": "boost", + "score": 0.07045559585094452 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0488867461681366 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.4464443624019623 + }, + "else": { + "operation": "boost", + "score": 0.04918431118130684 + } }, "else": { "operation": "boost", - "score": 0.014143427833914757 + "score": 0.057345516979694366 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.08287935703992844 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10358519107103348 + "score": 0.09846615791320801 }, "else": { - "operation": "boost", - "score": 0.07311087846755981 + "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 } } } @@ -33113,89 +33152,122 @@ "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope" + "ClassScope", + "FileScope" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "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.08415624499320984 - }, - "else": { - "operation": "boost", - "score": 0.10082707554101944 - } - }, - "else": { - "operation": "boost", - "score": 0.0522301010787487 - } + "operation": "boost", + "score": -0.07984188944101334 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassOrStructTag", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0463312529027462 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03809310123324394 + "score": 0.09499595314264297 }, "else": { - "operation": "boost", - "score": 0.09893441200256348 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07114715129137039 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09899885952472687 + }, + "else": { + "operation": "boost", + "score": 0.09765447676181793 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05364245921373367 + } } - }, - "else": { - "operation": "boost", - "score": -0.08016347140073776 } }, "else": { - "operation": "boost", - "score": 0.05658705532550812 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03721177205443382 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19434.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 368430.5, + "then": { + "operation": "boost", + "score": -0.029642047360539436 + }, + "else": { + "operation": "boost", + "score": 0.10257193446159363 + } + }, + "else": { + "operation": "boost", + "score": 0.06456196308135986 + } + } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": -0.014791318215429783 - }, - "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, @@ -33206,538 +33278,434 @@ "Variable" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.11005587130784988 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05809047073125839 - }, - "else": { - "operation": "boost", - "score": 0.11813376098871231 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06965561956167221 - } + "operation": "boost", + "score": 0.045387327671051025 }, "else": { "operation": "boost", - "score": 0.04682377353310585 + "score": 0.09682713449001312 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.02555995248258114 - }, - "else": { - "operation": "boost", - "score": 0.06441998481750488 - } - }, - "else": { - "operation": "boost", - "score": -0.08847472816705704 - } + "operation": "boost", + "score": 0.060417987406253815 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.06006360799074173 - }, - "else": { - "operation": "boost", - "score": -0.12785206735134125 - } + "operation": "boost", + "score": 0.032751958817243576 } + }, + "else": { + "operation": "boost", + "score": 0.032524432986974716 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1178.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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": 31775.0, + "threshold": 15623.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09593599289655685 + "score": 0.008491222746670246 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09674539417028427 - }, - "else": { - "operation": "boost", - "score": 0.07040482759475708 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04909239709377289 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1180.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassStructUnion", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220295.0, + "threshold": 16870.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234850.0, + "threshold": 219439.0, "then": { - "operation": "boost", - "score": 0.06395953893661499 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { "operation": "boost", - "score": 0.1124134287238121 + "score": 0.08183406293392181 }, "else": { - "operation": "boost", - "score": 0.11200157552957535 + "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 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1276.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11434174329042435 + "score": 0.10146904736757278 }, "else": { "operation": "boost", - "score": 0.15342672169208527 + "score": 0.12174098193645477 } }, "else": { "operation": "boost", - "score": 0.08809124678373337 + "score": 0.09979181736707687 } } }, "else": { - "operation": "boost", - "score": 0.038958609104156494 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.0997917652130127 + }, + "else": { + "operation": "boost", + "score": 0.05432823300361633 + } } - }, - "else": { - "operation": "boost", - "score": 0.14283473789691925 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10429149866104126 - }, - "else": { - "operation": "boost", - "score": 0.08360332250595093 - } - }, - "else": { - "operation": "boost", - "score": 0.023618053644895554 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1606070101261139 - }, - "else": { - "operation": "boost", - "score": 0.14419041574001312 - } - }, - "else": { - "operation": "boost", - "score": 0.11119714379310608 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + "feature": "NumReferences", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.008099919185042381 + "score": 0.07608336210250854 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.09566771984100342 + "score": 0.11593476682901382 }, "else": { "operation": "boost", - "score": 0.07469285279512405 + "score": 0.09907563030719757 } }, "else": { "operation": "boost", - "score": 0.05130276083946228 + "score": 0.1299315094947815 } }, "else": { "operation": "boost", - "score": 0.06139722093939781 + "score": 0.040628112852573395 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.03149498254060745 + "score": 0.08255918323993683 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 72.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.11915742605924606 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.09910054504871368 - }, - "else": { - "operation": "boost", - "score": 0.11660405248403549 - } - } + "operation": "boost", + "score": 0.1226481944322586 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 784.0, + "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" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", "threshold": 8.5, "then": { "operation": "boost", - "score": 0.13567428290843964 + "score": 0.1675173044204712 }, "else": { - "operation": "boost", - "score": 0.1450459510087967 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.0, "then": { "operation": "boost", - "score": 0.12615299224853516 + "score": 0.11816023290157318 }, "else": { "operation": "boost", - "score": 0.054031096398830414 + "score": 0.13736295700073242 } - }, - "else": { - "operation": "boost", - "score": 0.12022517621517181 } + }, + "else": { + "operation": "boost", + "score": 0.11771097034215927 } + }, + "else": { + "operation": "boost", + "score": 0.10643356293439865 } - }, - "else": { - "operation": "boost", - "score": 0.1116192489862442 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09413211047649384 - }, - "else": { - "operation": "boost", - "score": 0.04122975841164589 - } + "operation": "boost", + "score": 0.08416491001844406 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.04261083900928497 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.061911240220069885 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08206579089164734 + "score": 0.09468194097280502 }, "else": { "operation": "boost", - "score": 0.06677582114934921 + "score": 0.10747081786394119 } - }, - "else": { - "operation": "boost", - "score": -0.026233026757836342 } }, "else": { "operation": "boost", - "score": 0.046969085931777954 + "score": 0.07591094076633453 } }, "else": { "operation": "boost", - "score": 0.013859179802238941 + "score": 0.040820397436618805 } + }, + "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 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06684443354606628 + }, + "else": { + "operation": "boost", + "score": 0.016995510086417198 + } + }, + "else": { + "operation": "boost", + "score": 0.045336365699768066 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11002354323863983 }, "else": { "operation": "boost", - "score": -0.001766834408044815 + "score": 0.12014514207839966 } + }, + "else": { + "operation": "boost", + "score": 0.093368761241436 } + }, + "else": { + "operation": "boost", + "score": 0.028570694848895073 } }, "else": { "operation": "boost", - "score": -0.01258774846792221 + "score": -0.019237851724028587 } } } @@ -33746,157 +33714,169 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71306.0, + "threshold": 73859.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 292981.5, "then": { - "operation": "boost", - "score": 0.07893633842468262 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08900907635688782 + }, + "else": { + "operation": "boost", + "score": 0.08291012793779373 + } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09238714724779129 - }, - "else": { - "operation": "boost", - "score": 0.02896856889128685 - } + "operation": "boost", + "score": 0.09774709492921829 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.08825524896383286 + "score": -0.051487091928720474 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 263421.0, + "threshold": 212125.0, + "then": { + "operation": "boost", + "score": 0.05970387160778046 + }, + "else": { + "operation": "boost", + "score": 0.10290336608886719 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132033.5, "then": { + "operation": "boost", + "score": -0.027773112058639526 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_SymbolOrNewName", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.10767771303653717 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1146119013428688 + }, + "else": { + "operation": "boost", + "score": 0.08907850831747055 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09719296544790268 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1062079519033432 + }, + "else": { + "operation": "boost", + "score": -0.29993537068367004 + } + } + } }, "else": { "operation": "boost", - "score": -0.1938476711511612 + "score": 0.06546513736248016 } - }, - "else": { - "operation": "boost", - "score": 0.0596599206328392 } - }, - "else": { - "operation": "boost", - "score": 0.03551669791340828 } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "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", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0923919528722763 + "score": 0.08583171665668488 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, - "then": { - "operation": "boost", - "score": 0.11004491150379181 - }, - "else": { - "operation": "boost", - "score": 0.07435004413127899 - } + "operation": "boost", + "score": 0.09152285009622574 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0392947793006897 - }, - "else": { - "operation": "boost", - "score": 0.08178426325321198 - } - }, - "else": { - "operation": "boost", - "score": 0.018006864935159683 - } + "operation": "boost", + "score": 0.04560507833957672 } } - }, - "else": { - "operation": "boost", - "score": -0.006878949236124754 } } }, @@ -33906,24 +33886,33 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1584.0, "then": { - "operation": "boost", - "score": 0.09872332215309143 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0833570659160614 + }, + "else": { + "operation": "boost", + "score": 0.04483024403452873 + } }, "else": { "operation": "boost", - "score": 0.053261589258909225 + "score": 0.048295434564352036 } }, "else": { "operation": "boost", - "score": 0.03375876322388649 + "score": 0.024968791753053665 } }, "else": { @@ -33932,266 +33921,220 @@ "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 34.5, "then": { + "operation": "boost", + "score": -0.025165744125843048 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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, "then": { "operation": "boost", - "score": 0.08471634238958359 + "score": -0.007019375450909138 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11876357346773148 + "score": 0.09843553602695465 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.12238965183496475 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12476897984743118 + "score": 0.09625855088233948 }, "else": { "operation": "boost", - "score": 0.1322367638349533 + "score": 0.08386719971895218 } + }, + "else": { + "operation": "boost", + "score": 0.07390547543764114 } } } - }, - "else": { - "operation": "boost", - "score": -0.032594162970781326 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12641294300556183 - }, - "else": { - "operation": "boost", - "score": 0.14952786266803741 - } - }, - "else": { - "operation": "boost", - "score": 0.03832227736711502 - } - }, - "else": { - "operation": "boost", - "score": 0.0029355904553085566 - } + "operation": "boost", + "score": 0.03764462471008301 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6499.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6741.5, - "then": { - "operation": "boost", - "score": 0.1038115844130516 - }, - "else": { - "operation": "boost", - "score": 0.12608297169208527 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10778690874576569 + "score": 0.08178655058145523 }, "else": { "operation": "boost", - "score": 0.050086598843336105 + "score": 0.05907106399536133 } }, "else": { "operation": "boost", - "score": -0.0011740957852452993 + "score": 0.043291885405778885 } + }, + "else": { + "operation": "boost", + "score": 0.02398626320064068 } } }, "else": { "operation": "boost", - "score": -0.029857009649276733 + "score": -0.0014361203648149967 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "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.07741732895374298 + }, + "else": { + "operation": "boost", + "score": -0.09682656079530716 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "boost", + "score": -0.05046782270073891 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" + "CCC_SymbolOrNewName", + "CCC_Namespace" ], "then": { "operation": "boost", - "score": 0.09362611919641495 - }, - "else": { - "operation": "boost", - "score": 0.06648223102092743 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.008363381959497929 + "score": 0.09879712760448456 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09539854526519775 - }, - "else": { - "operation": "boost", - "score": 0.06849629431962967 - } + "operation": "boost", + "score": 0.08272362500429153 }, "else": { "operation": "boost", - "score": 0.050021667033433914 + "score": 0.10005635768175125 } }, "else": { "operation": "boost", - "score": 0.03687777370214462 + "score": 0.08003503084182739 } } + }, + "else": { + "operation": "boost", + "score": 0.014405845664441586 } - }, - "else": { - "operation": "boost", - "score": 0.01248493418097496 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.03557935357093811 - }, - "else": { - "operation": "boost", - "score": -0.08219628781080246 - } } } } @@ -34214,7 +34157,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0968640148639679 + "score": 0.09814776480197906 }, "else": { "operation": "if_greater", @@ -34226,27 +34169,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09880290180444717 + "score": 0.09941785782575607 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09641709178686142 - }, - "else": { - "operation": "boost", - "score": 0.0739089697599411 - } + "operation": "boost", + "score": 0.09648414701223373 } }, "else": { "operation": "boost", - "score": 0.08638704568147659 + "score": 0.08464425802230835 } } }, @@ -34259,79 +34191,54 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07143797725439072 - }, - "else": { - "operation": "boost", - "score": 0.03990229219198227 - } + "operation": "boost", + "score": 0.05784423649311066 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.07662832736968994 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08205331861972809 + }, + "else": { + "operation": "boost", + "score": 0.06945163011550903 + } }, "else": { - "operation": "boost", - "score": 0.0635983869433403 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.038254495710134506 + "score": 0.09685510396957397 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1026877611875534 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10022871196269989 - }, - "else": { - "operation": "boost", - "score": -0.10819380730390549 - } - } + "operation": "boost", + "score": 0.05560321360826492 } - }, - "else": { - "operation": "boost", - "score": 0.0560062974691391 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.056954458355903625 }, "else": { "operation": "boost", - "score": 0.02677677385509014 + "score": 0.02626214176416397 } } } @@ -34347,10 +34254,28 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.09820324182510376 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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", @@ -34358,334 +34283,329 @@ "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.055475879460573196 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10957329720258713 + }, + "else": { + "operation": "boost", + "score": -0.18442082405090332 + } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09590362012386322 + "score": 0.056757740676403046 }, "else": { "operation": "boost", - "score": 0.06560865044593811 + "score": 0.06753937900066376 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.03710547834634781 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.08074533939361572 + "score": 0.05861171334981918 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10173311829566956 + "score": 0.09291033446788788 }, "else": { "operation": "boost", - "score": 0.0710190162062645 + "score": 0.10484211146831512 } } + }, + "else": { + "operation": "boost", + "score": 0.03919835388660431 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Namespace", - "Type" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63438.0, - "then": { - "operation": "boost", - "score": 0.07763200998306274 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08505067974328995 - }, - "else": { - "operation": "boost", - "score": 0.10835442692041397 - } - } + "operation": "boost", + "score": 0.07204980403184891 }, "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.07196163386106491 - }, - "else": { - "operation": "boost", - "score": 0.0012901586014777422 - } + "operation": "boost", + "score": 0.10056722909212112 }, "else": { "operation": "boost", - "score": 0.04254209250211716 + "score": 0.09366068989038467 } } }, - "else": { - "operation": "boost", - "score": 0.027960505336523056 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], - "then": { - "operation": "boost", - "score": 0.13276569545269012 - }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.02253304049372673 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag" + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.098728708922863 - }, - "else": { - "operation": "boost", - "score": 0.05246899276971817 - } + "operation": "boost", + "score": 0.09160872548818588 }, "else": { "operation": "boost", - "score": 0.04299924895167351 + "score": 0.05773795768618584 } + }, + "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": "boost", - "score": -0.10212056338787079 + "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": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1082.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 126.5, "then": { + "operation": "boost", + "score": 0.10974132269620895 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14669.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.07062145322561264 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7475.5, + "threshold": 61.5, "then": { - "operation": "boost", - "score": 0.10716862231492996 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, "then": { - "operation": "boost", - "score": 0.12796971201896667 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.14436441659927368 + }, + "else": { + "operation": "boost", + "score": 0.11851337552070618 + } }, "else": { "operation": "boost", - "score": 0.11435788869857788 + "score": 0.13552039861679077 } + }, + "else": { + "operation": "boost", + "score": 0.11705932766199112 } + }, + "else": { + "operation": "boost", + "score": 0.10558247566223145 } - }, - "else": { - "operation": "boost", - "score": 0.07867984473705292 } }, "else": { + "operation": "boost", + "score": 0.00472661666572094 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44699.0, + "threshold": 43288.5, "then": { - "operation": "boost", - "score": 0.09123426675796509 + "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.08674091100692749 + "score": 0.07957826554775238 } }, "else": { "operation": "boost", - "score": 0.03744829073548317 + "score": 0.1062602698802948 } }, "else": { - "operation": "boost", - "score": 0.032225627452135086 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03687327355146408 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.108782559633255 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 971.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1052.0, + "threshold": 36.5, "then": { - "operation": "boost", - "score": 0.1229264959692955 + "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": "boost", - "score": 0.1311197578907013 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": 0.18019329011440277 + }, + "else": { + "operation": "boost", + "score": 0.18532268702983856 + } } }, "else": { @@ -34694,788 +34614,796 @@ "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.0, + "feature": "FilterLength", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.13312189280986786 + "score": 0.10530152916908264 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12781323492527008 - }, - "else": { - "operation": "boost", - "score": 0.1257072538137436 - } + "operation": "boost", + "score": 0.13258449733257294 } }, "else": { "operation": "boost", - "score": 0.12267349660396576 + "score": 0.11626150459051132 } } + }, + "else": { + "operation": "boost", + "score": 0.07096464931964874 } - }, - "else": { - "operation": "boost", - "score": 0.08946837484836578 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09318050742149353 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.11179858446121216 + }, + "else": { + "operation": "boost", + "score": 0.16469398140907288 + } }, "else": { "operation": "boost", - "score": 0.06565601378679276 + "score": 0.05331927165389061 } } - }, - "else": { - "operation": "boost", - "score": 0.02272728458046913 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 308.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.10545265674591064 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1508.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09585949778556824 + "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": "NumReferences", - "threshold": 1220.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12224429100751877 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.18994511663913727 + "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_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_TopLevel", + "CCC_UnionTag", + "CCC_Type" + ], + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.15238730609416962 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Symbol" ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.056964632123708725 + }, + "else": { + "operation": "boost", + "score": 0.10497482120990753 + } + }, + "else": { + "operation": "boost", + "score": 0.08207032829523087 + } + }, + "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, "then": { "operation": "boost", - "score": 0.150467187166214 + "score": -0.12515026330947876 }, "else": { "operation": "boost", - "score": -0.11775612086057663 + "score": 0.06817318499088287 } } } + }, + "else": { + "operation": "boost", + "score": 0.04278431460261345 } + }, + "else": { + "operation": "boost", + "score": 0.020543811842799187 } - }, - "else": { - "operation": "boost", - "score": 0.09923116117715836 } - } - }, - "else": { - "operation": "boost", - "score": 0.09125849604606628 - } - }, - "else": { - "operation": "boost", - "score": 0.07443997263908386 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13395829498767853 - }, - "else": { - "operation": "boost", - "score": 0.11682724952697754 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26281.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08178134262561798 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.11326546967029572 + "score": 0.09749510884284973 }, "else": { "operation": "boost", - "score": 0.05870772525668144 + "score": -0.07527177780866623 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.05687849223613739 - }, - "else": { - "operation": "boost", - "score": -0.09571561217308044 - } } }, "else": { "operation": "boost", - "score": 0.01742229051887989 + "score": -0.10185298323631287 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1535.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7103.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.1900186538696289 - }, - "else": { - "operation": "boost", - "score": 0.1101875826716423 - } - }, - "else": { - "operation": "boost", - "score": 0.05471010133624077 - } + "operation": "boost", + "score": 0.0836590901017189 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3078.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.025818902999162674 - }, - "else": { - "operation": "boost", - "score": 0.06231987476348877 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 20509.0, "then": { "operation": "boost", - "score": 0.03770407289266586 + "score": 0.06336667388677597 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Symbol" + "Variable", + "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 475.0, + "threshold": 18672.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 589.5, + "threshold": 19842.0, "then": { - "operation": "boost", - "score": 0.12462340295314789 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.11073853820562363 + }, + "else": { + "operation": "boost", + "score": 0.10529745370149612 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 559.5, + "threshold": 19176.0, "then": { "operation": "boost", - "score": 0.15073302388191223 + "score": 0.11483943462371826 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 510.5, - "then": { - "operation": "boost", - "score": 0.10309279710054398 - }, - "else": { - "operation": "boost", - "score": 0.1568974256515503 - } + "operation": "boost", + "score": 0.11348339170217514 } } }, "else": { - "operation": "boost", - "score": 0.19551198184490204 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11289377510547638 + }, + "else": { + "operation": "boost", + "score": 0.11295586824417114 + } + }, + "else": { + "operation": "boost", + "score": 0.10655276477336884 + } } }, "else": { - "operation": "boost", - "score": 0.13984143733978271 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1019834652543068 + }, + "else": { + "operation": "boost", + "score": 0.031783781945705414 + } + } } } + }, + "else": { + "operation": "boost", + "score": 0.06033502146601677 } }, "else": { - "operation": "boost", - "score": -0.004762493073940277 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 24366.0, "then": { "operation": "boost", - "score": 0.087242990732193 + "score": 0.07118251174688339 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14677.0, "then": { - "operation": "boost", - "score": 0.12408703565597534 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.1177443265914917 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassStructUnion" ], "then": { - "operation": "boost", - "score": 0.12346061319112778 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.12189549952745438 + }, + "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": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 19464.5, "then": { - "operation": "boost", - "score": 0.1206444501876831 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "boost", + "score": 0.10339105129241943 + }, + "else": { + "operation": "boost", + "score": 0.13196611404418945 + } }, "else": { "operation": "boost", - "score": 0.1310454159975052 + "score": 0.13163284957408905 } } + }, + "else": { + "operation": "boost", + "score": 0.10290645807981491 } + }, + "else": { + "operation": "boost", + "score": 0.09078636020421982 } } }, "else": { "operation": "boost", - "score": -0.08024592697620392 + "score": 0.0712653398513794 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06543861329555511 + "score": 0.0909416675567627 }, "else": { "operation": "boost", - "score": 0.030313637107610703 + "score": 0.05694194510579109 } } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10591664165258408 }, "else": { + "operation": "boost", + "score": 0.06649854779243469 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable", - "Namespace", - "Keyword", - "Macro", "Type", - "Function" + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.007883652113378048 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 93657.0, "then": { "operation": "boost", - "score": 0.10486515611410141 + "score": 0.09985616058111191 }, "else": { "operation": "boost", - "score": 0.0580759160220623 + "score": 0.09493308514356613 } - }, - "else": { - "operation": "boost", - "score": 0.008258569985628128 } }, "else": { "operation": "boost", - "score": -0.10855165868997574 + "score": 0.04069095849990845 } + }, + "else": { + "operation": "boost", + "score": 0.006141360383480787 } - }, - "else": { - "operation": "boost", - "score": -0.024835940450429916 } + } + } + }, + "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_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08956126868724823 + "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.06731881946325302 + "score": 0.05332379415631294 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.052527859807014465 + "score": 0.06509136408567429 }, "else": { "operation": "boost", - "score": 0.03497566282749176 + "score": 0.04284418001770973 } } }, "else": { "operation": "boost", - "score": 0.014205828309059143 + "score": 0.009542238898575306 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03161691129207611 + "score": 0.031507354229688644 }, "else": { "operation": "boost", - "score": -0.07812844961881638 + "score": -0.07547459751367569 } }, "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": 58.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1346079260110855 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 161.5, - "then": { - "operation": "boost", - "score": 0.14001905918121338 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "boost", - "score": 0.13743405044078827 - }, - "else": { - "operation": "boost", - "score": 0.14147943258285522 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1463475227355957 - }, - "else": { - "operation": "boost", - "score": 0.14164938032627106 - } - }, - "else": { - "operation": "boost", - "score": 0.010718459263443947 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10417550057172775 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.13469050824642181 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.13911505043506622 - }, - "else": { - "operation": "boost", - "score": 0.13973523676395416 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.13380523025989532 - }, - "else": { - "operation": "boost", - "score": 0.10521700978279114 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12598299980163574 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09444486349821091 - } - } + "operation": "boost", + "score": -0.08366627991199493 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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.10614252090454102 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09265217930078506 - }, - "else": { - "operation": "boost", - "score": 0.03896794468164444 - } + "operation": "boost", + "score": 0.09260950982570648 } }, "else": { "operation": "boost", - "score": 0.005294961854815483 + "score": 0.08175423741340637 } + }, + "else": { + "operation": "boost", + "score": -0.002250316319987178 } - }, - "else": { - "operation": "boost", - "score": -0.08036629855632782 } } } @@ -35497,17 +35425,8 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09825703501701355 - }, - "else": { - "operation": "boost", - "score": 0.08466381579637527 - } + "operation": "boost", + "score": 0.09708111733198166 }, "else": { "operation": "if_greater", @@ -35519,27 +35438,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09807059168815613 + "score": 0.09814881533384323 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09524808079004288 - }, - "else": { - "operation": "boost", - "score": 0.061571892350912094 - } + "operation": "boost", + "score": 0.09542493522167206 } }, "else": { "operation": "boost", - "score": 0.08469279110431671 + "score": 0.08245819061994553 } } }, @@ -35552,29 +35460,31 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06910309195518494 - }, - "else": { - "operation": "boost", - "score": 0.03695225715637207 - } + "operation": "boost", + "score": 0.0549158938229084 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.07457394897937775 + "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.06037551537156105 + "score": 0.053186748176813126 } } }, @@ -35584,11 +35494,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.053055815398693085 + "score": 0.05417478457093239 }, "else": { "operation": "boost", - "score": 0.02375570870935917 + "score": 0.023753339424729347 } } } @@ -35604,10 +35514,28 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.09446477890014648 + "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", @@ -35615,510 +35543,535 @@ "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumReferences", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06752050668001175 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08990887552499771 + "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.09570422023534775 + "score": 0.06888460367918015 } - }, - "else": { - "operation": "boost", - "score": 0.055778294801712036 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.0352419875562191 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.07559218257665634 + "score": 0.05638539791107178 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10082542896270752 + "score": 0.09002453833818436 }, "else": { "operation": "boost", - "score": 0.06643329560756683 + "score": 0.10172253847122192 } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.07994996756315231 + "score": 0.059487007558345795 }, "else": { "operation": "boost", - "score": 0.0960271880030632 + "score": 0.01606987603008747 } - }, - "else": { - "operation": "boost", - "score": 0.03887152671813965 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02609442174434662 + "score": 0.06609519571065903 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0961986854672432 + "score": 0.09639377146959305 }, "else": { "operation": "boost", - "score": -0.06919234991073608 + "score": 0.08958028256893158 } } }, "else": { - "operation": "boost", - "score": 0.04856110364198685 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08987389504909515 + }, + "else": { + "operation": "boost", + "score": 0.055153779685497284 + } + }, + "else": { + "operation": "boost", + "score": 0.03590346500277519 + } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.022029932588338852 + "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": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 71.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type" ], + "then": { + "operation": "boost", + "score": 0.1129213273525238 + }, + "else": { + "operation": "boost", + "score": 0.04511601850390434 + } + }, + "else": { + "operation": "boost", + "score": 0.1041170284152031 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Symbol" + "CCC_Statement", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.054798148572444916 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1097673624753952 - }, - "else": { - "operation": "boost", - "score": 0.11459288001060486 - } - } + "operation": "boost", + "score": 0.1345542073249817 }, "else": { "operation": "boost", - "score": 0.069072425365448 + "score": 0.11767596751451492 } }, "else": { "operation": "boost", - "score": 0.04837128892540932 + "score": 0.11148922890424728 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.013106107711791992 + "score": 0.0887206494808197 }, "else": { - "operation": "boost", - "score": 0.05264579504728317 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10477931052446365 + }, + "else": { + "operation": "boost", + "score": 0.11497923731803894 + } } }, "else": { "operation": "boost", - "score": -0.08675048500299454 + "score": 0.08585411310195923 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.05541964992880821 - }, - "else": { - "operation": "boost", - "score": -0.1200951561331749 - } + "operation": "boost", + "score": 0.060715384781360626 } } + }, + "else": { + "operation": "boost", + "score": 0.05253740772604942 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1082.0, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" + "Variable", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.08274707943201065 - }, - "else": { - "operation": "boost", - "score": 0.019691841676831245 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1666.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.08296932280063629 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.0806555300951004 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.13359351456165314 + "score": 0.0966302752494812 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "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": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10097197443246841 - }, - "else": { - "operation": "boost", - "score": 0.13685472309589386 - } + "operation": "boost", + "score": 0.05032835528254509 }, "else": { "operation": "boost", - "score": 0.16142186522483826 + "score": 0.11143464595079422 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1570.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1345299929380417 + "score": 0.06252841651439667 }, "else": { "operation": "boost", - "score": 0.12894022464752197 + "score": 0.08003383129835129 } } + }, + "else": { + "operation": "boost", + "score": 0.04736173897981644 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05198029801249504 - }, - "else": { - "operation": "boost", - "score": 0.029840612784028053 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.15192387998104095 }, "else": { "operation": "boost", - "score": 0.12378748506307602 + "score": 0.03082091547548771 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "FunctionScope", + "GlobalScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0038717612624168396 - }, - "else": { - "operation": "boost", - "score": 0.06214231252670288 - } + "operation": "boost", + "score": 0.01391737349331379 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.03002064675092697 + "score": 0.06512492150068283 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.11822127550840378 + "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.10325964540243149 + "score": 0.05309688299894333 } }, "else": { "operation": "boost", - "score": 0.08762305229902267 + "score": 0.04706069082021713 } }, "else": { - "operation": "boost", - "score": 0.052458345890045166 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.024235466495156288 + }, + "else": { + "operation": "boost", + "score": 0.04518013820052147 + } } } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06547249108552933 - }, - "else": { - "operation": "boost", - "score": 0.03683372959494591 - } + "operation": "boost", + "score": 0.09692507982254028 }, "else": { "operation": "boost", - "score": 0.0006785187870264053 + "score": -0.07029975950717926 } } } }, "else": { "operation": "boost", - "score": -0.010757016018033028 + "score": -0.09893183410167694 } } } @@ -36131,323 +36084,359 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 133.5, + "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 205637.0, "then": { + "operation": "boost", + "score": 0.07904698699712753 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.06783271580934525 + "score": 0.11341874301433563 }, "else": { "operation": "boost", - "score": 0.11197162419557571 + "score": 0.09209723770618439 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.5, + "then": { + "operation": "boost", + "score": 0.05336284637451172 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09598282724618912 + "score": 0.052279382944107056 }, "else": { "operation": "boost", - "score": 0.047512102872133255 + "score": 0.029525483027100563 } } - }, - "else": { - "operation": "boost", - "score": 0.03207649290561676 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1735.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8322.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 21492.0, "then": { "operation": "boost", - "score": 0.08363986015319824 + "score": 0.08027283102273941 }, "else": { - "operation": "boost", - "score": 0.11114615201950073 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19035.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.12094046175479889 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "boost", + "score": 0.10768667608499527 + }, + "else": { + "operation": "boost", + "score": 0.1125812977552414 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, + "then": { + "operation": "boost", + "score": 0.1137055903673172 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19474.5, + "then": { + "operation": "boost", + "score": 0.054349951446056366 + }, + "else": { + "operation": "boost", + "score": 0.12021433562040329 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12073103338479996 + }, + "else": { + "operation": "boost", + "score": 0.11194667965173721 + } + }, + "else": { + "operation": "boost", + "score": 0.09584145247936249 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11779074370861053 + }, + "else": { + "operation": "boost", + "score": 0.09601203352212906 + } + } + } } }, "else": { "operation": "boost", - "score": 0.08193738758563995 + "score": 0.08893360942602158 } }, "else": { - "operation": "boost", - "score": -0.032766882330179214 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": 0.052494894713163376 - }, - "else": { - "operation": "boost", - "score": 0.06352753192186356 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0020302231423556805 + "score": 0.08539588004350662 }, "else": { "operation": "boost", - "score": 0.06735064834356308 + "score": 0.05735853686928749 } - }, - "else": { - "operation": "boost", - "score": 0.08860530704259872 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0016333028906956315 + "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.06894504278898239 + "score": -0.023351827636361122 } } + }, + "else": { + "operation": "boost", + "score": -0.014188935048878193 } }, "else": { "operation": "boost", - "score": -0.005398801993578672 + "score": -0.07020708173513412 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 92290.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09217765182256699 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.12006671726703644 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 105661.0, "then": { "operation": "boost", - "score": 0.029338467866182327 + "score": 0.059616170823574066 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression" + "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.10028228163719177 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09190519899129868 + }, + "else": { + "operation": "boost", + "score": 0.1231718435883522 + } }, "else": { "operation": "boost", - "score": 0.03395811840891838 + "score": -0.051693227142095566 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06908125430345535 - }, - "else": { - "operation": "boost", - "score": 0.04129679128527641 - } - }, - "else": { - "operation": "boost", - "score": -0.08339466154575348 - } } }, "else": { "operation": "boost", - "score": 0.023184124380350113 + "score": 0.07390078157186508 } + }, + "else": { + "operation": "boost", + "score": 0.036084383726119995 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71306.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08622805029153824 - }, - "else": { - "operation": "boost", - "score": 0.05621272698044777 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "boost", - "score": 0.127909317612648 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327227.0, - "then": { - "operation": "boost", - "score": 0.03511728346347809 - }, - "else": { - "operation": "boost", - "score": 0.09753009676933289 - } + "operation": "boost", + "score": 0.07287955284118652 }, "else": { "operation": "boost", - "score": 0.04907006397843361 + "score": 0.01793665997684002 } }, "else": { - "operation": "boost", - "score": -0.018654776737093925 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 299.5, - "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, @@ -36455,307 +36444,246 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassStructUnion", "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11635368317365646 - }, - "else": { - "operation": "boost", - "score": 0.0957394391298294 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.08396244049072266 - }, - "else": { - "operation": "boost", - "score": 0.12599670886993408 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0009140356560237706 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" + "CCC_Namespace", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 71.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, "then": { "operation": "boost", - "score": 0.12056951969861984 + "score": 0.11671070754528046 }, "else": { "operation": "boost", - "score": 0.11031393706798553 + "score": 0.12436038255691528 } }, "else": { - "operation": "boost", - "score": 0.0736839547753334 + "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": "boost", - "score": 0.09032461047172546 + "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": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.08677840232849121 + "score": 0.10730163007974625 }, "else": { "operation": "boost", - "score": 0.015928437933325768 + "score": 0.11676470935344696 } } }, "else": { - "operation": "boost", - "score": -0.08177299797534943 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58.5, + "threshold": 150.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", "CCC_TopLevel", - "CCC_ClassOrStructTag" + "CCC_Namespace", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 532.0, "then": { "operation": "boost", - "score": 0.10065817087888718 + "score": 0.11665262281894684 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.13449732959270477 - }, - "else": { - "operation": "boost", - "score": 0.13535822927951813 - } + "operation": "boost", + "score": 0.10903242975473404 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1296064555644989 - }, - "else": { - "operation": "boost", - "score": 0.06332281231880188 - } + "operation": "boost", + "score": 0.09104929864406586 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.12364276498556137 - }, - "else": { - "operation": "boost", - "score": 0.14507326483726501 - } - }, - "else": { - "operation": "boost", - "score": 0.06832288950681686 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1320645958185196 - }, - "else": { - "operation": "boost", - "score": 0.10080308467149734 - } - }, - "else": { - "operation": "boost", - "score": 0.11566859483718872 - } - }, - "else": { - "operation": "boost", - "score": 0.0927421972155571 - } - } + "operation": "boost", + "score": 0.09117015451192856 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12354728579521179 + }, + "else": { + "operation": "boost", + "score": 0.11047772318124771 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.055923204869031906 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.14093796908855438 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1332150101661682 + "score": -0.01781434379518032 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 217.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 247.0, - "then": { - "operation": "boost", - "score": 0.12230133265256882 - }, - "else": { - "operation": "boost", - "score": 0.13683970272541046 - } + "operation": "boost", + "score": 0.10380563884973526 }, "else": { "operation": "boost", - "score": 0.1253490000963211 + "score": 0.0845867320895195 } } - }, - "else": { - "operation": "boost", - "score": 0.13096198439598083 } }, "else": { "operation": "boost", - "score": 0.08790403604507446 + "score": 0.0007923730299808085 } }, "else": { - "operation": "boost", - "score": 0.05831572785973549 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.06906145811080933 + }, + "else": { + "operation": "boost", + "score": 0.02764684334397316 + } } } - }, - "else": { - "operation": "boost", - "score": 0.002894939389079809 } } }, "else": { "operation": "boost", - "score": -0.06884948164224625 + "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 } } } @@ -36779,17 +36707,8 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09721387922763824 - }, - "else": { - "operation": "boost", - "score": 0.08623921871185303 - } + "operation": "boost", + "score": 0.096180759370327 }, "else": { "operation": "if_greater", @@ -36801,27 +36720,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09705595672130585 + "score": 0.09715373814105988 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09388989955186844 - }, - "else": { - "operation": "boost", - "score": 0.06486735492944717 - } + "operation": "boost", + "score": 0.09383099526166916 } }, "else": { "operation": "boost", - "score": 0.08218121528625488 + "score": 0.08113537728786469 } } }, @@ -36834,24 +36742,14 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06665045022964478 - }, - "else": { - "operation": "boost", - "score": 0.03294919803738594 - } + "operation": "boost", + "score": 0.053083471953868866 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "if_greater", @@ -36859,16 +36757,16 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07620581239461899 + "score": 0.07778431475162506 }, "else": { "operation": "boost", - "score": 0.06278128921985626 + "score": 0.0634249821305275 } }, "else": { "operation": "boost", - "score": 0.048113998025655746 + "score": 0.0492643378674984 } } }, @@ -36877,30 +36775,12 @@ "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00614895997568965 - }, - "else": { - "operation": "boost", - "score": 0.09912008792161942 - } - }, - "else": { - "operation": "boost", - "score": 0.04863571748137474 - } + "operation": "boost", + "score": 0.05123157799243927 }, "else": { "operation": "boost", - "score": 0.020315926522016525 + "score": 0.022498339414596558 } } } @@ -36916,10 +36796,28 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.09134858101606369 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": 0.08596237748861313 + }, + "else": { + "operation": "boost", + "score": 0.08542871475219727 + } + }, + "else": { + "operation": "boost", + "score": 0.1058979481458664 + } }, "else": { "operation": "if_greater", @@ -36927,206 +36825,140 @@ "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08741691708564758 - }, - "else": { - "operation": "boost", - "score": 0.09444145113229752 - } + "operation": "boost", + "score": 0.05233462527394295 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0493537038564682 - }, - "else": { - "operation": "boost", - "score": 0.0591292530298233 - } + "operation": "boost", + "score": 0.06359212845563889 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0419662706553936 - }, - "else": { - "operation": "boost", - "score": 0.01246757060289383 - } - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07216143608093262 + "score": 0.05448073521256447 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09828489273786545 + "score": 0.09415087103843689 }, "else": { "operation": "boost", - "score": 0.06859101355075836 + "score": 0.10125807672739029 } } + }, + "else": { + "operation": "boost", + "score": 0.0332760326564312 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07372035831212997 - }, - "else": { - "operation": "boost", - "score": 0.09288334101438522 - } - }, - "else": { - "operation": "boost", - "score": 0.04193459078669548 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.023714404553174973 + "score": 0.05570896714925766 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09278104454278946 + "score": 0.09292631596326828 }, "else": { "operation": "boost", - "score": -0.06225590780377388 + "score": 0.08628179877996445 } } }, "else": { - "operation": "boost", - "score": 0.04510265961289406 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "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": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10588544607162476 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08028537780046463 - }, - "else": { - "operation": "boost", - "score": 0.10554758459329605 - } - } + "operation": "boost", + "score": 0.03685329481959343 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": -0.13370732963085175 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17924.5, + "then": { + "operation": "boost", + "score": 0.09443002939224243 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", @@ -37134,162 +36966,128 @@ "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.04954691231250763 + "score": 0.16113150119781494 }, "else": { - "operation": "boost", - "score": 0.11202915012836456 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.06411650031805038 + }, + "else": { + "operation": "boost", + "score": 0.1495693325996399 + } + }, + "else": { + "operation": "boost", + "score": 0.07934632152318954 + } } }, "else": { "operation": "boost", - "score": 0.050834815949201584 + "score": 0.0831533819437027 } }, "else": { "operation": "boost", - "score": 0.0483306422829628 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09499801695346832 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.02069774642586708 - }, - "else": { - "operation": "boost", - "score": 0.05154326185584068 - } + "score": 0.055910874158144 } - }, - "else": { - "operation": "boost", - "score": -0.04887877404689789 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08757559955120087 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01875963807106018 - }, - "else": { - "operation": "boost", - "score": 0.07690846920013428 - } - }, - "else": { - "operation": "boost", - "score": -0.1141757220029831 - } + "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 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 235.5, + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Type" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.06264364719390869 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 219896.5, - "then": { - "operation": "boost", - "score": 0.12132164090871811 - }, - "else": { - "operation": "boost", - "score": 0.01926921308040619 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "threshold": 49.5, "then": { - "operation": "boost", - "score": 0.10274855047464371 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12185629457235336 + }, + "else": { + "operation": "boost", + "score": 0.10685291141271591 + } + }, + "else": { + "operation": "boost", + "score": 0.023462744429707527 + } }, "else": { "operation": "boost", - "score": 0.04182121902704239 + "score": 0.095346599817276 } }, "else": { @@ -37297,336 +37095,294 @@ "feature": "FilterLength", "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 823.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 96.5, "then": { - "operation": "boost", - "score": 0.060487162321805954 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1672.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.08639538288116455 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 862.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1235.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.13431602716445923 - }, - "else": { - "operation": "boost", - "score": 0.13033246994018555 - } - }, - "else": { - "operation": "boost", - "score": 0.17738981544971466 - } - }, - "else": { - "operation": "boost", - "score": 0.137523353099823 - } - }, - "else": { - "operation": "boost", - "score": 0.1804274022579193 - } + "operation": "boost", + "score": 0.1138056144118309 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1570.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.12553875148296356 - }, - "else": { - "operation": "boost", - "score": 0.4368475377559662 - } + "operation": "boost", + "score": 0.1406112015247345 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.19232270121574402 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11722685396671295 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.15462423861026764 - }, - "else": { - "operation": "boost", - "score": 0.359213262796402 - } - } - } + "operation": "boost", + "score": -0.08888290077447891 } } + }, + "else": { + "operation": "boost", + "score": 0.10865415632724762 } + }, + "else": { + "operation": "boost", + "score": 0.1188000962138176 } }, "else": { "operation": "boost", - "score": 0.13399207592010498 + "score": 0.10054317116737366 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, "then": { - "operation": "boost", - "score": 0.1164604052901268 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160.0, + "then": { + "operation": "boost", + "score": 0.08271614462137222 + }, + "else": { + "operation": "boost", + "score": 0.1406799554824829 + } + }, + "else": { + "operation": "boost", + "score": 0.08672366291284561 + } }, "else": { "operation": "boost", - "score": 0.05831175670027733 + "score": 0.08058474212884903 } }, "else": { "operation": "boost", - "score": 0.0292372927069664 + "score": 0.05389760807156563 } } } + }, + "else": { + "operation": "boost", + "score": 0.04641267657279968 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" + "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_Symbol" ], "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09330449998378754 + }, + "else": { + "operation": "boost", + "score": 0.11071507632732391 + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08755411207675934 + "score": 0.0472366027534008 }, "else": { "operation": "boost", - "score": 0.05768612399697304 + "score": 0.10838281363248825 } }, "else": { "operation": "boost", - "score": 0.030835336074233055 + "score": 0.07303889840841293 } }, "else": { "operation": "boost", - "score": 0.05173281207680702 + "score": 0.045855287462472916 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + } + }, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Function" + "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": 144.0, - "then": { - "operation": "boost", - "score": 0.11146445572376251 - }, - "else": { - "operation": "boost", - "score": 0.04299504682421684 - } + "operation": "boost", + "score": 0.06661106646060944 }, "else": { "operation": "boost", - "score": 0.023430900648236275 + "score": -0.08310116082429886 } }, "else": { - "operation": "boost", - "score": 0.052033986896276474 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.010532775893807411 + }, + "else": { + "operation": "boost", + "score": 0.04784100130200386 + } } + }, + "else": { + "operation": "boost", + "score": -0.02598552405834198 } - }, - "else": { - "operation": "boost", - "score": -0.09455753862857819 } }, "else": { - "operation": "boost", - "score": -0.041215695440769196 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" + "FunctionScope", + "GlobalScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01924913562834263 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.10141297429800034 - }, - "else": { - "operation": "boost", - "score": 0.07153403013944626 - } - } + "operation": "boost", + "score": 0.033611394464969635 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.11523742973804474 - }, - "else": { - "operation": "boost", - "score": 0.09477546811103821 - } + "operation": "boost", + "score": 0.09363895654678345 }, "else": { "operation": "boost", - "score": 0.057843178510665894 + "score": -0.06522787362337112 } } - }, - "else": { - "operation": "boost", - "score": 0.017984310165047646 } + }, + "else": { + "operation": "boost", + "score": -0.09745106846094131 } } } @@ -37639,41 +37395,32 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 133.5, + "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.06625165790319443 - }, - "else": { - "operation": "boost", - "score": 0.10962983220815659 - } + "operation": "boost", + "score": 0.07512295991182327 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09240899980068207 - }, - "else": { - "operation": "boost", - "score": 0.04434220492839813 - } + "operation": "boost", + "score": 0.10500594973564148 } }, "else": { - "operation": "boost", - "score": 0.03137477859854698 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.05258962884545326 + }, + "else": { + "operation": "boost", + "score": 0.03142070025205612 + } } }, "else": { @@ -37688,363 +37435,566 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 61387.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.05385678634047508 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Symbol" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.07924217730760574 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.08031348139047623 + "score": 0.09959348291158676 }, "else": { "operation": "boost", - "score": 0.10737958550453186 + "score": 0.050270453095436096 } - }, - "else": { - "operation": "boost", - "score": 0.07323703169822693 } }, "else": { - "operation": "boost", - "score": -0.020410703495144844 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05539652332663536 - }, - "else": { - "operation": "boost", - "score": 0.05385908856987953 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { - "operation": "boost", - "score": 0.0013504625530913472 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.06623093783855438 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.028381850570440292 + }, + "else": { + "operation": "boost", + "score": 0.088361956179142 + } + } }, "else": { "operation": "boost", - "score": 0.06253910809755325 + "score": -0.009806705638766289 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 120.5, + "threshold": 90.5, "then": { "operation": "boost", - "score": 0.1003573089838028 + "score": 0.09892570972442627 }, "else": { "operation": "boost", - "score": 0.07773058116436005 + "score": 0.07708510756492615 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.004412750247865915 }, "else": { "operation": "boost", - "score": 0.06425400078296661 + "score": 0.06009771302342415 } } } }, "else": { "operation": "boost", - "score": -0.004974620882421732 + "score": 0.003358637448400259 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.0654938593506813 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005024287384003401 + }, + "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 + } + } }, "else": { "operation": "boost", - "score": 0.021426189690828323 + "score": -0.05977655202150345 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71306.0, + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.06530718505382538 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.14031808078289032 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.14070595800876617 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, + "then": { + "operation": "boost", + "score": 0.11510325223207474 + }, + "else": { + "operation": "boost", + "score": 0.11561852693557739 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10990148037672043 + } }, "else": { - "operation": "boost", - "score": -0.005276269745081663 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09456486999988556 + } } }, "else": { - "operation": "boost", - "score": 0.08428774029016495 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "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 + } + }, + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.055213455110788345 + "score": 0.01874445751309395 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, + "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" + ], "then": { - "operation": "boost", - "score": 0.12536996603012085 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327227.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "boost", - "score": 0.033491101115942 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05157306045293808 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08459299057722092 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11957183480262756 + }, + "else": { + "operation": "boost", + "score": 0.12668254971504211 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1135420873761177 + }, + "else": { + "operation": "boost", + "score": 0.08962169289588928 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0873827412724495 + }, + "else": { + "operation": "boost", + "score": -0.15646661818027496 + } }, "else": { "operation": "boost", - "score": 0.09822572767734528 + "score": 0.04876156151294708 } } }, "else": { - "operation": "boost", - "score": 0.04603246971964836 + "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, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019022764638066292 + } + }, + "else": { + "operation": "boost", + "score": 0.10028426349163055 + } + }, + "else": { + "operation": "boost", + "score": -0.009936257265508175 + } } }, "else": { "operation": "boost", - "score": -0.014107145369052887 + "score": -0.03819447383284569 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.050399765372276306 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName" + "FunctionScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 634.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1064315214753151 + "score": -0.06657100468873978 }, "else": { - "operation": "boost", - "score": 0.07118763029575348 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.13068638741970062 + "score": -0.1987142115831375 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14669178426265717 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.13210666179656982 - }, - "else": { - "operation": "boost", - "score": 0.10610612481832504 - } - } + "operation": "boost", + "score": 0.031202232465147972 }, "else": { "operation": "boost", - "score": 0.1402812898159027 + "score": 0.11989691853523254 } } }, "else": { "operation": "boost", - "score": 0.06329724192619324 + "score": 0.07261911034584045 } - }, - "else": { - "operation": "boost", - "score": 0.009008927270770073 } + }, + "else": { + "operation": "boost", + "score": -0.06902772933244705 } }, "else": { "operation": "boost", - "score": 0.013623649254441261 + "score": -0.046342816203832626 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.04602479934692383 - }, - "else": { - "operation": "boost", - "score": -0.07949526607990265 - } } } } @@ -38069,7 +38019,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09304293990135193 + "score": 0.09499520063400269 }, "else": { "operation": "if_greater", @@ -38081,27 +38031,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09629923105239868 + "score": 0.09622552245855331 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.09281425923109055 - }, - "else": { - "operation": "boost", - "score": 0.04967840760946274 - } + "operation": "boost", + "score": 0.09273308515548706 } }, "else": { "operation": "boost", - "score": 0.07950768619775772 + "score": 0.07882481813430786 } } }, @@ -38119,38 +38058,49 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06442917138338089 + "score": 0.06796739995479584 }, "else": { "operation": "boost", - "score": 0.031385380774736404 + "score": 0.033618710935115814 } }, "else": { - "operation": "boost", - "score": 0.058715954422950745 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.06572984158992767 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.094930000603199 + }, + "else": { + "operation": "boost", + "score": 0.04593530669808388 + } + } } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09971761703491211 - }, - "else": { - "operation": "boost", - "score": 0.0965195968747139 - } + "operation": "boost", + "score": 0.04723113030195236 }, "else": { "operation": "boost", - "score": 0.02899816632270813 + "score": 0.02074565924704075 } } } @@ -38166,640 +38116,607 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.08814447373151779 + "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_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.06845016777515411 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08632145822048187 + "score": 0.11691262573003769 }, "else": { "operation": "boost", - "score": 0.09403367340564728 + "score": -0.011512279510498047 } - }, - "else": { - "operation": "boost", - "score": 0.05155489593744278 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.03102196380496025 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07298595458269119 + "score": 0.050407856702804565 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09631772339344025 + "score": 0.0831737220287323 }, "else": { - "operation": "boost", - "score": 0.06474395096302032 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015951581299304962 + }, + "else": { + "operation": "boost", + "score": 0.10436039417982101 + } } } + }, + "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": "NumReferences", - "threshold": 235.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09312871843576431 + "score": 0.055646561086177826 }, "else": { - "operation": "boost", - "score": 0.04166819155216217 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08672332763671875 + }, + "else": { + "operation": "boost", + "score": 0.08197664469480515 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1673.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06599969416856766 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 62487.5, "then": { + "operation": "boost", + "score": 0.07869970053434372 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.03191281855106354 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.06585726886987686 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1339.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1436.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13414810597896576 - }, - "else": { - "operation": "boost", - "score": 0.12328270077705383 - } + "operation": "boost", + "score": 0.1538955420255661 }, "else": { "operation": "boost", - "score": 0.1562960296869278 + "score": 0.09417697042226791 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 481.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 895.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 960.5, - "then": { - "operation": "boost", - "score": 0.15849244594573975 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.18152716755867004 - }, - "else": { - "operation": "boost", - "score": 0.14497382938861847 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1619015485048294 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 427.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 456.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 472.5, - "then": { - "operation": "boost", - "score": 0.18955488502979279 - }, - "else": { - "operation": "boost", - "score": 0.19024047255516052 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 450.5, - "then": { - "operation": "boost", - "score": 0.18788404762744904 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 442.5, - "then": { - "operation": "boost", - "score": 0.12286417186260223 - }, - "else": { - "operation": "boost", - "score": 0.17126312851905823 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 280.5, - "then": { - "operation": "boost", - "score": 0.17257384955883026 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 257.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.17365451157093048 - }, - "else": { - "operation": "boost", - "score": 0.1804051250219345 - } - }, - "else": { - "operation": "boost", - "score": 0.16762660443782806 - } - }, - "else": { - "operation": "boost", - "score": 0.13532418012619019 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.16044281423091888 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1502280831336975 - }, - "else": { - "operation": "boost", - "score": 0.15717701613903046 - } - } - } + "operation": "boost", + "score": 0.08375894278287888 } - } - }, - "else": { - "operation": "boost", - "score": 0.11869443953037262 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.17380094528198242 }, "else": { "operation": "boost", - "score": -0.11521586030721664 + "score": 0.06350743770599365 } - }, - "else": { - "operation": "boost", - "score": 0.10667730122804642 } } + }, + "else": { + "operation": "boost", + "score": -0.00908403005450964 } } }, "else": { - "operation": "boost", - "score": 0.025417743250727654 + "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": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10321398079395294 + }, + "else": { + "operation": "boost", + "score": 0.05196783319115639 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 1515.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.08609889447689056 + }, + "else": { + "operation": "boost", + "score": 0.028061307966709137 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11795271188020706 + }, + "else": { + "operation": "boost", + "score": 0.10415984690189362 + } + }, + "else": { + "operation": "boost", + "score": 0.02907082438468933 + } + }, + "else": { + "operation": "boost", + "score": 0.09295044094324112 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Variable", "Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.12766526639461517 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 513.0, - "then": { - "operation": "boost", - "score": 0.10731017589569092 - }, - "else": { - "operation": "boost", - "score": 0.14768050611019135 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.5, + "feature": "FilterLength", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.09637358784675598 + "score": 0.12339652329683304 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13218960165977478 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1363292634487152 - }, - "else": { - "operation": "boost", - "score": 0.171401247382164 - } - } + "operation": "boost", + "score": 0.13254466652870178 } }, "else": { - "operation": "boost", - "score": 0.1732558012008667 + "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.12517519295215607 + "score": 0.0944567546248436 } + }, + "else": { + "operation": "boost", + "score": 0.10727155208587646 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 59.5, "then": { "operation": "boost", - "score": 0.10290824621915817 + "score": 0.08814766258001328 }, "else": { "operation": "boost", - "score": 0.16568578779697418 + "score": 0.08839262276887894 } }, "else": { "operation": "boost", - "score": 0.02205761708319187 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 238.0, - "then": { - "operation": "boost", - "score": 0.09302186965942383 - }, - "else": { - "operation": "boost", - "score": 0.17076294124126434 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 605.0, - "then": { - "operation": "boost", - "score": 0.09742370992898941 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 477.0, - "then": { - "operation": "boost", - "score": 0.15620307624340057 - }, - "else": { - "operation": "boost", - "score": 0.17597058415412903 + "score": 0.07703255861997604 } } }, "else": { "operation": "boost", - "score": 0.10617905110120773 + "score": 0.055864572525024414 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.052435725927352905 - }, - "else": { - "operation": "boost", - "score": 0.0378301665186882 - } + "operation": "boost", + "score": 0.04512152820825577 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable", - "Namespace", - "Keyword", - "Macro", + "Function", "Type", - "Function" + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12127607315778732 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.0215779896825552 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.092179074883461 + }, + "else": { + "operation": "boost", + "score": 0.10934865474700928 + } + }, + "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.044251423329114914 + }, + "else": { + "operation": "boost", + "score": 0.10534540563821793 + } + }, + "else": { + "operation": "boost", + "score": 0.06950265914201736 + } + }, + "else": { + "operation": "boost", + "score": 0.04621891677379608 + } + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_DotMemberAccess" + ], "then": { "operation": "boost", - "score": 0.0471387580037117 + "score": 0.0369424931704998 }, "else": { "operation": "boost", - "score": 0.036602310836315155 + "score": 0.013735877349972725 } } - } - }, - "else": { - "operation": "boost", - "score": -0.09563366323709488 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.042544081807136536 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013689186424016953 + "score": 0.009574887342751026 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.12187869846820831 + "score": 0.05943911522626877 }, "else": { - "operation": "boost", - "score": 0.0824335515499115 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": "boost", + "score": 0.07937242835760117 + }, + "else": { + "operation": "boost", + "score": 0.04531017690896988 + } + }, + "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": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10700589418411255 - }, - "else": { - "operation": "boost", - "score": 0.06242195516824722 - } + "operation": "boost", + "score": -0.15779836475849152 } - }, - "else": { - "operation": "boost", - "score": 0.01798047497868538 } + }, + "else": { + "operation": "boost", + "score": -0.09598101675510406 } } } @@ -38807,496 +38724,549 @@ }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 150.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 3091.5, "then": { - "operation": "boost", - "score": 0.06303396075963974 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.08457107841968536 + }, + "else": { + "operation": "boost", + "score": 0.06675998121500015 + } }, "else": { "operation": "boost", - "score": 0.1083965003490448 + "score": 0.06518664956092834 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.09067989140748978 + "score": 0.10031922161579132 }, "else": { - "operation": "boost", - "score": 0.04292880743741989 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0296484287828207 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Keyword", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 610.0, "then": { "operation": "boost", - "score": 0.07552152127027512 + "score": 0.0895916074514389 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1196809783577919 - }, - "else": { - "operation": "boost", - "score": -0.012666911818087101 - } - }, - "else": { - "operation": "boost", - "score": 0.06345512717962265 - } + "operation": "boost", + "score": 0.09518180042505264 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.16151370108127594 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 227.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.19292668998241425 + "score": 0.14028973877429962 }, "else": { - "operation": "boost", - "score": 0.19285844266414642 + "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": "boost", - "score": 0.17121218144893646 + "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 } } } }, "else": { + "operation": "boost", + "score": 0.09616822749376297 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31541.5, "then": { - "operation": "boost", - "score": 0.03143387287855148 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32026.0, "then": { "operation": "boost", - "score": -0.09629195183515549 + "score": 0.0654509961605072 }, "else": { "operation": "boost", - "score": 0.1938512772321701 + "score": 0.12694329023361206 } + }, + "else": { + "operation": "boost", + "score": 0.03962288051843643 } + }, + "else": { + "operation": "boost", + "score": 0.018756821751594543 } }, "else": { "operation": "boost", - "score": 0.08251068741083145 + "score": -0.008197814226150513 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10565366595983505 + }, + "else": { + "operation": "boost", + "score": 0.060461290180683136 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "Variable", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 304.5, "then": { - "operation": "boost", - "score": 0.02338004857301712 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 313.5, "then": { "operation": "boost", - "score": 0.09746497124433517 + "score": 0.11204013973474503 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13083405792713165 - }, - "else": { - "operation": "boost", - "score": 0.13937577605247498 - } + "operation": "boost", + "score": 0.1275576949119568 } + }, + "else": { + "operation": "boost", + "score": 0.0885462835431099 } }, "else": { "operation": "boost", - "score": 0.06462821364402771 + "score": 0.08644454926252365 } }, "else": { - "operation": "boost", - "score": 0.062394410371780396 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6079.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": 0.0411398708820343 - }, - "else": { - "operation": "boost", - "score": 0.08953610807657242 - } + "operation": "boost", + "score": 0.06809698045253754 }, "else": { "operation": "boost", - "score": 0.025232788175344467 + "score": -0.0012585445074364543 } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08815333992242813 }, "else": { + "operation": "boost", + "score": 0.06667513400316238 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" + ], + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09708225727081299 + "score": 0.043188780546188354 }, "else": { - "operation": "boost", - "score": 0.03319507837295532 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11163381487131119 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14222103357315063 - }, - "else": { - "operation": "boost", - "score": 0.13605165481567383 - } - } - }, - "else": { - "operation": "boost", - "score": 0.044550638645887375 - } + "operation": "boost", + "score": 0.09168054163455963 }, "else": { - "operation": "boost", - "score": -0.011301775462925434 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.08595097064971924 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13379089534282684 - }, - "else": { - "operation": "boost", - "score": 0.12601681053638458 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11398264020681381 - } + "operation": "boost", + "score": 0.09859009832143784 }, "else": { "operation": "boost", - "score": 0.12103183567523956 + "score": 0.10537770390510559 } }, "else": { "operation": "boost", - "score": 0.07814478874206543 + "score": 0.0873592346906662 } }, "else": { "operation": "boost", - "score": 0.062161002308130264 + "score": 0.05226702243089676 } - }, - "else": { - "operation": "boost", - "score": 0.03678005933761597 } } + }, + "else": { + "operation": "boost", + "score": 0.010810046456754208 } + }, + "else": { + "operation": "boost", + "score": 0.035064976662397385 } } }, "else": { - "operation": "boost", - "score": -0.025109561160206795 + "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, + "then": { + "operation": "boost", + "score": -0.2426668405532837 + }, + "else": { + "operation": "boost", + "score": 0.10679509490728378 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009994917549192905 + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "boost", + "score": -0.06890865415334702 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 90.5, "then": { "operation": "boost", - "score": -0.1410597711801529 + "score": 0.10889960080385208 }, "else": { "operation": "boost", - "score": 0.11545102298259735 + "score": 0.08316154032945633 } }, "else": { "operation": "boost", - "score": -0.26261743903160095 + "score": 0.06711600720882416 } }, "else": { - "operation": "boost", - "score": 0.050304852426052094 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12712682783603668 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, + "then": { + "operation": "boost", + "score": 0.12615050375461578 + }, + "else": { + "operation": "boost", + "score": 0.12008615583181381 + } + }, + "else": { + "operation": "boost", + "score": 0.1204136312007904 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09184220433235168 + } + }, + "else": { + "operation": "boost", + "score": 0.05911026522517204 + } + }, + "else": { + "operation": "boost", + "score": -0.011837724596261978 + } } - }, - "else": { - "operation": "boost", - "score": -0.04345069080591202 } }, "else": { "operation": "boost", - "score": -0.07769067585468292 + "score": -0.07988978922367096 } } } @@ -39319,7 +39289,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09147027879953384 + "score": 0.09379677474498749 }, "else": { "operation": "if_greater", @@ -39331,16 +39301,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09476298093795776 + "score": 0.09508895874023438 }, "else": { "operation": "boost", - "score": 0.09035497158765793 + "score": 0.09079969674348831 } }, "else": { "operation": "boost", - "score": 0.07706913352012634 + "score": 0.07719690352678299 } } }, @@ -39353,25 +39323,54 @@ "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.045396070927381516 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06560327112674713 + }, + "else": { + "operation": "boost", + "score": 0.03134853392839432 + } }, "else": { - "operation": "boost", - "score": 0.055610425770282745 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.0626397505402565 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09579891711473465 + }, + "else": { + "operation": "boost", + "score": 0.042972054332494736 + } + } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.044886186718940735 + "score": 0.0642051100730896 }, "else": { "operation": "boost", - "score": 0.015086124651134014 + "score": 0.02398156188428402 } } } @@ -39387,493 +39386,635 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.0864492878317833 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.05306040868163109 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 116.5, "then": { "operation": "boost", - "score": 0.029932983219623566 + "score": 0.07998043298721313 }, "else": { "operation": "boost", - "score": 0.07843276113271713 + "score": 0.07870391011238098 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 24.5, "then": { - "operation": "boost", - "score": 0.1710001528263092 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08135859668254852 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.0, + "then": { + "operation": "boost", + "score": 0.1178073137998581 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08851122111082077 + } + } }, "else": { "operation": "boost", - "score": 0.08716735988855362 + "score": 0.013012549839913845 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1637.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09530170261859894 + "score": 0.12772290408611298 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.16174115240573883 - }, - "else": { - "operation": "boost", - "score": 0.11290685087442398 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 279.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 282.5, + "threshold": 22.5, "then": { + "operation": "boost", + "score": 0.14992696046829224 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1546669453382492 - }, - "else": { - "operation": "boost", - "score": 0.1034952700138092 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.14320605993270874 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 378.5, - "then": { - "operation": "boost", - "score": -0.10369933396577835 - }, - "else": { - "operation": "boost", - "score": 0.16785629093647003 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.0, - "then": { - "operation": "boost", - "score": 0.1729631870985031 - }, - "else": { - "operation": "boost", - "score": 0.15935368835926056 - } - } - } - } + "operation": "boost", + "score": 0.1315069943666458 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1566.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.11940626055002213 + "score": 0.14934110641479492 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 941.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1294.0, - "then": { - "operation": "boost", - "score": 0.12766088545322418 - }, - "else": { - "operation": "boost", - "score": 0.1464286595582962 - } - }, - "else": { - "operation": "boost", - "score": 0.13833270967006683 - } - }, - "else": { - "operation": "boost", - "score": 0.13497628271579742 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.15057530999183655 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1455758512020111 - }, - "else": { - "operation": "boost", - "score": 0.1650351583957672 - } - }, - "else": { - "operation": "boost", - "score": 0.11470788717269897 - } - } - } + "operation": "boost", + "score": -0.11049437522888184 } } - }, - "else": { - "operation": "boost", - "score": 0.15874844789505005 } }, "else": { "operation": "boost", - "score": 0.0916290134191513 + "score": 0.11702311038970947 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.13390330970287323 + }, + "else": { + "operation": "boost", + "score": 0.12210358679294586 } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.08548564463853836 - }, - "else": { - "operation": "boost", - "score": 0.1221630722284317 - } + "operation": "boost", + "score": 0.09876088798046112 } }, "else": { "operation": "boost", - "score": 0.08466532081365585 + "score": 0.1048678383231163 } } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.07219839841127396 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "Function" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.08891303837299347 + "score": 0.04814474284648895 }, "else": { - "operation": "boost", - "score": 0.02793963812291622 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07879649847745895 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02507765218615532 + }, + "else": { + "operation": "boost", + "score": 0.10036890208721161 + } + } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.05069954693317413 + "score": 0.059069495648145676 }, "else": { "operation": "boost", - "score": 0.03952411189675331 + "score": 0.034080833196640015 } } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Keyword", + "Variable", + "Type", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.0694495216012001 + "score": 0.08331289887428284 }, "else": { "operation": "boost", - "score": 0.08732679486274719 + "score": 0.0486983060836792 } }, "else": { - "operation": "boost", - "score": 0.039994608610868454 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015473397448658943 + }, + "else": { + "operation": "boost", + "score": 0.04460880532860756 + } } }, "else": { + "operation": "boost", + "score": -0.027857527136802673 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2696.0, + "then": { + "operation": "boost", + "score": 0.03448713570833206 + }, + "else": { + "operation": "boost", + "score": -0.027178598567843437 + } + } + }, + "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_Statement", - "CCC_ParenthesizedExpression" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11353477835655212 + }, + "else": { + "operation": "boost", + "score": 0.097087562084198 + } + }, + "else": { + "operation": "boost", + "score": 0.08966151624917984 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Variable", + "Type" ], "then": { - "operation": "boost", - "score": 0.0763883888721466 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10435163974761963 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08534149825572968 + }, + "else": { + "operation": "boost", + "score": 0.07455972582101822 + } + } }, "else": { "operation": "boost", - "score": 0.04524250328540802 + "score": 0.05390727519989014 } - }, - "else": { - "operation": "boost", - "score": 0.021911969408392906 } + }, + "else": { + "operation": "boost", + "score": 0.040481675416231155 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" + "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.05118411034345627 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09298846125602722 + }, + "else": { + "operation": "boost", + "score": 0.10880439728498459 + } }, "else": { - "operation": "boost", - "score": 0.03665715083479881 + "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.04154878854751587 + }, + "else": { + "operation": "boost", + "score": 0.10225320607423782 + } + }, + "else": { + "operation": "boost", + "score": 0.06602799892425537 + } + }, + "else": { + "operation": "boost", + "score": 0.0336955189704895 + } } }, "else": { "operation": "boost", - "score": -0.09066583216190338 + "score": 0.024536680430173874 } }, "else": { - "operation": "boost", - "score": -0.03922831639647484 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.02704487182199955 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.009328179061412811 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.057327136397361755 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.16554774343967438 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.11481592059135437 + }, + "else": { + "operation": "boost", + "score": 0.0867886170744896 + } + }, + "else": { + "operation": "boost", + "score": 0.04200948029756546 + } }, "else": { "operation": "boost", - "score": 0.11392118781805038 + "score": 0.03840666636824608 } }, "else": { - "operation": "boost", - "score": 0.10884079337120056 + "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.04511291906237602 + }, + "else": { + "operation": "boost", + "score": -0.022946802899241447 + } } - }, - "else": { - "operation": "boost", - "score": 0.0707775205373764 } - }, - "else": { - "operation": "boost", - "score": 0.062006231397390366 } + }, + "else": { + "operation": "boost", + "score": -0.15148615837097168 } - }, - "else": { - "operation": "boost", - "score": 0.013373438268899918 } + }, + "else": { + "operation": "boost", + "score": -0.09410938620567322 } } } @@ -39886,684 +40027,533 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 129.5, + "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 205637.0, "then": { + "operation": "boost", + "score": 0.0723692774772644 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.06043105572462082 + "score": 0.11100007593631744 }, "else": { "operation": "boost", - "score": 0.10587205737829208 + "score": 0.08533474802970886 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.0511174201965332 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0879659429192543 + "score": 0.04763495549559593 }, "else": { "operation": "boost", - "score": 0.041292618960142136 + "score": 0.026507295668125153 } } - }, - "else": { - "operation": "boost", - "score": 0.028513897210359573 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.04680144041776657 - }, - "else": { - "operation": "boost", - "score": 0.08218923211097717 - } - }, - "else": { - "operation": "boost", - "score": 0.04849403724074364 - } - }, - "else": { - "operation": "boost", - "score": 0.01892164722084999 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13978920876979828 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08852794766426086 - }, - "else": { - "operation": "boost", - "score": 0.12695521116256714 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08130710572004318 - }, - "else": { - "operation": "boost", - "score": 0.11973075568675995 - } - }, - "else": { - "operation": "boost", - "score": 0.1160106360912323 - } - } + "operation": "boost", + "score": 0.1858838051557541 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09892617911100388 - }, - "else": { - "operation": "boost", - "score": 0.22090007364749908 - } + "operation": "boost", + "score": 0.14832377433776855 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 29.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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.07891064137220383 + "score": -0.19121751189231873 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12520018219947815 - }, - "else": { - "operation": "boost", - "score": 0.12202698737382889 - } + "operation": "boost", + "score": 0.02210078574717045 }, "else": { "operation": "boost", - "score": 0.13739563524723053 + "score": 0.11542722582817078 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11464463174343109 - }, - "else": { - "operation": "boost", - "score": 0.09024135768413544 - } } }, "else": { "operation": "boost", - "score": -0.018927060067653656 + "score": 0.05382590368390083 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "FileScope" + "ClassScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11715521663427353 + }, + "else": { + "operation": "boost", + "score": 0.11295679956674576 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234860.0, "then": { "operation": "boost", - "score": 0.016194654628634453 + "score": 0.025061940774321556 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 174254.0, "then": { "operation": "boost", - "score": -0.11233014613389969 + "score": 0.1146898865699768 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.09869313985109329 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91957.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04611850157380104 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12480995804071426 - }, - "else": { - "operation": "boost", - "score": 0.1325693279504776 - } - } + "operation": "boost", + "score": 0.11479062587022781 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.15036602318286896 - }, - "else": { - "operation": "boost", - "score": 0.16975797712802887 - } - }, - "else": { - "operation": "boost", - "score": 0.1684856414794922 - } + "operation": "boost", + "score": 0.12533311545848846 } - }, - "else": { - "operation": "boost", - "score": 0.07145287841558456 } } } }, "else": { "operation": "boost", - "score": 0.08734554052352905 + "score": 0.03572395071387291 } - }, - "else": { - "operation": "boost", - "score": 0.050970546901226044 } }, "else": { "operation": "boost", - "score": -0.04511733725667 + "score": 0.05979388579726219 } }, "else": { "operation": "boost", - "score": -0.007059118710458279 + "score": 0.08910321444272995 } } }, "else": { - "operation": "boost", - "score": -0.03919680789113045 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 61550.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.10777082294225693 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.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", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0690579041838646 + }, + "else": { + "operation": "boost", + "score": -0.20275302231311798 + } + }, + "else": { + "operation": "boost", + "score": -0.18411147594451904 + } }, "else": { "operation": "boost", - "score": 0.08727575838565826 + "score": 0.0919668897986412 } }, "else": { "operation": "boost", - "score": 0.06733399629592896 + "score": 0.02456427738070488 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14866389334201813 - }, - "else": { - "operation": "boost", - "score": 0.12564687430858612 - } - }, - "else": { - "operation": "boost", - "score": 0.13509264588356018 - } - }, - "else": { - "operation": "boost", - "score": 0.12694613635540009 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.009699813090264797 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.10059314221143723 + "score": 0.08770495653152466 }, "else": { "operation": "boost", - "score": 0.049192965030670166 + "score": 0.10719464719295502 } - } - }, - "else": { - "operation": "boost", - "score": 0.04060312733054161 - } - }, - "else": { - "operation": "boost", - "score": 0.021865710616111755 - } - }, - "else": { - "operation": "boost", - "score": -0.014140341430902481 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.07334787398576736 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.06115642189979553 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.1362975388765335 + "score": 0.01956593431532383 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.07081660628318787 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12074840068817139 - }, - "else": { - "operation": "boost", - "score": 0.128611221909523 - } - }, - "else": { - "operation": "boost", - "score": 0.1252288967370987 - } + "operation": "boost", + "score": 0.11406219750642776 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.13409774005413055 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": 0.12830707430839539 - }, - "else": { - "operation": "boost", - "score": -0.06879721581935883 - } - } + "operation": "boost", + "score": 0.09707805514335632 } }, "else": { "operation": "boost", - "score": 0.1412140130996704 + "score": 0.09400828927755356 } - }, - "else": { - "operation": "boost", - "score": 0.017911037430167198 } }, "else": { + "operation": "boost", + "score": 0.029634563252329826 + } + } + } + }, + "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" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06283459067344666 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.09056264907121658 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Statement" + "CCC_ClassOrStructTag", + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.12137892097234726 + "score": 0.09689542651176453 }, "else": { "operation": "boost", - "score": 0.1167675256729126 + "score": 0.018205493688583374 } + }, + "else": { + "operation": "boost", + "score": 0.057008251547813416 } + } + }, + "else": { + "operation": "boost", + "score": 0.0012523445766419172 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008355220779776573 + } + } + }, + "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": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09252878278493881 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.04813031107187271 }, "else": { "operation": "boost", - "score": 0.08168212324380875 + "score": 0.10535271465778351 } } + }, + "else": { + "operation": "boost", + "score": 0.07249496877193451 } }, "else": { "operation": "boost", - "score": 0.06397263705730438 + "score": 0.027454162016510963 } }, "else": { - "operation": "boost", - "score": -0.015505035407841206 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0566537119448185 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.07749057561159134 } + }, + "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 } } } @@ -40586,7 +40576,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09135985374450684 + "score": 0.09259036183357239 }, "else": { "operation": "if_greater", @@ -40598,16 +40588,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09356466680765152 + "score": 0.09381041675806046 }, "else": { "operation": "boost", - "score": 0.08871360868215561 + "score": 0.08907203376293182 } }, "else": { "operation": "boost", - "score": 0.07389072328805923 + "score": 0.07462623715400696 } } }, @@ -40616,51 +40606,12 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06074041873216629 - }, - "else": { - "operation": "boost", - "score": 0.02689969725906849 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.058861490339040756 - }, - "else": { - "operation": "boost", - "score": 0.03694948926568031 - } - } + "operation": "boost", + "score": 0.05114961415529251 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06482165306806564 - }, - "else": { - "operation": "boost", - "score": 0.020599037408828735 - } + "operation": "boost", + "score": 0.0255378820002079 } } }, @@ -40675,629 +40626,618 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.08400087058544159 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0882733017206192 + "score": 0.08317477256059647 }, "else": { "operation": "boost", - "score": 0.048003971576690674 + "score": 0.0759904533624649 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.028152136132121086 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.06886609643697739 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], - "then": { - "operation": "boost", - "score": 0.09075010567903519 - }, - "else": { - "operation": "boost", - "score": 0.05784577876329422 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.16359177231788635 - }, - "else": { - "operation": "boost", - "score": 0.08541138470172882 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1637.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.0940672904253006 + "score": 0.12335138022899628 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.1509498655796051 + "score": 0.14133939146995544 }, "else": { - "operation": "boost", - "score": 0.11080866307020187 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 279.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 282.5, + "threshold": 18.5, "then": { + "operation": "boost", + "score": 0.1266189068555832 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 997.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10823801159858704 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1336.5, - "then": { - "operation": "boost", - "score": 0.11756852269172668 - }, - "else": { - "operation": "boost", - "score": 0.14498095214366913 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11870411038398743 - } + "operation": "boost", + "score": 0.1457187831401825 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 360.0, - "then": { - "operation": "boost", - "score": 0.11223151534795761 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1553957462310791 - }, - "else": { - "operation": "boost", - "score": -0.08516491949558258 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14653585851192474 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.143967866897583 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 654.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1091720312833786 - }, - "else": { - "operation": "boost", - "score": 0.14919650554656982 - } - }, - "else": { - "operation": "boost", - "score": 0.10777704417705536 - } - }, - "else": { - "operation": "boost", - "score": 0.14477267861366272 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 490.0, - "then": { - "operation": "boost", - "score": 0.1511213332414627 - }, - "else": { - "operation": "boost", - "score": 0.1567579060792923 - } - }, - "else": { - "operation": "boost", - "score": 0.13799099624156952 - } - }, - "else": { - "operation": "boost", - "score": 0.12420795857906342 - } - } - } + "operation": "boost", + "score": -0.16824063658714294 } + } + } + }, + "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.151759535074234 + "score": 0.13057731091976166 } }, "else": { "operation": "boost", - "score": 0.08711588382720947 + "score": 0.0811709463596344 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12001139670610428 - }, - "else": { - "operation": "boost", - "score": 0.10802043229341507 - } + "operation": "boost", + "score": 0.09800039976835251 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 237.5, + "threshold": 34.5, "then": { - "operation": "boost", - "score": 0.07872363924980164 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { + "operation": "boost", + "score": 0.1224432960152626 + }, + "else": { + "operation": "boost", + "score": 0.1154247596859932 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08125975728034973 + } }, "else": { "operation": "boost", - "score": 0.1436898112297058 + "score": 0.06975579261779785 } } + }, + "else": { + "operation": "boost", + "score": 0.09846442937850952 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "FileScope" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.08402824401855469 - }, - "else": { - "operation": "boost", - "score": 0.02869335375726223 - } + "operation": "boost", + "score": 0.06914860755205154 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.046731237322092056 + "score": 0.044148705899715424 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.07272559404373169 + "score": 0.07530423998832703 }, "else": { - "operation": "boost", - "score": 0.034285642206668854 + "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": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", "Type", - "Function" + "Namespace" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Namespace" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04003192484378815 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10572876781225204 - }, - "else": { - "operation": "boost", - "score": 0.1051216796040535 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05610569939017296 - } - }, - "else": { - "operation": "boost", - "score": 0.03679998591542244 - } + "operation": "boost", + "score": 0.04574592784047127 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.056276530027389526 - }, - "else": { - "operation": "boost", - "score": 0.043083034455776215 - } + "operation": "boost", + "score": 0.08434715867042542 }, "else": { "operation": "boost", - "score": -0.06247483566403389 + "score": 0.07744351029396057 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.1163846030831337 + "score": 0.049330323934555054 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], - "then": { - "operation": "boost", - "score": 0.11564552783966064 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04867105558514595 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03668656945228577 - }, - "else": { - "operation": "boost", - "score": 0.024263981729745865 - } - } - } + "operation": "boost", + "score": 0.021839236840605736 } } }, "else": { - "operation": "boost", - "score": -0.0973304733633995 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04691008850932121 + }, + "else": { + "operation": "boost", + "score": 0.004355084616690874 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { "operation": "boost", - "score": -0.03627084195613861 + "score": 0.06416507810354233 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "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" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.1040799617767334 + }, + "else": { + "operation": "boost", + "score": 0.016477419063448906 + } + }, + "else": { + "operation": "boost", + "score": 0.08777765929698944 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.14842547476291656 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12230589985847473 + }, + "else": { + "operation": "boost", + "score": 0.12431298196315765 + } }, "else": { - "operation": "boost", - "score": 0.11166593432426453 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66.5, + "then": { + "operation": "boost", + "score": 0.11839272826910019 + }, + "else": { + "operation": "boost", + "score": 0.12033988535404205 + } } }, "else": { "operation": "boost", - "score": 0.12228184938430786 + "score": 0.08927515149116516 } }, "else": { "operation": "boost", - "score": 0.15532906353473663 + "score": 0.09855083376169205 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.10873784124851227 + "score": 0.08192767202854156 }, "else": { "operation": "boost", - "score": 0.07172928005456924 + "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_ClassStructUnion", - "CCC_Type", "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.07980795204639435 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09091003239154816 + }, + "else": { + "operation": "boost", + "score": 0.10754305124282837 + } }, "else": { - "operation": "boost", - "score": 0.055476874113082886 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03981047123670578 + }, + "else": { + "operation": "boost", + "score": 0.08152149617671967 + } + }, + "else": { + "operation": "boost", + "score": 0.033814575523138046 + } } + }, + "else": { + "operation": "boost", + "score": 0.021195976063609123 } }, "else": { - "operation": "boost", - "score": 0.016584409400820732 - } + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08827611804008484 + }, + "else": { + "operation": "boost", + "score": -0.06351738423109055 + } + }, + "else": { + "operation": "boost", + "score": 0.09769657254219055 + } + }, + "else": { + "operation": "boost", + "score": 0.00994063075631857 + } + }, + "else": { + "operation": "boost", + "score": -0.06290064007043839 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09165337681770325 } } } @@ -41305,550 +41245,596 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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.06979764252901077 + }, + "else": { + "operation": "boost", + "score": 0.10109245032072067 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.04844158887863159 + }, + "else": { + "operation": "boost", + "score": 0.03143789619207382 + } + } + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1164.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.0753885805606842 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7103.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23452.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 188273.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 206450.5, "then": { + "operation": "boost", + "score": 0.05705789849162102 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 204563.0, "then": { "operation": "boost", - "score": 0.0796399787068367 + "score": 0.11289087682962418 }, "else": { + "operation": "boost", + "score": 0.09300626069307327 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027166256681084633 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 18860.0, "then": { - "operation": "boost", - "score": 0.11970730870962143 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.11773435771465302 + }, + "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 + } + } }, "else": { - "operation": "boost", - "score": 0.12037629634141922 + "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 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.10231499373912811 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.06114117428660393 + "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", + "set": [ + "Variable", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10036284476518631 + "score": 0.1027001366019249 }, "else": { "operation": "boost", - "score": 0.11600842326879501 + "score": 0.09188303351402283 } + }, + "else": { + "operation": "boost", + "score": 0.07511378824710846 } - }, - "else": { - "operation": "boost", - "score": 0.07848017662763596 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.047684863209724426 - }, - "else": { - "operation": "boost", - "score": 0.027266500517725945 - } + "operation": "boost", + "score": 0.0605032853782177 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.07622769474983215 }, "else": { + "operation": "boost", + "score": 0.037961069494485855 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006889455020427704 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13024494051933289 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "ClassScope" ], "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10866813361644745 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005190904717892408 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.053396329283714294 + }, + "else": { + "operation": "boost", + "score": 0.1705029159784317 + } + } + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04393569007515907 + "score": 0.08316624164581299 }, "else": { "operation": "boost", - "score": 0.13757441937923431 + "score": 0.04207784682512283 } }, "else": { "operation": "boost", - "score": 0.0033159430604428053 + "score": 0.020345350727438927 } - }, - "else": { - "operation": "boost", - "score": -0.007822569459676743 } + }, + "else": { + "operation": "boost", + "score": 0.007132420781999826 } }, "else": { "operation": "boost", - "score": -0.10244732350111008 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.022743621841073036 - }, - "else": { - "operation": "boost", - "score": -0.11981808394193649 + "score": -0.07066159695386887 } - }, - "else": { - "operation": "boost", - "score": -0.0003672741004265845 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_UnionTag" + "Variable", + "Type", + "Namespace" ], - "then": { - "operation": "boost", - "score": 0.08322788029909134 - }, - "else": { - "operation": "boost", - "score": 0.05671955272555351 - } - }, - "else": { - "operation": "boost", - "score": 0.030871128663420677 - } - }, - "else": { - "operation": "boost", - "score": 0.017948031425476074 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.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": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassStructUnion", "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 233.5, + "threshold": 116.5, "then": { "operation": "boost", - "score": 0.10697364807128906 + "score": 0.1045694425702095 }, "else": { - "operation": "boost", - "score": 0.07550563663244247 - } - }, - "else": { - "operation": "boost", - "score": 0.08794008195400238 - } - }, - "else": { - "operation": "boost", - "score": 0.06729035824537277 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FilterLength", "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 502.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11978200823068619 + "score": 0.12127768993377686 }, "else": { "operation": "boost", - "score": -0.18094410002231598 + "score": 0.1129998043179512 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.13823875784873962 - }, - "else": { - "operation": "boost", - "score": 0.12571169435977936 - } + "operation": "boost", + "score": 0.09098424762487411 } - }, - "else": { - "operation": "boost", - "score": 0.13525420427322388 } }, "else": { "operation": "boost", - "score": 0.18286600708961487 + "score": 0.0893661379814148 } }, "else": { "operation": "boost", - "score": 0.12638749182224274 + "score": 0.04508533328771591 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 193454.5, + "threshold": 191566.0, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1147279143333435 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": 0.07367988675832748 - }, - "else": { - "operation": "boost", - "score": 0.1502796858549118 - } - } + "operation": "boost", + "score": 0.053215205669403076 }, "else": { "operation": "boost", - "score": 0.035299383103847504 + "score": 0.024995483458042145 } - }, - "else": { - "operation": "boost", - "score": -0.00824789796024561 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + }, + "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.0652032196521759 + "score": -0.01255775149911642 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.05191807076334953 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.16220511496067047 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.1286897212266922 - }, - "else": { - "operation": "boost", - "score": 0.21311825513839722 - } + "operation": "boost", + "score": -0.1302957385778427 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": 0.11879786849021912 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.12826569378376007 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": 0.12510186433792114 - }, - "else": { - "operation": "boost", - "score": -0.14057950675487518 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12335903942584991 - } - }, - "else": { - "operation": "boost", - "score": 0.05189377814531326 - } + "operation": "boost", + "score": 0.018008451908826828 }, "else": { "operation": "boost", - "score": 0.11203591525554657 + "score": 0.11268454790115356 } } + }, + "else": { + "operation": "boost", + "score": 0.058712247759103775 } - }, - "else": { - "operation": "boost", - "score": 0.10395492613315582 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11541475355625153 - }, - "else": { - "operation": "boost", - "score": 0.06469856202602386 - } + "operation": "boost", + "score": -0.05131932720541954 } }, "else": { "operation": "boost", - "score": -0.0036247980315238237 + "score": -0.04602367803454399 } } - }, - "else": { - "operation": "boost", - "score": -0.07329241186380386 } } } @@ -41870,17 +41856,8 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09323979169130325 - }, - "else": { - "operation": "boost", - "score": 0.07315793633460999 - } + "operation": "boost", + "score": 0.09119874238967896 }, "else": { "operation": "if_greater", @@ -41892,16 +41869,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0922294408082962 + "score": 0.09327206760644913 }, "else": { "operation": "boost", - "score": 0.08657882362604141 + "score": 0.0871359333395958 } }, "else": { "operation": "boost", - "score": 0.07279697060585022 + "score": 0.07250507920980453 } } }, @@ -41915,16 +41892,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06188095733523369 + "score": 0.0645674616098404 }, "else": { "operation": "boost", - "score": 0.03289981186389923 + "score": 0.03455371409654617 } }, "else": { "operation": "boost", - "score": 0.02416549064218998 + "score": 0.024982482194900513 } } }, @@ -41939,534 +41916,380 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 7.0, + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 312.5, - "then": { - "operation": "boost", - "score": -0.07003933936357498 - }, - "else": { - "operation": "boost", - "score": 0.13148045539855957 - } - }, - "else": { - "operation": "boost", - "score": 0.03772402182221413 - } + "operation": "boost", + "score": 0.07461578398942947 }, "else": { "operation": "boost", - "score": 0.07913826406002045 + "score": 0.09733989834785461 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.047648243606090546 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05505699664354324 + }, + "else": { + "operation": "boost", + "score": 0.07089319825172424 + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.026228323578834534 + "score": 0.03740975260734558 }, "else": { "operation": "boost", - "score": 0.07396946847438812 + "score": 0.07667089998722076 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.15696339309215546 + "score": 0.046517640352249146 }, "else": { "operation": "boost", - "score": 0.08383934944868088 + "score": 0.032823596149683 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "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": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1637.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.09310910105705261 + "score": 0.09801036864519119 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.14238640666007996 - }, - "else": { - "operation": "boost", - "score": 0.10908613353967667 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 358.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 363.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08972484618425369 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 997.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10301901400089264 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1404.5, - "then": { - "operation": "boost", - "score": 0.11566045880317688 - }, - "else": { - "operation": "boost", - "score": 0.1393040418624878 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12269236892461777 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.13803185522556305 - }, - "else": { - "operation": "boost", - "score": 0.1334598809480667 - } - }, - "else": { - "operation": "boost", - "score": 0.13905476033687592 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478.5, - "then": { - "operation": "boost", - "score": 0.12451230734586716 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.14191368222236633 - }, - "else": { - "operation": "boost", - "score": 0.1111707091331482 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.15316158533096313 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.13484452664852142 - }, - "else": { - "operation": "boost", - "score": 0.1477476805448532 - } - }, - "else": { - "operation": "boost", - "score": 0.11172390729188919 - } - } - } + "operation": "boost", + "score": 0.075131356716156 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 873.0, "then": { "operation": "boost", - "score": 0.07491999864578247 + "score": 0.11242450028657913 }, "else": { "operation": "boost", - "score": 0.11200665682554245 + "score": 0.12394590675830841 } } }, "else": { "operation": "boost", - "score": 0.07614898681640625 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.08133115619421005 - }, - "else": { - "operation": "boost", - "score": 0.022253068163990974 + "score": 0.028075912967324257 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04409726336598396 - }, - "else": { - "operation": "boost", - "score": 0.03302023187279701 - } + "operation": "boost", + "score": -0.027106957510113716 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.11221346259117126 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 56.5, "then": { - "operation": "boost", - "score": 0.03807513415813446 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace" + "Type" ], + "then": { + "operation": "boost", + "score": 0.10166723281145096 + }, + "else": { + "operation": "boost", + "score": 0.014953520148992538 + } + }, + "else": { + "operation": "boost", + "score": 0.08420182019472122 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0388907827436924 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1040441244840622 - }, - "else": { - "operation": "boost", - "score": 0.1024748831987381 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05040455237030983 - } + "operation": "boost", + "score": 0.07702026516199112 }, "else": { "operation": "boost", - "score": 0.03195611387491226 + "score": 0.128156840801239 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.039541371166706085 - }, - "else": { - "operation": "boost", - "score": -0.05985127389431 - } + "operation": "boost", + "score": 0.07970425486564636 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11184487491846085 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04663698747754097 - }, - "else": { - "operation": "boost", - "score": 0.017440054565668106 - } - } + "operation": "boost", + "score": 0.07279983907938004 } + }, + "else": { + "operation": "boost", + "score": 0.04926423728466034 } } }, "else": { "operation": "boost", - "score": -0.09398497641086578 + "score": 0.038524314761161804 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.033677708357572556 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.13180223107337952 + "score": 0.0904608890414238 }, "else": { "operation": "boost", - "score": 0.11887788772583008 + "score": 0.10678625106811523 } }, "else": { - "operation": "boost", - "score": 0.14603836834430695 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.040834613144397736 + }, + "else": { + "operation": "boost", + "score": 0.0771755650639534 + } } }, "else": { "operation": "boost", - "score": 0.09037823230028152 + "score": 0.02839483879506588 } }, + "else": { + "operation": "boost", + "score": 0.01863723061978817 + } + }, + "else": { + "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 + }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_Symbol" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.07903557270765305 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.15091529488563538 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05784930661320686 + }, + "else": { + "operation": "boost", + "score": 0.09722376614809036 + } + }, + "else": { + "operation": "boost", + "score": 0.021751653403043747 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0018639143090695143 + } }, "else": { "operation": "boost", - "score": 0.05298186466097832 + "score": -0.060534585267305374 } } - }, - "else": { - "operation": "boost", - "score": 0.01591149903833866 } + }, + "else": { + "operation": "boost", + "score": -0.08860339969396591 } } } @@ -42474,84 +42297,38 @@ }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.05693012848496437 - }, - "else": { - "operation": "boost", - "score": 0.1029461994767189 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0833258256316185 - }, - "else": { - "operation": "boost", - "score": 0.03823530301451683 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02866743691265583 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Keyword", - "Type" - ], + "feature": "FileProximityDistance", + "threshold": 34.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Keyword", + "Variable", + "Type", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.012954844161868095 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.05459325760602951 + "score": -0.08487161993980408 }, "else": { "operation": "if_greater", @@ -42559,589 +42336,779 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.13134141266345978 + "score": 0.10555646568536758 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.15536411106586456 + "score": 0.12318436801433563 }, "else": { - "operation": "boost", - "score": 0.1639091670513153 + "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.15231958031654358 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07562384754419327 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "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.05465449020266533 - }, - "else": { - "operation": "boost", - "score": -0.20606043934822083 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10019184648990631 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11897876113653183 - }, - "else": { - "operation": "boost", - "score": 0.08921598643064499 - } - } + "score": 0.20031362771987915 } - }, - "else": { - "operation": "boost", - "score": 0.03795301914215088 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0029989597387611866 + "score": 0.08438374847173691 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07119189947843552 + "score": 0.11613902449607849 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12096709758043289 - }, - "else": { - "operation": "boost", - "score": 0.12579147517681122 - } + "operation": "boost", + "score": 0.12322815507650375 } } }, "else": { "operation": "boost", - "score": 0.05346878245472908 + "score": 0.11992766708135605 } }, "else": { - "operation": "boost", - "score": 0.03572939336299896 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10816497355699539 + }, + "else": { + "operation": "boost", + "score": 0.11734188348054886 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "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_greater", - "feature": "NumReferences", - "threshold": 126.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10516385734081268 + "score": 0.041480787098407745 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "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": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04684830084443092 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 522.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11752934753894806 + "score": 0.15667423605918884 }, "else": { "operation": "boost", - "score": 0.13541904091835022 + "score": 0.15655730664730072 } }, "else": { "operation": "boost", - "score": 0.13417702913284302 + "score": 0.15019486844539642 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.0, - "then": { - "operation": "boost", - "score": 0.13144734501838684 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.5, - "then": { - "operation": "boost", - "score": 0.15178389847278595 - }, - "else": { - "operation": "boost", - "score": 0.13052910566329956 - } - } + "operation": "boost", + "score": 0.15743069350719452 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05925422161817551 }, "else": { "operation": "boost", - "score": 0.12760619819164276 + "score": 0.15059779584407806 } - }, - "else": { - "operation": "boost", - "score": 0.09429076313972473 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03375318646430969 + "score": -0.13547883927822113 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.14846475422382355 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09706133604049683 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12260928750038147 - }, - "else": { - "operation": "boost", - "score": 0.10200361162424088 - } - } + "operation": "boost", + "score": 0.01304571982473135 }, "else": { "operation": "boost", - "score": 0.041619978845119476 + "score": 0.10992425680160522 } - }, - "else": { - "operation": "boost", - "score": 0.020575879141688347 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.03149433806538582 + }, + "else": { + "operation": "boost", + "score": 0.11460621654987335 + } + }, + "else": { + "operation": "boost", + "score": 0.08945854008197784 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06533350050449371 + } + }, + "else": { + "operation": "boost", + "score": -0.003099750727415085 + } + }, + "else": { + "operation": "boost", + "score": -0.013651938177645206 + } + } + }, + "else": { + "operation": "boost", + "score": -0.032753780484199524 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26198.0, + "then": { + "operation": "boost", + "score": 0.05976543202996254 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.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_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.005310053937137127 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08354818820953369 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.009218382649123669 - }, - "else": { - "operation": "boost", - "score": 0.1142931580543518 - } - }, - "else": { - "operation": "boost", - "score": 0.1117185726761818 - } - } + "operation": "boost", + "score": 0.10252104699611664 }, "else": { "operation": "boost", - "score": 0.10235783457756042 + "score": 0.12698420882225037 } + }, + "else": { + "operation": "boost", + "score": -0.11727119237184525 } }, "else": { "operation": "boost", - "score": 0.07432574778795242 + "score": 0.09934631735086441 } }, "else": { "operation": "boost", - "score": 0.052285801619291306 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0605890229344368 - }, - "else": { - "operation": "boost", - "score": -0.05987267196178436 + "score": 0.01939484104514122 } } }, "else": { "operation": "boost", - "score": -0.009473942220211029 + "score": 0.05068403482437134 } } }, + "else": { + "operation": "boost", + "score": 0.04401484131813049 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005033364985138178 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + "operation": "boost", + "score": 0.029090087860822678 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.09987770766019821 + "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.05230361968278885 + "score": 0.03164295107126236 } - }, - "else": { - "operation": "boost", - "score": 0.02799873799085617 } } } } - }, - "else": { - "operation": "boost", - "score": -0.02156062424182892 } + }, + "else": { + "operation": "boost", + "score": 0.004041620995849371 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 3091.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_ParenthesizedExpression", "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Type" ], + "then": { + "operation": "boost", + "score": 0.08833400905132294 + }, + "else": { + "operation": "boost", + "score": 0.061495590955019 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0628533810377121 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.13039498031139374 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07014434039592743 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 100.5, "then": { "operation": "boost", - "score": -0.1320093423128128 + "score": 0.12774993479251862 }, "else": { "operation": "boost", - "score": 0.11170677095651627 + "score": 0.1228564903140068 } }, "else": { "operation": "boost", - "score": -0.1877719908952713 + "score": 0.11434896290302277 } }, "else": { "operation": "boost", - "score": 0.04980933666229248 + "score": 0.11339371651411057 } - }, - "else": { - "operation": "boost", - "score": -0.03797857463359833 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.009524664841592312 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.11956097185611725 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 532.0, + "then": { + "operation": "boost", + "score": 0.11418567597866058 + }, + "else": { + "operation": "boost", + "score": 0.10713803023099899 + } + }, + "else": { + "operation": "boost", + "score": 0.08442425727844238 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6079.5, "then": { "operation": "boost", - "score": 0.13809120655059814 + "score": 0.07092804461717606 }, "else": { "operation": "boost", - "score": -0.021776320412755013 + "score": 1.3816131286148448e-05 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.13224418461322784 - }, - "else": { - "operation": "boost", - "score": -0.13559822738170624 - } + "operation": "boost", + "score": 0.026111025363206863 } - }, - "else": { - "operation": "boost", - "score": -0.07496877759695053 } } - } - } - } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020558400079607964 + }, + "else": { + "operation": "boost", + "score": -0.06700631976127625 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08545611053705215 + }, + "else": { + "operation": "boost", + "score": 0.06880543380975723 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10638370364904404 + }, + "else": { + "operation": "boost", + "score": 0.08651256561279297 + } + }, + "else": { + "operation": "boost", + "score": 0.055402301251888275 + } + }, + "else": { + "operation": "boost", + "score": 0.004568946082144976 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07424012571573257 + } + } + } + } } }, { @@ -43159,17 +43126,8 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09279514849185944 - }, - "else": { - "operation": "boost", - "score": 0.06663431972265244 - } + "operation": "boost", + "score": 0.09021837264299393 }, "else": { "operation": "if_greater", @@ -43181,16 +43139,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09055550396442413 + "score": 0.09102986007928848 }, "else": { "operation": "boost", - "score": 0.08490457385778427 + "score": 0.08598382025957108 } }, "else": { "operation": "boost", - "score": 0.07019580900669098 + "score": 0.06984447687864304 } } }, @@ -43199,59 +43157,113 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04409797489643097 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09207221865653992 + "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.02112676575779915 + "score": -0.009995239786803722 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.07761762291193008 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07800981402397156 + }, + "else": { + "operation": "boost", + "score": 0.06991786509752274 + } + }, + "else": { + "operation": "boost", + "score": 0.09378325939178467 + } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.04610674828290939 + "score": 0.06097070127725601 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.028164533898234367 + "score": 0.04970017448067665 }, "else": { - "operation": "boost", - "score": 0.07108129560947418 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05310352146625519 + }, + "else": { + "operation": "boost", + "score": 0.027385499328374863 + } } } } @@ -43259,1180 +43271,1139 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 235.5, + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.06808734685182571 + }, + "else": { + "operation": "boost", + "score": 0.10104648023843765 + } + }, + "else": { + "operation": "boost", + "score": 0.030657898634672165 + } + } + }, + "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": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.027967039495706558 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1756.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.18883998692035675 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10946070402860641 + }, + "else": { + "operation": "boost", + "score": 0.05266613885760307 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.14042505621910095 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09960097819566727 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.1443507820367813 + }, + "else": { + "operation": "boost", + "score": 0.1455492228269577 + } + } }, "else": { "operation": "boost", - "score": 0.11128302663564682 + "score": 0.11399317532777786 } } - }, - "else": { + } + }, + "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": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "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" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "boost", + "score": 0.11266334354877472 + }, + "else": { + "operation": "boost", + "score": 0.09342075884342194 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0762515589594841 + }, + "else": { + "operation": "boost", + "score": 0.09268943220376968 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02290164679288864 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1637.0, + "feature": "FileProximityDistance", + "threshold": 26.0, "then": { - "operation": "boost", - "score": 0.08852553367614746 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10479722917079926 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1357811987400055 + "score": 0.00284001836553216 }, "else": { - "operation": "boost", - "score": -0.1145051121711731 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 997.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "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": "FilterLength", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09847799688577652 + "score": 0.08546414971351624 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1336.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11410001665353775 + "score": 0.03149968758225441 }, "else": { "operation": "boost", - "score": 0.13421815633773804 + "score": 0.1073208898305893 } } }, "else": { "operation": "boost", - "score": 0.11653197556734085 + "score": -0.2560510039329529 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.019733097404241562 + } + }, + "else": { + "operation": "boost", + "score": 0.039908308535814285 + } + }, + "else": { + "operation": "boost", + "score": 0.0326998196542263 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 175.5, + "then": { + "operation": "boost", + "score": 0.08937564492225647 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08970800042152405 + }, + "else": { + "operation": "boost", + "score": 0.11815571784973145 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.17561016976833344 + }, + "else": { + "operation": "boost", + "score": 0.11772385239601135 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.12889304757118225 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression" + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.1333278864622116 + "score": 0.15906190872192383 }, "else": { "operation": "boost", - "score": 0.15556591749191284 + "score": 0.13006635010242462 } }, "else": { "operation": "boost", - "score": 0.11654550582170486 + "score": -0.12638241052627563 } } } } }, "else": { - "operation": "boost", - "score": 0.1022060438990593 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0010564586846157908 + }, + "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 + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14190642535686493 + "score": -0.05165904387831688 }, "else": { + "operation": "boost", + "score": 0.011271372437477112 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.0909709557890892 + "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 + } }, "else": { + "operation": "boost", + "score": 0.09665967524051666 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08248146623373032 + }, + "else": { + "operation": "boost", + "score": 0.11814288049936295 + } + }, + "else": { + "operation": "boost", + "score": 0.0995330810546875 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.027798667550086975 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09548622369766235 + }, + "else": { + "operation": "boost", + "score": 0.0544569231569767 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0972106009721756 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 433.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443.0, + "threshold": 608.5, "then": { "operation": "boost", - "score": 0.1352791041135788 + "score": 0.09175349771976471 }, "else": { - "operation": "boost", - "score": 0.1130487322807312 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 590.5, + "then": { + "operation": "boost", + "score": 0.1393931806087494 + }, + "else": { + "operation": "boost", + "score": 0.116281658411026 + } } }, "else": { - "operation": "boost", - "score": 0.13679838180541992 + "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 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08190202713012695 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.12038133293390274 + "score": 0.11400138586759567 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1058.5, + "feature": "FilterLength", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.12381348758935928 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.13087734580039978 + }, + "else": { + "operation": "boost", + "score": 0.14578957855701447 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.06349772959947586 + "score": 0.13343288004398346 }, "else": { "operation": "boost", - "score": 0.16234664618968964 + "score": 0.12664389610290527 } } } }, "else": { - "operation": "boost", - "score": 0.1214163675904274 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68.5, + "then": { + "operation": "boost", + "score": 0.11397574841976166 + }, + "else": { + "operation": "boost", + "score": 0.10362306237220764 + } } }, "else": { - "operation": "boost", - "score": 0.10485454648733139 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.10120455920696259 + }, + "else": { + "operation": "boost", + "score": 0.0823080837726593 + } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "boost", - "score": 0.07140729576349258 - }, - "else": { - "operation": "boost", - "score": 0.13609561324119568 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.08146145194768906 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1450.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.08899170905351639 + "score": 0.04503951221704483 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 826.5, - "then": { - "operation": "boost", - "score": 0.14991667866706848 - }, - "else": { - "operation": "boost", - "score": 0.1259283572435379 - } + "operation": "boost", + "score": 0.04970945045351982 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 518.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07238642871379852 + "score": -0.13466379046440125 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 408.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1610785871744156 + "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.13175459206104279 + "score": 0.11329954117536545 } } + }, + "else": { + "operation": "boost", + "score": -0.0003260887460783124 } } - }, - "else": { - "operation": "boost", - "score": 0.08188459277153015 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1655.0, - "then": { - "operation": "boost", - "score": 0.05056304484605789 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.03810902312397957 - }, - "else": { - "operation": "boost", - "score": 0.10964444279670715 - } } }, "else": { "operation": "boost", - "score": 0.02158629521727562 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0409427136182785 - }, - "else": { - "operation": "boost", - "score": 0.026906205341219902 + "score": -0.017545266076922417 } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + } + }, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Type" + "CCC_Statement", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.03583000972867012 + "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 + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10243820399045944 + "score": 0.07367101311683655 }, "else": { "operation": "boost", - "score": 0.09940019249916077 + "score": 0.06743579357862473 } } }, "else": { - "operation": "boost", - "score": 0.04915522411465645 + "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.02873443439602852 + "score": -0.11880707740783691 } }, "else": { + "operation": "boost", + "score": 0.06204940006136894 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "boost", + "score": 0.02383127063512802 + }, + "else": { + "operation": "boost", + "score": -0.10367829352617264 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.006631357595324516 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag" + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.1110631674528122 - }, - "else": { - "operation": "boost", - "score": 0.039799340069293976 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0996016412973404 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.01819203794002533 - }, - "else": { - "operation": "boost", - "score": -0.08286839723587036 - } - }, - "else": { - "operation": "boost", - "score": -0.07463537156581879 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.03006664291024208 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12651316821575165 - }, - "else": { - "operation": "boost", - "score": 0.1133980005979538 - } - }, - "else": { - "operation": "boost", - "score": 0.1388755589723587 - } - }, - "else": { - "operation": "boost", - "score": 0.10250268131494522 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.08893535286188126 - }, - "else": { - "operation": "boost", - "score": 0.06891891360282898 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018152089789509773 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.05543740093708038 - }, - "else": { - "operation": "boost", - "score": 0.10142562538385391 - } - }, - "else": { - "operation": "boost", - "score": 0.04962193965911865 - } - }, - "else": { - "operation": "boost", - "score": 0.026678992435336113 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], - "then": { - "operation": "boost", - "score": 0.0529460571706295 - }, - "else": { - "operation": "boost", - "score": 0.03830572962760925 - } - }, - "else": { - "operation": "boost", - "score": 0.013279395177960396 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06463504582643509 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09868742525577545 - }, - "else": { - "operation": "boost", - "score": 0.11477857083082199 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03174906596541405 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07500407099723816 + "score": 0.05546988546848297 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.007932519540190697 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11733265966176987 + "score": 0.10307640582323074 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1220938116312027 - }, - "else": { - "operation": "boost", - "score": 0.12560218572616577 - } + "operation": "boost", + "score": 0.13228099048137665 } + }, + "else": { + "operation": "boost", + "score": 0.12601089477539062 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07020899653434753 - }, - "else": { - "operation": "boost", - "score": -0.10768315196037292 - } + "operation": "boost", + "score": 0.06497256457805634 } }, "else": { "operation": "boost", - "score": 0.027257844805717468 + "score": 0.010366215370595455 } }, "else": { - "operation": "boost", - "score": -0.005113579798489809 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10082324594259262 - } - }, - "else": { - "operation": "boost", - "score": -0.012413003481924534 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.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": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14432.0, + "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.050925932824611664 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11353521794080734 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.13076326251029968 - }, - "else": { - "operation": "boost", - "score": 0.13090400397777557 - } - }, - "else": { - "operation": "boost", - "score": 0.12214779853820801 - } - } - }, - "else": { - "operation": "boost", - "score": 0.17860013246536255 - } - }, - "else": { - "operation": "boost", - "score": 0.13030003011226654 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0902823731303215 - } - }, - "else": { - "operation": "boost", - "score": 0.07115530967712402 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11804666370153427 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12948164343833923 - }, - "else": { - "operation": "boost", - "score": 0.1267487108707428 - } - } + "score": 0.03269091993570328 }, "else": { "operation": "boost", - "score": 0.13005518913269043 + "score": -0.052339423447847366 } - }, - "else": { - "operation": "boost", - "score": 0.15886621177196503 - } - }, - "else": { - "operation": "boost", - "score": 0.12346983700990677 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": 0.07694347947835922 - }, - "else": { - "operation": "boost", - "score": 0.12443987280130386 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace", - "Type" + "FunctionScope", + "GlobalScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 48040.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.023191755637526512 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09362266212701797 - }, - "else": { - "operation": "boost", - "score": 0.13795168697834015 - } - } + "operation": "boost", + "score": 0.1461782306432724 }, "else": { "operation": "boost", - "score": 0.036255281418561935 + "score": 0.025621933862566948 } }, "else": { "operation": "boost", - "score": 0.004202321637421846 + "score": -0.10084602236747742 } } - }, - "else": { - "operation": "boost", - "score": -0.011118147522211075 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.06848431378602982 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "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": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.14518311619758606 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12224066257476807 - }, - "else": { - "operation": "boost", - "score": 0.08626586943864822 - } - }, - "else": { - "operation": "boost", - "score": 0.10863561928272247 - } - } + "operation": "boost", + "score": -0.13522233068943024 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12358152121305466 - }, - "else": { - "operation": "boost", - "score": 0.0886065736413002 - } + "operation": "boost", + "score": 0.11533046513795853 } }, "else": { "operation": "boost", - "score": 0.06096462905406952 + "score": -0.1357860565185547 } }, "else": { "operation": "boost", - "score": -0.008377701044082642 + "score": -0.15805965662002563 } + }, + "else": { + "operation": "boost", + "score": 0.08932355046272278 } }, "else": { "operation": "boost", - "score": -0.0757405012845993 + "score": -0.04561784118413925 } } + }, + "else": { + "operation": "boost", + "score": -0.06072438508272171 } } } @@ -44454,7 +44425,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08694304525852203 + "score": 0.08846521377563477 }, "else": { "operation": "if_greater", @@ -44466,16 +44437,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0889338031411171 + "score": 0.08999878168106079 }, "else": { "operation": "boost", - "score": 0.08302614092826843 + "score": 0.08334663510322571 } }, "else": { "operation": "boost", - "score": 0.0678851529955864 + "score": 0.06731114536523819 } } }, @@ -44489,25 +44460,16 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05789193883538246 + "score": 0.059443797916173935 }, "else": { "operation": "boost", - "score": 0.02776053175330162 + "score": 0.028515418991446495 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05943327769637108 - }, - "else": { - "operation": "boost", - "score": 0.014309043996036053 - } + "operation": "boost", + "score": 0.02199104055762291 } } }, @@ -44522,700 +44484,518 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58.5, + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 7.0, + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09351492673158646 + "score": 0.0759739875793457 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292.0, - "then": { - "operation": "boost", - "score": 0.09433426707983017 - }, - "else": { - "operation": "boost", - "score": 0.12808023393154144 - } + "operation": "boost", + "score": 0.06646472960710526 } }, "else": { - "operation": "boost", - "score": 0.07536066323518753 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "CCC_Expression" ], - "then": { - "operation": "boost", - "score": 0.047429945319890976 - }, - "else": { - "operation": "boost", - "score": -1.3772222995758057 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.026876535266637802 - }, - "else": { - "operation": "boost", - "score": 0.0693579688668251 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1756.5, + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.1761206090450287 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13753734529018402 - }, - "else": { - "operation": "boost", - "score": 0.10523632168769836 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 135.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "boost", - "score": 0.10677726566791534 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.16905373334884644 - }, - "else": { - "operation": "boost", - "score": -0.057203520089387894 - } - } + "operation": "boost", + "score": 0.06239255890250206 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 117.0, "then": { "operation": "boost", - "score": 0.13760307431221008 + "score": 0.11551684141159058 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.09572228044271469 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13163667917251587 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1174439862370491 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1318681538105011 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 861.0, - "then": { - "operation": "boost", - "score": 0.12280122935771942 - }, - "else": { - "operation": "boost", - "score": 0.8342592120170593 - } - } - } - } + "operation": "boost", + "score": 0.1296081393957138 }, "else": { "operation": "boost", - "score": 0.12348788231611252 + "score": 0.12498417496681213 } + }, + "else": { + "operation": "boost", + "score": 0.10877490788698196 } }, "else": { "operation": "boost", - "score": 0.1047801747918129 + "score": 0.10697955638170242 } } } }, "else": { "operation": "boost", - "score": 0.07722894847393036 + "score": 0.06801736354827881 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.030194418504834175 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 594.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1450.5, - "then": { - "operation": "boost", - "score": 0.08626153320074081 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.1443953812122345 - }, - "else": { - "operation": "boost", - "score": 0.13417208194732666 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009705839678645134 - } - }, - "else": { - "operation": "boost", - "score": 0.11450175195932388 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09784665703773499 - }, - "else": { - "operation": "boost", - "score": 0.06593778729438782 - } - } - } + "operation": "boost", + "score": 0.07216192036867142 } + }, + "else": { + "operation": "boost", + "score": 0.08968468755483627 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.05713682621717453 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "Function" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_ArrowMemberAccess", + "CCC_Symbol", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1655.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.0477631501853466 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.032634884119033813 + "score": -0.36021342873573303 }, "else": { "operation": "boost", - "score": 0.10412198305130005 + "score": 0.0796879231929779 } + }, + "else": { + "operation": "boost", + "score": 0.05620558187365532 } }, "else": { "operation": "boost", - "score": 0.024560565128922462 + "score": 0.008043061941862106 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.039588529616594315 - }, - "else": { - "operation": "boost", - "score": 0.022721610963344574 - } + "operation": "boost", + "score": 0.026365838944911957 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.04319540783762932 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable", - "Namespace" + "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.03684786334633827 + }, + "else": { + "operation": "boost", + "score": -0.7123042345046997 + } + }, + "else": { + "operation": "boost", + "score": -0.02141510508954525 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName", + "CCC_Namespace" ], "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": 219.0, "then": { - "operation": "boost", - "score": 0.033993758261203766 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 237.5, "then": { "operation": "boost", - "score": 0.10042241215705872 + "score": 0.10201161354780197 }, "else": { "operation": "boost", - "score": 0.09639665484428406 + "score": 0.13375620543956757 } + }, + "else": { + "operation": "boost", + "score": 0.04583655670285225 } }, "else": { "operation": "boost", - "score": 0.04608878120779991 + "score": 0.07253128290176392 } }, "else": { "operation": "boost", - "score": 0.031183503568172455 + "score": 0.09006503224372864 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 873.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01993292011320591 - }, - "else": { - "operation": "boost", - "score": 0.056878603994846344 - } + "operation": "boost", + "score": 0.11044947803020477 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09923510253429413 - }, - "else": { - "operation": "boost", - "score": 0.03567500412464142 - } + "operation": "boost", + "score": 0.11614343523979187 } }, "else": { "operation": "boost", - "score": -0.0536968968808651 + "score": 0.13721300661563873 } } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10943056643009186 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], - "then": { - "operation": "boost", - "score": 0.10907439142465591 - }, - "else": { - "operation": "boost", - "score": 0.04472064971923828 - } - }, - "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, + "then": { + "operation": "boost", + "score": 0.09471698850393295 + }, + "else": { + "operation": "boost", + "score": 0.07549643516540527 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "boost", - "score": -0.0031924734357744455 + "score": 0.11923275142908096 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 592.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 669.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.057833731174468994 - }, - "else": { - "operation": "boost", - "score": 0.08938925713300705 - } - }, - "else": { - "operation": "boost", - "score": 0.045820202678442 - } + "operation": "boost", + "score": 0.0904502123594284 }, "else": { "operation": "boost", - "score": 0.06615491956472397 + "score": 0.1357986181974411 } }, "else": { - "operation": "boost", - "score": -0.011736327782273293 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11661775410175323 + }, + "else": { + "operation": "boost", + "score": 0.08845661580562592 + } } }, "else": { "operation": "boost", - "score": -0.09956150501966476 + "score": 0.09101509302854538 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.038686297833919525 - }, - "else": { - "operation": "boost", - "score": 0.023500166833400726 - } + "operation": "boost", + "score": 0.07201921194791794 } } + }, + "else": { + "operation": "boost", + "score": 0.04214208200573921 } + }, + "else": { + "operation": "boost", + "score": 0.0594630166888237 } } }, "else": { "operation": "boost", - "score": -0.08922521024942398 + "score": 0.026679806411266327 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.028223177418112755 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" + "Variable" ], "then": { - "operation": "boost", - "score": 0.0888272076845169 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.13080792129039764 - }, - "else": { - "operation": "boost", - "score": 0.13960331678390503 - } + "operation": "boost", + "score": 0.09006264060735703 }, "else": { "operation": "boost", - "score": 0.11433402448892593 + "score": 0.10603015124797821 } }, "else": { "operation": "boost", - "score": 0.06741689890623093 + "score": 0.06428533792495728 } }, "else": { "operation": "boost", - "score": 0.06725923717021942 + "score": 0.02825918421149254 } + }, + "else": { + "operation": "boost", + "score": 0.014772085472941399 } }, "else": { - "operation": "boost", - "score": 0.01587042212486267 + "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 + } } + }, + "else": { + "operation": "boost", + "score": -0.0848437175154686 } } } @@ -45223,515 +45003,763 @@ }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, + "feature": "FileProximityDistance", + "threshold": 34.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.05215954780578613 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10985046625137329 - }, - "else": { - "operation": "boost", - "score": 0.04896194487810135 - } - } - }, - "else": { - "operation": "boost", - "score": 0.048331864178180695 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04718505218625069 - }, - "else": { - "operation": "boost", - "score": 0.023276906460523605 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Keyword", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "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_Symbol" + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.005810740403831005 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "boost", - "score": 0.056764762848615646 + "score": 0.09604539722204208 }, "else": { + "operation": "boost", + "score": 0.07944415509700775 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12029506266117096 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.144039124250412 - }, - "else": { - "operation": "boost", - "score": 0.1535857617855072 - } - } + "operation": "boost", + "score": 0.0712336078286171 }, "else": { "operation": "boost", - "score": 0.13868369162082672 + "score": 0.07115352898836136 } + }, + "else": { + "operation": "boost", + "score": 0.006312707904726267 } } }, "else": { "operation": "boost", - "score": 0.07024116069078445 + "score": -0.12046516686677933 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace", - "CCC_Symbol" + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50014.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "boost", - "score": 0.0019160757074132562 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.05912385880947113 + "score": 0.11866790801286697 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10997257381677628 + "score": 0.11762382835149765 }, "else": { - "operation": "boost", - "score": 0.11955245584249496 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12557676434516907 + }, + "else": { + "operation": "boost", + "score": -0.13543488085269928 + } } } + }, + "else": { + "operation": "boost", + "score": 0.08106563240289688 } }, - "else": { - "operation": "boost", - "score": 0.050550371408462524 - } - }, - "else": { - "operation": "boost", - "score": 0.06224469840526581 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14799794554710388 - }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Function", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.0749693512916565 + "score": 0.0784774199128151 }, "else": { "operation": "boost", - "score": 0.0530310682952404 + "score": -0.0556531623005867 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.038318268954753876 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08711274713277817 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { + "operation": "boost", + "score": 0.13586854934692383 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.0, - "then": { - "operation": "boost", - "score": 0.10347459465265274 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.5, - "then": { - "operation": "boost", - "score": 0.1541326642036438 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0379549078643322 - }, - "else": { - "operation": "boost", - "score": 0.16554847359657288 - } - } - } + "operation": "boost", + "score": 0.13858948647975922 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12613309919834137 - }, - "else": { - "operation": "boost", - "score": 0.1114337295293808 - } + "operation": "boost", + "score": -0.029461270198225975 } - }, - "else": { - "operation": "boost", - "score": 0.11429817229509354 } }, "else": { "operation": "boost", - "score": 0.12594850361347198 + "score": 0.12832678854465485 + } + }, + "else": { + "operation": "boost", + "score": 0.1300990730524063 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0989423468708992 + }, + "else": { + "operation": "boost", + "score": 0.04022014141082764 + } + } + }, + "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_Symbol" + ], + "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 + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "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": 108.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08101965487003326 + "score": 0.07425970584154129 }, "else": { "operation": "boost", - "score": 0.12239303439855576 + "score": 0.12334717810153961 } }, "else": { - "operation": "boost", - "score": 0.09946826100349426 + "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.047423165291547775 + "score": -0.03729208558797836 } } }, "else": { - "operation": "boost", - "score": 0.09731505811214447 + "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.049073509871959686 + }, + "else": { + "operation": "boost", + "score": -0.12129142135381699 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.04167836531996727 }, "else": { "operation": "boost", - "score": -0.004020641557872295 + "score": -0.00499654421582818 } } } + }, + "else": { + "operation": "boost", + "score": 0.02693898230791092 } }, "else": { "operation": "boost", - "score": -0.012168708257377148 + "score": -0.035115525126457214 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 266615.5, + "threshold": 26198.0, "then": { + "operation": "boost", + "score": 0.05561569705605507 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.1620177924633026 + "score": 0.047567933797836304 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.006087548099458218 + } + }, + "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": "boost", - "score": 0.1088285818696022 + "score": 0.07668635994195938 + }, + "else": { + "operation": "boost", + "score": 0.05304295942187309 + } + }, + "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.20339363813400269 + "score": 0.04244096949696541 } } - }, - "else": { - "operation": "boost", - "score": -0.0935543030500412 } - }, - "else": { - "operation": "boost", - "score": -0.035570792853832245 } }, "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": "NumReferences", - "threshold": 191566.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199646.0, + "threshold": 3091.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.11431337147951126 + "score": 0.08615350723266602 }, "else": { "operation": "boost", - "score": 0.034492477774620056 + "score": 0.05806070938706398 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.06723346561193466 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.04017483443021774 + "score": 0.12750093638896942 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "boost", - "score": 0.12591734528541565 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10609123110771179 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12066980451345444 + }, + "else": { + "operation": "boost", + "score": 0.12473177909851074 + } + }, + "else": { + "operation": "boost", + "score": 0.08923901617527008 + } + } }, "else": { - "operation": "boost", - "score": 0.11905129998922348 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10280290246009827 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": 0.12092752009630203 + }, + "else": { + "operation": "boost", + "score": -0.13766707479953766 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.1523677259683609 + }, + "else": { + "operation": "boost", + "score": 0.04952806979417801 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07031068205833435 + }, + "else": { + "operation": "boost", + "score": 0.003475755453109741 + } + } + }, + "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.1267949640750885 + "score": 0.09478605538606644 } + }, + "else": { + "operation": "boost", + "score": 0.057103365659713745 } }, "else": { "operation": "boost", - "score": -0.07190427929162979 + "score": 0.0005403000977821648 } } } @@ -45755,19 +45783,28 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08433108776807785 + "score": 0.08734571933746338 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08271689713001251 + "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.0668211355805397 + "score": 0.0653735026717186 } } }, @@ -45781,33 +45818,24 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05550602450966835 + "score": 0.057225264608860016 }, "else": { "operation": "boost", - "score": 0.025062046945095062 + "score": 0.02643650956451893 } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0779225304722786 - }, - "else": { - "operation": "boost", - "score": 0.09361210465431213 - } + "operation": "boost", + "score": 0.058003079146146774 }, "else": { "operation": "boost", - "score": 0.01877831667661667 + "score": 0.014625688083469868 } } } @@ -45819,32 +45847,256 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05310458689928055 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.08880053460597992 + }, + "else": { + "operation": "boost", + "score": 0.0034113212022930384 + } + }, + "else": { + "operation": "boost", + "score": 0.035107582807540894 + } }, "else": { "operation": "boost", - "score": 0.005035193171352148 + "score": 0.03893298655748367 } }, "else": { - "operation": "boost", - "score": 0.07712913304567337 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { + "operation": "boost", + "score": 0.058394260704517365 + }, + "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.11516200006008148 + }, + "else": { + "operation": "boost", + "score": 0.14598695933818817 + } + }, + "else": { + "operation": "boost", + "score": 0.12022082507610321 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.08504316210746765 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.0, + "then": { + "operation": "boost", + "score": 0.14843294024467468 + }, + "else": { + "operation": "boost", + "score": 0.1217413991689682 + } + }, + "else": { + "operation": "boost", + "score": 0.0505368709564209 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10974038392305374 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.13384270668029785 + }, + "else": { + "operation": "boost", + "score": 0.1192951649427414 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11649299412965775 + } + }, + "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", @@ -45852,7 +46104,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08916986733675003 + "score": 0.08470660448074341 }, "else": { "operation": "if_greater", @@ -45860,653 +46112,1272 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2797431945800781 + "score": -0.0774741843342781 }, "else": { "operation": "boost", - "score": 0.045059844851493835 + "score": 0.046115338802337646 } } }, "else": { - "operation": "boost", - "score": 0.0252145454287529 + "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_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.04127000644803047 + "score": 0.03935369849205017 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.05646425485610962 + "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" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 71954.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.1028471514582634 + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 101593.5, "then": { "operation": "boost", - "score": 0.09398412704467773 + "score": 0.04903023689985275 }, "else": { "operation": "boost", - "score": 0.1354929655790329 + "score": 0.0997142493724823 } } }, "else": { "operation": "boost", - "score": 0.10233107954263687 + "score": 0.046411849558353424 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10249926149845123 }, "else": { "operation": "boost", - "score": 0.10104404389858246 + "score": -0.003604038618505001 } }, "else": { - "operation": "boost", - "score": 0.010955778881907463 + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10865408182144165 + }, + "else": { + "operation": "boost", + "score": 0.11360283941030502 + } + }, + "else": { + "operation": "boost", + "score": 0.15048983693122864 + } + }, + "else": { + "operation": "boost", + "score": -0.013816981576383114 + } + }, + "else": { + "operation": "boost", + "score": -0.04227167367935181 + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 56.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.060955073684453964 + "score": 0.0949082002043724 }, "else": { "operation": "boost", - "score": -0.19046421349048615 + "score": 0.0005074666696600616 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.07141881436109543 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "feature": "FilterLength", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.10988340526819229 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234850.0, + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.10702241212129593 + "score": 0.11527477204799652 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.1123729795217514 + "score": 0.12275762856006622 }, "else": { "operation": "boost", - "score": 0.09774227440357208 + "score": 0.1481046825647354 } } - }, - "else": { - "operation": "boost", - "score": 0.08375246077775955 } + }, + "else": { + "operation": "boost", + "score": 0.0719020813703537 } } }, "else": { - "operation": "boost", - "score": 0.03391942381858826 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Variable", + "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 26.5, + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 160.0, "then": { "operation": "boost", - "score": 0.008416787721216679 + "score": 0.0716942697763443 }, "else": { + "operation": "boost", + "score": 0.120931476354599 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 592.5, "then": { - "operation": "boost", - "score": 0.013805053196847439 + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.08453526347875595 + "score": 0.11307962238788605 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10294739902019501 - }, - "else": { - "operation": "boost", - "score": 0.11664287745952606 - } + "operation": "boost", + "score": 0.08607252687215805 } } }, "else": { "operation": "boost", - "score": -0.15762346982955933 + "score": 0.08792875707149506 } + }, + "else": { + "operation": "boost", + "score": 0.06943071633577347 } - }, - "else": { - "operation": "boost", - "score": -0.00047667062608525157 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.0405806340277195 + } + }, + "else": { + "operation": "boost", + "score": 0.057738423347473145 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024953262880444527 + } + }, + "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_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.030451131984591484 + "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": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03123764880001545 + }, + "else": { + "operation": "boost", + "score": 0.06919737160205841 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020079735666513443 + } + }, + "else": { + "operation": "boost", + "score": 0.013238271698355675 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.12902256846427917 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08469226956367493 + "score": 0.14532828330993652 }, "else": { "operation": "boost", - "score": 0.01598673313856125 + "score": 0.13110868632793427 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007378799840807915 }, "else": { "operation": "boost", - "score": 0.10479625314474106 + "score": 0.12089144438505173 } + } + }, + "else": { + "operation": "boost", + "score": 0.01747310161590576 + } + }, + "else": { + "operation": "boost", + "score": 0.004305768292397261 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01633325219154358 + } + }, + "else": { + "operation": "boost", + "score": -0.049013201147317886 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09346568584442139 + }, + "else": { + "operation": "boost", + "score": 0.07275813817977905 + } + }, + "else": { + "operation": "boost", + "score": -0.25628259778022766 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10017935931682587 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], + "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": "NumReferences", - "threshold": 50563.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.10550814867019653 + "score": 0.1010948196053505 }, "else": { "operation": "boost", - "score": 0.015660066157579422 + "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 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 26.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1453.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.005555032752454281 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.053986985236406326 + "score": 0.03793250396847725 } }, "else": { "operation": "boost", - "score": 0.026155851781368256 + "score": 0.031267859041690826 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "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_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.015887923538684845 + "score": -0.05809102579951286 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1673.5, - "then": { - "operation": "boost", - "score": 0.03777192160487175 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14096802473068237 - }, - "else": { - "operation": "boost", - "score": 0.13050836324691772 - } - }, - "else": { - "operation": "boost", - "score": 0.11324402689933777 - } - }, - "else": { - "operation": "boost", - "score": 0.10965824127197266 - } - } + "operation": "boost", + "score": -0.15419016778469086 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 289.5, - "then": { - "operation": "boost", - "score": 0.12463145703077316 - }, - "else": { - "operation": "boost", - "score": 0.14177043735980988 - } - }, - "else": { - "operation": "boost", - "score": 0.1144070029258728 - } - }, - "else": { - "operation": "boost", - "score": 0.13173691928386688 - } - }, - "else": { - "operation": "boost", - "score": 0.1569017767906189 - } + "operation": "boost", + "score": -0.016811765730381012 }, "else": { "operation": "boost", - "score": 0.11476022750139236 + "score": 0.107083760201931 } }, "else": { "operation": "boost", - "score": 0.11973770707845688 + "score": 0.10409099608659744 } } }, "else": { "operation": "boost", - "score": 0.04341635853052139 + "score": 0.042146679013967514 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09439120441675186 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11852573603391647 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 36.5, "then": { - "operation": "boost", - "score": 0.09869617223739624 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.0983230248093605 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1400490552186966 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1297067254781723 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 436.0, - "then": { - "operation": "boost", - "score": 0.1031644195318222 - }, - "else": { - "operation": "boost", - "score": 0.13881225883960724 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.16542810201644897 - }, - "else": { - "operation": "boost", - "score": 0.14951755106449127 - } - } + "operation": "boost", + "score": 0.12161162495613098 }, "else": { "operation": "boost", - "score": 0.17091242969036102 + "score": 0.1335185319185257 } - }, - "else": { - "operation": "boost", - "score": 0.1204908937215805 } + }, + "else": { + "operation": "boost", + "score": 0.039364781230688095 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.10856891423463821 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.5, + "feature": "FileProximityDistance", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.17466109991073608 + "score": 0.12517954409122467 }, "else": { "operation": "boost", - "score": -0.11338576674461365 + "score": 0.1176985576748848 } - }, - "else": { - "operation": "boost", - "score": 0.07184738665819168 } } }, "else": { "operation": "boost", - "score": 0.12018141895532608 + "score": 0.10148867219686508 } + }, + "else": { + "operation": "boost", + "score": 0.1013164296746254 } - }, - "else": { - "operation": "boost", - "score": 0.03822632133960724 } } }, "else": { + "operation": "boost", + "score": 0.057782724499702454 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.004169578198343515 + "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.04389815032482147 + "score": 0.08973436057567596 } + }, + "else": { + "operation": "boost", + "score": 0.0554574653506279 } } + }, + "else": { + "operation": "boost", + "score": 0.08416101336479187 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02258623205125332 + }, + "else": { + "operation": "boost", + "score": 0.05054144188761711 } }, "else": { @@ -46514,543 +47385,952 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "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", + "set": [ + "Keyword", + "Variable", + "Type", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.12629081308841705 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.044636070728302 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27896.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50186.0, - "then": { - "operation": "boost", - "score": 0.09357494860887527 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12240276485681534 - }, - "else": { - "operation": "boost", - "score": -0.06320960819721222 - } - } + "operation": "boost", + "score": 0.07717162370681763 }, "else": { "operation": "boost", - "score": 0.06835321336984634 + "score": 0.13884690403938293 } }, "else": { + "operation": "boost", + "score": 0.015900282189249992 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "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.10076449066400528 + "score": 0.053098831325769424 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11820957064628601 - }, - "else": { - "operation": "boost", - "score": -0.22752594947814941 - } + "operation": "boost", + "score": -0.39387333393096924 } }, "else": { "operation": "boost", - "score": 0.02443687804043293 + "score": 0.017039762809872627 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02574773132801056 }, "else": { - "operation": "boost", - "score": -0.40948590636253357 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.07115285843610764 + }, + "else": { + "operation": "boost", + "score": -0.025951936841011047 + } } } - }, - "else": { - "operation": "boost", - "score": 0.04014300927519798 } + }, + "else": { + "operation": "boost", + "score": -0.02070821262896061 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": -0.01931539922952652 + "score": 0.10924109816551208 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": -0.022371206432580948 + } + } + }, + "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_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, "then": { "operation": "boost", - "score": 0.06857926398515701 + "score": 0.002292314311489463 }, "else": { "operation": "boost", - "score": 0.04974959045648575 + "score": 0.1035095751285553 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.026976268738508224 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.07499183714389801 - }, - "else": { - "operation": "boost", - "score": 0.03281283751130104 - } - }, - "else": { - "operation": "boost", - "score": 0.04355335980653763 - } - } + "operation": "boost", + "score": 0.055153727531433105 } + }, + "else": { + "operation": "boost", + "score": 0.004589468240737915 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266615.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10989479720592499 + }, + "else": { + "operation": "boost", + "score": -0.014226372353732586 + } + }, + "else": { + "operation": "boost", + "score": -0.04038208723068237 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 66.5, "then": { + "operation": "boost", + "score": 0.08949611335992813 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.04128847271203995 + "score": 0.10326489806175232 }, "else": { "operation": "boost", - "score": 0.08554543554782867 + "score": 0.06937918812036514 } - }, - "else": { - "operation": "boost", - "score": 0.019049352034926414 } }, - "else": { - "operation": "boost", - "score": -0.10903415828943253 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, - "then": { - "operation": "boost", - "score": 0.13185524940490723 - }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Statement", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 592.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 635.0, + "then": { + "operation": "boost", + "score": 0.09021064639091492 + }, + "else": { + "operation": "boost", + "score": 0.12839500606060028 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03373321145772934 - }, - "else": { - "operation": "boost", - "score": 0.09476268291473389 - } + "operation": "boost", + "score": 0.10886535048484802 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 45.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07870903611183167 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12035741657018661 - }, - "else": { - "operation": "boost", - "score": 0.16166812181472778 - } - } + "operation": "boost", + "score": 0.08502946048974991 }, "else": { "operation": "boost", - "score": 0.12519928812980652 + "score": 0.1255449652671814 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09869643300771713 - }, - "else": { - "operation": "boost", - "score": 0.16468624770641327 - } - }, - "else": { - "operation": "boost", - "score": 0.07590340822935104 - } + "operation": "boost", + "score": 0.08041789382696152 } - }, - "else": { - "operation": "boost", - "score": 0.007608722895383835 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.05200287327170372 - }, - "else": { - "operation": "boost", - "score": 0.03608013316988945 - } + "operation": "boost", + "score": 0.06748189777135849 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, "then": { "operation": "boost", - "score": 0.01534072495996952 + "score": 0.07170293480157852 }, "else": { "operation": "boost", - "score": -0.14733901619911194 + "score": 0.05484051629900932 } } } + }, + "else": { + "operation": "boost", + "score": 0.024991707876324654 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.13728946447372437 + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.10440517216920853 + "score": 0.025621503591537476 } }, "else": { "operation": "boost", - "score": -0.16417856514453888 + "score": 0.013220855966210365 } }, "else": { - "operation": "boost", - "score": 0.04859504848718643 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.021281683817505836 + }, + "else": { + "operation": "boost", + "score": -0.05003969371318817 + } } }, "else": { "operation": "boost", - "score": -0.042858533561229706 + "score": -0.07967056334018707 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11124297976493835 - }, - "else": { - "operation": "boost", - "score": 0.02704036608338356 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05517670139670372 + "score": 0.062465403228998184 }, "else": { - "operation": "boost", - "score": 0.12064263224601746 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12063798308372498 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09859828650951385 + }, + "else": { + "operation": "boost", + "score": 0.12325309216976166 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1138947606086731 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08495151996612549 + }, + "else": { + "operation": "boost", + "score": 0.12731562554836273 + } + } + } } }, "else": { - "operation": "boost", - "score": -0.1481875777244568 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05967862904071808 - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010504615493118763 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03877243772149086 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10622769594192505 + }, + "else": { + "operation": "boost", + "score": 0.12177029997110367 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06405410170555115 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.05314528942108154 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "boost", + "score": 0.11276564002037048 + }, + "else": { + "operation": "boost", + "score": 0.0834641084074974 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11282998323440552 + }, + "else": { + "operation": "boost", + "score": 0.09345024079084396 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02390773594379425 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013200398534536362 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.14899028837680817 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10279801487922668 + }, + "else": { + "operation": "boost", + "score": 0.10181516408920288 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.018944764509797096 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0043646227568387985 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.05899734050035477 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1059868186712265 + }, + "else": { + "operation": "boost", + "score": 0.09648221731185913 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03635455295443535 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0350465327501297 + }, + "else": { + "operation": "boost", + "score": 0.09551220387220383 + } + }, + "else": { + "operation": "boost", + "score": -0.040462691336870193 + } + }, + "else": { + "operation": "boost", + "score": 0.04109753295779228 + } + }, + "else": { + "operation": "boost", + "score": 0.015923582017421722 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010517753660678864 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "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": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09028028696775436 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.11799056828022003 + }, + "else": { + "operation": "boost", + "score": 0.11829108744859695 + } + } + }, + "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", @@ -47061,7 +48341,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08212029188871384 + "score": 0.08429668843746185 }, "else": { "operation": "if_greater", @@ -47069,11 +48349,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08061972260475159 + "score": 0.07914861291646957 }, "else": { "operation": "boost", - "score": 0.06376766413450241 + "score": 0.06086074560880661 } } }, @@ -47082,1248 +48362,1208 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.052881523966789246 - }, - "else": { - "operation": "boost", - "score": 0.02384495735168457 - } + "operation": "boost", + "score": 0.036481063812971115 }, "else": { "operation": "boost", - "score": 0.016241801902651787 + "score": 0.01733136922121048 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 36.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.07057752460241318 + "score": 0.04567473381757736 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08155130594968796 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.1331019252538681 + "score": 0.06323973834514618 }, "else": { "operation": "boost", - "score": 0.007966065779328346 + "score": 0.12196191400289536 } - }, - "else": { - "operation": "boost", - "score": 0.0017144803423434496 } } }, "else": { - "operation": "boost", - "score": 0.11025866866111755 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.010262551717460155 - }, - "else": { - "operation": "boost", - "score": 0.044091083109378815 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.04944273829460144 + "score": 0.08485789597034454 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1655.0, + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.03992827981710434 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 165.0, "then": { + "operation": "boost", + "score": 0.0897487998008728 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 87.5, "then": { - "operation": "boost", - "score": 0.043140292167663574 + "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": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.10983006656169891 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 171.5, + "threshold": 37.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 65.5, "then": { + "operation": "boost", + "score": 0.08588235825300217 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.13392095267772675 + "score": 0.12461581826210022 }, "else": { "operation": "boost", - "score": 0.15174172818660736 + "score": 0.12415345758199692 } - }, - "else": { - "operation": "boost", - "score": 0.12772545218467712 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1565319150686264 - }, - "else": { - "operation": "boost", - "score": 0.10031745582818985 - } + "operation": "boost", + "score": 0.11126900464296341 } - }, - "else": { - "operation": "boost", - "score": 0.1529221087694168 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1302.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.11724784225225449 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1219189465045929 + "score": 0.12466146051883698 }, "else": { "operation": "boost", - "score": 0.12705287337303162 + "score": 0.09088750183582306 } + }, + "else": { + "operation": "boost", + "score": 0.11369062215089798 } } } - }, - "else": { - "operation": "boost", - "score": 0.08231806010007858 } + }, + "else": { + "operation": "boost", + "score": 0.07281500846147537 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.11249572038650513 + "score": 0.10807675868272781 }, "else": { "operation": "boost", - "score": 0.060144584625959396 + "score": 0.020977847278118134 } } } }, "else": { + "operation": "boost", + "score": 0.03288095444440842 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287036.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1022316962480545 + "score": 0.10201740264892578 }, "else": { "operation": "boost", - "score": 0.013476825319230556 + "score": 0.05125374719500542 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.012016556225717068 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.14007671177387238 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1321599930524826 + }, + "else": { + "operation": "boost", + "score": -0.7789092063903809 + } }, "else": { "operation": "boost", - "score": 0.12329566478729248 + "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, + "then": { + "operation": "boost", + "score": 0.07099172472953796 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.063189797103405 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.11850982159376144 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.04996678978204727 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, "then": { "operation": "boost", - "score": 0.055289529263973236 + "score": 0.10641394555568695 }, "else": { "operation": "boost", - "score": -0.030514953657984734 + "score": 0.08097843825817108 } } }, "else": { "operation": "boost", - "score": 0.01820259541273117 + "score": 0.0154801644384861 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 26.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10530773550271988 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.06354187428951263 + "score": -0.0813506543636322 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00435137702152133 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010576254688203335 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1266942322254181 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.12659592926502228 + "score": -0.07687459886074066 }, "else": { + "operation": "boost", + "score": 0.10164794325828552 + } + }, + "else": { + "operation": "boost", + "score": 0.016714204102754593 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02860788255929947 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.08582920581102371 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.10752209275960922 + }, + "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": 12.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10928318649530411 + "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": 325.0, + "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": 683.5, + "threshold": 44.5, "then": { "operation": "boost", - "score": 0.11129546910524368 + "score": 0.13154517114162445 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 403.5, + "threshold": 35.5, "then": { "operation": "boost", - "score": 0.1261303424835205 + "score": 0.15667930245399475 }, "else": { "operation": "boost", - "score": 0.12571211159229279 + "score": -0.10220228880643845 } } - }, - "else": { - "operation": "boost", - "score": -0.1020771861076355 } } + }, + "else": { + "operation": "boost", + "score": 0.10875468701124191 } } - }, - "else": { - "operation": "boost", - "score": 0.11173336207866669 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.00037876988062635064 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4587.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.09242705255746841 + "score": 0.05714264512062073 }, "else": { "operation": "boost", - "score": 0.1403936743736267 + "score": 0.09289062023162842 } }, "else": { "operation": "boost", - "score": 0.07662253826856613 + "score": 0.04169207066297531 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.00953920278698206 - }, - "else": { - "operation": "boost", - "score": 0.09776855260133743 - } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.16225220263004303 - }, - "else": { - "operation": "boost", - "score": 0.12766888737678528 - } + "operation": "boost", + "score": -0.0005444589769467711 } - }, - "else": { - "operation": "boost", - "score": 0.08230317384004593 } }, "else": { - "operation": "boost", - "score": 0.026224251836538315 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 57.5, "then": { "operation": "boost", - "score": 0.028343534097075462 + "score": 0.09473935514688492 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.10225725173950195 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06022940203547478 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11399397253990173 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09783713519573212 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10992804914712906 + } + }, + "else": { + "operation": "boost", + "score": 0.10147086530923843 + } + }, + "else": { + "operation": "boost", + "score": 0.08747126907110214 + } }, "else": { "operation": "boost", - "score": 0.08977207541465759 + "score": 0.06257568299770355 } } }, "else": { "operation": "boost", - "score": 0.04784003645181656 + "score": 0.05073300004005432 } }, "else": { - "operation": "boost", - "score": 0.022146381437778473 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.029435008764266968 - }, - "else": { - "operation": "boost", - "score": -0.08133850246667862 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07888197153806686 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09655164927244186 + }, + "else": { + "operation": "boost", + "score": 0.06595302373170853 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06286760419607162 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1061035767197609 + }, + "else": { + "operation": "boost", + "score": 0.0985163152217865 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.016516538336873055 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06348416209220886 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.045305147767066956 + }, + "else": { + "operation": "boost", + "score": -0.03888826072216034 + } + } + } + } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.008267411030828953 - }, - "else": { - "operation": "boost", - "score": -0.0655737817287445 - } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.029303433373570442 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.044641297310590744 - }, - "else": { - "operation": "boost", - "score": 0.009055735543370247 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25738.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04337133467197418 + "score": -0.12866993248462677 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 484.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.5, - "then": { - "operation": "boost", - "score": 0.09611716866493225 - }, - "else": { - "operation": "boost", - "score": 0.1482648402452469 - } - }, - "else": { - "operation": "boost", - "score": 0.0451020821928978 - } + "operation": "boost", + "score": 0.039009444415569305 }, "else": { "operation": "boost", - "score": 0.027733972296118736 + "score": 0.07621905952692032 } }, "else": { "operation": "boost", - "score": -0.14721085131168365 + "score": 0.04661652445793152 } } }, "else": { + "operation": "boost", + "score": -0.007914107292890549 + } + } + } + }, + "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_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag" + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.06765376776456833 - }, - "else": { - "operation": "boost", - "score": 0.045454252511262894 - } - } - }, - "else": { - "operation": "boost", - "score": 0.014172719791531563 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.1174074187874794 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" + "Variable" ], "then": { - "operation": "boost", - "score": 0.08495558053255081 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03855506330728531 + }, + "else": { + "operation": "boost", + "score": 0.0932735875248909 + } }, "else": { "operation": "boost", - "score": -0.14116284251213074 + "score": 0.05232878774404526 } + }, + "else": { + "operation": "boost", + "score": 0.021480940282344818 } }, "else": { "operation": "boost", - "score": 0.023331614211201668 + "score": -0.11059661954641342 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11750737577676773 - }, - "else": { - "operation": "boost", - "score": -0.1103551834821701 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "Variable" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11251112073659897 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.13242478668689728 + "score": 0.025236565619707108 }, "else": { "operation": "boost", - "score": 0.05725358799099922 + "score": 0.08781342953443527 } - } - }, - "else": { - "operation": "boost", - "score": 0.0809546485543251 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.050928276032209396 - }, - "else": { - "operation": "boost", - "score": -0.09051158279180527 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03696515038609505 }, "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1071901023387909 - }, - "else": { - "operation": "boost", - "score": 0.1268143206834793 - } + "operation": "boost", + "score": 0.07128223031759262 }, "else": { "operation": "boost", - "score": 0.0709509328007698 + "score": 0.12723644077777863 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 49999.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10726427286863327 - }, - "else": { - "operation": "boost", - "score": 0.12893283367156982 - } - }, - "else": { - "operation": "boost", - "score": -0.012748349457979202 - } + "operation": "boost", + "score": 0.11738161742687225 } } }, "else": { "operation": "boost", - "score": 0.03101569041609764 + "score": 0.0766591727733612 } }, "else": { "operation": "boost", - "score": 0.030191432684659958 + "score": 0.0026602400466799736 } - } - }, - "else": { - "operation": "boost", - "score": 0.03078358992934227 - } - }, - "else": { - "operation": "boost", - "score": -0.01443729642778635 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.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": 5.0, - "then": { - "operation": "boost", - "score": 0.00448667723685503 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 415.5, - "then": { - "operation": "boost", - "score": 0.08687269687652588 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 216.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 249.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327.5, - "then": { - "operation": "boost", - "score": 0.13720940053462982 - }, - "else": { - "operation": "boost", - "score": 0.1484919935464859 - } - }, - "else": { - "operation": "boost", - "score": 0.13034428656101227 - } - }, - "else": { - "operation": "boost", - "score": 0.0966063141822815 - } - }, - "else": { - "operation": "boost", - "score": 0.16091960668563843 - } - }, - "else": { - "operation": "boost", - "score": 0.13097581267356873 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10616984218358994 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13685071468353271 - }, - "else": { - "operation": "boost", - "score": -0.10828662663698196 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.14080727100372314 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241.5, - "then": { - "operation": "boost", - "score": 0.14919106662273407 - }, - "else": { - "operation": "boost", - "score": 0.20538190007209778 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10946231335401535 - } - } - } + "operation": "boost", + "score": -0.053083062171936035 }, "else": { "operation": "boost", - "score": 0.08851035684347153 + "score": 0.03454923629760742 } - }, - "else": { - "operation": "boost", - "score": 0.0772930160164833 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 46368.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.1515534222126007 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 343.5, - "then": { - "operation": "boost", - "score": 0.10271143913269043 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170.5, - "then": { - "operation": "boost", - "score": 0.12371714413166046 - }, - "else": { - "operation": "boost", - "score": 0.13847285509109497 - } - } + "operation": "boost", + "score": -0.09270016103982925 }, "else": { "operation": "boost", - "score": 0.038823291659355164 + "score": 0.034580428153276443 } - }, - "else": { - "operation": "boost", - "score": 0.12201056629419327 } }, "else": { "operation": "boost", - "score": 0.13739445805549622 + "score": -0.07976806908845901 } - }, - "else": { - "operation": "boost", - "score": 0.11387787014245987 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11175880581140518 + "score": 0.09269677847623825 }, "else": { - "operation": "boost", - "score": 0.07008089125156403 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.11826348304748535 + }, + "else": { + "operation": "boost", + "score": 0.11399515718221664 + } } }, "else": { "operation": "boost", - "score": 0.11414071172475815 + "score": 0.07891104370355606 } }, "else": { "operation": "boost", - "score": 0.03482695668935776 + "score": 0.08478958159685135 } }, "else": { "operation": "boost", - "score": -0.006223647855222225 + "score": -0.040542684495449066 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0905274897813797 - }, - "else": { - "operation": "boost", - "score": -0.053265925496816635 - } - }, - "else": { - "operation": "boost", - "score": 0.010635864920914173 - } + "operation": "boost", + "score": -0.055362947285175323 } } } @@ -48345,7 +49585,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08061143755912781 + "score": 0.08236297965049744 }, "else": { "operation": "if_greater", @@ -48353,11 +49593,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07847628742456436 + "score": 0.07710695266723633 }, "else": { "operation": "boost", - "score": 0.061814576387405396 + "score": 0.05882137641310692 } } }, @@ -48371,72 +49611,153 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.050750840455293655 + "score": 0.05110973119735718 }, "else": { "operation": "boost", - "score": 0.021225791424512863 + "score": 0.01951061747968197 } }, "else": { - "operation": "boost", - "score": 0.01587645523250103 + "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 + } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.059151262044906616 + "score": 0.047917064279317856 }, "else": { - "operation": "boost", - "score": 0.09399254620075226 + "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 + } } }, "else": { "operation": "boost", - "score": 0.1101582944393158 + "score": 0.08179254829883575 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.04118897393345833 + "operation": "if_greater", + "feature": "IsInBaseClass", + "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, + "then": { + "operation": "boost", + "score": 0.061337150633335114 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03222066909074783 + }, + "else": { + "operation": "boost", + "score": 0.05059078335762024 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.021377094089984894 + "score": 0.0426773838698864 }, "else": { "operation": "boost", - "score": 0.06340157240629196 + "score": 0.019506175071001053 } } } @@ -48444,1183 +49765,1083 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 70.5, + "threshold": 195234.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "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": "NumReferences", - "threshold": 1777.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.031607601791620255 + "score": 0.0038894186727702618 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.06259813904762268 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12622815370559692 - }, - "else": { - "operation": "boost", - "score": 0.11473511159420013 - } + "operation": "boost", + "score": 0.1335352063179016 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.13949720561504364 + "score": 0.14974968135356903 }, "else": { - "operation": "boost", - "score": 0.16267986595630646 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": -0.12267275154590607 + }, + "else": { + "operation": "boost", + "score": 0.13749602437019348 + } } } + }, + "else": { + "operation": "boost", + "score": 0.08845709264278412 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 96.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.026722785085439682 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 181.0, "then": { "operation": "boost", - "score": 0.039801131933927536 + "score": 0.11004990339279175 }, "else": { - "operation": "boost", - "score": 0.13536672294139862 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127.5, + "then": { + "operation": "boost", + "score": 0.13232986629009247 + }, + "else": { + "operation": "boost", + "score": 0.13398641347885132 + } } + }, + "else": { + "operation": "boost", + "score": 0.12133914977312088 } }, "else": { "operation": "boost", - "score": -0.10941234230995178 + "score": 0.10427872836589813 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.09757696837186813 - }, - "else": { - "operation": "boost", - "score": 0.09863755106925964 - } + "operation": "boost", + "score": 0.08043646067380905 } } - }, - "else": { - "operation": "boost", - "score": 0.028752312064170837 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 66.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "boost", + "score": 0.08492900431156158 + }, + "else": { + "operation": "boost", + "score": 0.06904544681310654 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "boost", - "score": 0.13638265430927277 + "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 + } }, "else": { "operation": "boost", - "score": 0.07101336121559143 + "score": 0.0375654436647892 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1637.0, - "then": { - "operation": "boost", - "score": 0.08119672536849976 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12303958833217621 - }, - "else": { - "operation": "boost", - "score": 0.10392293334007263 - } + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0013434316497296095 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "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.020922062918543816 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08400663733482361 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 445.5, + "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", + "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": "if_greater", - "feature": "NumReferences", - "threshold": 477.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11320088058710098 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.11839111149311066 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.06689178198575974 + }, + "else": { + "operation": "boost", + "score": 0.13411453366279602 + } }, "else": { "operation": "boost", - "score": 0.10719413310289383 + "score": 0.05547713115811348 } + }, + "else": { + "operation": "boost", + "score": 0.08157581090927124 } }, "else": { "operation": "boost", - "score": 0.11052091419696808 + "score": -0.0605170838534832 + } + }, + "else": { + "operation": "boost", + "score": 0.019248899072408676 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.05011334642767906 + }, + "else": { + "operation": "boost", + "score": 0.03394468128681183 } + }, + "else": { + "operation": "boost", + "score": 0.028086410835385323 } } - }, - "else": { - "operation": "boost", - "score": 0.09448181837797165 } }, "else": { "operation": "boost", - "score": 0.06450958549976349 + "score": 0.014418356120586395 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.09089940041303635 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1547050178050995 + "score": -0.07273266464471817 }, "else": { "operation": "boost", - "score": 0.12363237887620926 + "score": 0.010779477655887604 } } } }, "else": { + "operation": "boost", + "score": -0.01882772147655487 + } + }, + "else": { + "operation": "boost", + "score": -0.07779011875391006 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09359447658061981 + }, + "else": { + "operation": "boost", + "score": -0.013935007154941559 + } + }, + "else": { + "operation": "boost", + "score": 0.020407017320394516 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12924.0, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassStructUnion" ], "then": { - "operation": "boost", - "score": 0.1470053642988205 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 20039.5, "then": { "operation": "boost", - "score": 0.09376242756843567 + "score": 0.07722152024507523 }, "else": { - "operation": "boost", - "score": 0.1885938197374344 + "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": "boost", - "score": 0.07823306322097778 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13589.0, + "then": { + "operation": "boost", + "score": 0.022844398394227028 + }, + "else": { + "operation": "boost", + "score": 0.12955045700073242 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, + "operation": "boost", + "score": 0.09200522303581238 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 13495.0, "then": { + "operation": "boost", + "score": 0.061402346938848495 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 24.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.17451238632202148 + "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.142891988158226 + "score": 0.11162766814231873 } - }, - "else": { - "operation": "boost", - "score": 0.18812035024166107 } }, "else": { "operation": "boost", - "score": 0.11241914331912994 + "score": 0.03819461166858673 } - }, - "else": { - "operation": "boost", - "score": 0.09884531795978546 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03684766963124275 }, "else": { "operation": "boost", - "score": 0.02929396741092205 + "score": 0.12686580419540405 } + }, + "else": { + "operation": "boost", + "score": -0.003956094849854708 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11146949231624603 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.027600646018981934 + "score": 0.01524604856967926 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1014181450009346 + "score": 0.018863162025809288 }, "else": { "operation": "boost", - "score": 0.08756676316261292 + "score": 0.11197694391012192 } } }, "else": { - "operation": "boost", - "score": 0.033795904368162155 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.017741495743393898 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02787838689982891 - }, - "else": { - "operation": "boost", - "score": -0.0764322578907013 + "score": 0.008397926576435566 } - } - }, - "else": { - "operation": "boost", - "score": 0.003009125590324402 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.02763497829437256 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0419301800429821 }, "else": { "operation": "boost", - "score": 0.008794466033577919 + "score": -0.055073466151952744 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Variable", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.11224117130041122 + "score": 0.06722072511911392 }, "else": { - "operation": "boost", - "score": 0.08010374009609222 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6799.0, + "then": { + "operation": "boost", + "score": 0.06717132776975632 + }, + "else": { + "operation": "boost", + "score": -0.0031901304610073566 + } } }, "else": { - "operation": "boost", - "score": 0.021556179970502853 - } - }, - "else": { - "operation": "boost", - "score": -0.10976368933916092 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.05108007788658142 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, "then": { - "operation": "boost", - "score": 0.11105041950941086 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.039162006229162216 - }, - "else": { - "operation": "boost", - "score": 0.10700368881225586 - } - }, - "else": { "operation": "boost", - "score": 0.08390368521213531 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11562046408653259 - }, - "else": { - "operation": "boost", - "score": 0.11933065205812454 - } + "score": 0.04627405107021332 }, "else": { - "operation": "boost", - "score": 0.009837512858211994 - } - }, - "else": { - "operation": "boost", - "score": 0.034128911793231964 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05518089607357979 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 324.0, + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 485.0, - "then": { - "operation": "boost", - "score": 0.1382904201745987 - }, - "else": { - "operation": "boost", - "score": 0.12201259285211563 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "threshold": 171.5, "then": { "operation": "boost", - "score": 0.039885006844997406 + "score": 0.14421340823173523 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10802600532770157 - }, - "else": { - "operation": "boost", - "score": 0.003042102325707674 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03709409013390541 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "boost", - "score": 0.052357468754053116 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10632451623678207 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12591572105884552 - }, - "else": { - "operation": "boost", - "score": -0.0005181418964639306 - } - } + "score": 0.11461898684501648 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Variable", + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 173.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 182.0, "then": { "operation": "boost", - "score": 0.1036478579044342 + "score": 0.1075480505824089 }, "else": { "operation": "boost", - "score": 0.10622181743383408 + "score": 0.1235751062631607 } }, "else": { "operation": "boost", - "score": 0.060001637786626816 + "score": 0.08043712377548218 } }, "else": { "operation": "boost", - "score": 0.008301731199026108 + "score": 0.10408973693847656 } } - }, - "else": { - "operation": "boost", - "score": 0.017373662441968918 } }, "else": { - "operation": "boost", - "score": -0.04380922019481659 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.023050500079989433 - } - }, - "else": { - "operation": "boost", - "score": -0.10665726661682129 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04896239563822746 - }, - "else": { - "operation": "boost", - "score": 0.022552503272891045 - } - }, - "else": { - "operation": "boost", - "score": 0.0137203773483634 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.010231644846498966 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 420.5, + "threshold": 114.5, "then": { "operation": "boost", - "score": 0.08446206152439117 + "score": 0.1365249902009964 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 206.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 249.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 338.5, - "then": { - "operation": "boost", - "score": 0.1280914545059204 - }, - "else": { - "operation": "boost", - "score": 0.13579457998275757 - } - }, - "else": { - "operation": "boost", - "score": 0.08768688142299652 - } - }, - "else": { - "operation": "boost", - "score": 0.13217252492904663 - } - }, - "else": { - "operation": "boost", - "score": 0.14773008227348328 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 363.0, - "then": { - "operation": "boost", - "score": 0.1115228459239006 - }, - "else": { - "operation": "boost", - "score": 0.13074925541877747 - } - }, - "else": { - "operation": "boost", - "score": 0.7361483573913574 - } - }, - "else": { - "operation": "boost", - "score": 0.11387716233730316 - } - } + "operation": "boost", + "score": 0.10764119774103165 } }, "else": { "operation": "boost", - "score": 0.08992112427949905 + "score": 0.11496216803789139 } - }, - "else": { - "operation": "boost", - "score": 0.14080257713794708 } }, "else": { "operation": "boost", - "score": -0.01429885346442461 + "score": 0.09656066447496414 } }, "else": { "operation": "boost", - "score": 0.07211491465568542 + "score": 0.08599235862493515 } + }, + "else": { + "operation": "boost", + "score": 0.08085227012634277 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.03902535140514374 + }, + "else": { + "operation": "boost", + "score": 0.09361903369426727 } }, "else": { "operation": "boost", - "score": 0.061131078749895096 + "score": 0.0229460671544075 } + } + }, + "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": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", "Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.009746836498379707 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12788726389408112 - }, - "else": { - "operation": "boost", - "score": 0.13133443892002106 - } - }, - "else": { - "operation": "boost", - "score": 0.20888474583625793 - } + "operation": "boost", + "score": -0.14121858775615692 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1133071631193161 + "score": 0.10026425123214722 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.0, - "then": { - "operation": "boost", - "score": 0.13801255822181702 - }, - "else": { - "operation": "boost", - "score": 0.14457130432128906 - } + "operation": "boost", + "score": 0.09847233444452286 } } - }, - "else": { - "operation": "boost", - "score": 0.11778328567743301 } }, "else": { "operation": "boost", - "score": 0.08033399283885956 + "score": 0.013545054942369461 } }, "else": { "operation": "boost", - "score": -0.11931850016117096 + "score": -0.061688825488090515 } }, "else": { - "operation": "boost", - "score": 0.11641231924295425 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10860223323106766 + "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, + "then": { + "operation": "boost", + "score": 0.10615316778421402 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11456659436225891 + }, + "else": { + "operation": "boost", + "score": 0.13871021568775177 + } + } + }, + "else": { + "operation": "boost", + "score": 0.2047569751739502 + } + }, + "else": { + "operation": "boost", + "score": 0.017934339120984077 + } }, "else": { - "operation": "boost", - "score": 0.06622352451086044 + "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.11212041229009628 + "score": -0.05039064958691597 } - }, - "else": { - "operation": "boost", - "score": 0.03293415158987045 } - }, - "else": { - "operation": "boost", - "score": -0.008989023976027966 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.045537613332271576 - }, - "else": { - "operation": "boost", - "score": -0.0455743670463562 - } } } } @@ -49641,17 +50862,8 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08570417761802673 - }, - "else": { - "operation": "boost", - "score": 0.05079471319913864 - } + "operation": "boost", + "score": 0.08068624883890152 }, "else": { "operation": "if_greater", @@ -49659,11 +50871,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07603416591882706 + "score": 0.07453007996082306 }, "else": { "operation": "boost", - "score": 0.05897475406527519 + "score": 0.0568239800632 } } }, @@ -49672,12 +50884,30 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.033718764781951904 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.049050893634557724 + }, + "else": { + "operation": "boost", + "score": 0.01844082400202751 + } }, "else": { - "operation": "boost", - "score": 0.015076948329806328 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05233573541045189 + }, + "else": { + "operation": "boost", + "score": 0.010034585371613503 + } } } }, @@ -49691,68 +50921,191 @@ "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.035569921135902405 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.10812162607908249 + "score": 0.08259481191635132 }, "else": { "operation": "boost", - "score": 0.04070855304598808 + "score": 0.0019141919910907745 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06445799022912979 }, "else": { "operation": "boost", - "score": 0.03500058129429817 + "score": 0.026993820443749428 } + }, + "else": { + "operation": "boost", + "score": 0.030849061906337738 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21.5, + "threshold": 35.5, "then": { - "operation": "boost", - "score": 0.09834897518157959 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "boost", + "score": 0.08576983213424683 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.0, + "then": { + "operation": "boost", + "score": 0.1207704246044159 + }, + "else": { + "operation": "boost", + "score": 0.11646093428134918 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10621506720781326 + } + }, + "else": { + "operation": "boost", + "score": 0.09113828837871552 + } + }, + "else": { + "operation": "boost", + "score": 0.1422300934791565 + } + }, + "else": { + "operation": "boost", + "score": 0.11453207582235336 + } + }, + "else": { + "operation": "boost", + "score": 0.041180457919836044 + } }, "else": { - "operation": "boost", - "score": 0.06628977507352829 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.14039607346057892 + }, + "else": { + "operation": "boost", + "score": -0.16433751583099365 + } + }, + "else": { + "operation": "boost", + "score": 0.07729549705982208 + } } }, "else": { - "operation": "boost", - "score": 0.07024703174829483 + "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 + } + } } } }, @@ -49762,20 +51115,90 @@ "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08630088716745377 + "score": -0.06827498227357864 }, "else": { - "operation": "boost", - "score": 0.0342656672000885 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07883884757757187 + }, + "else": { + "operation": "boost", + "score": 0.04237886518239975 + } } }, "else": { - "operation": "boost", - "score": 0.024478992447257042 + "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_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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02260560169816017 + } } } }, @@ -49783,22 +51206,27 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" + "ClassScope" ], "then": { "operation": "if_greater", @@ -49806,1107 +51234,882 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03479917719960213 + "score": 0.008206715807318687 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06464086472988129 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10274571180343628 + "score": 0.0569327287375927 }, "else": { "operation": "boost", - "score": 0.05772135779261589 + "score": 0.10469035804271698 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { + "operation": "boost", + "score": 0.053725000470876694 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "boost", - "score": 0.09536395221948624 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.08711528778076172 + "score": 0.09633435308933258 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.03845755383372307 + "score": 0.10497210174798965 }, "else": { - "operation": "boost", - "score": 0.12245634198188782 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224557.0, + "then": { + "operation": "boost", + "score": 0.11126118898391724 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1174023225903511 + }, + "else": { + "operation": "boost", + "score": 0.057846713811159134 + } + } } } + }, + "else": { + "operation": "boost", + "score": 0.0791022777557373 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2599371075630188 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.0946936160326004 + "score": -0.03264615684747696 }, "else": { - "operation": "boost", - "score": -0.046769749373197556 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129672.5, + "then": { + "operation": "boost", + "score": 0.05603684484958649 + }, + "else": { + "operation": "boost", + "score": 0.0371662937104702 + } } } } - } - }, - "else": { - "operation": "boost", - "score": 0.044753964990377426 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": -0.026070283725857735 + "score": 0.011549596674740314 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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.08673078566789627 + "score": 0.09534724801778793 }, "else": { "operation": "boost", - "score": 0.018916228786110878 + "score": -0.058478306978940964 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04007861018180847 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.03515530005097389 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1655.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_Type" + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.1378764510154724 - }, - "else": { - "operation": "boost", - "score": 0.05592690408229828 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04390862584114075 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1282.0, + "threshold": 43.5, "then": { "operation": "boost", - "score": 0.11240199208259583 + "score": 0.1035492792725563 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.1096370667219162 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 339.0, - "then": { - "operation": "boost", - "score": 0.1514146476984024 - }, - "else": { - "operation": "boost", - "score": 0.1391475945711136 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12060723453760147 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.15047039091587067 - }, - "else": { - "operation": "boost", - "score": 0.1338152438402176 - } - } - }, - "else": { - "operation": "boost", - "score": 0.13089127838611603 - } - }, - "else": { - "operation": "boost", - "score": 0.11242441833019257 - } + "operation": "boost", + "score": 0.09556038677692413 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04057515412569046 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.09793151915073395 - }, - "else": { - "operation": "boost", - "score": -0.2689495086669922 - } - }, - "else": { - "operation": "boost", - "score": 0.11007282882928848 - } - }, - "else": { - "operation": "boost", - "score": 0.054027918726205826 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3070.5, - "then": { - "operation": "boost", - "score": 0.053075410425662994 }, "else": { "operation": "boost", - "score": 0.15599475800991058 + "score": 0.08729751408100128 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08888094127178192 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.190084770321846 + "score": 0.06864847987890244 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 66.5, + "threshold": 50.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1663484275341034 - }, - "else": { - "operation": "boost", - "score": 0.17910261452198029 - } - }, - "else": { - "operation": "boost", - "score": 0.1371331810951233 - } + "operation": "boost", + "score": 0.08893360197544098 }, "else": { "operation": "boost", - "score": 0.015148986130952835 + "score": 0.06700816750526428 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06274137645959854 - }, - "else": { - "operation": "boost", - "score": 0.12373365461826324 - } }, "else": { "operation": "boost", - "score": 0.11657357960939407 + "score": 0.05436254292726517 } - }, - "else": { - "operation": "boost", - "score": 0.11045077443122864 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.18941830098628998 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.05607820302248001 - }, - "else": { - "operation": "boost", - "score": -0.17490598559379578 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10875165462493896 + "score": 0.0795731246471405 }, "else": { - "operation": "boost", - "score": 0.06601472198963165 - } - }, - "else": { - "operation": "boost", - "score": 0.06935092061758041 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "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_TopLevel" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07202090322971344 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 338.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11568998545408249 + "score": -0.1100349947810173 }, "else": { - "operation": "boost", - "score": 0.13648399710655212 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.0, + "then": { + "operation": "boost", + "score": 0.09688959270715714 + }, + "else": { + "operation": "boost", + "score": -0.03275703266263008 + } } - }, - "else": { - "operation": "boost", - "score": 0.15084147453308105 } - }, - "else": { - "operation": "boost", - "score": 0.08338239043951035 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11719595640897751 + "score": -0.06791941076517105 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.17676067352294922 - }, - "else": { - "operation": "boost", - "score": 0.09555409848690033 - } + "operation": "boost", + "score": 0.10120075196027756 } } }, "else": { "operation": "boost", - "score": 0.032869525253772736 + "score": 0.0076742516830563545 } }, "else": { "operation": "boost", - "score": 0.00882314145565033 + "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 } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 73593.0, "then": { "operation": "boost", - "score": -0.04336640611290932 + "score": 0.10956333577632904 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.009396064095199108 + "score": 0.06756579875946045 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 111.5, "then": { "operation": "boost", - "score": 0.07919379323720932 + "score": 0.11238057911396027 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10187959671020508 - }, - "else": { - "operation": "boost", - "score": 0.11123986542224884 - } + "operation": "boost", + "score": 0.07972382009029388 }, "else": { "operation": "boost", - "score": -0.11268242448568344 + "score": 0.11240291595458984 } } } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01265103928744793 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08490137755870819 - }, - "else": { - "operation": "boost", - "score": -0.019612304866313934 - } - }, - "else": { - "operation": "boost", - "score": 0.09734059125185013 - } - } + "operation": "boost", + "score": -0.012533650733530521 } }, "else": { "operation": "boost", - "score": 0.040456321090459824 + "score": 0.07017646729946136 } }, "else": { + "operation": "boost", + "score": 0.03230121359229088 + } + }, + "else": { + "operation": "boost", + "score": 0.01833478733897209 + } + }, + "else": { + "operation": "boost", + "score": -0.011375101283192635 + } + } + }, + "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_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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08269203454256058 - }, - "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.042621031403541565 + "score": 0.036340486258268356 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14667415618896484 - }, - "else": { - "operation": "boost", - "score": 0.019213631749153137 - } + "operation": "boost", + "score": 0.0899810791015625 } + }, + "else": { + "operation": "boost", + "score": 0.04916961118578911 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07779813557863235 + "score": -0.020622052252292633 }, "else": { "operation": "boost", - "score": 0.05128468573093414 + "score": 0.059728264808654785 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.08928440511226654 - }, - "else": { - "operation": "boost", - "score": 0.023995760828256607 - } + "operation": "boost", + "score": -0.0012293658219277859 } } + }, + "else": { + "operation": "boost", + "score": -0.10158964991569519 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.12562914192676544 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.04373704642057419 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09420865774154663 + "score": 0.02330300584435463 }, "else": { "operation": "boost", - "score": 0.11474570631980896 + "score": 0.07914815843105316 } }, "else": { - "operation": "boost", - "score": 0.029382197186350822 + "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 + } } }, "else": { "operation": "boost", - "score": -0.0017181235598400235 + "score": 0.07275665551424026 } + }, + "else": { + "operation": "boost", + "score": 0.003581155091524124 } }, - "else": { - "operation": "boost", - "score": 0.041315898299217224 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008538678288459778 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.1322198510169983 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07725929468870163 + "score": -0.0510648675262928 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.018894650042057037 - }, - "else": { - "operation": "boost", - "score": 0.11407069116830826 - } - }, - "else": { - "operation": "boost", - "score": 0.10303706675767899 - } + "operation": "boost", + "score": 0.03122168779373169 } } }, "else": { - "operation": "boost", - "score": -0.1573646366596222 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48040.5, + "then": { + "operation": "boost", + "score": 0.1561080366373062 + }, + "else": { + "operation": "boost", + "score": 0.022299157455563545 + } + }, + "else": { + "operation": "boost", + "score": -0.0863112136721611 + } } - }, - "else": { - "operation": "boost", - "score": 0.04885495454072952 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.059314336627721786 + "score": -0.13208414614200592 }, "else": { "operation": "boost", - "score": 0.01657291315495968 + "score": 0.11891970038414001 } }, "else": { "operation": "boost", - "score": -0.1008860170841217 + "score": 0.07520285248756409 } }, "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": 48040.5, + "threshold": 12821.5, "then": { - "operation": "boost", - "score": 0.13791592419147491 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13390.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "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.030965792015194893 - }, - "else": { - "operation": "boost", - "score": 0.08597757667303085 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06724581867456436 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11612367630004883 - }, - "else": { - "operation": "boost", - "score": 0.1426917016506195 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11750234663486481 - } - } + "operation": "boost", + "score": 0.10211734473705292 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.028716960921883583 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09305676817893982 - }, - "else": { - "operation": "boost", - "score": 0.1509864628314972 - } + "operation": "boost", + "score": 0.11592214554548264 }, "else": { "operation": "boost", - "score": 0.06730393320322037 + "score": 0.11655684560537338 } + }, + "else": { + "operation": "boost", + "score": 0.11528899520635605 } - }, - "else": { - "operation": "boost", - "score": 0.005707033444195986 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 102665.5, "then": { "operation": "boost", - "score": -0.049694400280714035 + "score": -0.08894065022468567 }, "else": { "operation": "boost", - "score": 0.02838216722011566 + "score": 0.0706353560090065 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13202.5, "then": { - "operation": "boost", - "score": 0.014585739001631737 + "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": "boost", - "score": -0.13497376441955566 + "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 + } + } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.1579907387495041 + }, + "else": { + "operation": "boost", + "score": 0.03718787431716919 + } } + }, + "else": { + "operation": "boost", + "score": 0.025398014113307 } }, "else": { "operation": "boost", - "score": -0.03855176642537117 + "score": -0.1420886516571045 } + }, + "else": { + "operation": "boost", + "score": -0.06253829598426819 } - }, - "else": { - "operation": "boost", - "score": -0.054306745529174805 } } } @@ -50928,7 +52131,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07739521563053131 + "score": 0.07921694964170456 }, "else": { "operation": "if_greater", @@ -50936,83 +52139,55 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07359247654676437 + "score": 0.07239622622728348 }, "else": { "operation": "boost", - "score": 0.056653909385204315 + "score": 0.05400834232568741 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0571376271545887 + "score": 0.046933047473430634 }, "else": { "operation": "boost", - "score": 0.02354651503264904 + "score": 0.027997327968478203 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ParenthesizedExpression", "CCC_Expression", - "CCC_Symbol", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15538717806339264 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09221602231264114 - }, - "else": { - "operation": "boost", - "score": 0.09365526586771011 - } - } - }, - "else": { - "operation": "boost", - "score": 0.053631555289030075 - } + "operation": "boost", + "score": 0.006229615770280361 }, "else": { "operation": "boost", - "score": 0.014348679222166538 + "score": 0.027783963829278946 } }, "else": { "operation": "boost", - "score": -0.022318312898278236 + "score": -0.013487085700035095 } } } @@ -51027,86 +52202,113 @@ "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "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, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.0770936906337738 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.08315110206604004 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09623021632432938 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { + "operation": "boost", + "score": 0.07788771390914917 + }, + "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.14828461408615112 + }, + "else": { + "operation": "boost", + "score": 0.11234300583600998 + } + }, + "else": { + "operation": "boost", + "score": 0.11281589418649673 + } + }, + "else": { + "operation": "boost", + "score": 0.11201127618551254 + } + } + } }, "else": { "operation": "boost", - "score": 0.1254289299249649 + "score": 0.05287448689341545 } - }, - "else": { - "operation": "boost", - "score": 0.019457019865512848 } }, "else": { "operation": "boost", - "score": 0.05659900978207588 + "score": 0.05868304893374443 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.029115162789821625 - }, - "else": { - "operation": "boost", - "score": 0.09219641983509064 - } - }, - "else": { - "operation": "boost", - "score": 0.03351205959916115 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "threshold": 190379.0, "then": { "operation": "boost", - "score": 0.09527453035116196 + "score": 0.09335051476955414 }, "else": { "operation": "boost", - "score": 0.0622606985270977 + "score": 0.058741677552461624 } - }, - "else": { - "operation": "boost", - "score": 0.06809019297361374 } } }, @@ -51116,1029 +52318,1079 @@ "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08386442065238953 + "score": -0.06493399292230606 }, "else": { "operation": "boost", - "score": 0.03215687349438667 + "score": 0.043015025556087494 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.05604616180062294 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.03547872602939606 + "score": 0.010223177261650562 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.0472855381667614 + "score": 0.06606355309486389 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05234327167272568 - }, - "else": { - "operation": "boost", - "score": 0.037867575883865356 - } + "operation": "boost", + "score": 0.06750739365816116 } } + }, + "else": { + "operation": "boost", + "score": 0.019558515399694443 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 357.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4152.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4159.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], + "operation": "boost", + "score": 0.07276088744401932 + }, + "else": { + "operation": "boost", + "score": 0.11983362585306168 + } + }, + "else": { + "operation": "boost", + "score": 0.06341493129730225 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "boost", - "score": 0.12887588143348694 - }, - "else": { - "operation": "boost", - "score": -0.0067560067400336266 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 12924.0, "then": { - "operation": "boost", - "score": -0.1020577996969223 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1655.0, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.0528867170214653 + "score": 0.08371901512145996 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 375849.5, "then": { + "operation": "boost", + "score": 0.06618811190128326 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24227.5, "then": { "operation": "boost", - "score": 0.008938152343034744 + "score": 0.02019410952925682 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 24093.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "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": 14.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17742513120174408 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 399.0, - "then": { - "operation": "boost", - "score": 0.1388491839170456 - }, - "else": { - "operation": "boost", - "score": 0.14797145128250122 - } - }, - "else": { - "operation": "boost", - "score": 0.11783256381750107 - } - } + "operation": "boost", + "score": 0.09826169162988663 }, "else": { "operation": "boost", - "score": 0.1152471974492073 + "score": 0.111418716609478 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 895.5, + "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": "NumReferences", - "threshold": 964.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11377087980508804 + "score": 0.09063549339771271 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.11960890144109726 + "score": 0.11254394799470901 }, "else": { - "operation": "boost", - "score": 0.1310175508260727 + "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.12249402701854706 + "score": 0.051796503365039825 } + }, + "else": { + "operation": "boost", + "score": 0.06731346994638443 } - }, - "else": { - "operation": "boost", - "score": 0.10969114303588867 } } - }, - "else": { - "operation": "boost", - "score": -0.07761508971452713 } } - }, - "else": { - "operation": "boost", - "score": 0.08113519102334976 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03133941441774368 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287036.5, - "then": { - "operation": "boost", - "score": 0.10417617112398148 - }, - "else": { - "operation": "boost", - "score": 0.024176083505153656 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.05285637080669403 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14351.0, - "then": { - "operation": "boost", - "score": 0.08810988813638687 }, "else": { "operation": "boost", - "score": -0.07088963687419891 + "score": 0.12075314670801163 } + }, + "else": { + "operation": "boost", + "score": 0.03382670134305954 } }, - "else": { - "operation": "boost", - "score": 0.02117348462343216 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.019185470417141914 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.0012252974556759 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1801.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1829.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.028063565492630005 + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.007869874127209187 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.1037953644990921 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10519404709339142 + }, + "else": { + "operation": "boost", + "score": 0.04841525852680206 + } }, "else": { - "operation": "boost", - "score": 0.12384016066789627 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6111.5, + "then": { + "operation": "boost", + "score": 0.12388689815998077 + }, + "else": { + "operation": "boost", + "score": 0.015329133719205856 + } } + }, + "else": { + "operation": "boost", + "score": 0.05462583154439926 } - }, - "else": { - "operation": "boost", - "score": 0.16851845383644104 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, - "then": { - "operation": "boost", - "score": 0.18120387196540833 - }, - "else": { - "operation": "boost", - "score": 0.11780226975679398 - } + "operation": "boost", + "score": 0.08215364068746567 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 368.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 532.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1035.0, - "then": { - "operation": "boost", - "score": 0.12657368183135986 - }, - "else": { - "operation": "boost", - "score": -0.11104438453912735 - } - }, - "else": { - "operation": "boost", - "score": 0.1237434670329094 - } - }, - "else": { - "operation": "boost", - "score": 0.10087917745113373 - } + "operation": "boost", + "score": 0.1279035061597824 }, "else": { "operation": "boost", - "score": 0.09767910838127136 + "score": 0.11155259609222412 } } }, "else": { "operation": "boost", - "score": 0.08785437792539597 + "score": 0.07280541211366653 } } - }, - "else": { - "operation": "boost", - "score": 0.07117015868425369 } } + }, + "else": { + "operation": "boost", + "score": -0.026733607053756714 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07815799117088318 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09596039354801178 + }, + "else": { + "operation": "boost", + "score": -0.033001288771629333 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004602473229169846 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Type" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 71.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13063138723373413 - }, - "else": { - "operation": "boost", - "score": 0.09199492633342743 - } + "operation": "boost", + "score": 0.0891859158873558 }, "else": { + "operation": "boost", + "score": 0.047033775597810745 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.09927182644605637 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.021462159231305122 + "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.08097857236862183 + "score": 0.10796506702899933 } - }, - "else": { - "operation": "boost", - "score": 0.046525560319423676 } }, "else": { "operation": "boost", - "score": 0.014556000009179115 + "score": 0.06130596250295639 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02573573775589466 }, "else": { "operation": "boost", - "score": -0.052503153681755066 + "score": 0.06863448768854141 } } }, - "else": { - "operation": "boost", - "score": 0.002218384062871337 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.02749774232506752 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 32.5, "then": { - "operation": "boost", - "score": -0.016049299389123917 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" + "Variable", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.05540809407830238 + "score": 0.07048068195581436 }, "else": { - "operation": "boost", - "score": 0.017500296235084534 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26281.0, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.11695311963558197 + "score": 0.09827828407287598 }, "else": { - "operation": "boost", - "score": 0.03810549154877663 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06070081144571304 - }, - "else": { - "operation": "boost", - "score": -0.01563149131834507 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2841.0, + "then": { + "operation": "boost", + "score": 0.058614425361156464 + }, + "else": { + "operation": "boost", + "score": -0.017507357522845268 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": 0.06440487504005432 - }, - "else": { - "operation": "boost", - "score": 0.03193691745400429 - } + "operation": "boost", + "score": 0.04258648306131363 } - }, - "else": { - "operation": "boost", - "score": 0.011390367522835732 } }, "else": { - "operation": "boost", - "score": -0.00012239014904480428 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.04244447499513626 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11158695071935654 + }, + "else": { + "operation": "boost", + "score": 0.022493954747915268 + } + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": -0.020996257662773132 + }, + "else": { + "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_Type" + ], "then": { - "operation": "boost", - "score": -0.005864617880433798 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04172778129577637 + "score": 0.035137709230184555 }, "else": { - "operation": "boost", - "score": 0.14308856427669525 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace", - "Type" + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, + "feature": "FilterLength", + "threshold": 4.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "boost", - "score": 0.09206104278564453 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.0, - "then": { - "operation": "boost", - "score": 0.13020150363445282 - }, - "else": { - "operation": "boost", - "score": 0.13272535800933838 - } - }, - "else": { - "operation": "boost", - "score": 0.11302166432142258 - } - } + "operation": "boost", + "score": -0.1115475744009018 }, "else": { "operation": "boost", - "score": 0.12245084345340729 + "score": 0.11429159343242645 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.14779351651668549 - }, - "else": { - "operation": "boost", - "score": 0.17246276140213013 - } + "operation": "boost", + "score": 0.10576734691858292 } }, "else": { - "operation": "boost", - "score": 0.10032424330711365 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "operation": "boost", + "score": 0.016554279252886772 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.11123254150152206 + "score": 0.10328985750675201 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 285.0, - "then": { - "operation": "boost", - "score": 0.11779895424842834 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.15259668231010437 - }, - "else": { - "operation": "boost", - "score": 0.15417622029781342 - } - } - }, - "else": { - "operation": "boost", - "score": 0.3176968991756439 - } - }, - "else": { - "operation": "boost", - "score": 0.4005601704120636 - } + "operation": "boost", + "score": 0.059767719358205795 } - }, - "else": { - "operation": "boost", - "score": -0.1010272204875946 } - }, - "else": { - "operation": "boost", - "score": 0.1247599869966507 } + }, + "else": { + "operation": "boost", + "score": 0.07302262634038925 } }, "else": { - "operation": "boost", - "score": 0.07353707402944565 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.07541155070066452 + }, + "else": { + "operation": "boost", + "score": 0.012058736756443977 + } } - }, - "else": { - "operation": "boost", - "score": 0.06910332292318344 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11941391229629517 }, "else": { "operation": "boost", - "score": 0.10686902701854706 + "score": 0.026300741359591484 } }, "else": { "operation": "boost", - "score": 0.11343860626220703 + "score": -0.04433785751461983 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.06479127705097198 + "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.09702363610267639 + }, + "else": { + "operation": "boost", + "score": 0.1105131059885025 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11241767555475235 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13011759519577026 + }, + "else": { + "operation": "boost", + "score": 0.1461765617132187 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1509074866771698 + } }, "else": { - "operation": "boost", - "score": 0.11055922508239746 + "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": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0800972729921341 + }, + "else": { + "operation": "boost", + "score": 0.1213344931602478 + } + }, + "else": { + "operation": "boost", + "score": 0.10283865034580231 + } + }, + "else": { + "operation": "boost", + "score": 0.08913730829954147 + } + }, + "else": { + "operation": "boost", + "score": 0.004122622776776552 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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.05430964380502701 + "score": 0.028370190411806107 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "boost", - "score": 0.1281413435935974 - }, - "else": { - "operation": "boost", - "score": 0.15642663836479187 - } + "operation": "boost", + "score": -0.09665833413600922 } }, "else": { "operation": "boost", - "score": 0.01485552079975605 + "score": 0.02674075961112976 } } }, "else": { - "operation": "boost", - "score": -0.01077939197421074 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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" + ], "then": { "operation": "boost", - "score": -0.06449232995510101 + "score": 0.009462571702897549 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.041011009365320206 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0070925746113061905 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13242489099502563 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 24.0, "then": { - "operation": "boost", - "score": 0.06823376566171646 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13614411652088165 + "score": 0.07392194867134094 }, "else": { "operation": "boost", - "score": -0.16801412403583527 + "score": 0.09468092769384384 } }, "else": { "operation": "boost", - "score": 0.10703706741333008 + "score": -0.6709210872650146 } + }, + "else": { + "operation": "boost", + "score": -0.060491617769002914 } - }, - "else": { - "operation": "boost", - "score": 0.0669458881020546 } - }, - "else": { - "operation": "boost", - "score": 0.021058103069663048 } + }, + "else": { + "operation": "boost", + "score": -0.030468666926026344 } } - }, - "else": { - "operation": "boost", - "score": -0.0735713317990303 } - }, - "else": { - "operation": "boost", - "score": -0.046467263251543045 } + }, + "else": { + "operation": "boost", + "score": -0.10520941764116287 } } } @@ -52161,7 +53413,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07727046310901642 + "score": 0.07726709544658661 }, "else": { "operation": "if_greater", @@ -52169,85 +53421,55 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07211777567863464 + "score": 0.07040401548147202 }, "else": { - "operation": "boost", - "score": 0.05432620644569397 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.4486476480960846 + "score": -1.1818149089813232 }, "else": { "operation": "boost", - "score": 0.04584406688809395 + "score": 0.052400365471839905 } - }, - "else": { - "operation": "boost", - "score": 0.013159015215933323 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.053251221776008606 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression", "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0054703219793736935 + "score": 0.025051068514585495 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09048708528280258 - }, - "else": { - "operation": "boost", - "score": 0.02569620870053768 - } + "operation": "boost", + "score": 0.015722405165433884 } }, "else": { "operation": "boost", - "score": -0.011609482578933239 + "score": -0.009360347874462605 } } } @@ -52258,244 +53480,173 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.03232249617576599 + "score": 0.033270929008722305 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10383899509906769 - }, - "else": { - "operation": "boost", - "score": 0.03445931524038315 - } + "operation": "boost", + "score": 0.0741322860121727 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.06176646798849106 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.3446027636528015 + "score": 0.06280223280191422 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 114.5, + "threshold": 31.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10008.5, - "then": { - "operation": "boost", - "score": 0.006162631791085005 - }, - "else": { - "operation": "boost", - "score": 0.06913512945175171 - } + "operation": "boost", + "score": 0.11348651349544525 + }, + "else": { + "operation": "boost", + "score": 0.10150540620088577 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10536643862724304 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14848637580871582 + "score": 0.06262442469596863 }, "else": { - "operation": "boost", - "score": 0.18791860342025757 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.42751097679138184 + }, + "else": { + "operation": "boost", + "score": 0.11413849145174026 + } } } - }, - "else": { - "operation": "boost", - "score": 0.013303739950060844 } } + }, + "else": { + "operation": "boost", + "score": 0.0283907912671566 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.051501110196113586 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.09320724010467529 + "score": 0.01357225701212883 }, "else": { "operation": "boost", - "score": 0.06203386187553406 + "score": 0.06146440654993057 } - }, - "else": { - "operation": "boost", - "score": 0.0660444051027298 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { "operation": "boost", - "score": 0.08280093222856522 + "score": 0.04595816135406494 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03917017951607704 + "score": 0.10076364874839783 }, "else": { "operation": "boost", - "score": 0.039587583392858505 + "score": 0.0469496063888073 } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.044451095163822174 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07745182514190674 - }, - "else": { - "operation": "boost", - "score": 0.009387700818479061 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013818296603858471 - }, - "else": { - "operation": "boost", - "score": 0.04332660883665085 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.043262310326099396 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05039389431476593 - }, - "else": { - "operation": "boost", - "score": 0.03985065221786499 - } - } - } - } + "operation": "boost", + "score": 0.02257363311946392 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "Keyword", + "Type", + "Namespace" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ + "FunctionScope", "ClassScope" ], "then": { @@ -52504,867 +53655,806 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.023598099127411842 + "score": 0.006138732191175222 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09939787536859512 - }, - "else": { - "operation": "boost", - "score": 0.046119481325149536 - } + "operation": "boost", + "score": -0.005070025566965342 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09221548587083817 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07997655868530273 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.11515679955482483 - }, - "else": { - "operation": "boost", - "score": 0.09755007177591324 - } - } - } + "operation": "boost", + "score": 0.049083106219768524 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.0869814082980156 - }, - "else": { - "operation": "boost", - "score": 0.016295582056045532 - } + "operation": "boost", + "score": 0.10075397789478302 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, + "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": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 61550.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.051097236573696136 + "score": 0.02061515301465988 }, "else": { - "operation": "boost", - "score": -0.16256272792816162 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198405.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.1263977438211441 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10622046887874603 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11082048714160919 - }, - "else": { - "operation": "boost", - "score": -0.2981380522251129 - } - }, - "else": { - "operation": "boost", - "score": 0.12587308883666992 - } - } + "operation": "boost", + "score": 0.13954001665115356 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10508231073617935 - }, - "else": { - "operation": "boost", - "score": 0.046999212354421616 - } + "operation": "boost", + "score": 0.059443745762109756 } - } - }, - "else": { - "operation": "boost", - "score": 0.06479953229427338 - } - }, - "else": { - "operation": "boost", - "score": 0.07071072608232498 - } - } - }, - "else": { - "operation": "boost", - "score": 0.024920139461755753 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.02367638610303402 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1655.0, - "then": { - "operation": "boost", - "score": 0.03643530234694481 - }, - "else": { - "operation": "boost", - "score": 0.10153451561927795 - } + "operation": "boost", + "score": 0.11092424392700195 }, "else": { "operation": "boost", - "score": 0.09732703119516373 + "score": 0.023407146334648132 } - }, - "else": { - "operation": "boost", - "score": 0.03855260834097862 } }, "else": { - "operation": "boost", - "score": 0.030729074031114578 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.02099437639117241 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 105803.0, "then": { + "operation": "boost", + "score": 0.02190997824072838 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99149.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.11846892535686493 + "score": 0.11346780508756638 }, "else": { - "operation": "boost", - "score": 0.1282535195350647 + "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": "boost", - "score": 0.015275701880455017 + "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.1036868691444397 + "score": 0.07562904059886932 } }, "else": { "operation": "boost", - "score": 0.1015864759683609 + "score": 0.06310597062110901 } - }, - "else": { - "operation": "boost", - "score": 0.10691789537668228 } - }, - "else": { - "operation": "boost", - "score": 0.07786671817302704 } } + }, + "else": { + "operation": "boost", + "score": -0.04163543879985809 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Statement", "CCC_Namespace", - "CCC_Symbol" + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.06072778254747391 + "score": 0.008022638969123363 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0008691969560459256 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07761802524328232 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10554540157318115 - }, - "else": { - "operation": "boost", - "score": 0.10814627259969711 - } - }, - "else": { - "operation": "boost", - "score": -0.11018483340740204 - } - } - } + "operation": "boost", + "score": 0.06881550699472427 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.01043890230357647 + "score": 0.08768998086452484 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.08190862089395523 + "score": 0.06676327437162399 }, "else": { "operation": "boost", - "score": -0.017918990924954414 + "score": 0.09324149787425995 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14837567508220673 - }, - "else": { - "operation": "boost", - "score": 0.09364525228738785 - } + "operation": "boost", + "score": -0.026457034051418304 } } } }, - "else": { - "operation": "boost", - "score": 0.03767843171954155 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.12637925148010254 - }, - "else": { - "operation": "boost", - "score": -0.07071998715400696 - } - }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 55833.5, "then": { "operation": "boost", - "score": -0.13924898207187653 + "score": -1.6160533428192139 }, "else": { "operation": "boost", - "score": 0.012269015423953533 + "score": -0.047385599464178085 } } + }, + "else": { + "operation": "boost", + "score": 0.00911285076290369 } } + }, + "else": { + "operation": "boost", + "score": -0.019633334130048752 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 266615.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { + "operation": "boost", + "score": -0.13512301445007324 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.05876217409968376 + "score": 0.0878564715385437 }, "else": { "operation": "boost", - "score": -0.015424588695168495 + "score": 0.12028663605451584 } - }, - "else": { - "operation": "boost", - "score": 0.07577481120824814 } }, "else": { "operation": "boost", - "score": 0.030701227486133575 + "score": 0.06178174167871475 } }, "else": { "operation": "boost", - "score": 0.018696025013923645 + "score": 0.031666066497564316 } }, "else": { - "operation": "boost", - "score": -0.012588736601173878 + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.15716084837913513 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07529488205909729 + "score": 0.045828912407159805 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 284274.5, + "threshold": 530.0, "then": { "operation": "boost", - "score": 0.018015222623944283 + "score": 0.13431866466999054 }, "else": { - "operation": "boost", - "score": 0.11216713488101959 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129.5, + "then": { + "operation": "boost", + "score": 0.11836230754852295 + }, + "else": { + "operation": "boost", + "score": 0.12286219745874405 + } } }, "else": { - "operation": "boost", - "score": 0.10046923905611038 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 454.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 594.5, + "then": { + "operation": "boost", + "score": 0.09348856657743454 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 586.5, + "then": { + "operation": "boost", + "score": 0.12180563062429428 + }, + "else": { + "operation": "boost", + "score": 0.10976188629865646 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0877019539475441 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 149.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10936874151229858 + }, + "else": { + "operation": "boost", + "score": 0.10952425003051758 + } + }, + "else": { + "operation": "boost", + "score": 0.1328074187040329 + } + }, + "else": { + "operation": "boost", + "score": 0.09446459263563156 + } + }, + "else": { + "operation": "boost", + "score": 0.10194632411003113 + } + } + } } } }, "else": { - "operation": "boost", - "score": -0.16905704140663147 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09107789397239685 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.005688650067895651 + "score": 0.10872430354356766 }, "else": { - "operation": "boost", - "score": 0.06596025079488754 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.08541890978813171 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1253156214952469 + }, + "else": { + "operation": "boost", + "score": 0.11340165138244629 + } + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassStructUnion", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 25.5, "then": { - "operation": "boost", - "score": 0.054416727274656296 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.09655668586492538 + }, + "else": { + "operation": "boost", + "score": 0.11156207323074341 + } }, "else": { "operation": "boost", - "score": 0.11653310060501099 + "score": 0.10546208918094635 } }, "else": { "operation": "boost", - "score": 0.08156991750001907 + "score": 0.1027669906616211 } } }, "else": { - "operation": "boost", - "score": -0.023190535604953766 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08847479522228241 + } } }, "else": { "operation": "boost", - "score": -0.13670851290225983 + "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, + "then": { + "operation": "boost", + "score": 0.031153041869401932 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "CCC_TopLevel" ], "then": { - "operation": "boost", - "score": 0.04028698056936264 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5708.0, + "then": { + "operation": "boost", + "score": 0.13483598828315735 + }, + "else": { + "operation": "boost", + "score": 0.08667787164449692 + } }, "else": { "operation": "boost", - "score": -0.06275209039449692 + "score": 0.06782162934541702 } + }, + "else": { + "operation": "boost", + "score": 0.05080670863389969 } - }, - "else": { - "operation": "boost", - "score": 0.04669027030467987 } - }, - "else": { + } + } + }, + "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, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.013557535596191883 - }, - "else": { - "operation": "boost", - "score": -0.09897337853908539 - } + "operation": "boost", + "score": -0.119242824614048 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14212144911289215 + "score": 0.018755564466118813 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.10424675047397614 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.04481584578752518 + "score": 0.10860288888216019 }, "else": { "operation": "boost", - "score": 0.1069696918129921 + "score": 0.1333000510931015 } - }, - "else": { - "operation": "boost", - "score": 0.06480927020311356 } }, "else": { "operation": "boost", - "score": 0.006051466800272465 + "score": 0.1030084639787674 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel" ], "then": { - "operation": "boost", - "score": 0.024361245334148407 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.10875973850488663 + }, + "else": { + "operation": "boost", + "score": 0.08593448251485825 + } }, "else": { "operation": "boost", - "score": -0.048930563032627106 + "score": 0.05544663593173027 } } }, @@ -53372,117 +54462,248 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.012875586748123169 + "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.13247938454151154 + "score": -0.11445857584476471 } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.036145683377981186 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10778268426656723 }, "else": { "operation": "boost", - "score": 0.017945682629942894 + "score": 0.04967696592211723 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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.058696448802948 + "score": 0.014707647264003754 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11587484180927277 - }, + "operation": "boost", + "score": -0.09358767420053482 + } + }, + "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_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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.013332612812519073 + }, + "else": { + "operation": "boost", + "score": 0.08058083802461624 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05710399150848389 + }, + "else": { + "operation": "boost", + "score": 0.11731909960508347 + } + }, + "else": { + "operation": "boost", + "score": 0.10466275364160538 + } + } + }, + "else": { + "operation": "boost", + "score": 0.051161471754312515 + } + }, "else": { "operation": "boost", - "score": 0.11522259563207626 + "score": 0.002837696811184287 } }, "else": { "operation": "boost", - "score": 0.11051858216524124 + "score": 0.02008703164756298 + } + }, + "else": { + "operation": "boost", + "score": -0.009330053813755512 + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.005018787458539009 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 30.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05455341190099716 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.09804033488035202 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03206202760338783 + }, + "else": { + "operation": "boost", + "score": 0.10603093355894089 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.02785281091928482 } }, "else": { "operation": "boost", - "score": -0.11881748586893082 + "score": -0.037490855902433395 } } - }, - "else": { - "operation": "boost", - "score": -0.05382249504327774 } } } @@ -53505,7 +54726,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07432439923286438 + "score": 0.07612770795822144 }, "else": { "operation": "if_greater", @@ -53513,55 +54734,34 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06966425478458405 + "score": 0.06841588765382767 }, "else": { "operation": "boost", - "score": 0.051887430250644684 + "score": 0.05096007138490677 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0524958074092865 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011303560808300972 - }, - "else": { - "operation": "boost", - "score": 0.027896011248230934 - } + "operation": "boost", + "score": 0.04296388849616051 }, "else": { "operation": "boost", - "score": -0.010709203779697418 + "score": 0.014666415750980377 } + }, + "else": { + "operation": "boost", + "score": 0.012484190985560417 } } }, @@ -53571,68 +54771,176 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.05793815851211548 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.029691999778151512 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, + "then": { + "operation": "boost", + "score": 0.08848480135202408 + }, + "else": { + "operation": "boost", + "score": 0.10670778900384903 + } + }, + "else": { + "operation": "boost", + "score": 0.07382272928953171 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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.08612198382616043 + "score": 0.01676081120967865 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.05826666206121445 + "score": 0.05504220724105835 }, "else": { - "operation": "boost", - "score": 0.030850039795041084 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.00871039554476738 + }, + "else": { + "operation": "boost", + "score": 0.07800448685884476 + } } } - }, - "else": { - "operation": "boost", - "score": 0.07151864469051361 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { "operation": "boost", - "score": 0.07892118394374847 + "score": 0.04451904445886612 }, "else": { - "operation": "boost", - "score": 0.030440209433436394 + "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.023879574611783028 + "score": 0.022221341729164124 } } }, @@ -53640,21 +54948,27 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "ClassScope" ], "then": { "operation": "if_greater", @@ -53662,7 +54976,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01484852097928524 + "score": 0.0003987904929090291 }, "else": { "operation": "if_greater", @@ -53670,7 +54984,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03433272987604141 + "score": 0.05650106072425842 }, "else": { "operation": "if_greater", @@ -53678,836 +54992,734 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.060479357838630676 + "score": 0.04578198865056038 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09158521890640259 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.11484295129776001 - }, - "else": { - "operation": "boost", - "score": 0.10911019891500473 - } - } + "operation": "boost", + "score": 0.09682772308588028 } } } }, "else": { - "operation": "boost", - "score": 0.04328051954507828 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26.5, + "threshold": 61550.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "boost", - "score": 0.050676118582487106 + "score": 0.05123712494969368 }, "else": { "operation": "boost", - "score": 0.01902743987739086 + "score": -0.14329716563224792 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.09235575050115585 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09256494045257568 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1655.0, + "threshold": 198405.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_Type" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.13554921746253967 + "score": 0.1261409968137741 }, "else": { "operation": "boost", - "score": 0.04971864074468613 + "score": 0.06637893617153168 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 105803.0, "then": { "operation": "boost", - "score": 0.034048892557621 + "score": 0.02164395898580551 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 101593.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11427447944879532 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11310089379549026 - }, - "else": { - "operation": "boost", - "score": 0.11602871865034103 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167.5, - "then": { - "operation": "boost", - "score": 0.12826718389987946 - }, - "else": { - "operation": "boost", - "score": 0.12068131566047668 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1174018383026123 - } + "operation": "boost", + "score": 0.09501289576292038 }, "else": { "operation": "boost", - "score": 0.10335750877857208 + "score": 0.06824788451194763 } } } - }, - "else": { - "operation": "boost", - "score": 0.03187146410346031 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22815470397472382 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02009310945868492 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 219439.0, + "threshold": 129672.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.0636332631111145 - }, - "else": { - "operation": "boost", - "score": 0.10957912355661392 - } + "operation": "boost", + "score": 0.05118688568472862 }, "else": { "operation": "boost", - "score": 0.031779512763023376 + "score": 0.03815910965204239 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04418177902698517 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.005989354103803635 + }, + "else": { + "operation": "boost", + "score": -0.10401492565870285 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74698.5, + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.031619809567928314 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.032399509102106094 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_UnionTag" ], "then": { - "operation": "boost", - "score": 0.12069226056337357 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.028671691194176674 - }, - "else": { - "operation": "boost", - "score": 0.12484578788280487 - } + "operation": "boost", + "score": 0.09877505898475647 }, "else": { "operation": "boost", - "score": 0.05832025408744812 + "score": 0.09182743728160858 } + }, + "else": { + "operation": "boost", + "score": 0.08095846325159073 } }, "else": { - "operation": "boost", - "score": 0.07054135948419571 - } - } - }, - "else": { - "operation": "boost", - "score": 0.026995426043868065 - } - }, - "else": { - "operation": "boost", - "score": 0.02021113783121109 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07570973038673401 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.06274178624153137 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 69.5, "then": { "operation": "boost", - "score": 0.1260988712310791 + "score": 0.08196306973695755 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.0819750428199768 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68.5, + "then": { + "operation": "boost", + "score": 0.12274874746799469 + }, + "else": { + "operation": "boost", + "score": 0.11081524193286896 + } }, "else": { "operation": "boost", - "score": 0.11355293542146683 + "score": 0.06960850954055786 } } }, "else": { "operation": "boost", - "score": 0.07446245849132538 + "score": 0.06706079840660095 } - }, - "else": { - "operation": "boost", - "score": 0.10463640838861465 } - }, - "else": { - "operation": "boost", - "score": 0.10453607887029648 } + }, + "else": { + "operation": "boost", + "score": 0.046049319207668304 } - }, - "else": { - "operation": "boost", - "score": 0.06366435438394547 } }, "else": { - "operation": "boost", - "score": 0.07271455228328705 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { - "operation": "boost", - "score": -0.035140007734298706 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.014654670841991901 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.07634703814983368 + "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, + "then": { + "operation": "boost", + "score": 0.05027921870350838 + }, + "else": { + "operation": "boost", + "score": 0.09136015176773071 + } + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10091641545295715 + "score": -0.09019798040390015 }, "else": { "operation": "boost", - "score": 0.10654652863740921 + "score": 0.09374657273292542 } }, "else": { "operation": "boost", - "score": -0.10831469297409058 + "score": 0.05551021918654442 } } + }, + "else": { + "operation": "boost", + "score": 0.03409409523010254 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00467509962618351 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.025921089574694633 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.15925078094005585 + }, + "else": { + "operation": "boost", + "score": 0.04115966707468033 + } }, "else": { "operation": "boost", - "score": 0.08468671888113022 + "score": 0.003496906952932477 } } } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59352.5, + "then": { + "operation": "boost", + "score": 0.09534192830324173 + }, + "else": { + "operation": "boost", + "score": 0.05738483741879463 + } }, "else": { "operation": "boost", - "score": 0.03777266666293144 + "score": 0.0865335538983345 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.08007305860519409 + "score": -0.08904312551021576 }, "else": { "operation": "boost", - "score": 0.008043471723794937 + "score": 0.022266047075390816 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.12531229853630066 + "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": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4319.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27896.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, - "then": { - "operation": "boost", - "score": 0.09168942272663116 - }, - "else": { - "operation": "boost", - "score": 0.11648441851139069 - } - }, - "else": { - "operation": "boost", - "score": 0.0687839612364769 - } - }, - "else": { - "operation": "boost", - "score": 0.04445304721593857 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.08425658941268921 - }, - "else": { - "operation": "boost", - "score": 0.02107461355626583 - } - } + "operation": "boost", + "score": 0.1151280403137207 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.002740191062912345 - }, - "else": { - "operation": "boost", - "score": -1.1401705741882324 - } + "operation": "boost", + "score": -0.12873367965221405 } }, "else": { "operation": "boost", - "score": 0.06551337987184525 + "score": 0.06755475699901581 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.017531948164105415 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12506498396396637 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08548719435930252 - }, - "else": { - "operation": "boost", - "score": 0.07820671051740646 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.045352835208177567 + "score": -0.002188628539443016 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.10985184460878372 + "score": 0.12971840798854828 }, "else": { "operation": "boost", - "score": 0.059018880128860474 + "score": 0.04284759238362312 } } }, "else": { "operation": "boost", - "score": -0.00017237842257600278 + "score": 0.037609200924634933 } - } - }, - "else": { - "operation": "boost", - "score": 0.005805433262139559 - } - }, - "else": { - "operation": "boost", - "score": -0.03377538546919823 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.014305515214800835 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05074586346745491 }, "else": { - "operation": "boost", - "score": 0.024754852056503296 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.02665458247065544 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 612.0, + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 667.5, + "threshold": 35.5, "then": { "operation": "boost", - "score": 0.1035631075501442 + "score": 0.10884097218513489 }, "else": { + "operation": "boost", + "score": 0.12458371371030807 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.18603695929050446 + "score": -0.39259129762649536 }, "else": { "operation": "boost", - "score": 0.13385921716690063 + "score": 0.11481710523366928 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 335.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 526.5, - "then": { - "operation": "boost", - "score": -0.504480242729187 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11638998985290527 - }, - "else": { - "operation": "boost", - "score": 0.12883713841438293 - } - }, - "else": { - "operation": "boost", - "score": 0.0983598530292511 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0706002339720726 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.12437275797128677 - }, - "else": { - "operation": "boost", - "score": 0.11032889783382416 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10691701620817184 + }, + "else": { + "operation": "boost", + "score": 0.10059891641139984 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0629500225186348 + }, + "else": { + "operation": "boost", + "score": -0.2809866666793823 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08939637988805771 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.0335930772125721 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02367425709962845 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07302061468362808 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.011987753212451935 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0722145214676857 + "score": 0.05903179571032524 }, "else": { - "operation": "boost", - "score": 0.09770917147397995 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.045266296714544296 + }, + "else": { + "operation": "boost", + "score": 0.1041339859366417 + } + }, + "else": { + "operation": "boost", + "score": 0.09256085008382797 + } } - }, - "else": { - "operation": "boost", - "score": 0.08624891936779022 } } }, "else": { - "operation": "boost", - "score": 0.026247525587677956 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04609021544456482 + }, + "else": { + "operation": "boost", + "score": -0.0016610396560281515 + } } + }, + "else": { + "operation": "boost", + "score": 0.029866671189665794 } - }, - "else": { - "operation": "boost", - "score": 0.008216330781579018 } } } @@ -54518,81 +55730,47 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.13776002824306488 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.0956781730055809 - }, - "else": { - "operation": "boost", - "score": -0.1656961590051651 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08552394807338715 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", @@ -54601,162 +55779,199 @@ ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04088308662176132 + "score": 0.03334878385066986 }, "else": { + "operation": "boost", + "score": 0.08193935453891754 + } + }, + "else": { + "operation": "boost", + "score": 0.04150906205177307 + } + }, + "else": { + "operation": "boost", + "score": 0.016817495226860046 + } + }, + "else": { + "operation": "boost", + "score": -0.0906379371881485 + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.05275219306349754 + "score": 0.02060181088745594 }, "else": { "operation": "boost", - "score": 0.10478495806455612 + "score": 0.06870138645172119 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08927557617425919 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05778829753398895 + }, + "else": { + "operation": "boost", + "score": 0.11678358912467957 + } }, "else": { "operation": "boost", - "score": 0.13558951020240784 + "score": 0.10233079642057419 } } + }, + "else": { + "operation": "boost", + "score": 0.06564286351203918 } }, "else": { "operation": "boost", - "score": 0.04938371479511261 + "score": 0.0037555077578872442 } }, "else": { - "operation": "boost", - "score": -0.00823113601654768 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.044863343238830566 + }, + "else": { + "operation": "boost", + "score": 0.02586708404123783 + } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.04992371425032616 + "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": "if_greater", + "feature": "NumReferences", + "threshold": 266615.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48040.5, + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.1446925550699234 + "score": -0.13344962894916534 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "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.04069417715072632 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07986501604318619 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11698199063539505 - }, - "else": { - "operation": "boost", - "score": 0.15021395683288574 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.058088451623916626 - } - }, - "else": { - "operation": "boost", - "score": 0.005175828468054533 - } - }, - "else": { - "operation": "boost", - "score": 0.01759762316942215 - } + "operation": "boost", + "score": 0.08510378748178482 }, "else": { "operation": "boost", - "score": -0.011630917899310589 + "score": 0.11596348136663437 } } + }, + "else": { + "operation": "boost", + "score": 0.06323012709617615 } + }, + "else": { + "operation": "boost", + "score": 0.02503488026559353 } }, "else": { "operation": "boost", - "score": -0.03421962261199951 + "score": -0.03401704877614975 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.008083680644631386 - }, - "else": { - "operation": "boost", - "score": -0.06354579329490662 - } + "operation": "boost", + "score": -0.047468893229961395 } } } @@ -54778,7 +55993,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07247479259967804 + "score": 0.07333523035049438 }, "else": { "operation": "if_greater", @@ -54786,1251 +56001,1288 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06759857386350632 + "score": 0.06612439453601837 }, "else": { "operation": "boost", - "score": 0.05011707916855812 + "score": 0.04693726822733879 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.049071092158555984 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ParenthesizedExpression", "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.04158254712820053 + "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.011307655833661556 + "score": -0.011124324053525925 } - }, - "else": { - "operation": "boost", - "score": 0.009237141348421574 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 132310.5, "then": { "operation": "boost", - "score": 0.05100128799676895 + "score": -0.4171523451805115 }, "else": { - "operation": "boost", - "score": 0.0853959321975708 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": 0.06794597953557968 + }, + "else": { + "operation": "boost", + "score": 0.016976967453956604 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6435.0, + "then": { + "operation": "boost", + "score": -0.008908032439649105 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 719.0, + "then": { + "operation": "boost", + "score": 0.11220324784517288 + }, + "else": { + "operation": "boost", + "score": 0.05654074251651764 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11226489394903183 + }, + "else": { + "operation": "boost", + "score": 0.16837111115455627 + } + } + } + } } }, "else": { "operation": "boost", - "score": 0.10918077826499939 + "score": 0.06772035360336304 } }, "else": { - "operation": "boost", - "score": 0.03915306553244591 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.07686860859394073 + "score": 0.015811672434210777 }, "else": { "operation": "boost", - "score": 0.028237707912921906 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.016506638377904892 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06583867967128754 - }, - "else": { - "operation": "boost", - "score": 0.051386572420597076 - } + "score": 0.03751401603221893 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "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": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1940.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.121445432305336 + "score": 0.07306814193725586 }, "else": { "operation": "boost", - "score": -0.0068293483927845955 + "score": 0.026220517233014107 } }, "else": { + "operation": "boost", + "score": -0.01688382960855961 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.08545329421758652 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.006768102757632732 + "score": 0.21360664069652557 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.09552633762359619 + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.5, + "threshold": 473.5, "then": { - "operation": "boost", - "score": 0.10543693602085114 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11701709777116776 + }, + "else": { + "operation": "boost", + "score": -0.11236371099948883 + } }, "else": { + "operation": "boost", + "score": 0.12312133610248566 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.04788349196314812 + "score": 0.12140429019927979 }, "else": { + "operation": "boost", + "score": 0.10212089121341705 + } + }, + "else": { + "operation": "boost", + "score": 0.1414700150489807 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12535598874092102 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.032886963337659836 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.18724972009658813 - }, - "else": { - "operation": "boost", - "score": 0.12987294793128967 - } + "operation": "boost", + "score": 0.14863939583301544 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12489160895347595 - }, - "else": { - "operation": "boost", - "score": 0.03684137016534805 - } + "operation": "boost", + "score": 0.1819792538881302 } + }, + "else": { + "operation": "boost", + "score": -0.14951059222221375 } + }, + "else": { + "operation": "boost", + "score": -0.1762019842863083 } } }, "else": { "operation": "boost", - "score": -0.14906767010688782 + "score": 0.10389962047338486 } } } + }, + "else": { + "operation": "boost", + "score": 0.07559382915496826 } - }, - "else": { - "operation": "boost", - "score": 0.02704399824142456 } - }, - "else": { - "operation": "boost", - "score": 0.029064660891890526 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.04983154684305191 - }, - "else": { - "operation": "boost", - "score": -0.017003266140818596 - } + "operation": "boost", + "score": 0.016319725662469864 }, "else": { "operation": "boost", - "score": 0.01903832145035267 + "score": -0.03408896178007126 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.13662028312683105 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 592.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 139.0, + "threshold": 617.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13786178827285767 - }, - "else": { - "operation": "boost", - "score": 0.11901582032442093 - } + "operation": "boost", + "score": 0.09590913355350494 }, "else": { "operation": "boost", - "score": -0.1476818025112152 + "score": 0.1207844540476799 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.024161318317055702 - }, - "else": { - "operation": "boost", - "score": 0.1581447571516037 - } + "operation": "boost", + "score": 0.09941409528255463 } + }, + "else": { + "operation": "boost", + "score": 0.07005167752504349 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, + "operation": "boost", + "score": 0.06920038163661957 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 10579.0, "then": { + "operation": "boost", + "score": 0.06765322387218475 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205.0, - "then": { - "operation": "boost", - "score": 0.13964872062206268 - }, - "else": { - "operation": "boost", - "score": 0.17924590408802032 - } + "operation": "boost", + "score": 0.045522406697273254 }, "else": { - "operation": "boost", - "score": -0.10631784051656723 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232.5, - "then": { - "operation": "boost", - "score": 0.14039546251296997 - }, - "else": { - "operation": "boost", - "score": 0.1627078652381897 - } + "operation": "boost", + "score": 0.08212114870548248 }, "else": { "operation": "boost", - "score": 0.1032627746462822 + "score": 0.07020167261362076 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1152161955833435 - }, - "else": { - "operation": "boost", - "score": 0.11689337342977524 - } + "operation": "boost", + "score": 0.07114937156438828 } - }, - "else": { - "operation": "boost", - "score": 0.07404038310050964 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09679605066776276 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.15455453097820282 - }, - "else": { - "operation": "boost", - "score": 0.09188777208328247 - } - } + "operation": "boost", + "score": 0.03757135942578316 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.011507111601531506 }, "else": { "operation": "boost", - "score": 0.07016254216432571 + "score": 0.042962681502103806 } } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.01204124465584755 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName", + "CCC_Namespace" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.34773463010787964 - }, - "else": { - "operation": "boost", - "score": 0.08362291008234024 - } + "operation": "boost", + "score": 0.05496266484260559 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression" + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.017799323424696922 - }, - "else": { - "operation": "boost", - "score": 0.0724613219499588 - } + "operation": "boost", + "score": -0.025142816826701164 }, "else": { "operation": "boost", - "score": 0.046166930347681046 + "score": -0.36557188630104065 } }, "else": { "operation": "boost", - "score": 0.00356474332511425 + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 20010.5, "then": { + "operation": "boost", + "score": 0.11299879103899002 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "CCC_SymbolOrNewName", + "CCC_Statement" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.12315896898508072 + }, + "else": { + "operation": "boost", + "score": 0.0081983283162117 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05320855602622032 + "score": -0.11471951007843018 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19176.0, "then": { "operation": "boost", - "score": 0.11332371830940247 + "score": 0.11804983764886856 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "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.14499768614768982 + "score": 0.123162642121315 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.05647248029708862 - }, - "else": { - "operation": "boost", - "score": -0.04817735776305199 - } + "operation": "boost", + "score": -0.16863998770713806 } } } }, "else": { "operation": "boost", - "score": -0.016953013837337494 + "score": 0.0725105032324791 } - }, - "else": { - "operation": "boost", - "score": -0.013964983634650707 } - }, - "else": { - "operation": "boost", - "score": 0.021981820464134216 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0017980741104111075 - }, - "else": { - "operation": "boost", - "score": -0.06259758770465851 - } + "operation": "boost", + "score": 0.001228130073286593 } + }, + "else": { + "operation": "boost", + "score": -0.037972357124090195 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 27.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26281.0, + "threshold": 36.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11542484909296036 - }, - "else": { - "operation": "boost", - "score": 0.034135546535253525 - } + "operation": "boost", + "score": 0.12870340049266815 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": -0.12869277596473694 + } + }, + "else": { + "operation": "boost", + "score": 0.0604475662112236 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.023051392287015915 + "score": 0.053550444543361664 }, "else": { - "operation": "boost", - "score": -0.12749691307544708 + "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 + } + } + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": 0.05864420905709267 }, "else": { "operation": "boost", - "score": 0.02739000879228115 + "score": 0.08606243133544922 } + }, + "else": { + "operation": "boost", + "score": 0.0862971618771553 } - }, - "else": { - "operation": "boost", - "score": 0.008483290672302246 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 190379.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.08758872747421265 + }, + "else": { + "operation": "boost", + "score": 0.057353027164936066 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120391.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 123410.5, "then": { + "operation": "boost", + "score": 0.05542486906051636 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.11971090734004974 + "score": 0.09849417209625244 }, "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09278000146150589 - }, - "else": { - "operation": "boost", - "score": 0.1297094225883484 - } + "operation": "boost", + "score": 0.11959285289049149 }, "else": { "operation": "boost", - "score": 0.1413009762763977 + "score": 0.19213242828845978 } } }, "else": { "operation": "boost", - "score": 0.0948420837521553 + "score": -0.1258685439825058 } - }, - "else": { - "operation": "boost", - "score": 0.11564622819423676 } }, "else": { "operation": "boost", - "score": 0.05757405608892441 + "score": 0.021609829738736153 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2764.5, + "then": { + "operation": "boost", + "score": 0.05976584926247597 + }, + "else": { + "operation": "boost", + "score": -0.0015968570951372385 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.003859245916828513 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.040394604206085205 - }, - "else": { - "operation": "boost", - "score": 0.10470857471227646 - } - } + "operation": "boost", + "score": 0.09559787064790726 }, "else": { "operation": "boost", - "score": 0.004112722352147102 + "score": 0.07089012116193771 } }, "else": { "operation": "boost", - "score": 0.07266556471586227 + "score": 0.06456561386585236 } }, "else": { "operation": "boost", - "score": 0.034563712775707245 + "score": 0.04695183411240578 } - }, - "else": { - "operation": "boost", - "score": 0.012458146549761295 } }, "else": { "operation": "boost", - "score": -0.0022576043847948313 + "score": 0.008919809944927692 } } - }, - "else": { - "operation": "boost", - "score": -0.02002972923219204 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004394764080643654 + "score": -0.13346245884895325 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, - "then": { - "operation": "boost", - "score": -0.046752866357564926 - }, - "else": { - "operation": "boost", - "score": 0.13107052445411682 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.10404347628355026 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": 0.10626307874917984 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.13602490723133087 - }, - "else": { - "operation": "boost", - "score": 0.1566828191280365 - } - } + "operation": "boost", + "score": 0.10656126588582993 }, "else": { "operation": "boost", - "score": 0.09451055526733398 + "score": 0.1295044720172882 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05542629212141037 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.1096687987446785 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11931511014699936 - }, - "else": { - "operation": "boost", - "score": 0.12989012897014618 - } - }, - "else": { - "operation": "boost", - "score": 0.15377239882946014 - } - }, - "else": { - "operation": "boost", - "score": 0.33777880668640137 - } - }, - "else": { - "operation": "boost", - "score": -0.07519787549972534 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10044614970684052 - } + "operation": "boost", + "score": 0.1360168159008026 }, "else": { "operation": "boost", - "score": 0.12004351615905762 + "score": 0.1150076687335968 } } + } + }, + "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.07088609784841537 + "score": -0.13598990440368652 } }, "else": { "operation": "boost", - "score": 0.06601082533597946 + "score": -0.11009704321622849 } } } }, "else": { + "operation": "boost", + "score": 0.06195678561925888 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_TopLevel", "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.016834130510687828 + }, + "else": { + "operation": "boost", + "score": -0.09765972942113876 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 329.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 345.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 598.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13137125968933105 + "score": 0.09839324653148651 }, "else": { "operation": "boost", - "score": 0.10326407104730606 + "score": 0.10384384542703629 } }, "else": { "operation": "boost", - "score": 0.1028698980808258 + "score": 0.026254205033183098 } }, "else": { "operation": "boost", - "score": 0.11904848366975784 + "score": 0.035126443952322006 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 161.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.13613897562026978 - }, - "else": { - "operation": "boost", - "score": 0.10721296817064285 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "boost", - "score": 0.0963459387421608 - }, - "else": { - "operation": "boost", - "score": 0.11958916485309601 - } - } + "operation": "boost", + "score": 0.04299282655119896 }, "else": { "operation": "boost", - "score": 0.10751332342624664 + "score": 0.020518586039543152 } } }, "else": { "operation": "boost", - "score": 0.11013825982809067 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": 0.05806194990873337 - }, - "else": { - "operation": "boost", - "score": 0.10549283027648926 - } - }, - "else": { - "operation": "boost", - "score": 0.03035283461213112 + "score": -0.011778797954320908 } - }, - "else": { - "operation": "boost", - "score": -0.009352728724479675 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.06110053136944771 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09161515533924103 - }, - "else": { - "operation": "boost", - "score": 0.04979867860674858 - } - }, - "else": { - "operation": "boost", - "score": -0.0034781512804329395 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06953391432762146 - } - }, - "else": { - "operation": "boost", - "score": -0.04296967387199402 - } + "operation": "boost", + "score": -0.024293536320328712 } } } @@ -56053,7 +57305,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07222414016723633 + "score": 0.07209525257349014 }, "else": { "operation": "if_greater", @@ -56061,11 +57313,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06519433110952377 + "score": 0.06347072869539261 }, "else": { "operation": "boost", - "score": 0.04877351596951485 + "score": 0.046930912882089615 } } }, @@ -56074,64 +57326,44 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.029421407729387283 + "score": 0.039137545973062515 }, "else": { "operation": "boost", - "score": 0.0065890769474208355 + "score": 0.012398050166666508 } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "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, - "then": { - "operation": "boost", - "score": -0.11738395690917969 - }, - "else": { - "operation": "boost", - "score": 0.08675923198461533 - } + "operation": "boost", + "score": 0.015718890354037285 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.015067418105900288 - }, - "else": { - "operation": "boost", - "score": -0.021044937893748283 - } + "operation": "boost", + "score": -0.01825018785893917 } } } @@ -56143,738 +57375,535 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.050860870629549026 - }, - "else": { - "operation": "boost", - "score": 0.08392170071601868 - } + "operation": "boost", + "score": 0.06771672517061234 }, "else": { "operation": "boost", - "score": 0.109229676425457 + "score": 0.012625953182578087 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.20764370262622833 + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.08602550625801086 + "score": 0.020796215161681175 } }, - "else": { - "operation": "boost", - "score": 0.035504329949617386 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07611308246850967 - }, - "else": { - "operation": "boost", - "score": 0.028273222967982292 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.015771739184856415 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 190379.0, "then": { "operation": "boost", - "score": 0.06362523138523102 + "score": 0.08699791878461838 }, "else": { "operation": "boost", - "score": 0.04969543591141701 + "score": 0.059422656893730164 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "FileScope" ], "then": { + "operation": "boost", + "score": 0.044489651918411255 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.01235498022288084 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.029538456350564957 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.05391128733754158 + "score": 0.0346798412501812 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09359093010425568 + "score": -0.10691875219345093 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1061132624745369 - }, - "else": { - "operation": "boost", - "score": 0.10217756778001785 - } + "operation": "boost", + "score": 0.012430910021066666 } } + }, + "else": { + "operation": "boost", + "score": -0.02044288069009781 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.11126065999269485 + "score": 0.05477425828576088 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09842713177204132 + "score": 0.02969803288578987 }, "else": { "operation": "boost", - "score": 0.08033489435911179 + "score": 0.06871616095304489 } } - }, - "else": { - "operation": "boost", - "score": -0.004259842447936535 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { + "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": "NumReferences", - "threshold": 71954.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": 0.027934428304433823 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.12233628332614899 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1090555414557457 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11607049405574799 - }, - "else": { - "operation": "boost", - "score": 0.09105920046567917 - } - }, - "else": { - "operation": "boost", - "score": -0.35907864570617676 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06352396309375763 - } - }, - "else": { - "operation": "boost", - "score": 0.0611918643116951 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018810702487826347 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03532026708126068 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, + "threshold": 210.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Symbol" + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 259.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.004274407401680946 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0706791803240776 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09431751072406769 - }, - "else": { - "operation": "boost", - "score": 0.1027882844209671 - } - }, - "else": { - "operation": "boost", - "score": -0.1066686138510704 - } - } - } + "operation": "boost", + "score": 0.07915378361940384 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 226.5, "then": { - "operation": "boost", - "score": 0.0010255732340738177 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.02658984810113907 + "score": 0.1368335783481598 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 236.5, "then": { "operation": "boost", - "score": -0.1449902504682541 + "score": 0.02977663278579712 }, "else": { "operation": "boost", - "score": 0.08420087397098541 + "score": 0.12221164256334305 } } + }, + "else": { + "operation": "boost", + "score": -0.18827524781227112 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 212.5, "then": { "operation": "boost", - "score": 0.0804515853524208 + "score": 0.07762180268764496 }, "else": { - "operation": "boost", - "score": 0.057560063898563385 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.13233321905136108 + }, + "else": { + "operation": "boost", + "score": -0.10162874311208725 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.01216439250856638 + "score": 0.09188620001077652 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1691.5, - "then": { - "operation": "boost", - "score": 0.02586052194237709 - }, - "else": { - "operation": "boost", - "score": 0.08811075985431671 - } - }, - "else": { - "operation": "boost", - "score": 0.08627325296401978 - } - }, - "else": { "operation": "boost", - "score": 0.03357963263988495 - } - }, - "else": { - "operation": "boost", - "score": 0.04144570976495743 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.055259328335523605 - }, - "else": { - "operation": "boost", - "score": 0.029677439481019974 - } - }, - "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": 39.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11250068247318268 - }, - "else": { - "operation": "boost", - "score": 0.10129504650831223 - } - }, - "else": { - "operation": "boost", - "score": 0.08963347226381302 - } + "score": 0.1492665857076645 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11086180061101913 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.1032300516963005 - }, - "else": { - "operation": "boost", - "score": 0.06773370504379272 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0727330669760704 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.04337586089968681 - }, - "else": { - "operation": "boost", - "score": 0.01732894405722618 - } - }, - "else": { - "operation": "boost", - "score": 0.033111363649368286 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.09325142204761505 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 68.0, "then": { "operation": "boost", - "score": -0.10826311260461807 + "score": 0.13446931540966034 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05703388899564743 - }, - "else": { - "operation": "boost", - "score": 0.1124764233827591 - } + "operation": "boost", + "score": 0.1312038153409958 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.061418186873197556 }, "else": { "operation": "boost", - "score": 0.08992784470319748 + "score": -0.021088963374495506 } } }, "else": { - "operation": "boost", - "score": -0.095797598361969 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 69.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0577605776488781 - }, - "else": { - "operation": "boost", - "score": -0.13635006546974182 - } + "operation": "boost", + "score": 0.14347843825817108 }, "else": { "operation": "boost", - "score": -0.05356860160827637 + "score": 0.15486927330493927 } - }, - "else": { - "operation": "boost", - "score": -0.015602939762175083 } } + }, + "else": { + "operation": "boost", + "score": 0.06906703859567642 } + }, + "else": { + "operation": "boost", + "score": 0.06336010992527008 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10972420126199722 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { + "operation": "boost", + "score": 0.029430394992232323 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10995496064424515 + }, + "else": { + "operation": "boost", + "score": -0.17271342873573303 } } + }, + "else": { + "operation": "boost", + "score": 0.023578010499477386 } } }, "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.0711488351225853 + }, + "else": { + "operation": "boost", + "score": 0.05214855074882507 + } + }, + "else": { + "operation": "boost", + "score": 0.02211480215191841 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0228411927819252 + }, + "else": { + "operation": "boost", + "score": -0.009619501419365406 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12376967072486877 + "score": -0.022992076352238655 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.05023109167814255 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], + "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": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06564050912857056 + }, + "else": { + "operation": "boost", + "score": -0.0006485919002443552 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0636780634522438 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "HadContextType", @@ -56882,485 +57911,681 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27896.5, + "threshold": 62267.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50186.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08871585130691528 + "score": 0.1082054078578949 }, "else": { "operation": "boost", - "score": 0.10619626939296722 + "score": 0.1729329228401184 } }, "else": { "operation": "boost", - "score": 0.05839235708117485 + "score": 0.08438087999820709 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08394919335842133 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 309.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458.0, - "then": { - "operation": "boost", - "score": 0.14454852044582367 - }, - "else": { - "operation": "boost", - "score": 0.11822652816772461 - } - }, - "else": { - "operation": "boost", - "score": 0.11046876013278961 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005171872908249497 - } + "operation": "boost", + "score": 0.07948527485132217 } }, "else": { "operation": "boost", - "score": 0.010762861929833889 + "score": 0.04168513044714928 } }, "else": { - "operation": "boost", - "score": 0.030666066333651543 + "operation": "if_greater", + "feature": "HadContextType", + "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": "boost", - "score": -0.0067686354741454124 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.13407541811466217 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.06510420143604279 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.05236465111374855 + }, + "else": { + "operation": "boost", + "score": 0.007927682250738144 + } }, "else": { "operation": "boost", - "score": 0.09401185810565948 + "score": -0.12756288051605225 } }, "else": { - "operation": "boost", - "score": -0.1579100638628006 + "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, + "then": { + "operation": "boost", + "score": 0.0051089623011648655 + }, + "else": { + "operation": "boost", + "score": 0.07165718078613281 + } + }, + "else": { + "operation": "boost", + "score": 0.03701140731573105 + } } } }, "else": { - "operation": "boost", - "score": -0.08090604841709137 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.017506830394268036 + }, + "else": { + "operation": "boost", + "score": 0.1033553034067154 + } + }, + "else": { + "operation": "boost", + "score": 0.004695583134889603 + } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10325983166694641 + "score": 0.04853130131959915 }, "else": { - "operation": "boost", - "score": 0.006884542293846607 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04858290031552315 - }, - "else": { - "operation": "boost", - "score": 0.09802578389644623 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08171923458576202 + "score": 0.13856804370880127 }, "else": { "operation": "boost", - "score": 0.12013613432645798 + "score": 0.11190628260374069 } } + }, + "else": { + "operation": "boost", + "score": 0.07449206709861755 } }, "else": { + "operation": "boost", + "score": 0.021511323750019073 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "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, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.05994502827525139 + "score": 0.08582962304353714 }, "else": { "operation": "boost", - "score": 0.052996113896369934 + "score": 0.02052619308233261 } }, "else": { "operation": "boost", - "score": -0.11421922594308853 + "score": -0.09082065522670746 } + }, + "else": { + "operation": "boost", + "score": 0.02597849629819393 } - }, - "else": { - "operation": "boost", - "score": -0.008275104686617851 } }, "else": { + "operation": "boost", + "score": 0.011147492565214634 + } + }, + "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, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3091.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", "CCC_Statement", + "CCC_ParenthesizedExpression", "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.017024701461195946 - }, - "else": { - "operation": "boost", - "score": -0.09077218919992447 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, - "then": { - "operation": "boost", - "score": 0.14283497631549835 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21122.0, "then": { + "operation": "boost", + "score": 0.060586024075746536 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Variable", + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05661483108997345 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.056228652596473694 - }, - "else": { - "operation": "boost", - "score": 0.12069693207740784 - } - }, - "else": { - "operation": "boost", - "score": 0.10847703367471695 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05549302324652672 - } - }, - "else": { - "operation": "boost", - "score": 0.004287113901227713 - } + "operation": "boost", + "score": 0.09295689314603806 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07341977208852768 + "score": 0.09536321461200714 }, "else": { "operation": "boost", - "score": 0.020795416086912155 + "score": 0.06931572407484055 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.04133662208914757 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.013795536942780018 + "score": 0.09287746250629425 }, "else": { "operation": "boost", - "score": -0.10133741050958633 + "score": 0.053833793848752975 } + }, + "else": { + "operation": "boost", + "score": 0.09676642715930939 } + }, + "else": { + "operation": "boost", + "score": 0.040486760437488556 } } - } - }, - "else": { - "operation": "boost", - "score": -0.03175787627696991 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10580328851938248 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.12097401916980743 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08219517767429352 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.0, + "then": { + "operation": "boost", + "score": 0.13324688374996185 + }, + "else": { + "operation": "boost", + "score": 0.10001974552869797 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Namespace" + ], + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 315.0, + "then": { + "operation": "boost", + "score": 0.12412381917238235 + }, + "else": { + "operation": "boost", + "score": 0.4833403527736664 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 280.0, + "then": { + "operation": "boost", + "score": 0.08836407214403152 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09954026341438293 + }, + "else": { + "operation": "boost", + "score": 0.10951296985149384 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0826878771185875 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 138.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14865538477897644 + }, + "else": { + "operation": "boost", + "score": 0.09831365197896957 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.0, + "then": { + "operation": "boost", + "score": 0.08997993916273117 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "boost", + "score": 0.14542363584041595 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14097119867801666 + }, + "else": { + "operation": "boost", + "score": 0.12738971412181854 + } + } + } + } + } + }, + "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.03872939199209213 + "score": 0.09693577885627747 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.0069566648453474045 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.026214485988020897 + "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.11092553287744522 + "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, + "then": { + "operation": "boost", + "score": -0.05581933632493019 }, "else": { "operation": "boost", - "score": -0.11524703353643417 + "score": -0.01337344478815794 } + }, + "else": { + "operation": "boost", + "score": -0.03878267854452133 } - }, - "else": { - "operation": "boost", - "score": -0.04851825162768364 } } } @@ -57383,1266 +58608,1276 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07041069865226746 + "score": 0.07015928626060486 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -1.2656443119049072 + "score": 0.061853982508182526 + }, + "else": { + "operation": "boost", + "score": 0.04511869698762894 + } + } + }, + "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": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06313212215900421 + "score": 0.09106045216321945 }, "else": { "operation": "boost", - "score": 0.049197420477867126 + "score": 0.005481171887367964 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.047759175300598145 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.015176425687968731 + "score": 0.01463851984590292 }, "else": { "operation": "boost", - "score": -0.012654883787035942 + "score": -0.019328102469444275 } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.049054794013500214 + "score": 0.09927772730588913 }, "else": { "operation": "boost", - "score": 0.08060923218727112 + "score": 0.04052695631980896 } }, "else": { - "operation": "boost", - "score": 0.1083161011338234 - } - }, - "else": { - "operation": "boost", - "score": 0.037514038383960724 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07320243120193481 - }, - "else": { - "operation": "boost", - "score": 0.028522351756691933 + "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 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.014725437387824059 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.02429996058344841 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0676555186510086 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.061050791293382645 + "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.04725019261240959 + "score": 0.052971284836530685 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 41.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.013664442114531994 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag" + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "boost", - "score": 0.11705312877893448 - }, - "else": { - "operation": "boost", - "score": 0.0028957182075828314 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.15547150373458862 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, - "then": { - "operation": "boost", - "score": 0.159945547580719 - }, - "else": { - "operation": "boost", - "score": 0.09354043006896973 - } - }, - "else": { - "operation": "boost", - "score": 0.11804420500993729 - } - }, - "else": { - "operation": "boost", - "score": 0.08396030217409134 - } + "operation": "boost", + "score": 0.0725393146276474 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.0969676747918129 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04531152918934822 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.17207181453704834 - }, - "else": { - "operation": "boost", - "score": 0.125588521361351 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1215408444404602 - }, - "else": { - "operation": "boost", - "score": 0.03294581547379494 - } - } - } - } + "operation": "boost", + "score": 0.11430492997169495 } }, "else": { "operation": "boost", - "score": -0.14721687138080597 + "score": 0.14256294071674347 } }, "else": { "operation": "boost", - "score": 0.047667354345321655 + "score": 0.08196453750133514 } + }, + "else": { + "operation": "boost", + "score": 0.0670749768614769 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.030115850269794464 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.04782561585307121 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14351.0, + "threshold": 592.5, "then": { "operation": "boost", - "score": 0.08474178612232208 + "score": 0.07309702783823013 }, "else": { - "operation": "boost", - "score": -0.05866106599569321 + "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 + } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Statement", + "CCC_Namespace" ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101.5, + "then": { + "operation": "boost", + "score": 0.07796800881624222 + }, + "else": { + "operation": "boost", + "score": 0.1252736896276474 + } + }, + "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": 55419.5, + "threshold": 893.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.4050736427307129 + "score": 0.10859508067369461 }, "else": { "operation": "boost", - "score": 0.10443674027919769 + "score": 0.0810207724571228 } }, "else": { "operation": "boost", - "score": 0.07765558362007141 + "score": 0.09344179183244705 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { + "operation": "boost", + "score": 0.027668334543704987 }, "else": { - "operation": "boost", - "score": 0.012777439318597317 + "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 + } } + }, + "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 } }, "else": { + "operation": "boost", + "score": 0.018797580152750015 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0071618990041315556 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.021321328356862068 + }, + "else": { + "operation": "boost", + "score": 0.04845085367560387 + } + }, + "else": { + "operation": "boost", + "score": 0.010987053625285625 + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0008501035626977682 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.1308603286743164 - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.5, + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1332480013370514 - }, - "else": { - "operation": "boost", - "score": 0.1159294918179512 - } - }, - "else": { - "operation": "boost", - "score": -0.11914470046758652 - } + "operation": "boost", + "score": 0.03053661808371544 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.019523795694112778 + "score": 0.11284635961055756 }, "else": { "operation": "boost", - "score": 0.15029318630695343 + "score": 0.11885558068752289 } } + }, + "else": { + "operation": "boost", + "score": 0.01408223807811737 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.055573105812072754 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 134.5, + "threshold": 191566.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "boost", + "score": 0.10628322511911392 + }, + "else": { + "operation": "boost", + "score": 0.03338908404111862 + } + } + } + }, + "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", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09188001602888107 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.019725831225514412 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.0816156417131424 + }, + "else": { + "operation": "boost", + "score": 0.049035705626010895 + } + }, + "else": { + "operation": "boost", + "score": 0.04916958883404732 + } + } + } + }, + "else": { + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 169.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.14880242943763733 - }, - "else": { - "operation": "boost", - "score": -0.10667774826288223 - } - }, - "else": { - "operation": "boost", - "score": 0.1631084829568863 - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 42383.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232.5, - "then": { - "operation": "boost", - "score": 0.1383192241191864 - }, - "else": { - "operation": "boost", - "score": 0.1522638201713562 - } - }, - "else": { - "operation": "boost", - "score": 0.09963688254356384 - } + "operation": "boost", + "score": 0.05175783112645149 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14304.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 192.0, + "threshold": 20039.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.08886686712503433 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 645.5, - "then": { - "operation": "boost", - "score": 0.09809602051973343 - }, - "else": { - "operation": "boost", - "score": 0.11895254254341125 - } - } + "operation": "boost", + "score": 0.10100672394037247 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 169.5, + "threshold": 18268.0, "then": { "operation": "boost", - "score": 0.12945236265659332 + "score": 0.10910829156637192 }, "else": { "operation": "boost", - "score": 0.125876322388649 + "score": 0.1121678426861763 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 216.0, - "then": { - "operation": "boost", - "score": 0.11579297482967377 - }, - "else": { - "operation": "boost", - "score": 0.06862666457891464 - } + "operation": "boost", + "score": 0.1191849336028099 } } }, "else": { "operation": "boost", - "score": 0.07063248753547668 + "score": -0.23771105706691742 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09390970319509506 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression" + "Variable" ], "then": { "operation": "boost", - "score": 0.14625485241413116 + "score": 0.10280206799507141 }, "else": { "operation": "boost", - "score": 0.08862808346748352 + "score": 0.07699542492628098 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.011563110165297985 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.06294094026088715 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.016047261655330658 + }, + "else": { + "operation": "boost", + "score": 0.08306130021810532 + } }, "else": { + "operation": "boost", + "score": 0.04994148388504982 + } + }, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 444.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type", - "CCC_ClassOrStructTag" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": 0.12444522976875305 + "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 + } + } }, "else": { - "operation": "boost", - "score": 0.14381113648414612 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14120.0, + "then": { + "operation": "boost", + "score": 0.04757571592926979 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13828.0, + "then": { + "operation": "boost", + "score": 0.10775056481361389 + }, + "else": { + "operation": "boost", + "score": 0.10023672878742218 + } + } } }, "else": { "operation": "boost", - "score": 0.0929739698767662 + "score": 0.056193333119153976 } + }, + "else": { + "operation": "boost", + "score": -0.08389978855848312 } - }, - "else": { - "operation": "boost", - "score": 0.0058241188526153564 } - }, - "else": { - "operation": "boost", - "score": 0.002768163802102208 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12698505818843842 }, "else": { - "operation": "boost", - "score": 0.0940541997551918 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06633585691452026 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.013700990006327629 + "score": -0.008874350227415562 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_ClassOrStructTag", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.06556731462478638 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 116663.5, "then": { - "operation": "boost", - "score": -0.0032198969274759293 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.059051014482975006 + "score": 0.08533700555562973 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 131140.0, "then": { "operation": "boost", - "score": 0.09781413525342941 + "score": 0.0902186706662178 }, "else": { "operation": "boost", - "score": 0.06308673322200775 + "score": 0.10142756253480911 } } + }, + "else": { + "operation": "boost", + "score": 0.06010521948337555 } + }, + "else": { + "operation": "boost", + "score": 0.05442443862557411 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.05773879587650299 }, "else": { "operation": "boost", - "score": -0.001204815460368991 + "score": 0.032842740416526794 } }, "else": { "operation": "boost", - "score": 0.005867203697562218 + "score": -0.48632505536079407 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.019266163930296898 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, "then": { + "operation": "boost", + "score": 0.06409996747970581 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "FileScope" ], "then": { "operation": "boost", - "score": 0.051536887884140015 + "score": 0.10803741961717606 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.10728699713945389 - }, - "else": { - "operation": "boost", - "score": 0.017422588542103767 - } + "operation": "boost", + "score": 0.052728552371263504 } - }, - "else": { - "operation": "boost", - "score": -0.017024563625454903 } }, "else": { "operation": "boost", - "score": -0.012724126689136028 + "score": 0.015902584418654442 } - }, - "else": { - "operation": "boost", - "score": 0.020754417404532433 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.0007443382637575269 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.01669915020465851 + }, + "else": { + "operation": "boost", + "score": -0.04201190918684006 + } }, "else": { - "operation": "boost", - "score": -0.057187337428331375 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_UnionTag" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03645644709467888 - }, - "else": { - "operation": "boost", - "score": 0.10729101300239563 - } - }, - "else": { - "operation": "boost", - "score": 0.07070466130971909 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03899461030960083 + "score": 0.07315105944871902 }, "else": { - "operation": "boost", - "score": 0.01712212711572647 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0827508419752121 + "score": -0.14968737959861755 }, "else": { "operation": "boost", - "score": 0.03621167689561844 + "score": 0.10221845656633377 } - }, - "else": { - "operation": "boost", - "score": -0.0909561961889267 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18485.0, - "then": { - "operation": "boost", - "score": 0.04246864467859268 - }, - "else": { - "operation": "boost", - "score": 0.01924341358244419 - } + "operation": "boost", + "score": 0.030355393886566162 } - } - }, - "else": { - "operation": "boost", - "score": 0.01210212241858244 - } - }, - "else": { - "operation": "boost", - "score": -0.10359099507331848 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.03676688298583031 - }, - "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.06649215519428253 }, "else": { - "operation": "boost", - "score": 0.04618233069777489 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 73.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 69.5, + "threshold": 191.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11124572902917862 - }, - "else": { - "operation": "boost", - "score": 0.07811888307332993 - } + "operation": "boost", + "score": 0.10041888058185577 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 138.5, "then": { - "operation": "boost", - "score": 0.13231968879699707 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.0, + "then": { + "operation": "boost", + "score": 0.12811458110809326 + }, + "else": { + "operation": "boost", + "score": 0.14060662686824799 + } }, "else": { - "operation": "boost", - "score": 0.10536221414804459 + "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 + } + } } } }, + "else": { + "operation": "boost", + "score": -0.1023319661617279 + } + }, + "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": 137.5, + "threshold": 78.5, "then": { + "operation": "boost", + "score": 0.09773681312799454 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.08947492390871048 - }, - "else": { - "operation": "boost", - "score": 0.1267659217119217 - } - }, - "else": { - "operation": "boost", - "score": 0.11741559952497482 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, - "then": { - "operation": "boost", - "score": 0.154792919754982 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.5, - "then": { - "operation": "boost", - "score": 0.1321139931678772 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.13012540340423584 - }, - "else": { - "operation": "boost", - "score": 0.10837569087743759 - } - } - } - } + "operation": "boost", + "score": 0.14690111577510834 }, "else": { "operation": "boost", - "score": 0.16998472809791565 + "score": 0.1959695816040039 } - }, - "else": { - "operation": "boost", - "score": 0.12400530278682709 } } - }, - "else": { - "operation": "boost", - "score": 0.11051782965660095 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.083208367228508 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.10640218108892441 + "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.12446863204240799 + "score": 0.06253321468830109 } - }, - "else": { - "operation": "boost", - "score": 0.12414651364088058 } } }, "else": { - "operation": "boost", - "score": 0.062258973717689514 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.11262989044189453 + "score": 0.09853275120258331 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1351211965084076 - }, - "else": { - "operation": "boost", - "score": 0.08138851076364517 - } - }, - "else": { - "operation": "boost", - "score": 0.07249109447002411 - } + "operation": "boost", + "score": 0.07049542665481567 } - }, - "else": { - "operation": "boost", - "score": 0.06645481288433075 } + }, + "else": { + "operation": "boost", + "score": 0.044617895036935806 } }, "else": { "operation": "boost", - "score": 0.04695998132228851 + "score": -0.007959683425724506 } - }, - "else": { - "operation": "boost", - "score": -0.013563577085733414 } } } @@ -58667,7 +59902,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.06666257232427597 + "score": 0.06808535009622574 }, "else": { "operation": "if_greater", @@ -58675,34 +59910,46 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.061019156128168106 + "score": 0.059219326823949814 }, "else": { "operation": "boost", - "score": 0.045681532472372055 + "score": 0.045222219079732895 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.04558553174138069 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.03791579604148865 + "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.018224548548460007 + "score": -0.006953505799174309 } - }, - "else": { - "operation": "boost", - "score": 0.004666405729949474 } } }, @@ -58713,932 +59960,795 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, - "then": { - "operation": "boost", - "score": 0.07553485780954361 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.11742493510246277 - }, - "else": { - "operation": "boost", - "score": -0.009621018543839455 - } - } + "operation": "boost", + "score": 0.0780157595872879 }, "else": { "operation": "boost", - "score": 0.05031771585345268 + "score": -0.004812796600162983 } }, "else": { "operation": "boost", - "score": 0.03428734838962555 + "score": 0.012294942513108253 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 85788.5, "then": { "operation": "boost", - "score": 0.09474638849496841 + "score": 0.07936464995145798 }, "else": { "operation": "boost", - "score": 0.10916844755411148 + "score": 0.044736847281455994 } }, "else": { "operation": "boost", - "score": 0.08258388191461563 + "score": 0.07597023248672485 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03229885175824165 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.04777709022164345 + "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", + "set": [ + "ClassScope" + ], + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.002525538206100464 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08022300153970718 - }, - "else": { - "operation": "boost", - "score": -0.21050229668617249 - } - }, - "else": { - "operation": "boost", - "score": 0.011945013888180256 - } + "operation": "boost", + "score": 0.09358344227075577 }, "else": { "operation": "boost", - "score": 0.050405945628881454 + "score": 0.012802254408597946 } }, "else": { - "operation": "boost", - "score": -0.4032849371433258 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013874680735170841 + "score": 0.03939049318432808 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05953061953186989 - }, - "else": { - "operation": "boost", - "score": 0.046627454459667206 - } + "operation": "boost", + "score": 0.09225229173898697 } - }, - "else": { - "operation": "boost", - "score": -0.33093130588531494 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62580.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.011471454054117203 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 286067.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11455079168081284 + "score": 0.09716886281967163 }, "else": { "operation": "boost", - "score": 0.00939038023352623 + "score": 0.10723134875297546 } }, "else": { "operation": "boost", - "score": -0.11593329906463623 + "score": 0.07553490251302719 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09218922257423401 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 198405.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.15242551267147064 + "score": 0.12356191128492355 }, "else": { "operation": "boost", - "score": 0.0818052813410759 + "score": 0.06119203567504883 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44.5, + "threshold": 105803.0, "then": { + "operation": "boost", + "score": 0.012087193317711353 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 101593.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 279.0, - "then": { - "operation": "boost", - "score": 0.14557261765003204 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14087429642677307 - }, - "else": { - "operation": "boost", - "score": 0.07443967461585999 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, - "then": { - "operation": "boost", - "score": 0.1146705374121666 - }, - "else": { - "operation": "boost", - "score": 0.15720513463020325 - } - }, - "else": { - "operation": "boost", - "score": 0.06416446715593338 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, - "then": { - "operation": "boost", - "score": 0.14308367669582367 - }, - "else": { - "operation": "boost", - "score": 0.15914753079414368 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03569945693016052 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.0858893096446991 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.11103186756372452 - }, - "else": { - "operation": "boost", - "score": 0.15479332208633423 - } - }, - "else": { - "operation": "boost", - "score": -0.1640254557132721 - } - } - } + "operation": "boost", + "score": 0.09004157781600952 }, "else": { "operation": "boost", - "score": 0.13873402774333954 + "score": 0.06203779578208923 } - }, - "else": { - "operation": "boost", - "score": 0.06952254474163055 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.07958202809095383 - }, - "else": { - "operation": "boost", - "score": 0.09668648988008499 } - }, - "else": { - "operation": "boost", - "score": -0.14639918506145477 } } } - }, - "else": { - "operation": "boost", - "score": 0.04165850207209587 } + }, + "else": { + "operation": "boost", + "score": 0.016147444024682045 } }, "else": { - "operation": "boost", - "score": 0.02624613046646118 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.042088497430086136 + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 11.0, + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.12035530060529709 + "score": 0.01690850220620632 }, "else": { "operation": "boost", - "score": 0.17121979594230652 + "score": -0.07795128971338272 } }, "else": { - "operation": "boost", - "score": 0.08852727711200714 + "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_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.04482974112033844 - }, - "else": { - "operation": "boost", - "score": -0.010264015756547451 - } - } - }, - "else": { - "operation": "boost", - "score": 0.017521746456623077 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.12661460041999817 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.026633772999048233 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.12922492623329163 + "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.11309963464736938 + "score": 0.07393854111433029 } }, "else": { - "operation": "boost", - "score": -0.11616329848766327 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.01774992235004902 - }, - "else": { - "operation": "boost", - "score": 0.14412696659564972 + "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": "NumReferences", - "threshold": 134.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1462099403142929 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 169.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1430450975894928 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.020282501354813576 + }, + "else": { + "operation": "boost", + "score": -0.059935230761766434 + } }, "else": { - "operation": "boost", - "score": 0.1542794555425644 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0963841900229454 + "score": -0.01841914653778076 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 192.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.1034172847867012 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 169.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.12638603150844574 + "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.11929847300052643 + "score": -0.004311565775424242 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 216.0, - "then": { - "operation": "boost", - "score": 0.11207103729248047 }, "else": { "operation": "boost", - "score": 0.06495088338851929 + "score": 0.06563778966665268 } + }, + "else": { + "operation": "boost", + "score": 0.03372858464717865 } } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67917.5, + "then": { + "operation": "boost", + "score": 0.062066104263067245 + }, + "else": { + "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": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.055953919887542725 }, "else": { - "operation": "boost", - "score": 0.06758882850408554 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.0, + "then": { + "operation": "boost", + "score": 0.106548011302948 + }, + "else": { + "operation": "boost", + "score": 0.0769573524594307 + } } + }, + "else": { + "operation": "boost", + "score": -0.02386574074625969 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.08986886590719223 + "score": -0.02128704823553562 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.13984927535057068 - }, - "else": { - "operation": "boost", - "score": 0.08579093962907791 - } + "operation": "boost", + "score": 0.07979274541139603 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.010910247452557087 }, "else": { "operation": "boost", - "score": 0.064510777592659 + "score": 0.026596959680318832 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1107720285654068 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.08848447352647781 + "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": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.030039561912417412 + }, + "else": { + "operation": "boost", + "score": 0.12512412667274475 + } + }, + "else": { + "operation": "boost", + "score": 0.04534413293004036 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.006431868299841881 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.1107548251748085 + }, + "else": { + "operation": "boost", + "score": 0.045128338038921356 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.3514515161514282 + } }, "else": { "operation": "boost", - "score": 0.10747960954904556 + "score": 0.012876151129603386 } - }, - "else": { - "operation": "boost", - "score": 0.009725306183099747 } - }, - "else": { - "operation": "boost", - "score": -0.02318325825035572 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.014662721194326878 - }, - "else": { - "operation": "boost", - "score": -0.09455906599760056 - } + "operation": "boost", + "score": -0.008939000777900219 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "boost", + "score": -0.13207079470157623 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10359755903482437 + "score": 0.07917433977127075 }, "else": { "operation": "boost", - "score": 0.06288352608680725 + "score": 0.11358317732810974 } - }, - "else": { - "operation": "boost", - "score": 0.022405492141842842 } }, "else": { "operation": "boost", - "score": -0.09478987008333206 + "score": 0.058761920779943466 } }, "else": { + "operation": "boost", + "score": 0.023399552330374718 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.10455357283353806 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, - "then": { - "operation": "boost", - "score": -0.16766288876533508 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145012.0, - "then": { - "operation": "boost", - "score": 0.13470345735549927 - }, - "else": { - "operation": "boost", - "score": 0.042693257331848145 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0039626192301511765 - } + "operation": "boost", + "score": 0.12709587812423706 }, "else": { "operation": "boost", - "score": 0.04168393835425377 + "score": 0.09704131633043289 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "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": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": 0.06691522151231766 + "score": -0.16154879331588745 }, "else": { - "operation": "boost", - "score": -0.01823609694838524 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", @@ -59646,298 +60756,425 @@ "Variable" ], "then": { - "operation": "boost", - "score": 0.09145528078079224 - }, - "else": { - "operation": "boost", - "score": 0.06891482323408127 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, "then": { - "operation": "boost", - "score": 0.10412417352199554 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1109669879078865 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 501.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.14930547773838043 + }, + "else": { + "operation": "boost", + "score": 0.1176171526312828 + } + }, + "else": { + "operation": "boost", + "score": 0.04237419739365578 + } + } }, "else": { "operation": "boost", - "score": -0.02893233299255371 + "score": 0.09129566699266434 } }, "else": { - "operation": "boost", - "score": 0.02591473050415516 + "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, + "then": { + "operation": "boost", + "score": 0.08950281888246536 + }, + "else": { + "operation": "boost", + "score": 0.05211235210299492 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.04466497525572777 } - }, - "else": { - "operation": "boost", - "score": 0.0034197987988591194 } + }, + "else": { + "operation": "boost", + "score": -0.09685519337654114 } } }, "else": { "operation": "boost", - "score": 0.017093684524297714 + "score": -0.048438750207424164 } - } - }, - "else": { - "operation": "boost", - "score": -0.1030023843050003 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 119809.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0008421337697654963 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, + "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": 109.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.043906036764383316 + "score": 0.09156139940023422 }, "else": { - "operation": "boost", - "score": 0.12377971410751343 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": 0.11656012386083603 + }, + "else": { + "operation": "boost", + "score": 0.1299591213464737 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "boost", + "score": -0.06693190336227417 + } + }, + "else": { + "operation": "boost", + "score": 0.24871762096881866 + } + }, + "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_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1690823882818222 + "score": 0.0099726477637887 }, "else": { "operation": "boost", - "score": 0.11620084941387177 + "score": 0.047633808106184006 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10326826572418213 + "score": 0.06417609006166458 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.11114340275526047 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11617100983858109 - }, - "else": { - "operation": "boost", - "score": 0.132636159658432 - } - }, - "else": { - "operation": "boost", - "score": 0.14278869330883026 - } + "operation": "boost", + "score": 0.10469905287027359 }, "else": { "operation": "boost", - "score": 0.14372064173221588 + "score": 0.1302167773246765 } - }, - "else": { - "operation": "boost", - "score": -0.10076013207435608 } } } }, "else": { "operation": "boost", - "score": 0.09563815593719482 + "score": 0.048716578632593155 } }, "else": { "operation": "boost", - "score": 0.08148632943630219 + "score": 0.002993321744725108 } }, "else": { - "operation": "boost", - "score": 0.06155150756239891 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 329.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 345.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 598.0, + "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": "boost", - "score": 0.12285669147968292 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0688767358660698 + }, + "else": { + "operation": "boost", + "score": 0.044935014098882675 + } }, "else": { "operation": "boost", - "score": 0.10854987055063248 + "score": -0.05975435674190521 } }, "else": { "operation": "boost", - "score": 0.09811702370643616 + "score": 0.018842153251171112 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023450279608368874 + }, + "else": { + "operation": "boost", + "score": -0.00421931641176343 } }, "else": { "operation": "boost", - "score": 0.11677918583154678 + "score": -0.0798402652144432 } - }, - "else": { - "operation": "boost", - "score": 0.10468233376741409 } }, "else": { "operation": "boost", - "score": 0.10359163582324982 + "score": -0.09896514564752579 } } - }, - "else": { - "operation": "if_member", + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09112399071455002 + }, + "else": { + "operation": "boost", + "score": 0.11802715063095093 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09053122252225876 + }, + "else": { + "operation": "boost", + "score": 0.03383694589138031 + } + }, + "else": { + "operation": "boost", + "score": -0.03486471250653267 + } + } + }, + "else": { + "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.05449614301323891 + "score": 0.11161697655916214 }, "else": { "operation": "boost", - "score": 0.10053984075784683 + "score": 0.1157015711069107 } }, "else": { "operation": "boost", - "score": 0.030151082202792168 + "score": 0.3271450996398926 } }, "else": { - "operation": "boost", - "score": -0.008171120658516884 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.13723382353782654 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12097807228565216 + }, + "else": { + "operation": "boost", + "score": 0.10240629315376282 + } + } } } }, "else": { "operation": "boost", - "score": -0.04071827977895737 + "score": -0.045847706496715546 } } } @@ -59960,7 +61197,7 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.06704459339380264 + "score": 0.06619742512702942 }, "else": { "operation": "if_greater", @@ -59968,137 +61205,131 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.058560796082019806 + "score": 0.05754837766289711 }, "else": { "operation": "boost", - "score": 0.043782684952020645 + "score": 0.039197325706481934 } } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "boost", + "score": 0.04364495724439621 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.18870759010314941 + "score": -0.2677670121192932 }, "else": { "operation": "boost", - "score": 0.09423670917749405 + "score": 0.015681782737374306 } }, "else": { "operation": "boost", - "score": 0.048422519117593765 + "score": -0.011260349303483963 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.035950809717178345 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.026576746255159378 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.06999339163303375 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.08354710042476654 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.15499897301197052 + }, + "else": { + "operation": "boost", + "score": 0.09486287087202072 + } + } + } }, "else": { "operation": "boost", - "score": -0.020871946588158607 + "score": 0.005562382750213146 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.009170837700366974 }, "else": { "operation": "boost", - "score": -0.018822943791747093 + "score": 0.008800377137959003 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.037395257502794266 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 85788.5, "then": { + "operation": "boost", + "score": 0.07582864910364151 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09408847242593765 + "score": 0.0583263635635376 }, "else": { "operation": "boost", - "score": 0.10880915075540543 + "score": 0.052105292677879333 } - }, - "else": { - "operation": "boost", - "score": 0.07956574857234955 } } }, @@ -60107,636 +61338,644 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10923736542463303 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.012114772573113441 + "score": 0.07405927032232285 }, "else": { - "operation": "boost", - "score": 0.03748892992734909 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.057404227554798126 + }, + "else": { + "operation": "boost", + "score": -0.03262172266840935 + } + }, + "else": { + "operation": "boost", + "score": 0.04342828691005707 + } } - }, - "else": { - "operation": "boost", - "score": -0.6578629612922668 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.012212756089866161 + "score": -0.05489566922187805 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05624983459711075 - }, - "else": { - "operation": "boost", - "score": 0.04529012367129326 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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.00820869579911232 + "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": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.0038150129839777946 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "boost", - "score": 0.1121828630566597 - }, - "else": { - "operation": "boost", - "score": 0.015411500819027424 - } - }, - "else": { - "operation": "boost", - "score": -0.1105625107884407 - } + "operation": "boost", + "score": 0.05248526856303215 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, - "then": { - "operation": "boost", - "score": 0.14536039531230927 - }, - "else": { - "operation": "boost", - "score": 0.08196290582418442 - } + "operation": "boost", + "score": 0.06324395537376404 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 279.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.15523941814899445 + "score": 0.0260930135846138 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.07259906828403473 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 221.0, - "then": { - "operation": "boost", - "score": 0.12394960969686508 - }, - "else": { - "operation": "boost", - "score": 0.14601339399814606 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.021893242374062538 - }, - "else": { - "operation": "boost", - "score": 0.1441914588212967 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "boost", - "score": 0.1409151256084442 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "boost", - "score": -0.18469856679439545 - }, - "else": { - "operation": "boost", - "score": 0.15166927874088287 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04831334576010704 - } - } + "operation": "boost", + "score": 0.11243531852960587 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.08509618788957596 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.1100652739405632 - }, - "else": { - "operation": "boost", - "score": 0.14859110116958618 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.15180321037769318 - }, - "else": { - "operation": "boost", - "score": 0.1325412541627884 - } - } - } + "operation": "boost", + "score": 0.12051068991422653 } }, "else": { "operation": "boost", - "score": 0.07027511298656464 + "score": -0.020636308938264847 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.0759400725364685 - }, - "else": { - "operation": "boost", - "score": 0.09183134883642197 - } + "operation": "boost", + "score": 0.03834622725844383 } }, "else": { "operation": "boost", - "score": -0.14345470070838928 + "score": 0.03360581025481224 } } - }, - "else": { - "operation": "boost", - "score": 0.0384230799973011 } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004659170750528574 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287036.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10264626890420914 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09242243319749832 + }, + "else": { + "operation": "boost", + "score": 0.012664949521422386 + } }, "else": { - "operation": "boost", - "score": 0.021011389791965485 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.034406114369630814 + }, + "else": { + "operation": "boost", + "score": 0.08655806630849838 + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 62580.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 145.0, + "threshold": 286067.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11709895730018616 - }, - "else": { - "operation": "boost", - "score": 0.11316130310297012 - } + "operation": "boost", + "score": 0.0423554964363575 }, "else": { "operation": "boost", - "score": 0.14668583869934082 + "score": -0.11666768044233322 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 174254.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1245487853884697 + "score": 0.09575214982032776 }, "else": { "operation": "boost", - "score": 0.290811151266098 + "score": 0.1063447892665863 } }, "else": { "operation": "boost", - "score": 0.04206477105617523 + "score": 0.07200933992862701 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198405.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.2682704031467438 - }, - "else": { - "operation": "boost", - "score": 0.12229514867067337 - } - }, - "else": { - "operation": "boost", - "score": 0.08950643241405487 - } + "operation": "boost", + "score": 0.12464451044797897 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 462.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.07562866061925888 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10365626215934753 + "score": 0.10204895585775375 }, "else": { - "operation": "boost", - "score": 0.11517813801765442 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11512645334005356 + }, + "else": { + "operation": "boost", + "score": 0.10362294316291809 + } } - }, - "else": { - "operation": "boost", - "score": 0.07916782796382904 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.16471372544765472 - }, - "else": { - "operation": "boost", - "score": -0.2788306772708893 - } + "operation": "boost", + "score": 0.03194235637784004 } }, "else": { - "operation": "boost", - "score": 0.08203358948230743 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, + "then": { + "operation": "boost", + "score": 0.011415870860219002 + }, + "else": { + "operation": "boost", + "score": 0.06416954845190048 + } } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.19391462206840515 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.021462902426719666 + }, + "else": { + "operation": "boost", + "score": 0.042957283556461334 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.042192600667476654 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.08368416130542755 + "score": -0.1757425218820572 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.15910638868808746 - }, - "else": { - "operation": "boost", - "score": 0.10208076983690262 - } + "operation": "boost", + "score": 0.016475317999720573 } }, "else": { - "operation": "boost", - "score": 0.06667904555797577 + "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.09043075144290924 + }, + "else": { + "operation": "boost", + "score": -0.04915129765868187 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.023177558556199074 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1267312467098236 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31.5, + "threshold": 49.5, "then": { - "operation": "boost", - "score": 0.14614109694957733 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0913970023393631 + }, + "else": { + "operation": "boost", + "score": 0.06859918683767319 + } }, "else": { - "operation": "boost", - "score": 0.12892241775989532 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10898367315530777 + }, + "else": { + "operation": "boost", + "score": 0.08330818265676498 + } + }, + "else": { + "operation": "boost", + "score": 0.060443200170993805 + } } }, "else": { "operation": "boost", - "score": 0.1074765995144844 + "score": 0.05839965492486954 } + }, + "else": { + "operation": "boost", + "score": 0.03137115761637688 } - }, - "else": { - "operation": "boost", - "score": -0.13328643143177032 } }, "else": { - "operation": "boost", - "score": 0.07937285304069519 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.02876141481101513 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.0077307275496423244 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 0.5, "then": { + "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" + ], + "then": { + "operation": "boost", + "score": 0.0222018975764513 + }, + "else": { + "operation": "boost", + "score": -0.05948984622955322 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.05471549183130264 + "score": -0.023703493177890778 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 444.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.14175626635551453 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Type", - "CCC_ClassOrStructTag" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.1230769008398056 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0564713180065155 + }, + "else": { + "operation": "boost", + "score": 0.08355078101158142 + } + }, + "else": { + "operation": "boost", + "score": -0.004337986931204796 + } + }, + "else": { + "operation": "boost", + "score": 0.05799880251288414 + } }, "else": { "operation": "boost", - "score": 0.13731610774993896 + "score": 0.03231531009078026 } - }, - "else": { - "operation": "boost", - "score": 0.08588683605194092 } } - }, - "else": { - "operation": "boost", - "score": 0.0015538142761215568 } - }, - "else": { - "operation": "boost", - "score": -0.007533933501690626 } } } @@ -60745,455 +61984,496 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.10113408416509628 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "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, + "then": { + "operation": "boost", + "score": 0.05374440550804138 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.0, + "then": { + "operation": "boost", + "score": 0.10750984400510788 + }, + "else": { + "operation": "boost", + "score": 0.07977869361639023 + } + } + } }, "else": { - "operation": "boost", - "score": 0.1060149297118187 + "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, + "then": { + "operation": "boost", + "score": 0.08977712690830231 + }, + "else": { + "operation": "boost", + "score": 0.1165269985795021 + } + }, + "else": { + "operation": "boost", + "score": -0.07934925705194473 + } + }, + "else": { + "operation": "boost", + "score": -0.023692753165960312 + } + }, + "else": { + "operation": "boost", + "score": 0.05316344276070595 + } } }, "else": { "operation": "boost", - "score": 0.009257875382900238 + "score": 0.024666404351592064 } }, "else": { "operation": "boost", - "score": -0.021904924884438515 + "score": 0.015291326679289341 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.01375966053456068 - }, - "else": { - "operation": "boost", - "score": -0.09194856882095337 - } + "operation": "boost", + "score": -0.009189669042825699 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.03809858113527298 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.0236669834703207 + "score": -0.13151895999908447 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.06181579828262329 - }, - "else": { - "operation": "boost", - "score": -0.02003655768930912 - } + "operation": "boost", + "score": 0.07621318101882935 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04308808222413063 - }, - "else": { - "operation": "boost", - "score": 0.11608254164457321 - } - }, - "else": { - "operation": "boost", - "score": 0.038420069962739944 - } - }, - "else": { - "operation": "boost", - "score": 0.020298993214964867 - } - }, - "else": { - "operation": "boost", - "score": 0.003664980176836252 - } + "operation": "boost", + "score": 0.11068890988826752 } } }, "else": { "operation": "boost", - "score": 0.015869608148932457 + "score": 0.053020499646663666 } + }, + "else": { + "operation": "boost", + "score": 0.027282414957880974 } }, "else": { - "operation": "boost", - "score": -0.10220884531736374 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43376.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "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.035966504365205765 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44693.0, + "threshold": 191566.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "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": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 98088.5, "then": { + "operation": "boost", + "score": 0.0975499153137207 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.11417972296476364 + "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.12179913371801376 + "score": 0.03838725388050079 } }, "else": { - "operation": "boost", - "score": 0.12128493934869766 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 20118.5, "then": { "operation": "boost", - "score": 0.11284860223531723 + "score": 0.08219298720359802 }, "else": { "operation": "boost", - "score": 0.12461256980895996 + "score": 0.043959807604551315 } - }, - "else": { - "operation": "boost", - "score": 0.13097965717315674 } } - }, - "else": { - "operation": "boost", - "score": -0.235726460814476 } - }, - "else": { - "operation": "boost", - "score": 0.08253193646669388 } + }, + "else": { + "operation": "boost", + "score": -0.07950426638126373 } }, "else": { "operation": "boost", - "score": 0.006361746229231358 - } - }, - "else": { - "operation": "boost", - "score": -0.03992076218128204 - } - }, - "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.06266101449728012 - }, - "else": { - "operation": "boost", - "score": 0.04349258542060852 + "score": -0.04662219062447548 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 119809.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.09078188985586166 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09327546507120132 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1985.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0725882276892662 + "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": 1949.0, + "threshold": 190994.0, "then": { "operation": "boost", - "score": 0.13016360998153687 + "score": 0.09990520030260086 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.1048223003745079 + "score": 0.11630748212337494 }, "else": { "operation": "boost", - "score": 0.12866926193237305 + "score": 0.12368374317884445 } } + }, + "else": { + "operation": "boost", + "score": 0.07895856350660324 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "FileProximityDistance", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.1227688118815422 + "score": 0.12846626341342926 }, "else": { "operation": "boost", - "score": 0.12833374738693237 + "score": 0.06575874984264374 } } - }, - "else": { - "operation": "boost", - "score": 0.06429386883974075 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11204026639461517 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1091846227645874 - }, - "else": { - "operation": "boost", - "score": 0.03790702298283577 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09791837632656097 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.07353834062814713 - }, - "else": { - "operation": "boost", - "score": 0.04403011500835419 - } - } + "operation": "boost", + "score": -0.06175748258829117 } }, "else": { "operation": "boost", - "score": 0.04387744888663292 + "score": 0.16341367363929749 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04317060858011246 + }, + "else": { + "operation": "boost", + "score": -0.0022802921012043953 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.08498862385749817 + }, + "else": { + "operation": "boost", + "score": 0.11670646071434021 } }, "else": { "operation": "boost", - "score": -0.012258805334568024 + "score": 0.00987265631556511 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10791732370853424 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1250736117362976 + }, + "else": { + "operation": "boost", + "score": 0.13494610786437988 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.11925717443227768 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1028486117720604 + }, + "else": { + "operation": "boost", + "score": 0.09814662486314774 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.04384564980864525 } } } @@ -61216,11 +62496,20 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.06582143902778625 + "score": 0.06438782066106796 }, "else": { - "operation": "boost", - "score": 0.04970632120966911 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05389593169093132 + }, + "else": { + "operation": "boost", + "score": 0.0395376980304718 + } } }, "else": { @@ -61229,41 +62518,23 @@ "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04304303601384163 + "score": 0.041744306683540344 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression", "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017490170896053314 - }, - "else": { - "operation": "boost", - "score": 0.006274333689361811 - } + "operation": "boost", + "score": 0.01356172002851963 }, "else": { "operation": "boost", - "score": -0.013712734915316105 + "score": -0.010166266933083534 } } } @@ -61274,72 +62545,45 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.03142569586634636 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0620381124317646 + }, + "else": { + "operation": "boost", + "score": 0.010698794387280941 + } + }, + "else": { + "operation": "boost", + "score": 0.05599178746342659 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10008.5, + "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.014805604703724384 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09463435411453247 - }, - "else": { - "operation": "boost", - "score": 0.017469579353928566 - } - } - }, - "else": { - "operation": "boost", - "score": -0.013402079232037067 - } + "operation": "boost", + "score": -0.055831823498010635 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06524557620286942 - }, - "else": { - "operation": "boost", - "score": 0.10646098107099533 - } - }, - "else": { - "operation": "boost", - "score": 0.058120958507061005 - } + "operation": "boost", + "score": 0.03498346358537674 } }, "else": { @@ -61350,80 +62594,176 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_Other" + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.038437698036432266 + "score": 0.02716492861509323 }, "else": { "operation": "boost", - "score": -0.08943519741296768 + "score": -0.09656501561403275 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "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_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.09007113426923752 - }, - "else": { - "operation": "boost", - "score": 0.05331484228372574 - } - }, - "else": { - "operation": "boost", - "score": 0.009620193392038345 - } + "operation": "boost", + "score": 0.031446799635887146 }, "else": { "operation": "boost", - "score": 0.022233380004763603 + "score": -0.19554468989372253 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "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.008230841718614101 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.004177542869001627 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.026438813656568527 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07691120356321335 + }, + "else": { + "operation": "boost", + "score": 0.050442490726709366 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.040441129356622696 + } + }, + "else": { + "operation": "boost", + "score": 0.030281545594334602 + } + } + } }, "else": { "operation": "boost", - "score": 0.04642733931541443 + "score": -0.2279350310564041 } } } @@ -61431,625 +62771,639 @@ } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.009565461426973343 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.029303142800927162 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { - "operation": "boost", - "score": 0.048440344631671906 + "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 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 592.5, "then": { "operation": "boost", - "score": 0.08935125172138214 + "score": 0.07138396799564362 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.10146709531545639 + "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.0933193638920784 + "score": 0.08860290050506592 } } } + }, + "else": { + "operation": "boost", + "score": 0.10182895511388779 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.016046438366174698 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 42.5, "then": { - "operation": "boost", - "score": -0.06594724953174591 + "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 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "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.13224762678146362 + "score": 0.10961410403251648 }, "else": { "operation": "boost", - "score": 0.16078239679336548 + "score": -0.1775335669517517 } } }, "else": { "operation": "boost", - "score": 0.1035054549574852 + "score": 0.08570831269025803 } + } + } + }, + "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.0930003970861435 + "score": 0.03692518547177315 } }, "else": { - "operation": "boost", - "score": 0.01622277870774269 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.029263505712151527 + }, + "else": { + "operation": "boost", + "score": 0.04396215081214905 + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "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": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.05276500806212425 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 67685.0, + "threshold": 7103.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 114340.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.02363494224846363 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08509081602096558 - }, - "else": { - "operation": "boost", - "score": 0.04829302802681923 - } - } + "operation": "boost", + "score": 0.027570132166147232 }, "else": { - "operation": "boost", - "score": -0.19310981035232544 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.11855778098106384 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13209.5, "then": { - "operation": "boost", - "score": 0.10777147114276886 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220295.0, + "threshold": 20039.5, "then": { "operation": "boost", - "score": -0.31319084763526917 + "score": 0.08902639895677567 }, "else": { - "operation": "boost", - "score": 0.09601076692342758 - } - } - } - }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08579104393720627 + } + }, "else": { - "operation": "boost", - "score": 0.0680222436785698 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 105803.0, + "threshold": 15956.0, "then": { - "operation": "boost", - "score": 0.047401972115039825 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 16126.0, "then": { - "operation": "boost", - "score": 0.11467323452234268 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 103549.5, + "threshold": 23281.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.12211865186691284 + "score": 0.1007356271147728 }, "else": { "operation": "boost", - "score": 0.026000913232564926 + "score": 0.06868623197078705 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19035.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19203.5, "then": { - "operation": "boost", - "score": 0.03445648029446602 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 19842.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 21299.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11316832900047302 - }, - "else": { - "operation": "boost", - "score": 0.10805810987949371 - } - }, - "else": { - "operation": "boost", - "score": 0.09791260212659836 - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09743410348892212 + "score": 0.01464210357517004 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.11855635046958923 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82306.0, - "then": { - "operation": "boost", - "score": 0.11208214610815048 - }, - "else": { - "operation": "boost", - "score": 0.11192735284566879 - } - } + "operation": "boost", + "score": 0.11763385683298111 } + }, + "else": { + "operation": "boost", + "score": -0.021748008206486702 } }, "else": { "operation": "boost", - "score": 0.06342969834804535 + "score": 0.11165256798267365 } }, "else": { "operation": "boost", - "score": 0.06187012419104576 + "score": 0.09863711148500443 } + }, + "else": { + "operation": "boost", + "score": 0.12033101171255112 } }, "else": { "operation": "boost", - "score": 0.053822193294763565 + "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": "boost", - "score": 0.06665048003196716 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.04311036318540573 }, "else": { - "operation": "boost", - "score": -0.06122029200196266 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72744.5, "then": { "operation": "boost", - "score": 0.032492246478796005 + "score": 0.013371014036238194 }, "else": { + "operation": "boost", + "score": -0.14152005314826965 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11308.5, "then": { - "operation": "boost", - "score": 0.048161085695028305 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 18439.5, "then": { "operation": "boost", - "score": -0.15036839246749878 + "score": 0.09574811905622482 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 49999.5, + "feature": "NumReferences", + "threshold": 18103.5, "then": { "operation": "boost", - "score": 0.10006124526262283 + "score": 0.10811486840248108 }, "else": { "operation": "boost", - "score": 0.060305848717689514 + "score": 0.0637628585100174 } } }, "else": { - "operation": "boost", - "score": -0.1535593867301941 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.05819425359368324 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "boost", - "score": 0.007601196877658367 + "score": 0.07960812747478485 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 25286.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": -0.0651339665055275 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.07158362120389938 + "score": 0.0830722451210022 }, "else": { "operation": "boost", - "score": 0.08614715933799744 + "score": 0.061438195407390594 } - }, - "else": { - "operation": "boost", - "score": -0.08201897889375687 } } - }, - "else": { - "operation": "boost", - "score": 0.0261595007032156 } }, "else": { - "operation": "boost", - "score": -0.00013263599248602986 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.009765681810677052 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08103092014789581 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 11206.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "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": 233.5, + "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" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 8427.5, "then": { "operation": "boost", - "score": 0.10079037398099899 + "score": 0.04900578781962395 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7875.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10981231927871704 - }, - "else": { - "operation": "boost", - "score": 0.11939392238855362 - } + "operation": "boost", + "score": 0.12519164383411407 }, "else": { "operation": "boost", - "score": 0.11098816990852356 + "score": 0.11492963880300522 } } }, @@ -62057,366 +63411,267 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_SymbolOrNewName", + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.09906832873821259 + "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.11955096572637558 + }, + "else": { + "operation": "boost", + "score": -0.06388957798480988 + } + }, + "else": { + "operation": "boost", + "score": 0.06962916254997253 + } + }, + "else": { + "operation": "boost", + "score": 0.11490260809659958 + } }, "else": { "operation": "boost", - "score": 0.10115804523229599 + "score": 0.09161747246980667 } } - }, - "else": { - "operation": "boost", - "score": 0.05387040972709656 } - }, - "else": { + } + }, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.10654788464307785 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.10263129323720932 + "score": 0.09057016670703888 }, "else": { "operation": "boost", - "score": -0.05397317558526993 + "score": -0.0845021978020668 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12250382453203201 }, "else": { "operation": "boost", - "score": 0.06985973566770554 + "score": 0.09869615733623505 } } }, "else": { "operation": "boost", - "score": 0.07793743908405304 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.08939103037118912 - }, - "else": { - "operation": "boost", - "score": 0.06528591364622116 + "score": 0.08221323788166046 } }, "else": { "operation": "boost", - "score": 0.051539864391088486 + "score": 0.0417284294962883 } } - }, - "else": { - "operation": "boost", - "score": 0.04010211303830147 } - }, - "else": { - "operation": "boost", - "score": 0.01725737936794758 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.011867317371070385 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.13244406878948212 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.08937548100948334 }, "else": { - "operation": "boost", - "score": -0.14751935005187988 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06538065522909164 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.046085175126791 - }, - "else": { - "operation": "boost", - "score": 0.011616474017500877 - } - }, - "else": { - "operation": "boost", - "score": -0.08042196929454803 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "NumReferences", + "threshold": 91411.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" ], + "then": { + "operation": "boost", + "score": 0.05662946403026581 + }, + "else": { + "operation": "boost", + "score": -0.316650927066803 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56647.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 61387.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.026525232940912247 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06386083364486694 - }, - "else": { - "operation": "boost", - "score": 0.11332676559686661 - } - } + "operation": "boost", + "score": -0.011394688859581947 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08234451711177826 - }, - "else": { - "operation": "boost", - "score": 0.10950687527656555 - } - }, - "else": { - "operation": "boost", - "score": 0.04669056087732315 - } + "operation": "boost", + "score": -0.2695603370666504 } }, "else": { "operation": "boost", - "score": 0.006471634842455387 + "score": 0.01582244411110878 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1743.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 7081.5, "then": { "operation": "boost", - "score": -0.048501234501600266 + "score": -0.9966633319854736 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2439.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08463010936975479 - }, - "else": { - "operation": "boost", - "score": 0.10683505237102509 - } + "operation": "boost", + "score": 0.06551069021224976 }, "else": { "operation": "boost", - "score": 0.017343079671263695 + "score": 0.008649859577417374 } } + }, + "else": { + "operation": "boost", + "score": 0.010903328657150269 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48040.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.14825505018234253 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1737.5, + "then": { + "operation": "boost", + "score": 0.11772502958774567 + }, + "else": { + "operation": "boost", + "score": 0.1210581511259079 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", + "CCC_Statement", "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Other" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.0972893238067627 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1734.0, + "then": { + "operation": "boost", + "score": 0.1284700632095337 + }, + "else": { + "operation": "boost", + "score": -0.15876121819019318 + } }, "else": { "operation": "boost", - "score": 0.019338317215442657 + "score": -0.11997425556182861 } }, "else": { "operation": "boost", - "score": -0.0669754296541214 + "score": -0.06457944214344025 } } } @@ -62424,112 +63679,93 @@ }, "else": { "operation": "boost", - "score": -0.026733769103884697 + "score": -0.013273654505610466 } + }, + "else": { + "operation": "boost", + "score": -0.03828606754541397 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 8374.0, "then": { + "operation": "boost", + "score": 0.06034582853317261 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.098368801176548 - }, - "else": { - "operation": "boost", - "score": 0.049316003918647766 - } + "operation": "boost", + "score": 0.025485316291451454 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.06344722211360931 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumReferences", + "threshold": 73.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0902886688709259 - }, - "else": { - "operation": "boost", - "score": 0.10328668355941772 - } + "operation": "boost", + "score": 0.09220299124717712 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12101038545370102 - }, - "else": { - "operation": "boost", - "score": 0.12634849548339844 - } + "operation": "boost", + "score": 0.07894711941480637 } }, "else": { "operation": "boost", - "score": 0.10371559858322144 + "score": 0.07404827326536179 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": 0.06396548449993134 + }, + "else": { + "operation": "boost", + "score": 0.04005441814661026 } } } - }, - "else": { - "operation": "boost", - "score": 0.024911191314458847 } }, "else": { "operation": "boost", - "score": -0.13346576690673828 + "score": 0.016056198626756668 } }, "else": { "operation": "boost", - "score": -0.05415958911180496 + "score": -0.0071006654761731625 } } } @@ -62552,72 +63788,70 @@ "threshold": 1.5, "then": { "operation": "boost", - "score": 0.06362779438495636 + "score": 0.0633334144949913 }, "else": { - "operation": "boost", - "score": 0.04811340197920799 + "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": 2.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1707317978143692 - }, - "else": { - "operation": "boost", - "score": 0.09156833589076996 - } - }, - "else": { - "operation": "boost", - "score": 0.06600476056337357 - } + "operation": "boost", + "score": 0.032410744577646255 }, "else": { "operation": "boost", - "score": 0.0411144495010376 + "score": 0.006730273831635714 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.010503512807190418 + "score": 0.008296489715576172 }, "else": { "operation": "boost", - "score": -0.012676355428993702 + "score": -0.014628834091126919 } } } @@ -62629,99 +63863,36 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, - "then": { - "operation": "boost", - "score": 0.06941743940114975 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.11260450631380081 - }, - "else": { - "operation": "boost", - "score": -0.016804391518235207 - } - } + "operation": "boost", + "score": 0.05685129389166832 }, "else": { "operation": "boost", - "score": 0.04607921838760376 + "score": 0.00410868227481842 } }, "else": { "operation": "boost", - "score": 0.030102452263236046 + "score": 0.05184972286224365 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { - "operation": "boost", - "score": 0.09712793678045273 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10819458216428757 - }, - "else": { - "operation": "boost", - "score": 0.15156406164169312 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0638321191072464 - } - }, - "else": { - "operation": "boost", - "score": 0.10796573758125305 - } - }, - "else": { - "operation": "boost", - "score": 0.07726528495550156 - } + "operation": "boost", + "score": 0.0543208122253418 } }, "else": { @@ -62729,8 +63900,17 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.02891087532043457 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09266506880521774 + }, + "else": { + "operation": "boost", + "score": 0.032482992857694626 + } }, "else": { "operation": "if_greater", @@ -62738,123 +63918,114 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04119981825351715 + "score": -0.047912854701280594 }, "else": { - "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_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { + "operation": "boost", + "score": 0.06294625997543335 + }, + "else": { + "operation": "boost", + "score": 0.019585177302360535 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.03764214366674423 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.048263318836688995 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.0757593959569931 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.043648116290569305 + }, + "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 + } + } }, "else": { "operation": "boost", - "score": -0.19936977326869965 + "score": 0.03199714049696922 } }, "else": { "operation": "boost", - "score": 0.010944685898721218 + "score": 0.02519003488123417 } - }, - "else": { - "operation": "boost", - "score": 0.04511922225356102 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.38679349422454834 - }, - "else": { - "operation": "boost", - "score": -0.22471179068088531 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.0116130281239748 - }, - "else": { - "operation": "boost", - "score": 0.044284045696258545 } - }, - "else": { - "operation": "boost", - "score": -0.26838451623916626 } } } @@ -62862,954 +64033,1050 @@ } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "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_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "boost", - "score": 0.10945317894220352 - }, - "else": { - "operation": "boost", - "score": 0.02356225624680519 - } + "operation": "boost", + "score": -0.005101862829178572 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.03227877616882324 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07015251368284225 + "score": 0.028954869136214256 }, "else": { "operation": "boost", - "score": 0.019330119714140892 + "score": 0.08188936114311218 } - }, - "else": { - "operation": "boost", - "score": -0.015533065423369408 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 61550.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "boost", + "score": 0.03192706033587456 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09416430443525314 + }, + "else": { + "operation": "boost", + "score": 0.10560346394777298 + } + }, + "else": { + "operation": "boost", + "score": 0.06880953907966614 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198405.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type", - "CCC_ClassOrStructTag" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.12048619240522385 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11781341582536697 + "score": 0.07257197797298431 }, "else": { - "operation": "boost", - "score": 0.1388014554977417 + "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": { + } + }, + "else": { + "operation": "boost", + "score": 0.029452955350279808 + } + }, + "else": { + "operation": "boost", + "score": 0.05360906571149826 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01381650846451521 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.042261358350515366 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.00764461187645793 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.023115815594792366 + }, + "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": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 49.5, "then": { "operation": "boost", - "score": 0.15642203390598297 + "score": 0.08862550556659698 }, "else": { "operation": "boost", - "score": 0.12639892101287842 + "score": 0.07408850640058517 } + }, + "else": { + "operation": "boost", + "score": 0.06653691828250885 } }, "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_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression" + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1177.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1521.0, - "then": { - "operation": "boost", - "score": 0.12044953554868698 - }, - "else": { - "operation": "boost", - "score": 0.12348684668540955 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06578179448843002 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 455.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11020702123641968 + "score": 0.048486556857824326 }, "else": { "operation": "boost", - "score": 0.14283087849617004 + "score": 0.07855089753866196 } - }, - "else": { - "operation": "boost", - "score": 0.13875149190425873 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10336343944072723 + "score": -0.056391965597867966 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.1505136787891388 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": -0.10021152347326279 - }, - "else": { - "operation": "boost", - "score": 0.1560605764389038 - } - }, - "else": { - "operation": "boost", - "score": 0.13342460989952087 - } - } + "operation": "boost", + "score": 0.08516044914722443 } } + }, + "else": { + "operation": "boost", + "score": 0.03494812548160553 } }, "else": { "operation": "boost", - "score": 0.0873931497335434 + "score": 0.026217792183160782 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1400744616985321 + "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 + } }, "else": { "operation": "boost", - "score": 0.14081744849681854 + "score": -0.012254390865564346 } - }, - "else": { - "operation": "boost", - "score": 0.06710939854383469 } } - }, - "else": { - "operation": "boost", - "score": 0.07192452996969223 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08156532794237137 - }, - "else": { - "operation": "boost", - "score": 0.02221844531595707 } } - }, - "else": { - "operation": "boost", - "score": 0.014137394726276398 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12699289619922638 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", "CCC_Statement", - "CCC_ParenthesizedExpression" + "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": [ - "Function" - ], + "operation": "boost", + "score": 0.0186452753841877 + }, + "else": { + "operation": "boost", + "score": -0.445903480052948 + } + }, + "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": 20.5, + "threshold": 10.0, "then": { "operation": "boost", - "score": 0.12911857664585114 + "score": 0.07862817496061325 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.055555567145347595 + "score": 0.12201696634292603 }, "else": { "operation": "boost", - "score": 0.14743922650814056 + "score": 0.12655505537986755 } } }, "else": { - "operation": "boost", - "score": 0.07983530312776566 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1600.0, + "threshold": 37666.5, "then": { "operation": "boost", - "score": 0.04243956506252289 + "score": 0.09811358153820038 }, "else": { + "operation": "boost", + "score": 0.05030626803636551 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 929.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1021.0, + "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.09850812703371048 + "score": 0.06948933750391006 }, "else": { "operation": "boost", - "score": 0.11983445286750793 + "score": -0.21412676572799683 } }, "else": { - "operation": "boost", - "score": 0.09713223576545715 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11056826263666153 + }, + "else": { + "operation": "boost", + "score": 0.1044851690530777 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.1471700519323349 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07782009989023209 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.0, - "then": { - "operation": "boost", - "score": 0.14440083503723145 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, - "then": { - "operation": "boost", - "score": 0.010301290079951286 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.14280767738819122 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "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.16358202695846558 + "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.14836610853672028 + "score": 0.11343332380056381 } } } }, "else": { - "operation": "boost", - "score": 0.13695797324180603 + "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 + } } } - }, - "else": { - "operation": "boost", - "score": 0.07117274403572083 } - } - }, - "else": { - "operation": "boost", - "score": 0.013804069720208645 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09795744717121124 }, "else": { "operation": "boost", - "score": 0.10481049120426178 + "score": -0.04303742200136185 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.04235370457172394 - }, - "else": { - "operation": "boost", - "score": 0.01973399519920349 - } - }, - "else": { - "operation": "boost", - "score": -0.0013353439280763268 - } - }, - "else": { - "operation": "boost", - "score": -0.0556907095015049 - } - }, - "else": { - "operation": "boost", - "score": -0.008081860840320587 - } + "operation": "boost", + "score": 0.03869762644171715 } - }, - "else": { - "operation": "boost", - "score": -0.018869996070861816 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", "Variable", - "Namespace", - "Type", - "Function" + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.013181278482079506 - }, - "else": { - "operation": "boost", - "score": -0.08883132040500641 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 23.0, - "then": { - "operation": "boost", - "score": -0.0002588817442301661 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 184.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 189.5, + "threshold": 59352.5, "then": { "operation": "boost", - "score": 0.07862081378698349 + "score": 0.0921202227473259 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.13184699416160583 + "score": 0.061685312539339066 }, "else": { "operation": "boost", - "score": -0.11821070313453674 + "score": 0.02278936840593815 } } }, "else": { "operation": "boost", - "score": 0.05969928205013275 + "score": 0.0789819210767746 } }, - "else": { - "operation": "boost", - "score": 0.07005102932453156 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.101540707051754 - }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 9.0, + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.12055379152297974 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20701.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": -0.12128814309835434 - }, - "else": { - "operation": "boost", - "score": 0.13900548219680786 - } + "operation": "boost", + "score": -0.23788972198963165 }, "else": { "operation": "boost", - "score": 0.07433141022920609 + "score": -0.073529914021492 } + }, + "else": { + "operation": "boost", + "score": 0.01889736019074917 } } + }, + "else": { + "operation": "boost", + "score": 0.02507183700799942 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { + "operation": "boost", + "score": -0.028728077188134193 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": 0.047552961856126785 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0798051729798317 - }, - "else": { - "operation": "boost", - "score": 0.10655274987220764 - } - }, - "else": { - "operation": "boost", - "score": 0.09118378162384033 - } - } + "operation": "boost", + "score": -0.020974550396203995 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.1169043630361557 + "score": -0.0383845716714859 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.004614620003849268 + "score": 0.09049498289823532 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08002164214849472 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "boost", - "score": 0.08926887810230255 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.17216841876506805 - }, - "else": { - "operation": "boost", - "score": 0.16540585458278656 - } - }, - "else": { - "operation": "boost", - "score": 0.17716407775878906 - } - } - } + "operation": "boost", + "score": 0.09746736288070679 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.13514582812786102 - }, - "else": { - "operation": "boost", - "score": 0.036048777401447296 - } - }, - "else": { - "operation": "boost", - "score": 0.06797685474157333 - } + "operation": "boost", + "score": 0.06306443363428116 } }, - "else": { - "operation": "boost", - "score": -0.14514116942882538 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2835.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, - "then": { - "operation": "boost", - "score": 0.054092951118946075 - }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1378682553768158 + "score": 0.04000569134950638 }, "else": { "operation": "boost", - "score": 0.02552039735019207 + "score": 0.10064518451690674 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03894713893532753 }, "else": { "operation": "boost", - "score": -0.011683010496199131 + "score": -0.009783999063074589 } } }, "else": { "operation": "boost", - "score": 0.013965439982712269 + "score": 0.027341162785887718 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.013667045161128044 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.05869168043136597 - }, - "else": { + } + } + } + } + }, + "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_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.12793424725532532 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07228424400091171 + }, + "else": { + "operation": "boost", + "score": 0.10898903012275696 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04975035414099693 + } + }, + "else": { + "operation": "boost", + "score": 0.019228573888540268 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "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": "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09163877367973328 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.016139905899763107 + }, + "else": { + "operation": "boost", + "score": 0.062262166291475296 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 210.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.051185671240091324 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 213.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10681642591953278 - }, - "else": { - "operation": "boost", - "score": 0.08799662441015244 - } + "operation": "boost", + "score": 0.11021848022937775 }, "else": { "operation": "boost", - "score": 0.10246971994638443 + "score": 0.12297863513231277 } - }, - "else": { - "operation": "boost", - "score": 0.08629866689443588 } } }, "else": { "operation": "boost", - "score": 0.07463177293539047 + "score": 0.057568058371543884 } + }, + "else": { + "operation": "boost", + "score": 0.0032060735393315554 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.04737229272723198 + }, + "else": { + "operation": "boost", + "score": 0.020824279636144638 + } + } + }, + "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.008725789375603199 + "score": -0.12388809770345688 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09530226141214371 - }, - "else": { - "operation": "boost", - "score": -0.0369868241250515 - } }, "else": { "operation": "boost", - "score": 0.0013380071613937616 + "score": -0.026538684964179993 } } + }, + "else": { + "operation": "boost", + "score": -0.04134805127978325 } } } @@ -63827,58 +65094,55 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.061217717826366425 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05863041430711746 + }, + "else": { + "operation": "boost", + "score": 0.09447713196277618 + } }, "else": { - "operation": "boost", - "score": 0.04648314788937569 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06133098527789116 + }, + "else": { + "operation": "boost", + "score": 0.043255515396595 + } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03906790167093277 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2429238259792328 - }, - "else": { - "operation": "boost", - "score": 0.01284097321331501 - } + "operation": "boost", + "score": 0.03146563842892647 }, "else": { "operation": "boost", - "score": -0.010784543119370937 + "score": 0.013019402511417866 } + }, + "else": { + "operation": "boost", + "score": 0.003121410496532917 } } }, @@ -63888,38 +65152,33 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.02841830998659134 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10008.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.04876163601875305 + }, + "else": { + "operation": "boost", + "score": 0.01918763294816017 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6159.0, "then": { "operation": "if_member", "feature": "SymbolCategory", @@ -63929,1170 +65188,1209 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10642563551664352 + "score": 0.08528245240449905 }, "else": { "operation": "boost", - "score": 0.11260972172021866 + "score": 0.11769304424524307 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 85788.5, + "threshold": 6388.5, + "then": { + "operation": "boost", + "score": 0.05919289216399193 + }, + "else": { + "operation": "boost", + "score": 0.12179490178823471 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.05068916454911232 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06553714722394943 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.13724838197231293 + }, + "else": { + "operation": "boost", + "score": -0.0859861671924591 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.06363644450902939 + }, + "else": { + "operation": "boost", + "score": 0.13366715610027313 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.0, "then": { "operation": "boost", - "score": 0.08913108706474304 + "score": 0.13676831126213074 }, "else": { "operation": "boost", - "score": 0.08721872419118881 + "score": 0.08917725831270218 } }, "else": { "operation": "boost", - "score": -0.0014874105108901858 + "score": -0.011795085854828358 } } + } + }, + "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.02610463835299015 + "score": -0.08739649504423141 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "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.02732834219932556 + }, + "else": { + "operation": "boost", + "score": -0.24469321966171265 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6228.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.006247398909181356 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06720463186502457 + "score": 0.045413874089717865 }, "else": { - "operation": "boost", - "score": 0.11574726551771164 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.036901723593473434 + } + }, + "else": { + "operation": "boost", + "score": 0.026585564017295837 + } } - }, - "else": { - "operation": "boost", - "score": 0.03600304201245308 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2101.5, + "then": { + "operation": "boost", + "score": 0.06194601207971573 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.09049317240715027 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.11431910842657089 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 139.5, "then": { "operation": "boost", - "score": 0.11400800198316574 + "score": 0.08723253011703491 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.12329991906881332 + "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.22385668754577637 + "score": -0.23752228915691376 } } - }, - "else": { - "operation": "boost", - "score": 0.0195725429803133 } }, "else": { "operation": "boost", - "score": 0.07576599717140198 + "score": 0.09666786342859268 } - }, - "else": { - "operation": "boost", - "score": 0.08066388964653015 } }, "else": { "operation": "boost", - "score": 0.09637783467769623 + "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": 8.5, + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.04992470517754555 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08774270117282867 - }, - "else": { - "operation": "boost", - "score": 0.1315784752368927 - } - }, - "else": { - "operation": "boost", - "score": 0.14472657442092896 - } + "operation": "boost", + "score": 0.10805691033601761 }, "else": { "operation": "boost", - "score": 0.03919028490781784 + "score": 0.08431582897901535 } + }, + "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 } }, "else": { "operation": "boost", - "score": 0.10738587379455566 + "score": 0.0954778790473938 } - }, - "else": { - "operation": "boost", - "score": 0.06495802849531174 } } + }, + "else": { + "operation": "boost", + "score": 0.0009405958699062467 } }, "else": { - "operation": "boost", - "score": 0.0167686864733696 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08488812297582626 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.0009584809886291623 - }, - "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.025591403245925903 + "score": -0.12040869146585464 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.04309781268239021 + "score": 0.017773283645510674 }, "else": { + "operation": "boost", + "score": -0.06445800513029099 + } + } + }, + "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, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.08227259665727615 + "score": 0.12760351598262787 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 454.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 608.5, "then": { + "operation": "boost", + "score": 0.07422088831663132 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 592.5, "then": { "operation": "boost", - "score": 0.10187450051307678 + "score": 0.11572017520666122 }, "else": { - "operation": "boost", - "score": 0.10767640173435211 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.12894944846630096 + }, + "else": { + "operation": "boost", + "score": 0.090761698782444 + } } - }, - "else": { - "operation": "boost", - "score": 0.09784042090177536 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.09555766731500626 + "score": 0.027315175160765648 }, "else": { "operation": "boost", - "score": 0.09873195737600327 + "score": 0.09029603004455566 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.060363732278347015 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", "threshold": 5.5, "then": { "operation": "boost", - "score": 0.12696704268455505 + "score": 0.08955834060907364 }, "else": { "operation": "boost", - "score": 0.1515597701072693 + "score": 0.03491213917732239 } + }, + "else": { + "operation": "boost", + "score": 0.05640612170100212 } - }, - "else": { - "operation": "boost", - "score": 0.10791027545928955 } }, "else": { "operation": "boost", - "score": 0.08918771892786026 + "score": 0.04029959812760353 } }, "else": { - "operation": "boost", - "score": 0.009569437243044376 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8607.0, + "then": { + "operation": "boost", + "score": 0.05865240842103958 + }, + "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_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06977683305740356 + }, + "else": { + "operation": "boost", + "score": 0.05016158148646355 + } + }, + "else": { + "operation": "boost", + "score": 0.03412409871816635 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.051075488328933716 + }, + "else": { + "operation": "boost", + "score": -0.0002643891202751547 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.01483225543051958 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.052125077694654465 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, + "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": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "boost", + "score": -0.08237232267856598 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.020260633900761604 + "score": 0.0985180139541626 }, "else": { - "operation": "boost", - "score": 0.05432380363345146 + "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 + } } }, "else": { "operation": "boost", - "score": -0.17105251550674438 + "score": 0.020540708675980568 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1394587755203247 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.11536219716072083 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10684704780578613 - }, - "else": { - "operation": "boost", - "score": 0.08797378093004227 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06403140723705292 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 24.5, + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95022.0, - "then": { - "operation": "boost", - "score": 0.04964091256260872 - }, - "else": { - "operation": "boost", - "score": 0.11543487757444382 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0468563474714756 + "score": -0.04158106818795204 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12061057984828949 - }, - "else": { - "operation": "boost", - "score": 0.021543268114328384 - } + "operation": "boost", + "score": 0.14991039037704468 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03339255601167679 + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12042003124952316 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.07984019815921783 + }, + "else": { + "operation": "boost", + "score": 0.066021628677845 + } + } + }, + "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": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11213625222444534 - }, - "else": { - "operation": "boost", - "score": 0.10569480806589127 - } - }, - "else": { - "operation": "boost", - "score": 0.09291179478168488 - } + "operation": "boost", + "score": 0.16870132088661194 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09456494450569153 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.11580780148506165 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82306.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12555921077728271 - }, - "else": { - "operation": "boost", - "score": 0.11636550724506378 - } - }, - "else": { - "operation": "boost", - "score": 0.10025369375944138 - } - }, - "else": { - "operation": "boost", - "score": 0.11019917577505112 - } - } - } + "operation": "boost", + "score": 0.10823991149663925 } }, "else": { "operation": "boost", - "score": 0.060947902500629425 + "score": 0.024267712607979774 } - }, - "else": { - "operation": "boost", - "score": 0.05712725222110748 } } - }, - "else": { - "operation": "boost", - "score": 0.050949521362781525 } } } + }, + "else": { + "operation": "boost", + "score": -0.016608865931630135 } }, "else": { - "operation": "boost", - "score": 0.06357168406248093 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.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": "boost", + "score": 0.07922067493200302 + }, + "else": { + "operation": "boost", + "score": -0.12639819085597992 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08169213682413101 + }, + "else": { + "operation": "boost", + "score": 0.09660156071186066 + } + } + }, + "else": { + "operation": "boost", + "score": 0.029533429071307182 + } } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.04049186035990715 - }, - "else": { - "operation": "boost", - "score": -0.06064802035689354 - } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.012967594899237156 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Type" ], "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.025114009156823158 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.04520336166024208 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.12449516355991364 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50013.0, - "then": { - "operation": "boost", - "score": 0.0982707068324089 - }, - "else": { - "operation": "boost", - "score": 0.05794626474380493 - } - } + "operation": "boost", + "score": 0.05373663082718849 }, "else": { - "operation": "boost", - "score": -0.1412113755941391 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.051190003752708435 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.006311497651040554 + "score": 0.05765452980995178 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06822910159826279 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "boost", - "score": 0.08081874251365662 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0955992043018341 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.16045299172401428 - }, - "else": { - "operation": "boost", - "score": 0.14122235774993896 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11308370530605316 - } - }, - "else": { - "operation": "boost", - "score": 0.14472290873527527 - } - } - } + "operation": "boost", + "score": 0.10896018892526627 }, "else": { "operation": "boost", - "score": -0.07722102850675583 + "score": 0.09988777339458466 } } - }, - "else": { - "operation": "boost", - "score": 0.026493800804018974 } }, "else": { "operation": "boost", - "score": 0.002797161927446723 + "score": -0.09729500859975815 } + }, + "else": { + "operation": "boost", + "score": 0.06784842163324356 } + }, + "else": { + "operation": "boost", + "score": 0.02075262926518917 } - }, - "else": { - "operation": "boost", - "score": 0.009219065308570862 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.06446655839681625 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 504.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 707.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1292.5, - "then": { - "operation": "boost", - "score": 0.09180858731269836 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1079.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.11381026357412338 - }, - "else": { - "operation": "boost", - "score": 0.12805886566638947 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 772.0, - "then": { - "operation": "boost", - "score": 0.12811020016670227 - }, - "else": { - "operation": "boost", - "score": 0.11843322962522507 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05717780813574791 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12437231838703156 - }, - "else": { - "operation": "boost", - "score": 0.117731973528862 - } - }, - "else": { - "operation": "boost", - "score": 0.2695061266422272 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08547873049974442 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08531459420919418 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11316576600074768 - }, - "else": { - "operation": "boost", - "score": 0.13208085298538208 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09528505802154541 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10275821387767792 - }, - "else": { - "operation": "boost", - "score": 0.06828692555427551 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0750698521733284 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08164018392562866 - }, - "else": { - "operation": "boost", - "score": 0.027361422777175903 - } - } + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07633151859045029 + "score": 0.08624925464391708 }, "else": { "operation": "boost", - "score": 0.04414387047290802 + "score": 0.08727134764194489 } + }, + "else": { + "operation": "boost", + "score": 0.019823433831334114 } }, "else": { "operation": "boost", - "score": 0.03641757369041443 + "score": -6.07479851169046e-05 } - }, - "else": { - "operation": "boost", - "score": 0.01585424318909645 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.010874893516302109 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.1288791447877884 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.08779450505971909 - }, - "else": { - "operation": "boost", - "score": -0.14851246774196625 - } - } }, "else": { - "operation": "boost", - "score": -0.06015053391456604 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "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.02445552684366703 + "score": 0.0009207770926877856 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.020532334223389626 - }, - "else": { - "operation": "boost", - "score": -0.011213872581720352 - } + "operation": "boost", + "score": -0.028660377487540245 } - }, - "else": { - "operation": "boost", - "score": -0.024820130318403244 } + }, + "else": { + "operation": "boost", + "score": -0.10008023679256439 } - }, - "else": { - "operation": "boost", - "score": -0.04065782576799393 } } } @@ -65109,293 +66407,142 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04616343230009079 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.05943569168448448 + "score": 0.03763800114393234 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.05141087621450424 + "score": 0.011326550506055355 }, "else": { "operation": "boost", - "score": 0.03586187586188316 + "score": -0.010401153936982155 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.158299058675766 + "score": 0.04736955463886261 }, "else": { "operation": "boost", - "score": 0.08274511992931366 + "score": 0.018993176519870758 } }, "else": { "operation": "boost", - "score": 0.06985420733690262 + "score": 0.05303353816270828 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.43896356225013733 - }, - "else": { - "operation": "boost", - "score": 0.030470089986920357 - } + "operation": "boost", + "score": 0.0461750254034996 }, "else": { - "operation": "boost", - "score": 0.0006370085175149143 - } - }, - "else": { - "operation": "boost", - "score": 0.00183653284329921 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.02980922907590866 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { - "operation": "boost", - "score": 0.09407361596822739 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10675649344921112 - }, - "else": { - "operation": "boost", - "score": 0.1389804482460022 - } - } - }, - "else": { - "operation": "boost", - "score": 0.056973110884428024 - } + "operation": "boost", + "score": 0.03869209811091423 }, "else": { "operation": "boost", - "score": 0.10655298829078674 + "score": -0.012704744935035706 } - }, - "else": { - "operation": "boost", - "score": 0.0726616308093071 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.024894101545214653 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.03724924847483635 - }, - "else": { - "operation": "boost", - "score": -0.0856531634926796 - } + "operation": "boost", + "score": -0.043974585831165314 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.026184551417827606 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.0728771761059761 - }, - "else": { - "operation": "boost", - "score": -0.19095417857170105 - } - }, - "else": { - "operation": "boost", - "score": 0.009301651269197464 - } - }, - "else": { - "operation": "boost", - "score": 0.044765640050172806 - } - }, - "else": { "operation": "boost", - "score": -0.25721418857574463 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.010074581950902939 - }, - "else": { - "operation": "boost", - "score": -0.26433777809143066 - } + "score": 0.02030525915324688 }, "else": { "operation": "boost", - "score": 0.04262993112206459 + "score": -0.21049700677394867 } } } @@ -65404,1027 +66551,1147 @@ }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "boost", + "score": 0.023646216839551926 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.014197959564626217 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2497.0, + "threshold": 12924.0, "then": { - "operation": "boost", - "score": 0.0012521881144493818 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 24227.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FileScope" ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "boost", - "score": 0.10725805908441544 - }, - "else": { - "operation": "boost", - "score": 0.029095977544784546 - } - }, - "else": { - "operation": "boost", - "score": -0.14039555191993713 - } - }, - "else": { - "operation": "boost", - "score": 0.07363028824329376 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.023937974125146866 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11455002427101135 - }, - "else": { - "operation": "boost", - "score": 0.10888522863388062 - } - }, - "else": { - "operation": "boost", - "score": 0.14046868681907654 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, "then": { "operation": "boost", - "score": 0.11298833042383194 + "score": 0.07662377506494522 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 375849.5, "then": { "operation": "boost", - "score": 0.12258517742156982 + "score": 0.05436914786696434 }, "else": { - "operation": "boost", - "score": 0.0712115615606308 + "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 + } + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 24093.0, "then": { - "operation": "boost", - "score": 0.04033840075135231 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0854882076382637 + "score": 0.09662605077028275 }, "else": { + "operation": "boost", + "score": 0.10903338342905045 + } + }, + "else": { + "operation": "boost", + "score": -0.3290286958217621 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassStructUnion" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18672.5, "then": { - "operation": "boost", - "score": 0.1451532393693924 + "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": "boost", - "score": -0.10256671905517578 + "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.027921823784708977 + "score": 0.06171135976910591 } + }, + "else": { + "operation": "boost", + "score": 0.08681832998991013 } }, - "else": { - "operation": "boost", - "score": 0.0747617557644844 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08510672301054001 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.15051156282424927 - }, - "else": { - "operation": "boost", - "score": 0.10110531002283096 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05939050763845444 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "boost", - "score": -0.11918992549180984 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.13588698208332062 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18842.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19220.5, + "then": { + "operation": "boost", + "score": 0.10993154346942902 + }, + "else": { + "operation": "boost", + "score": 0.12051813304424286 + } + }, + "else": { + "operation": "boost", + "score": 0.03556403890252113 + } }, "else": { "operation": "boost", - "score": 0.12105607986450195 + "score": 0.043315060436725616 } }, "else": { "operation": "boost", - "score": 0.10539227724075317 + "score": 0.059763625264167786 } } - }, - "else": { - "operation": "boost", - "score": -0.13674665987491608 } - }, - "else": { - "operation": "boost", - "score": 0.07145717740058899 } + }, + "else": { + "operation": "boost", + "score": 0.11599329859018326 } + }, + "else": { + "operation": "boost", + "score": 0.001671694335527718 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.024862825870513916 + "score": -0.03189649060368538 }, "else": { + "operation": "boost", + "score": -0.06887055188417435 + } + } + } + }, + "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_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.006543043535202742 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.0563945472240448 + "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": 305.5, + "threshold": 37.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 93.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 962.5, + "threshold": 102.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12665142118930817 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.10463698208332062 - }, - "else": { - "operation": "boost", - "score": 0.1144324541091919 - } - } + "operation": "boost", + "score": 0.12046767771244049 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 319.5, + "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": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.13496701419353485 + "score": 0.12924019992351532 }, "else": { "operation": "boost", - "score": 0.1419965773820877 + "score": 0.17408387362957 } }, "else": { "operation": "boost", - "score": 0.12355966120958328 + "score": 0.15936768054962158 } } - }, - "else": { - "operation": "boost", - "score": 0.015799568966031075 } }, "else": { "operation": "boost", - "score": 0.12689901888370514 + "score": 0.09277653694152832 } }, "else": { "operation": "boost", - "score": 0.07550352066755295 + "score": 0.14610522985458374 } + }, + "else": { + "operation": "boost", + "score": 0.07707501202821732 } + } + }, + "else": { + "operation": "boost", + "score": 0.0957835465669632 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.10721610486507416 }, "else": { - "operation": "boost", - "score": 0.0014651771634817123 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.17296388745307922 + }, + "else": { + "operation": "boost", + "score": 0.11921140551567078 + } } }, "else": { "operation": "boost", - "score": -0.007761243265122175 + "score": 0.09076914936304092 } } + }, + "else": { + "operation": "boost", + "score": 0.07897599786520004 } + }, + "else": { + "operation": "boost", + "score": 0.036507006734609604 } + }, + "else": { + "operation": "boost", + "score": -0.00792151689529419 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 43.5, "then": { - "operation": "boost", - "score": -0.11362195760011673 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05866894870996475 - }, - "else": { - "operation": "boost", - "score": 0.09665825217962265 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.015378391370177269 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.06308241933584213 + "score": 0.1251259297132492 }, "else": { - "operation": "boost", - "score": 0.023470301181077957 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 33.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.025489917024970055 - }, - "else": { - "operation": "boost", - "score": -0.08025075495243073 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 454.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 608.5, "then": { "operation": "boost", - "score": 0.06248294562101364 + "score": 0.07160821557044983 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 592.5, "then": { "operation": "boost", - "score": -0.15187758207321167 + "score": 0.11417718231678009 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.1262303739786148 + "score": 0.12557657063007355 }, "else": { "operation": "boost", - "score": 0.08769601583480835 + "score": 0.08881927281618118 } } } }, "else": { "operation": "boost", - "score": 0.05592644587159157 + "score": 0.07972965389490128 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07466696202754974 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.1874251812696457 + "score": 0.06412260234355927 }, "else": { "operation": "boost", - "score": -0.06476080417633057 + "score": 0.04611947759985924 } + }, + "else": { + "operation": "boost", + "score": 0.03243129700422287 } }, "else": { "operation": "boost", - "score": -0.0004956655320711434 + "score": 0.0183434896171093 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.000986813916824758 + "score": 0.10304031521081924 }, "else": { "operation": "boost", - "score": -0.05437963828444481 + "score": 0.0134520148858428 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + }, + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10217835754156113 + "score": -0.01335485465824604 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "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": "boost", - "score": 0.09760235249996185 - }, - "else": { - "operation": "boost", - "score": 0.05965046584606171 - } - }, - "else": { - "operation": "boost", - "score": 0.049443770200014114 - } - } - }, - "else": { - "operation": "boost", - "score": 0.017781075090169907 - } - }, - "else": { - "operation": "boost", - "score": -0.08576102554798126 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11935920268297195 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02843613177537918 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04875962808728218 + }, + "else": { + "operation": "boost", + "score": 0.07378573715686798 + } }, "else": { "operation": "boost", - "score": 0.10147467255592346 + "score": 0.07804474979639053 } }, "else": { "operation": "boost", - "score": 0.059466972947120667 + "score": 0.018645592033863068 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36980.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": 0.03302816301584244 - }, - "else": { - "operation": "boost", - "score": 0.08494841307401657 - } + "operation": "boost", + "score": -0.08119597285985947 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "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": [ - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "Variable" ], "then": { - "operation": "boost", - "score": 0.06084197014570236 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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": "boost", - "score": -0.06453754752874374 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.02729213796555996 + } } }, "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06391794234514236 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.03232536092400551 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { "operation": "boost", - "score": -0.031125567853450775 + "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 + } + } + } } } } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1327873170375824 - }, - "else": { - "operation": "boost", - "score": 0.024249592795968056 - } + "operation": "boost", + "score": -0.0022822695318609476 } } }, "else": { "operation": "boost", - "score": 0.019103357568383217 + "score": -0.09604907780885696 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.010813148692250252 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08674181252717972 + }, + "else": { + "operation": "boost", + "score": 0.10275956243276596 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10374916344881058 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10142859816551208 + }, + "else": { + "operation": "boost", + "score": 0.1314072459936142 + } + } + }, + "else": { + "operation": "boost", + "score": 0.15244701504707336 + } + } }, "else": { - "operation": "boost", - "score": 0.06115853413939476 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.01897485740482807 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10200125724077225 + "score": 0.05862484127283096 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.09735995531082153 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Statement", - "CCC_Expression" + "ClassScope", + "FileScope" ], "then": { + "operation": "boost", + "score": 0.07187109440565109 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "boost", - "score": 0.12526452541351318 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.0, - "then": { - "operation": "boost", - "score": 0.14482983946800232 - }, - "else": { - "operation": "boost", - "score": -0.17115843296051025 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1735399067401886 - } - }, - "else": { - "operation": "boost", - "score": 0.29689401388168335 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234.5, - "then": { - "operation": "boost", - "score": 0.10886328667402267 - }, - "else": { - "operation": "boost", - "score": 0.3210701048374176 - } - } + "operation": "boost", + "score": 0.08712858706712723 }, "else": { "operation": "boost", - "score": 0.16047754883766174 + "score": 0.09354108572006226 } - }, - "else": { - "operation": "boost", - "score": 0.1263386458158493 } - }, - "else": { - "operation": "boost", - "score": 0.09715805947780609 } } - }, - "else": { - "operation": "boost", - "score": 0.0863531082868576 } - }, - "else": { - "operation": "boost", - "score": 0.06583324074745178 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12375067174434662 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03175518661737442 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1026780754327774 + }, + "else": { + "operation": "boost", + "score": 0.1394285261631012 + } }, "else": { - "operation": "boost", - "score": 0.11546104401350021 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15866044163703918 + }, + "else": { + "operation": "boost", + "score": 0.0930233746767044 + } + }, + "else": { + "operation": "boost", + "score": 0.04299920052289963 + } } - }, - "else": { - "operation": "boost", - "score": 0.026178546249866486 } - }, - "else": { - "operation": "boost", - "score": -0.005111871287226677 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02792811393737793 }, "else": { "operation": "boost", - "score": -0.031730104237794876 + "score": -0.028378136456012726 } } } @@ -66444,49 +67711,60 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05820007249712944 + "score": -0.7989847660064697 }, "else": { - "operation": "boost", - "score": 0.041926611214876175 + "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": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.03133220225572586 + "score": 0.03632717579603195 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.00841167476028204 + "score": 0.009939678013324738 }, "else": { "operation": "boost", - "score": -0.012455873191356659 + "score": -0.012059112079441547 } } } @@ -66501,1233 +67779,1230 @@ "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.02673732116818428 - }, - "else": { - "operation": "boost", - "score": 0.06187207251787186 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03135775029659271 + "score": 0.05750352516770363 }, "else": { - "operation": "boost", - "score": 0.029839180409908295 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.06585469096899033 + }, + "else": { + "operation": "boost", + "score": 0.010489128530025482 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.1546712964773178 + }, + "else": { + "operation": "boost", + "score": 0.11295196413993835 + } + } } }, "else": { - "operation": "boost", - "score": 0.015531264245510101 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 23.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6360.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6626.5, "then": { + "operation": "boost", + "score": 0.05584186315536499 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6546.0, "then": { - "operation": "boost", - "score": -0.11177011579275131 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09489569813013077 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08851119875907898 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.19691388309001923 - }, - "else": { - "operation": "boost", - "score": 0.12806251645088196 - } - } - } + "operation": "boost", + "score": 0.10123241692781448 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22892087697982788 - }, - "else": { - "operation": "boost", - "score": 0.12230981886386871 - } + "operation": "boost", + "score": 0.11134513467550278 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6390.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0224784966558218 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.055060096085071564 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10122062265872955 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14192451536655426 - }, - "else": { - "operation": "boost", - "score": 0.11517610400915146 - } - } - } - } + "operation": "boost", + "score": -0.11714226752519608 }, "else": { "operation": "boost", - "score": 0.05013449862599373 + "score": 0.12461809813976288 } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.04393422231078148 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0319049209356308 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.06975599378347397 }, "else": { "operation": "boost", - "score": 0.005192905198782682 + "score": -0.024118565022945404 } } + } + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.054484471678733826 + }, + "else": { + "operation": "boost", + "score": -0.010396979749202728 + } }, "else": { + "operation": "boost", + "score": -0.08599089831113815 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003159743268042803 - }, - "else": { - "operation": "boost", - "score": 0.04725039377808571 - } + "operation": "boost", + "score": 0.07924194633960724 }, "else": { "operation": "boost", - "score": -0.007129826582968235 + "score": 0.03508342429995537 } }, "else": { "operation": "boost", - "score": 0.024505211040377617 + "score": 0.01818196102976799 } }, "else": { "operation": "boost", - "score": -0.12009923160076141 + "score": 0.017372701317071915 } - } - }, - "else": { - "operation": "boost", - "score": -0.0045420341193675995 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.038320038467645645 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1136602982878685 - }, - "else": { - "operation": "boost", - "score": 0.09745630621910095 - } + "operation": "boost", + "score": 0.02188863232731819 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13160471618175507 + "score": 0.07033480703830719 }, "else": { "operation": "boost", - "score": -0.10733528435230255 + "score": 0.0457376167178154 } } }, "else": { + "operation": "boost", + "score": 0.023319916799664497 + } + } + } + } + } + } + }, + "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", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02067609876394272 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006355036050081253 + }, + "else": { + "operation": "boost", + "score": 0.06335221230983734 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120342.5, + "then": { + "operation": "boost", + "score": -0.13889269530773163 + }, + "else": { + "operation": "boost", + "score": -0.04313991591334343 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67685.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 136.5, + "threshold": 286067.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.03759416937828064 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.11789245903491974 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.022565804421901703 + "score": -0.3227871060371399 } - }, - "else": { - "operation": "boost", - "score": 0.08301983028650284 } }, "else": { "operation": "boost", - "score": 0.13637949526309967 + "score": -0.14040598273277283 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement" + "FileScope" ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.07001359760761261 + }, + "else": { + "operation": "boost", + "score": 0.12141172587871552 + } + }, + "else": { + "operation": "boost", + "score": 0.07379163056612015 + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 133.5, + "threshold": 198405.5, "then": { - "operation": "boost", - "score": 0.08133643120527267 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.3161640465259552 - }, - "else": { - "operation": "boost", - "score": 0.141580268740654 - } - }, - "else": { - "operation": "boost", - "score": -0.11943014711141586 - } + "operation": "boost", + "score": 0.13821353018283844 }, "else": { "operation": "boost", - "score": -0.19359998404979706 + "score": 0.1063528060913086 } + }, + "else": { + "operation": "boost", + "score": 0.04269137606024742 } }, "else": { "operation": "boost", - "score": -0.04064171016216278 + "score": 0.062373485416173935 } - }, - "else": { - "operation": "boost", - "score": 0.0586545392870903 } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.04423801228404045 + }, + "else": { + "operation": "boost", + "score": 0.03862074017524719 + } } }, "else": { - "operation": "boost", - "score": 0.07099582999944687 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "boost", + "score": -0.14647820591926575 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 31.5, "then": { - "operation": "boost", - "score": -0.06419778615236282 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.04340057447552681 + "score": -0.16438767313957214 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.04596114531159401 + "score": -0.06286740303039551 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.08900706470012665 + "score": 0.06951897591352463 }, "else": { - "operation": "boost", - "score": 0.047501277178525925 + "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.004843706730753183 + "score": 0.04232081398367882 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14786773920059204 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10267993807792664 + "score": 0.04482150077819824 }, "else": { "operation": "boost", - "score": 0.06978556513786316 + "score": 0.01489149872213602 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.046142395585775375 }, "else": { "operation": "boost", - "score": 0.09552378207445145 + "score": 0.010135279037058353 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.09326457232236862 + "score": 0.08713045716285706 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.06800185143947601 - }, - "else": { - "operation": "boost", - "score": -0.12498601526021957 - } + "operation": "boost", + "score": 0.05465981736779213 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2989.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, - "then": { - "operation": "boost", - "score": 0.04651367664337158 - }, - "else": { - "operation": "boost", - "score": 0.13523413240909576 - } + "operation": "boost", + "score": 0.021717360243201256 }, "else": { - "operation": "boost", - "score": -0.014500495977699757 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01323503814637661 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.04891769960522652 - }, - "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": 27896.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50186.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08968766778707504 + "score": 0.024039238691329956 }, "else": { "operation": "boost", - "score": 0.11263090372085571 + "score": 0.06157607212662697 } }, "else": { "operation": "boost", - "score": -0.15798290073871613 + "score": 0.016081025823950768 } - }, - "else": { - "operation": "boost", - "score": -0.001679331879131496 } - }, - "else": { - "operation": "boost", - "score": -0.07063250988721848 } + }, + "else": { + "operation": "boost", + "score": 0.003395016072317958 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1240.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + } + } + } + } + }, + "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, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": -0.016511015594005585 + "score": 0.10661908984184265 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1351.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08938390016555786 + "score": -0.056547582149505615 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1302.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.12009802460670471 + "score": 0.14386503398418427 }, "else": { "operation": "boost", - "score": 0.11034251004457474 + "score": 0.11082323640584946 } } }, "else": { "operation": "boost", - "score": 0.0709664598107338 + "score": -0.007449064403772354 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14112.5, + "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", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "feature": "FilterLength", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1037699282169342 + "score": 0.11322396248579025 }, "else": { "operation": "boost", - "score": -0.011711310595273972 + "score": 0.11501934379339218 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14068.0, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.10925848037004471 + "score": -0.08452804386615753 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7347.5, + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1034792810678482 + }, + "else": { + "operation": "boost", + "score": 0.13286982476711273 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7389.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { + "operation": "boost", + "score": 0.11696723848581314 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11149.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.06624683737754822 + "score": 0.1090352013707161 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0004556897620204836 + "score": 0.08936849981546402 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9990.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10651.0, - "then": { - "operation": "boost", - "score": -0.39388883113861084 - }, - "else": { - "operation": "boost", - "score": 0.10856208205223083 - } - }, - "else": { - "operation": "boost", - "score": 0.09325595945119858 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9039.0, - "then": { - "operation": "boost", - "score": -0.20846156775951385 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7702.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8368.0, - "then": { - "operation": "boost", - "score": 0.13096562027931213 - }, - "else": { - "operation": "boost", - "score": 0.11769220232963562 - } - }, - "else": { - "operation": "boost", - "score": 0.10647264122962952 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0999600887298584 - } + "operation": "boost", + "score": 0.11262725293636322 } } - }, - "else": { - "operation": "boost", - "score": 0.13128122687339783 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1244.5, - "then": { - "operation": "boost", - "score": 0.05374075472354889 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.12701095640659332 - }, - "else": { - "operation": "boost", - "score": -0.10178986936807632 - } - } + "operation": "boost", + "score": -0.10762985050678253 } + }, + "else": { + "operation": "boost", + "score": 0.08309860527515411 } } + }, + "else": { + "operation": "boost", + "score": 0.06437842547893524 } }, "else": { "operation": "boost", - "score": 0.037446245551109314 + "score": 0.031398478895425797 } }, - "else": { - "operation": "boost", - "score": -0.0010019623441621661 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.044404447078704834 - }, - "else": { - "operation": "boost", - "score": -0.09826608002185822 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14415238797664642 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.06300303339958191 - }, - "else": { - "operation": "boost", - "score": 0.01280679926276207 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04445599392056465 - }, - "else": { - "operation": "boost", - "score": 0.0024238992482423782 - } - } + "operation": "boost", + "score": 0.03644204139709473 }, "else": { "operation": "boost", - "score": -0.016774095594882965 + "score": -0.06430169939994812 } } - }, - "else": { - "operation": "boost", - "score": -0.06328022480010986 } + }, + "else": { + "operation": "boost", + "score": -0.04071420803666115 } }, "else": { - "operation": "boost", - "score": -0.06892377883195877 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 159.5, + "threshold": 119809.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1620.5, - "then": { - "operation": "boost", - "score": 0.1462554633617401 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11290258169174194 - }, - "else": { - "operation": "boost", - "score": 0.09314670413732529 - } - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_TopLevel", - "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.0902983695268631 - }, - "else": { - "operation": "boost", - "score": 0.07818032056093216 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.08632025867700577 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.08835939317941666 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04237079620361328 + }, + "else": { + "operation": "boost", + "score": 0.12586012482643127 + } }, "else": { - "operation": "boost", - "score": 0.11874199658632278 + "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": "boost", - "score": 0.12686659395694733 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.12563742697238922 + }, + "else": { + "operation": "boost", + "score": 0.05742073804140091 + } } - }, - "else": { - "operation": "boost", - "score": 0.09622924774885178 } }, "else": { "operation": "boost", - "score": 0.06591024994850159 + "score": -0.09044033288955688 } }, "else": { "operation": "boost", - "score": 0.07374078035354614 + "score": 0.12655532360076904 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.037848252803087234 + }, + "else": { + "operation": "boost", + "score": -0.0014712034026160836 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2747.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.13666671514511108 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06500128656625748 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.08992575109004974 + }, + "else": { + "operation": "boost", + "score": 0.06078856810927391 + } }, "else": { "operation": "boost", - "score": 0.042165979743003845 + "score": 0.013686539605259895 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 32.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.05283200740814209 + "score": -0.0797831192612648 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08963873237371445 + "score": 0.097732774913311 }, "else": { "operation": "boost", - "score": 0.07197794318199158 + "score": 0.13158933818340302 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08247695863246918 - }, - "else": { - "operation": "boost", - "score": 0.0037897818256169558 - } + "operation": "boost", + "score": -0.09703777730464935 } }, "else": { "operation": "boost", - "score": 0.02586890384554863 + "score": 0.02192174643278122 } }, "else": { "operation": "boost", - "score": 0.017288584262132645 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.04615321010351181 - }, - "else": { - "operation": "boost", - "score": -0.12802159786224365 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.03813667967915535 - }, - "else": { - "operation": "boost", - "score": -0.001006346894428134 + "score": -0.06692574173212051 } } } @@ -67746,1292 +69021,1222 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.056802768260240555 - }, - "else": { - "operation": "boost", - "score": 0.040906768292188644 - } + "operation": "boost", + "score": 0.04236803203821182 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03560623154044151 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.009914273396134377 + "score": 0.028340382501482964 }, "else": { "operation": "boost", - "score": -0.013005273416638374 + "score": 0.009760385379195213 } + }, + "else": { + "operation": "boost", + "score": 0.0016432598931714892 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.02575606293976307 - }, - "else": { - "operation": "boost", - "score": 0.058232180774211884 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.025511344894766808 + "score": 0.041287846863269806 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.03197707235813141 + "score": 0.06191844493150711 }, "else": { "operation": "boost", - "score": -0.46727240085601807 + "score": 0.08478087931871414 } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.03733072429895401 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.02466546930372715 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.019294798374176025 - }, - "else": { - "operation": "boost", - "score": -0.13047321140766144 - } - }, - "else": { - "operation": "boost", - "score": -0.023178964853286743 - } + "operation": "boost", + "score": 0.02741936780512333 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.042816244065761566 - }, - "else": { - "operation": "boost", - "score": 0.024931661784648895 - } + "operation": "boost", + "score": -0.9418485164642334 } + }, + "else": { + "operation": "boost", + "score": 0.0029668547213077545 } + }, + "else": { + "operation": "boost", + "score": 0.03828210011124611 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.008400307968258858 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 57.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.09052475541830063 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, "then": { "operation": "boost", - "score": 0.10485788434743881 + "score": 0.1834123134613037 }, "else": { "operation": "boost", - "score": -0.10879997909069061 + "score": 0.09925307333469391 } - }, - "else": { - "operation": "boost", - "score": -0.05488727241754532 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.03499659523367882 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.08005941659212112 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 218.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06486739963293076 + } }, "else": { + "operation": "boost", + "score": 0.12040441483259201 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 58.5, "then": { + "operation": "boost", + "score": 0.10274066030979156 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 54.5, "then": { "operation": "boost", - "score": 0.09800310432910919 + "score": 0.16630621254444122 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.13894224166870117 + }, + "else": { + "operation": "boost", + "score": -0.14544430375099182 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0846572071313858 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 573.5, + "then": { + "operation": "boost", + "score": 0.07784068584442139 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 537.0, + "then": { + "operation": "boost", + "score": 0.11956088244915009 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11991678178310394 + }, + "else": { + "operation": "boost", + "score": 0.11670421063899994 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.10471032559871674 + "score": 0.0710831955075264 } }, "else": { "operation": "boost", - "score": 0.09189285337924957 + "score": 0.09174210578203201 } } - }, - "else": { - "operation": "boost", - "score": 0.05078982561826706 } + }, + "else": { + "operation": "boost", + "score": 0.039669204503297806 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 592.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 604.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.051725372672080994 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12227227538824081 - }, - "else": { - "operation": "boost", - "score": 0.14308622479438782 - } - } + "operation": "boost", + "score": 0.0679202601313591 }, "else": { "operation": "boost", - "score": 0.0973624438047409 + "score": 0.11337003856897354 } }, "else": { "operation": "boost", - "score": 0.08175866305828094 + "score": 0.07465335726737976 } - }, - "else": { - "operation": "boost", - "score": 0.008855512365698814 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.051530126482248306 + "score": 0.017220662906765938 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1321694701910019 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 858647.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "operation": "boost", + "score": 0.09131718426942825 + }, + "else": { + "operation": "boost", + "score": -0.02053767256438732 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.10423526167869568 + }, + "else": { + "operation": "boost", + "score": 0.1123078241944313 + } + }, + "else": { + "operation": "boost", + "score": 0.04598940908908844 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.048034414649009705 + }, + "else": { + "operation": "boost", + "score": -0.05362619459629059 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03826398402452469 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.013088102452456951 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07707372307777405 - }, - "else": { - "operation": "boost", - "score": 0.03965102881193161 - } - } + "operation": "boost", + "score": 0.10792804509401321 }, "else": { "operation": "boost", - "score": -0.15941154956817627 + "score": 0.10629049688577652 } + } + }, + "else": { + "operation": "boost", + "score": 0.05987654998898506 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21461.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304083.5, + "then": { + "operation": "boost", + "score": 0.02745695970952511 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 207505.0, + "threshold": 174254.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.1116957813501358 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1053893119096756 - }, - "else": { - "operation": "boost", - "score": 0.08560678362846375 - } - } + "operation": "boost", + "score": 0.055800314992666245 }, "else": { "operation": "boost", - "score": 0.06112327426671982 + "score": 0.1201913133263588 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95022.0, - "then": { - "operation": "boost", - "score": 0.04323196038603783 - }, - "else": { - "operation": "boost", - "score": 0.11334195733070374 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.04368462413549423 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103549.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11871937662363052 - }, - "else": { - "operation": "boost", - "score": 0.013123906217515469 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03290969133377075 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10287123918533325 - }, - "else": { - "operation": "boost", - "score": 0.05946779251098633 - } - }, - "else": { - "operation": "boost", - "score": 0.0508212149143219 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04811067134141922 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.056609753519296646 - } + "operation": "boost", + "score": 0.08383271098136902 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6499.5, "then": { "operation": "boost", - "score": 0.03725816309452057 + "score": -0.20506104826927185 }, "else": { - "operation": "boost", - "score": -0.0450519435107708 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.04115046188235283 + }, + "else": { + "operation": "boost", + "score": -0.05302947759628296 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11290370672941208 + }, + "else": { + "operation": "boost", + "score": 0.02530048042535782 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24339.0, + "then": { + "operation": "boost", + "score": 0.01947798766195774 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.13426397740840912 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.01964564621448517 + "score": 0.11280640214681625 }, "else": { + "operation": "boost", + "score": 0.07972411066293716 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03669128939509392 + "score": 0.09716591238975525 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.10549898445606232 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 11398.0, "then": { "operation": "boost", - "score": -0.12326283007860184 + "score": 0.10770926624536514 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 49999.5, - "then": { - "operation": "boost", - "score": 0.09466449916362762 - }, - "else": { - "operation": "boost", - "score": 0.0550185926258564 - } + "operation": "boost", + "score": 0.10144303739070892 } - }, - "else": { - "operation": "boost", - "score": -0.14298148453235626 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.044443149119615555 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 9319.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0023161836434155703 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06228316202759743 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.0870266854763031 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.2248798906803131 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14864924550056458 - }, - "else": { - "operation": "boost", - "score": -0.12989667057991028 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06773526966571808 - } - } - }, - "else": { - "operation": "boost", - "score": 0.017606277018785477 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 10021.0, "then": { "operation": "boost", - "score": -0.04689139872789383 + "score": 0.09417130798101425 }, "else": { "operation": "boost", - "score": 0.014792470261454582 + "score": 0.10628610104322433 } + }, + "else": { + "operation": "boost", + "score": 0.06294715404510498 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09166561812162399 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 6.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": 131.5, + "threshold": 7126.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 132.5, + "threshold": 11711.5, "then": { + "operation": "boost", + "score": 0.07602909207344055 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 11245.0, "then": { - "operation": "boost", - "score": 0.08309592306613922 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09359626471996307 + }, + "else": { + "operation": "boost", + "score": 0.11461954563856125 + } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.09546788781881332 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 359.5, + "threshold": 7369.0, "then": { "operation": "boost", - "score": 0.10861942172050476 + "score": 0.11887724697589874 }, "else": { "operation": "boost", - "score": 0.12287868559360504 + "score": -0.254279226064682 } + }, + "else": { + "operation": "boost", + "score": 0.07361665368080139 } }, "else": { - "operation": "boost", - "score": 0.1265595555305481 + "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.0890808254480362 + "score": 0.09071861952543259 } } - }, - "else": { - "operation": "boost", - "score": 0.13386787474155426 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.1566094607114792 - }, - "else": { - "operation": "boost", - "score": 0.10680829733610153 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10137069225311279 - }, - "else": { - "operation": "boost", - "score": 0.16437572240829468 - } - }, - "else": { - "operation": "boost", - "score": 0.15674321353435516 - } - } + "operation": "boost", + "score": 0.09403278678655624 }, "else": { "operation": "boost", - "score": 0.07952835410833359 + "score": 0.10933281481266022 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.1145472452044487 - }, - "else": { - "operation": "boost", - "score": 0.06575410068035126 - } + "operation": "boost", + "score": 0.09149014949798584 } }, "else": { "operation": "boost", - "score": -0.0024601821787655354 + "score": 0.07479062676429749 } - }, - "else": { - "operation": "boost", - "score": -0.07528627663850784 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55833.5, - "then": { - "operation": "boost", - "score": -0.483852744102478 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.11773669719696045 - }, - "else": { - "operation": "boost", - "score": -0.04313579946756363 - } - } + "operation": "boost", + "score": 0.06895851343870163 } }, "else": { "operation": "boost", - "score": 0.022367795929312706 + "score": 0.013714050874114037 } } + }, + "else": { + "operation": "boost", + "score": 0.05539710819721222 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19035.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26.5, + "threshold": 19203.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06116608530282974 + "score": -0.10365977883338928 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.052550818771123886 - }, - "else": { - "operation": "boost", - "score": 0.12030106782913208 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.0, - "then": { - "operation": "boost", - "score": 0.08001000434160233 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "boost", - "score": 0.11237601190805435 - }, - "else": { - "operation": "boost", - "score": -0.1075662150979042 - } - } - } + "operation": "boost", + "score": 0.11038236320018768 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.08008158951997757 - }, - "else": { - "operation": "boost", - "score": 0.0159551240503788 - } + "operation": "boost", + "score": 0.1236315593123436 } } - }, - "else": { - "operation": "boost", - "score": 0.062067072838544846 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07210107892751694 - }, - "else": { - "operation": "boost", - "score": 0.012297578155994415 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.02246953919529915 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 24093.0, "then": { - "operation": "boost", - "score": -0.0028398369904607534 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03177143260836601 - }, - "else": { - "operation": "boost", - "score": -0.0012432277435436845 - } + "operation": "boost", + "score": 0.10778716206550598 }, "else": { "operation": "boost", - "score": 0.04814558103680611 + "score": 0.06878671795129776 } + }, + "else": { + "operation": "boost", + "score": 0.05149953067302704 } } + }, + "else": { + "operation": "boost", + "score": 0.12458930909633636 } }, "else": { - "operation": "boost", - "score": -0.0008542642462998629 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09335660934448242 + }, + "else": { + "operation": "boost", + "score": 0.056389741599559784 + } } } } + }, + "else": { + "operation": "boost", + "score": 0.027042511850595474 } }, "else": { - "operation": "boost", - "score": -0.010050760582089424 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.013615616597235203 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.1268194317817688 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04713083803653717 - }, - "else": { - "operation": "boost", - "score": 0.08667800575494766 - } - } + "operation": "boost", + "score": 0.05569792911410332 }, "else": { "operation": "boost", - "score": -0.15204669535160065 + "score": 0.017338335514068604 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08895114064216614 }, "else": { "operation": "boost", - "score": -0.05655302479863167 + "score": 0.01621297001838684 } }, "else": { - "operation": "boost", - "score": -0.0073936861008405685 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.09649338573217392 - }, - "else": { - "operation": "boost", - "score": -0.01612563244998455 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Unknown", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.12262500077486038 - }, - "else": { - "operation": "boost", - "score": 0.12959079444408417 - } - }, - "else": { - "operation": "boost", - "score": 0.11290906369686127 - } - } - }, - "else": { + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.033190369606018066 + } + }, + "else": { + "operation": "boost", + "score": -0.03810261934995651 + } + }, + "else": { + "operation": "boost", + "score": -0.04482576996088028 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199646.0, + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.011373571120202541 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.026866963133215904 + "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.09624425321817398 + "score": 0.038089025765657425 } }, "else": { "operation": "boost", - "score": -0.145759716629982 + "score": 0.03234751150012016 } + }, + "else": { + "operation": "boost", + "score": -0.004043603781610727 } } - }, - "else": { - "operation": "boost", - "score": -0.03931408002972603 } } } @@ -69050,1248 +70255,1295 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06310403347015381 + "score": -0.06301511824131012 }, "else": { "operation": "boost", - "score": 0.046875204890966415 + "score": 0.09258484840393066 } }, "else": { "operation": "boost", - "score": 0.02913634479045868 + "score": 0.040615327656269073 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.028157323598861694 + "score": 0.03315022587776184 }, "else": { - "operation": "boost", - "score": 0.0027404145803302526 + "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": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.021396789699792862 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { + "operation": "boost", + "score": 0.05417695268988609 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.07054044306278229 + "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": "FileProximityDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.0, - "then": { - "operation": "boost", - "score": -0.19575485587120056 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": 0.1508217304944992 - }, - "else": { - "operation": "boost", - "score": 0.14202971756458282 - } - }, - "else": { - "operation": "boost", - "score": 0.23489102721214294 - } - }, - "else": { - "operation": "boost", - "score": 0.15018241107463837 - } - } + "operation": "boost", + "score": 0.1344091147184372 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "boost", - "score": 0.1179097518324852 - }, - "else": { - "operation": "boost", - "score": 0.11624813079833984 - } + "operation": "boost", + "score": 0.06983144581317902 } }, "else": { "operation": "boost", - "score": -0.025587545707821846 + "score": 0.08375070244073868 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.12287309020757675 - }, - "else": { - "operation": "boost", - "score": 0.12794536352157593 - } - }, - "else": { - "operation": "boost", - "score": 0.04690149053931236 - } + "operation": "boost", + "score": -0.04841690510511398 } - }, - "else": { - "operation": "boost", - "score": 0.05565773695707321 } + }, + "else": { + "operation": "boost", + "score": -0.003083112183958292 } }, "else": { "operation": "boost", - "score": 0.025110706686973572 + "score": 0.004946296568959951 } }, "else": { + "operation": "boost", + "score": 0.04606683924794197 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": -0.07331707328557968 + }, + "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" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2412.0, + "operation": "boost", + "score": 0.0314466767013073 + }, + "else": { + "operation": "boost", + "score": -0.08382689952850342 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03910507261753082 + "score": 0.056890860199928284 }, "else": { "operation": "boost", - "score": -0.019721517339348793 + "score": 0.0014325595693662763 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2387.5, - "then": { - "operation": "boost", - "score": 0.11799401044845581 - }, - "else": { - "operation": "boost", - "score": 0.0445474348962307 - } + "operation": "boost", + "score": 0.015551174990832806 } }, "else": { "operation": "boost", - "score": -5.9869635151699185e-05 + "score": 0.017272360622882843 + } + } + } + } + }, + "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": "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 + }, + "else": { + "operation": "boost", + "score": -0.10716474801301956 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 268.5, + "threshold": 357.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1358.0, - "then": { - "operation": "boost", - "score": 0.13777920603752136 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11441438645124435 - }, - "else": { - "operation": "boost", - "score": -0.19670595228672028 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09068318456411362 - }, - "else": { - "operation": "boost", - "score": 0.07028021663427353 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47.0, + "threshold": 364.5, "then": { "operation": "boost", - "score": 0.12652570009231567 + "score": 0.08461374789476395 }, "else": { - "operation": "boost", - "score": 0.09484085440635681 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12940481305122375 + }, + "else": { + "operation": "boost", + "score": -0.10439988970756531 + } } }, "else": { "operation": "boost", - "score": 0.13383637368679047 + "score": 0.054445549845695496 } }, "else": { - "operation": "boost", - "score": 0.0725943073630333 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07330428063869476 + }, + "else": { + "operation": "boost", + "score": 0.043594617396593094 + } } }, "else": { - "operation": "boost", - "score": 0.060194600373506546 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 5759.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 5774.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15956.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75.0, + "threshold": 23281.0, "then": { "operation": "boost", - "score": 0.12093229591846466 + "score": 0.048473961651325226 }, "else": { - "operation": "boost", - "score": 0.08954367786645889 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16033.5, + "then": { + "operation": "boost", + "score": 0.09910733252763748 + }, + "else": { + "operation": "boost", + "score": 0.11969279497861862 + } + } } }, "else": { "operation": "boost", - "score": 0.0772281140089035 + "score": 0.07464227080345154 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.0, + "operation": "boost", + "score": 0.050327517092227936 + }, + "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.1112523302435875 + "score": 0.04365735501050949 }, "else": { - "operation": "boost", - "score": -0.043197911232709885 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007095750421285629 + }, + "else": { + "operation": "boost", + "score": -0.332120418548584 + } } - }, - "else": { - "operation": "boost", - "score": 0.0659995749592781 } } }, "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 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0828913152217865 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.026111165061593056 + "score": -0.016151169314980507 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12793584167957306 + "score": -0.042414698749780655 }, "else": { - "operation": "boost", - "score": 0.15526451170444489 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.03800854831933975 + }, + "else": { + "operation": "boost", + "score": 0.10227359086275101 + } + }, + "else": { + "operation": "boost", + "score": 0.0030792062170803547 + } + }, + "else": { + "operation": "boost", + "score": 0.07210898399353027 + } } } + }, + "else": { + "operation": "boost", + "score": 0.02649054490029812 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "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", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.04387554153800011 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.5, + "threshold": 33.5, "then": { - "operation": "boost", - "score": 0.10284868627786636 + "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.0927773043513298 + "score": 0.16269803047180176 } + }, + "else": { + "operation": "boost", + "score": 0.07189474254846573 } + }, + "else": { + "operation": "boost", + "score": 0.09810017794370651 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 29.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": 0.10321028530597687 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", + "Keyword", "Destructor", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type" + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, - "then": { - "operation": "boost", - "score": 0.019343333318829536 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.33450794219970703 - }, - "else": { - "operation": "boost", - "score": 0.146697536110878 - } - }, - "else": { - "operation": "boost", - "score": 0.06488075852394104 - } - } + "operation": "boost", + "score": 0.1165139228105545 }, "else": { "operation": "boost", - "score": -0.008176380768418312 + "score": -0.2999022603034973 } }, "else": { "operation": "boost", - "score": 0.03426132723689079 + "score": 0.13975657522678375 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318.5, + } + } + }, + "else": { + "operation": "boost", + "score": 0.09212552756071091 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.11122792214155197 + "score": 0.15618360042572021 }, "else": { "operation": "boost", - "score": 0.07443251460790634 + "score": -0.10223569720983505 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "operation": "boost", + "score": 0.0803140178322792 + } + }, + "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.06110285595059395 + "score": 0.15306301414966583 }, "else": { "operation": "boost", - "score": 0.038014017045497894 + "score": -0.12243428081274033 } } } + }, + "else": { + "operation": "boost", + "score": 0.08153471350669861 } }, "else": { "operation": "boost", - "score": -0.00658655259758234 + "score": 0.07116418331861496 } - }, - "else": { - "operation": "boost", - "score": 0.0006353270728141069 } + }, + "else": { + "operation": "boost", + "score": 0.03471221402287483 } + }, + "else": { + "operation": "boost", + "score": -0.007465111091732979 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.021651390939950943 - }, - "else": { - "operation": "boost", - "score": 0.046830423176288605 - } - }, - "else": { - "operation": "boost", - "score": -0.00682148989289999 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.03143325448036194 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.03432008996605873 + "score": 0.12387661635875702 }, "else": { - "operation": "boost", - "score": -0.13824151456356049 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.019277848303318024 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 454.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 594.5, + "then": { + "operation": "boost", + "score": 0.08188609778881073 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 586.5, + "then": { + "operation": "boost", + "score": 0.1102779358625412 + }, + "else": { + "operation": "boost", + "score": 0.10703763365745544 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0824919044971466 + } + } } }, "else": { "operation": "boost", - "score": 0.0055221510119736195 + "score": 0.055298812687397 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.013381925411522388 }, "else": { "operation": "boost", - "score": -0.17795901000499725 + "score": 0.03655308857560158 } }, "else": { - "operation": "boost", - "score": 0.035676974803209305 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12713129818439484 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 35.5, + "feature": "NumReferences", + "threshold": 7467.0, "then": { + "operation": "boost", + "score": 0.05295789986848831 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable", - "Namespace" + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope" + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": 0.05903928354382515 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.020482981577515602 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1610.0, "then": { - "operation": "boost", - "score": 0.06069504842162132 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1806.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.055079419165849686 - }, - "else": { - "operation": "boost", - "score": 0.09245643019676208 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0026689122896641493 - }, - "else": { - "operation": "boost", - "score": 0.05622295290231705 - } - } + "operation": "boost", + "score": 0.10216522216796875 }, "else": { "operation": "boost", - "score": 0.04364423826336861 + "score": 0.11470681428909302 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.07483629137277603 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.10491079837083817 + "score": 0.24628785252571106 }, "else": { "operation": "boost", - "score": 0.11028074473142624 + "score": 0.12699681520462036 } }, "else": { "operation": "boost", - "score": -0.5643343925476074 + "score": 0.08809152990579605 } + }, + "else": { + "operation": "boost", + "score": 0.029009219259023666 } - }, - "else": { - "operation": "boost", - "score": 0.06411697715520859 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.027794403955340385 - }, - "else": { - "operation": "boost", - "score": 0.04120341315865517 - } + "operation": "boost", + "score": 0.03799925744533539 } } }, "else": { "operation": "boost", - "score": -0.01616530679166317 + "score": 0.028210405260324478 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11639934033155441 - }, - "else": { - "operation": "boost", - "score": 0.034274231642484665 - } - }, - "else": { - "operation": "boost", - "score": 0.001467401976697147 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.018741978332400322 - }, - "else": { "operation": "boost", - "score": 0.017140846699476242 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07633354514837265 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.04231615364551544 - }, - "else": { - "operation": "boost", - "score": -0.11554814130067825 - } - }, - "else": { - "operation": "boost", - "score": -0.19283021986484528 - } - } + "score": 0.08714856207370758 }, "else": { "operation": "boost", - "score": -0.016283834353089333 + "score": 0.014144793152809143 } } } - }, - "else": { - "operation": "boost", - "score": -0.0885406881570816 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04617037624120712 }, "else": { "operation": "boost", - "score": -0.04335770756006241 + "score": 0.01186628919094801 } }, "else": { - "operation": "boost", - "score": 0.019829444587230682 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "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.020526323467493057 + "score": 0.0040911114774644375 }, "else": { - "operation": "boost", - "score": -0.024226097390055656 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08315380662679672 + "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": "NumReferences", - "threshold": 133.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13550600409507751 - }, - "else": { - "operation": "boost", - "score": 0.12674352526664734 - } + "operation": "boost", + "score": 0.10232257843017578 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.025341758504509926 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.07849991321563721 + "score": 0.11529511958360672 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 342.5, - "then": { - "operation": "boost", - "score": 0.1135990247130394 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 319.5, - "then": { - "operation": "boost", - "score": 0.11984550207853317 - }, - "else": { - "operation": "boost", - "score": 0.12533235549926758 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11249960958957672 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 375.5, - "then": { - "operation": "boost", - "score": 0.299083411693573 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232.5, - "then": { - "operation": "boost", - "score": 0.1138499453663826 - }, - "else": { - "operation": "boost", - "score": 0.24388745427131653 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11303258687257767 - } - } + "operation": "boost", + "score": 0.1315823644399643 } + }, + "else": { + "operation": "boost", + "score": 0.12904059886932373 } } }, "else": { + "operation": "boost", + "score": 0.1382446438074112 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005483776330947876 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0480717271566391 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07995694875717163 + }, + "else": { + "operation": "boost", + "score": 0.07772191613912582 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10631828010082245 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 6.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.15112356841564178 - }, - "else": { - "operation": "boost", - "score": 0.1446804702281952 - } + "operation": "boost", + "score": 0.10314429551362991 }, "else": { "operation": "boost", - "score": 0.1062038391828537 + "score": 0.16038107872009277 } }, "else": { "operation": "boost", - "score": 0.10799772292375565 + "score": 0.20342470705509186 } - }, - "else": { - "operation": "boost", - "score": 0.09331309050321579 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08383830636739731 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "boost", - "score": 0.1094832792878151 - }, - "else": { - "operation": "boost", - "score": 0.12015804648399353 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0865393579006195 - } + "operation": "boost", + "score": 0.0625975951552391 } + }, + "else": { + "operation": "boost", + "score": 0.047979604452848434 } } - }, - "else": { + } + } + }, + "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": [ - "Namespace" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { "operation": "boost", - "score": 0.08301916718482971 + "score": 0.022116094827651978 }, "else": { "operation": "boost", - "score": 0.04442707076668739 + "score": -0.30092155933380127 } + }, + "else": { + "operation": "boost", + "score": -0.043867286294698715 } }, "else": { "operation": "boost", - "score": 0.049805499613285065 + "score": -0.02618253417313099 } - }, - "else": { - "operation": "boost", - "score": 0.0337236151099205 } - }, - "else": { - "operation": "boost", - "score": -0.0024223264772444963 } } } @@ -70306,1344 +71558,1256 @@ ], "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11512523144483566 - }, - "else": { - "operation": "boost", - "score": 0.14838910102844238 - } - }, - "else": { - "operation": "boost", - "score": 0.08842017501592636 - } - }, - "else": { - "operation": "boost", - "score": 0.0486149899661541 - } + "operation": "boost", + "score": 0.03902595490217209 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.464251309633255 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05434335768222809 - }, - "else": { - "operation": "boost", - "score": 0.037888020277023315 - } - } + "operation": "boost", + "score": -0.2514071762561798 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.026296306401491165 + "score": 0.025346772745251656 }, "else": { "operation": "boost", - "score": 0.005965417716652155 + "score": 0.0066826920956373215 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.006504708435386419 - }, - "else": { - "operation": "boost", - "score": -0.022471535950899124 - } + "operation": "boost", + "score": -0.005689495243132114 } } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.022709328681230545 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "boost", - "score": 0.0591956190764904 + "score": 0.029623497277498245 }, "else": { "operation": "boost", - "score": -0.02927262894809246 + "score": -0.004180398769676685 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190379.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.09215611219406128 + "score": 0.03979995846748352 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 36.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06660840660333633 - }, - "else": { - "operation": "boost", - "score": 0.0033109085634350777 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33.5, + "threshold": 88.0, "then": { - "operation": "boost", - "score": 0.1045447587966919 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134.5, + "then": { + "operation": "boost", + "score": 0.060497842729091644 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.0, + "then": { + "operation": "boost", + "score": 0.12054001539945602 + }, + "else": { + "operation": "boost", + "score": -0.0016672967467457056 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1106829047203064 + } }, "else": { "operation": "boost", - "score": 0.08910346776247025 + "score": -0.004317325074225664 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.030922934412956238 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.009000002406537533 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.0926009938120842 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.11273422837257385 + "score": 0.11764450371265411 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11475702375173569 - }, - "else": { - "operation": "boost", - "score": 0.13732244074344635 - } + "operation": "boost", + "score": 0.1154981255531311 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1435489058494568 }, "else": { "operation": "boost", - "score": -0.18249629437923431 + "score": -0.06838732212781906 } + }, + "else": { + "operation": "boost", + "score": 0.11136108636856079 } - }, - "else": { - "operation": "boost", - "score": 0.05732386186718941 } }, "else": { "operation": "boost", - "score": 0.0853521004319191 + "score": -0.07146089524030685 } } + }, + "else": { + "operation": "boost", + "score": 0.06810932606458664 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86511.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.055317383259534836 + "score": 0.018875770270824432 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08059763163328171 + "score": 0.06005130708217621 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "boost", - "score": 0.03711942955851555 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.15087352693080902 - }, - "else": { - "operation": "boost", - "score": 0.18033865094184875 - } - }, - "else": { - "operation": "boost", - "score": -0.19045047461986542 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04259829223155975 - } + "operation": "boost", + "score": 0.03510567545890808 } } - }, - "else": { - "operation": "boost", - "score": -0.18553195893764496 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.0400552935898304 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.03883690759539604 - }, - "else": { - "operation": "boost", - "score": -0.009291168302297592 - } - } - }, - "else": { - "operation": "boost", - "score": 0.012883535586297512 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 41.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.08018345385789871 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02562665566802025 - }, - "else": { - "operation": "boost", - "score": 0.03620881959795952 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2412.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14379.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06736327707767487 - }, - "else": { - "operation": "boost", - "score": 0.015544220805168152 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.008202099241316319 - }, - "else": { - "operation": "boost", - "score": -0.35213613510131836 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2387.5, - "then": { - "operation": "boost", - "score": 0.11520438641309738 - }, - "else": { - "operation": "boost", - "score": 0.03612707182765007 - } - } - }, - "else": { - "operation": "boost", - "score": -0.004040124360471964 - } - } - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 116.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.07464753836393356 + "score": 0.08118460327386856 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 242.0, "then": { "operation": "boost", - "score": 0.10212644934654236 + "score": 0.08644383400678635 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.12721717357635498 - }, - "else": { - "operation": "boost", - "score": -0.17871151864528656 - } + "operation": "boost", + "score": 0.12180452793836594 } } }, "else": { "operation": "boost", - "score": 0.05562862008810043 + "score": 0.09244706481695175 } }, "else": { "operation": "boost", - "score": 0.015212050639092922 + "score": 0.05823812633752823 } }, "else": { - "operation": "boost", - "score": 0.03391348570585251 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, + "then": { + "operation": "boost", + "score": 0.04812386631965637 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.12485138326883316 + }, + "else": { + "operation": "boost", + "score": 0.11352526396512985 + } + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236.5, + "feature": "FilterLength", + "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag" + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.0, "then": { - "operation": "if_greater", + "operation": "boost", + "score": 0.10932236164808273 + }, + "else": { + "operation": "boost", + "score": 0.148658886551857 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 23.5, + "then": { + "operation": "if_greater", "feature": "NumReferences", - "threshold": 1279.0, + "threshold": 69.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1301.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.15401579439640045 - }, - "else": { - "operation": "boost", - "score": 0.11542214453220367 - } - }, - "else": { - "operation": "boost", - "score": 0.058235496282577515 - } - }, - "else": { - "operation": "boost", - "score": 0.1117788776755333 - } + "operation": "boost", + "score": -0.16173399984836578 }, "else": { "operation": "boost", - "score": 0.0976153016090393 + "score": 0.1439269632101059 } }, "else": { "operation": "boost", - "score": -0.10579203069210052 + "score": 0.1048746258020401 } - }, - "else": { - "operation": "boost", - "score": 0.07556809484958649 } }, "else": { "operation": "boost", - "score": 0.12339743226766586 + "score": 0.09005807340145111 } }, + "else": { + "operation": "boost", + "score": 0.0470280647277832 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": 0.08615800738334656 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 50.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.16912654042243958 + }, + "else": { + "operation": "boost", + "score": 0.09634869545698166 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.059891119599342346 + "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.0524292066693306 + "score": 0.06626735627651215 } }, "else": { "operation": "boost", - "score": 0.03366796672344208 + "score": 0.08484512567520142 } + }, + "else": { + "operation": "boost", + "score": 0.030418654903769493 } } - }, - "else": { - "operation": "boost", - "score": -0.0009723270195536315 } }, - "else": { - "operation": "boost", - "score": 0.006916471291333437 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.06323657184839249 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 592.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 604.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.056383512914180756 - }, - "else": { - "operation": "boost", - "score": 0.026726949959993362 - } + "operation": "boost", + "score": 0.06280160695314407 }, "else": { "operation": "boost", - "score": -0.019044457003474236 + "score": 0.11140549182891846 } }, "else": { "operation": "boost", - "score": -0.048475828021764755 + "score": 0.06883924454450607 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.00357452011667192 + }, + "else": { + "operation": "boost", + "score": 0.07027552276849747 + } + }, + "else": { + "operation": "boost", + "score": 0.04445578530430794 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.009651991538703442 - }, - "else": { - "operation": "boost", - "score": -0.046045221388339996 - } + "operation": "boost", + "score": 0.13393129408359528 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1057298332452774 - }, - "else": { - "operation": "boost", - "score": 0.08829688280820847 - } - }, - "else": { - "operation": "boost", - "score": 0.05914498493075371 - } + "operation": "boost", + "score": 0.08604293316602707 }, "else": { "operation": "boost", - "score": 0.017145853489637375 + "score": -0.02030392922461033 } } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.01026823464781046 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.10387194156646729 + }, + "else": { + "operation": "boost", + "score": 0.10988640785217285 + } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91274.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233715.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.016608918085694313 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219439.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.042159341275691986 - }, - "else": { - "operation": "boost", - "score": 0.013635260052978992 - } - }, - "else": { - "operation": "boost", - "score": 0.09175122529268265 - } - }, - "else": { - "operation": "boost", - "score": -0.06425265222787857 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], "then": { "operation": "boost", - "score": 0.04838975891470909 + "score": 0.10711853206157684 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09335876256227493 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.293945848941803 - }, - "else": { - "operation": "boost", - "score": -0.038248591125011444 - } - } + "operation": "boost", + "score": 0.09801509976387024 } }, "else": { "operation": "boost", - "score": 0.013075386174023151 + "score": 0.0647038072347641 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "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.013666853308677673 + "score": -0.08246210217475891 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.0290078055113554 + "score": 0.04222072660923004 }, "else": { "operation": "boost", - "score": -0.12087789177894592 + "score": -0.04861535131931305 } } + }, + "else": { + "operation": "boost", + "score": -0.12793193757534027 + } + }, + "else": { + "operation": "boost", + "score": 0.047497935593128204 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10522422939538956 + }, + "else": { + "operation": "boost", + "score": 0.129996657371521 } + }, + "else": { + "operation": "boost", + "score": 0.09871810674667358 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "GlobalScope" ], - "then": { - "operation": "boost", - "score": 0.004533261992037296 - }, - "else": { - "operation": "boost", - "score": -0.01828090287744999 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_Type" + "CCC_Namespace", + "CCC_UnionTag" ], "then": { "operation": "boost", - "score": 0.10649414360523224 + "score": 0.04582575336098671 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Statement", + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09629352390766144 - }, - "else": { - "operation": "boost", - "score": 0.05540842190384865 - } + "operation": "boost", + "score": 0.02806418016552925 + }, + "else": { + "operation": "boost", + "score": -0.01066665817052126 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6672.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.138566792011261 }, "else": { "operation": "boost", - "score": 0.04358484223484993 + "score": 0.10710415244102478 } + }, + "else": { + "operation": "boost", + "score": 0.029269210994243622 } + } + } + }, + "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.019669732078909874 + "score": 0.0980093851685524 } }, "else": { "operation": "boost", - "score": -0.08172363042831421 + "score": 0.005393452476710081 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.11959651112556458 + "score": 0.04951826483011246 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.023063169792294502 + "score": 0.09980198740959167 }, "else": { + "operation": "boost", + "score": 0.05933540314435959 + } + }, + "else": { + "operation": "boost", + "score": 0.0045302086509764194 + } + }, + "else": { + "operation": "boost", + "score": -0.08320450037717819 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04965496063232422 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Variable" ], "then": { - "operation": "boost", - "score": 0.12710189819335938 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0451757088303566 + }, + "else": { + "operation": "boost", + "score": 0.10059826076030731 + } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "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": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.09302456676959991 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09193577617406845 - }, - "else": { - "operation": "boost", - "score": 0.08066674321889877 - } - } + "operation": "boost", + "score": 0.06110746040940285 }, "else": { "operation": "boost", - "score": 0.09650328010320663 + "score": -0.013636451214551926 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36980.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 278454.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.020108535885810852 + "score": -0.09607906639575958 }, "else": { "operation": "boost", - "score": 0.08301784098148346 + "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_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05561159923672676 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.11891677975654602 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10085144639015198 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11452649533748627 + }, + "else": { + "operation": "boost", + "score": 0.13101987540721893 + } + }, + "else": { + "operation": "boost", + "score": 0.12592290341854095 + } + } + } }, "else": { "operation": "boost", - "score": -0.049483902752399445 + "score": 0.004908725619316101 } }, "else": { "operation": "boost", - "score": -0.031614966690540314 + "score": -0.06705496460199356 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1313479095697403 }, "else": { - "operation": "boost", - "score": 0.020652884617447853 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04870140925049782 + }, + "else": { + "operation": "boost", + "score": 0.020887691527605057 + } } } - }, - "else": { - "operation": "boost", - "score": 0.01815136894583702 } + }, + "else": { + "operation": "boost", + "score": -0.027206474915146828 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 8.5, "then": { "operation": "boost", - "score": -0.01835138350725174 + "score": 0.06373438239097595 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 93.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44.5, + "threshold": 102.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.023633569478988647 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 139.5, "then": { - "operation": "boost", - "score": 0.06287474930286407 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.018648948520421982 + }, + "else": { + "operation": "boost", + "score": 0.11067543923854828 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 128.0, "then": { "operation": "boost", - "score": 0.09324907511472702 + "score": 0.12324868142604828 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.00835612416267395 - }, - "else": { - "operation": "boost", - "score": 0.1229107454419136 - } - }, - "else": { - "operation": "boost", - "score": 0.13427729904651642 - } - }, - "else": { - "operation": "boost", - "score": 0.10887233167886734 - } - }, - "else": { - "operation": "boost", - "score": 0.09217233955860138 - } + "operation": "boost", + "score": 0.017710542306303978 } } - }, - "else": { - "operation": "boost", - "score": 0.059549327939748764 } }, "else": { "operation": "boost", - "score": 0.04138729348778725 + "score": 0.1214124858379364 } }, "else": { "operation": "boost", - "score": 0.0262193251401186 + "score": 0.07866226136684418 } }, "else": { "operation": "boost", - "score": 0.0019441181793808937 + "score": 0.09102446585893631 } } }, "else": { - "operation": "boost", - "score": -0.061504919081926346 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.005505191162228584 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.06462010741233826 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6077.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6134.0, + "then": { + "operation": "boost", + "score": 0.05191534757614136 + }, + "else": { + "operation": "boost", + "score": 0.1208549439907074 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.045269742608070374 + }, + "else": { + "operation": "boost", + "score": 0.010789885185658932 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01715143583714962 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.028395865112543106 } } } @@ -71661,1263 +72825,1345 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.039568860083818436 + "score": 0.03814397379755974 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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" + ], "then": { "operation": "boost", - "score": 0.032465025782585144 + "score": 0.008561967872083187 }, "else": { "operation": "boost", - "score": 0.007506563328206539 + "score": -0.00852471124380827 } - }, - "else": { - "operation": "boost", - "score": -0.007809768430888653 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 56.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.048209864646196365 + "score": 0.07515005767345428 }, "else": { "operation": "boost", - "score": 0.10413454473018646 + "score": 0.09903321415185928 } }, "else": { - "operation": "if_member", + "operation": "boost", + "score": 0.032458145171403885 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": -0.0025013049598783255 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09221307933330536 + }, + "else": { + "operation": "boost", + "score": 0.04312559589743614 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31879.0, + "then": { + "operation": "boost", + "score": -0.027748089283704758 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30750.5, + "then": { + "operation": "boost", + "score": 0.08032214641571045 + }, + "else": { + "operation": "boost", + "score": 0.03372114151716232 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02882315218448639 + }, + "else": { + "operation": "boost", + "score": 0.0512324720621109 + } + }, + "else": { + "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Namespace", - "Unknown", "Keyword", - "Macro", + "Variable", + "Destructor", + "Unknown", "Type", - "Function" + "Namespace" ], + "then": { + "operation": "boost", + "score": 0.03300582617521286 + }, + "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", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_Other" + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.028087319806218147 + "score": 0.029568171128630638 }, "else": { "operation": "boost", - "score": -0.008083952590823174 + "score": -0.07813636213541031 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "FunctionScope" + "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13550066947937012 + "score": 0.05531010776758194 }, "else": { "operation": "boost", - "score": 0.1403903365135193 + "score": 0.02153218723833561 } }, "else": { "operation": "boost", - "score": 0.034449636936187744 + "score": 0.013970781117677689 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.026331769302487373 - }, - "else": { - "operation": "boost", - "score": -0.13741400837898254 - } - }, - "else": { - "operation": "boost", - "score": 0.0037801952566951513 - } + "operation": "boost", + "score": 0.009055497124791145 } } - } - }, - "else": { - "operation": "boost", - "score": 0.030012045055627823 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.06680251657962799 - }, - "else": { - "operation": "boost", - "score": 0.015827499330043793 - } + "operation": "boost", + "score": 0.04960792511701584 }, "else": { "operation": "boost", - "score": -0.014032581821084023 + "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_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { + "operation": "boost", + "score": 0.08889190107584 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.031966980546712875 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1178.0, + "operation": "boost", + "score": 0.039654359221458435 + }, + "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" + ], "then": { + "operation": "boost", + "score": 0.03436581417918205 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.10693804919719696 + "score": 0.0729503482580185 }, "else": { "operation": "boost", - "score": 0.11167654395103455 + "score": 0.11717559397220612 } }, + "else": { + "operation": "boost", + "score": -0.0027285171672701836 + } + }, + "else": { + "operation": "boost", + "score": -0.23072127997875214 + } + } + }, + "else": { + "operation": "boost", + "score": -0.15295575559139252 + } + }, + "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.11084402352571487 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08653702586889267 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1332.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": -0.2905237674713135 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": -0.20277436077594757 + "score": 0.11628159880638123 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.12488652765750885 + "score": 0.1083160787820816 }, "else": { "operation": "boost", - "score": -0.1154029369354248 + "score": 0.103073351085186 } } - }, - "else": { - "operation": "boost", - "score": 0.11359965801239014 } } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145881.0, + "then": { + "operation": "boost", + "score": -0.22960692644119263 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1367.0, + "threshold": 105803.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.04573431611061096 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99149.5, "then": { - "operation": "boost", - "score": 0.11146322637796402 + "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 + } }, "else": { - "operation": "boost", - "score": 0.0880432203412056 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08544263243675232 + }, + "else": { + "operation": "boost", + "score": 0.06302326172590256 + } } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.13544166088104248 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11273659765720367 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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_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_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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": "boost", - "score": 0.05809614434838295 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.10850002616643906 + }, + "else": { + "operation": "boost", + "score": 0.028585389256477356 + } }, "else": { - "operation": "boost", - "score": 0.13371996581554413 + "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_greater", - "feature": "NumReferences", - "threshold": 290.5, + "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": "NumReferences", - "threshold": 291.5, + "threshold": 40920.5, "then": { "operation": "boost", - "score": 0.11496623605489731 + "score": 0.0994676724076271 }, "else": { "operation": "boost", - "score": 0.12760144472122192 + "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": 6.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 5651.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21153.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { - "operation": "boost", - "score": 0.17337602376937866 + "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.02410080097615719 + "score": -0.006938971113413572 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 5914.0, "then": { + "operation": "boost", + "score": 0.007152167614549398 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97.0, + "threshold": 5742.5, "then": { "operation": "boost", - "score": -0.022831223905086517 + "score": 0.11567310243844986 }, "else": { "operation": "boost", - "score": 0.13842056691646576 + "score": -1.8568289279937744 } - }, - "else": { - "operation": "boost", - "score": 0.1472833752632141 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.5, + "threshold": 259.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 260.5, "then": { - "operation": "boost", - "score": 0.1671280562877655 + "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.14429830014705658 + "score": 0.12282276153564453 } }, "else": { "operation": "boost", - "score": 0.13276077806949615 + "score": -0.07427753508090973 } }, "else": { - "operation": "boost", - "score": 0.10436408966779709 + "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.09420394152402878 } }, "else": { "operation": "boost", - "score": 0.10262319445610046 + "score": -0.0011171776568517089 } + }, + "else": { + "operation": "boost", + "score": -0.029191656038165092 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0009263718966394663 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09380392730236053 + "score": 0.023664014413952827 }, "else": { "operation": "boost", - "score": 0.06714484095573425 + "score": 0.01891287788748741 } } } - }, - "else": { - "operation": "boost", - "score": 0.03716251626610756 } - }, - "else": { - "operation": "boost", - "score": 0.033512599766254425 - } - }, - "else": { - "operation": "boost", - "score": 0.019304785877466202 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "boost", - "score": 0.0726667046546936 - }, - "else": { - "operation": "boost", - "score": 0.05639331787824631 } - }, - "else": { - "operation": "boost", - "score": 0.01212376169860363 } } } }, "else": { "operation": "boost", - "score": 0.004943054169416428 + "score": -0.008731350302696228 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + }, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09140439331531525 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "boost", - "score": 0.10582835972309113 + "score": -0.11373437196016312 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.06717921793460846 + "score": 0.06521057337522507 }, "else": { "operation": "boost", - "score": 0.03956575691699982 + "score": 0.10409177839756012 } } + }, + "else": { + "operation": "boost", + "score": 0.04217858612537384 } }, "else": { "operation": "boost", - "score": 0.020855668932199478 + "score": 0.013541446067392826 } }, "else": { - "operation": "boost", - "score": -0.07540279626846313 - } - }, - "else": { - "operation": "boost", - "score": 0.01717357151210308 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.004965306259691715 - }, - "else": { - "operation": "boost", - "score": 0.05403856188058853 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "boost", - "score": 0.07607337832450867 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 219896.5, "then": { + "operation": "boost", + "score": 0.12211702018976212 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.07909388095140457 + "score": 0.09309288114309311 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 176731.0, "then": { + "operation": "boost", + "score": -0.14982178807258606 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47.5, + "threshold": 31541.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 357.5, + "threshold": 32026.0, "then": { - "operation": "boost", - "score": 0.1277509480714798 - }, - "else": { - "operation": "boost", - "score": 0.1334100067615509 - } - }, - "else": { - "operation": "boost", - "score": 0.14259149134159088 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 699.5, - "then": { - "operation": "boost", - "score": 0.10882435739040375 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "boost", - "score": 0.12347608059644699 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.15442468225955963 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.20033732056617737 - }, - "else": { - "operation": "boost", - "score": -0.10182888060808182 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.08955749869346619 - } - }, - "else": { - "operation": "boost", - "score": 0.08375891298055649 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0619189478456974 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.027992337942123413 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, - "then": { - "operation": "boost", - "score": 0.1092892661690712 - }, - "else": { - "operation": "boost", - "score": -0.4169089198112488 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10013767331838608 - }, - "else": { - "operation": "boost", - "score": 0.07030775398015976 - } - }, - "else": { - "operation": "boost", - "score": 0.08449997007846832 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.024926291778683662 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04902786761522293 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1078.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.002604647306725383 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11961327493190765 - }, - "else": { - "operation": "boost", - "score": -0.008545964024960995 - } - }, - "else": { - "operation": "boost", - "score": 0.07429017871618271 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26294.5, - "then": { - "operation": "boost", - "score": 0.10260806232690811 - }, - "else": { - "operation": "boost", - "score": 0.10879704356193542 - } - }, - "else": { - "operation": "boost", - "score": -0.02935277298092842 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1821.0, - "then": { - "operation": "boost", - "score": 0.1174982413649559 - }, - "else": { - "operation": "boost", - "score": 0.12391327321529388 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" + "FileScope" ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11479498445987701 - }, - "else": { - "operation": "boost", - "score": 0.15591378509998322 - } - }, - "else": { - "operation": "boost", - "score": 0.09331214427947998 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.11773554980754852 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, "then": { "operation": "boost", - "score": 0.05090280622243881 + "score": 0.15919621288776398 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, "then": { "operation": "boost", - "score": 0.11835376918315887 + "score": 0.08673743158578873 }, "else": { - "operation": "boost", - "score": -0.010794167406857014 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.031209522858262062 + }, + "else": { + "operation": "boost", + "score": 0.07622881978750229 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "feature": "FileProximityDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69295.5, - "then": { - "operation": "boost", - "score": -0.022750891745090485 - }, - "else": { - "operation": "boost", - "score": -0.22576574981212616 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53705.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.09107373654842377 + "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.04555503651499748 + "score": 0.12194361537694931 } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.011481210589408875 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 169.0, - "then": { - "operation": "boost", - "score": 0.129092276096344 - }, - "else": { - "operation": "boost", - "score": 0.13637235760688782 - } - }, - "else": { - "operation": "boost", - "score": 0.09788861870765686 - } - }, - "else": { - "operation": "boost", - "score": 0.07319264113903046 - } - } - }, - "else": { - "operation": "boost", - "score": -0.000825332710519433 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.012053822167217731 - }, - "else": { - "operation": "boost", - "score": 0.053332895040512085 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01738356612622738 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07363845407962799 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05243924632668495 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1081375852227211 }, "else": { "operation": "boost", - "score": 0.11467952281236649 + "score": 0.09392116963863373 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.07931885868310928 - }, - "else": { - "operation": "boost", - "score": 0.10321922600269318 - } - }, - "else": { - "operation": "boost", - "score": 0.08587022125720978 - } + "operation": "boost", + "score": 0.04386430233716965 } } - }, - "else": { - "operation": "boost", - "score": 0.08838362246751785 } } }, "else": { "operation": "boost", - "score": 0.030029742047190666 + "score": 0.0023553213104605675 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.05843523517251015 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03905230388045311 - }, - "else": { - "operation": "boost", - "score": -0.029460836201906204 - } - } + "operation": "boost", + "score": 0.0028511302080005407 }, "else": { "operation": "boost", - "score": 0.01578977145254612 + "score": 0.11764746904373169 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.003858619835227728 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.17270050942897797 + "score": -0.01867746375501156 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09543730318546295 - }, - "else": { - "operation": "boost", - "score": 0.012688747607171535 - } + "operation": "boost", + "score": 0.014566046185791492 } + }, + "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.02790704183280468 } + }, + "else": { + "operation": "boost", + "score": -0.03601117804646492 } } } @@ -72934,51 +74180,61 @@ "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0374084897339344 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.030726460739970207 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06916659325361252 + }, + "else": { + "operation": "boost", + "score": 0.0914125144481659 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0772567018866539 - }, - "else": { - "operation": "boost", - "score": 0.006679001729935408 - } + "operation": "boost", + "score": 0.04517855495214462 + }, + "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.01244452316313982 + "score": 0.005029075313359499 } + }, + "else": { + "operation": "boost", + "score": -0.007338813506066799 } } }, @@ -72989,88 +74245,104 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 56.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.05893106013536453 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.107761912047863 + }, + "else": { + "operation": "boost", + "score": 0.0678781121969223 + } + }, + "else": { + "operation": "boost", + "score": 0.08926472067832947 + } }, "else": { "operation": "boost", - "score": -0.03804250806570053 + "score": 0.031814251095056534 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.013781111687421799 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190379.0, + "threshold": 6159.0, "then": { - "operation": "boost", - "score": 0.08843264728784561 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.005018284544348717 - }, - "else": { - "operation": "boost", - "score": 0.06628435850143433 - } + "operation": "boost", + "score": -0.006772007793188095 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": 0.10232732445001602 - }, - "else": { - "operation": "boost", - "score": 0.08763593435287476 - } + "operation": "boost", + "score": 0.11851964145898819 } }, "else": { - "operation": "boost", - "score": 0.04350593313574791 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7112.0, + "then": { + "operation": "boost", + "score": 0.04893730580806732 + }, + "else": { + "operation": "boost", + "score": 0.10081290453672409 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017893139272928238 }, "else": { - "operation": "boost", - "score": -0.16560940444469452 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.002955822739750147 + }, + "else": { + "operation": "boost", + "score": 0.09098463505506516 + } } } } @@ -73081,33 +74353,65 @@ "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.03895014151930809 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02738073095679283 + }, + "else": { + "operation": "boost", + "score": 0.05187510699033737 + } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.034266140311956406 + "score": 0.03142165392637253 }, "else": { "operation": "boost", - "score": -0.007893014699220657 + "score": -0.008014943450689316 } } }, "else": { - "operation": "boost", - "score": 0.01353513915091753 + "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 + } + } } } }, @@ -73115,184 +74419,89 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "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": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.002505391603335738 + "score": 0.018031716346740723 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.022487767040729523 + "score": -0.008247138932347298 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05792485550045967 - }, - "else": { - "operation": "boost", - "score": -0.005449512507766485 - } + "operation": "boost", + "score": 0.019994208589196205 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.07781007885932922 + "score": 0.06765785813331604 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09860541671514511 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.08659441769123077 - }, - "else": { - "operation": "boost", - "score": 0.0060674287378787994 - } - } + "operation": "boost", + "score": 0.1048400029540062 } } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04827776923775673 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11814067512750626 - }, - "else": { - "operation": "boost", - "score": 0.1359410285949707 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09172695130109787 - } - }, - "else": { - "operation": "boost", - "score": 0.07891673594713211 - } - }, - "else": { - "operation": "boost", - "score": 0.00742039829492569 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.045727167278528214 - }, - "else": { - "operation": "boost", - "score": -0.1753987967967987 - } + "operation": "boost", + "score": -0.04733634740114212 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61550.0, + "threshold": 67685.0, "then": { "operation": "if_greater", "feature": "FilterLength", @@ -73302,370 +74511,308 @@ "feature": "NumReferences", "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.014222800731658936 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 207505.0, + "threshold": 286067.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234850.0, + "threshold": 1318535.0, "then": { "operation": "boost", - "score": 0.10834158957004547 + "score": -0.019488830119371414 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10350041091442108 - }, - "else": { - "operation": "boost", - "score": 0.07941444218158722 - } + "operation": "boost", + "score": 0.050000958144664764 } }, "else": { "operation": "boost", - "score": 0.05568278208374977 + "score": -0.029465477913618088 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.1432967633008957 + } + }, + "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": "FileProximityDistance", - "threshold": 24.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11147330701351166 - }, - "else": { - "operation": "boost", - "score": 0.07516089826822281 - } + "operation": "boost", + "score": 0.10682514309883118 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.07466080784797668 - }, - "else": { - "operation": "boost", - "score": 0.023947056382894516 - } + "operation": "boost", + "score": 0.08375641703605652 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120342.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.05085361748933792 + "score": -0.2405826598405838 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92526.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "boost", - "score": 0.11556164920330048 - }, - "else": { - "operation": "boost", - "score": 0.07554792612791061 - } - }, - "else": { - "operation": "boost", - "score": 0.12556613981723785 - } - }, - "else": { - "operation": "boost", - "score": 0.08699703216552734 - } - }, - "else": { - "operation": "boost", - "score": 0.05875750631093979 - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 13.5, "then": { "operation": "boost", - "score": 0.08162111043930054 + "score": 0.11919255554676056 }, "else": { "operation": "boost", - "score": -0.012840570881962776 + "score": 0.09877237677574158 } + }, + "else": { + "operation": "boost", + "score": 0.09508128464221954 } } } } }, "else": { - "operation": "boost", - "score": 0.05171721801161766 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.044570159167051315 + } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.03367749974131584 - }, - "else": { - "operation": "boost", - "score": -0.061143096536397934 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 159641.0, "then": { "operation": "boost", - "score": -0.05629514530301094 + "score": -0.3964356482028961 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05314808338880539 - }, - "else": { - "operation": "boost", - "score": 0.08967394381761551 - } + "operation": "boost", + "score": 0.04003770649433136 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 93657.0, "then": { - "operation": "boost", - "score": -0.002382839098572731 + "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": "boost", - "score": 0.05641666799783707 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08002932369709015 + }, + "else": { + "operation": "boost", + "score": 0.05291805416345596 + } } } }, "else": { "operation": "boost", - "score": 0.07656893134117126 + "score": 0.04398266598582268 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.029644612222909927 + }, + "else": { + "operation": "boost", + "score": 0.033976949751377106 + } + } + }, + "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": 5.0, + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.04126734659075737 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.5205528140068054 - }, - "else": { - "operation": "boost", - "score": -0.03625660389661789 - } - } - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.13540229201316833 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 38.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10427489131689072 - }, - "else": { - "operation": "boost", - "score": -0.12173487991094589 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.019314127042889595 + "score": 0.0748870000243187 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, "then": { - "operation": "boost", - "score": 0.08459862321615219 - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.08553220331668854 + "score": 0.12211688607931137 }, "else": { "operation": "boost", - "score": 0.09898757189512253 + "score": 0.09365689754486084 } }, "else": { @@ -73673,422 +74820,600 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.12479861825704575 + "score": 0.1233077421784401 }, "else": { "operation": "boost", - "score": -0.21480505168437958 + "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 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 11.0, "then": { + "operation": "boost", + "score": 0.09030641615390778 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 139.5, "then": { "operation": "boost", - "score": 0.01962319202721119 + "score": 0.07572410255670547 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 289.5, + "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": 357.0, + "threshold": 44.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 688.0, + "threshold": 89.0, "then": { + "operation": "boost", + "score": -0.1251208484172821 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1765.0, + "threshold": 78.5, "then": { "operation": "boost", - "score": 0.17724010348320007 + "score": 0.12876802682876587 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1013.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1112.5, - "then": { - "operation": "boost", - "score": 0.10604698210954666 - }, - "else": { - "operation": "boost", - "score": 0.1196850910782814 - } - }, - "else": { - "operation": "boost", - "score": 0.14586091041564941 - } + "operation": "boost", + "score": 0.134489506483078 } - }, - "else": { - "operation": "boost", - "score": 0.08179758489131927 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12164606153964996 - }, - "else": { - "operation": "boost", - "score": 1.030836582183838 - } + "operation": "boost", + "score": 0.15633444488048553 } - }, - "else": { - "operation": "boost", - "score": 0.12984025478363037 } - }, - "else": { - "operation": "boost", - "score": 0.07021434605121613 } } - }, - "else": { - "operation": "boost", - "score": -0.00931981485337019 } }, "else": { "operation": "boost", - "score": 0.004380019381642342 + "score": 0.0941232368350029 } } }, "else": { "operation": "boost", - "score": 0.0063593629747629166 + "score": -0.03383716568350792 } + }, + "else": { + "operation": "boost", + "score": -0.015939801931381226 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03843256086111069 + }, + "else": { + "operation": "boost", + "score": 0.010241303592920303 } } + }, + "else": { + "operation": "boost", + "score": -0.0988907516002655 } }, "else": { - "operation": "boost", - "score": 0.007474654354155064 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13746561110019684 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.0489971749484539 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FileProximityDistance", + "threshold": 34.5, "then": { + "operation": "boost", + "score": -0.025658272206783295 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10544570535421371 + "score": 0.12071259319782257 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.118903748691082 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 319.5, - "then": { - "operation": "boost", - "score": 0.11938026547431946 - }, - "else": { - "operation": "boost", - "score": 0.11326725035905838 - } - } + "operation": "boost", + "score": 0.17631489038467407 } }, "else": { "operation": "boost", - "score": 0.09446677565574646 + "score": 0.16105398535728455 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" + "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.12801717221736908 + "score": 0.13253633677959442 }, "else": { "operation": "boost", - "score": 0.1026436910033226 + "score": -0.10842353105545044 } } }, "else": { - "operation": "boost", - "score": 0.08457311987876892 + "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 + } } }, "else": { "operation": "boost", - "score": 0.061424173414707184 + "score": 0.02833366021513939 } }, "else": { "operation": "boost", - "score": 0.07404771447181702 + "score": 0.05518040806055069 } - }, - "else": { - "operation": "boost", - "score": 0.048596885055303574 } + }, + "else": { + "operation": "boost", + "score": 0.01058509573340416 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.016095157712697983 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 662.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.021560294553637505 + "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": 603.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.1224055141210556 + "score": 0.0770079493522644 }, "else": { - "operation": "boost", - "score": 0.09320040047168732 + "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.039381034672260284 + "score": 0.06205722689628601 } }, "else": { - "operation": "boost", - "score": 0.00981341116130352 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0008030978497117758 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02196270413696766 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 61.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.07806141674518585 + "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": "boost", - "score": 0.041181620210409164 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.09459508955478668 + }, + "else": { + "operation": "boost", + "score": 0.01361524686217308 + } } }, "else": { - "operation": "boost", - "score": 0.022497929632663727 + "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 + } } - }, - "else": { - "operation": "boost", - "score": 0.05319000035524368 } }, "else": { "operation": "boost", - "score": 0.010619779117405415 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04811421036720276 - }, - "else": { - "operation": "boost", - "score": -0.03537074103951454 + "score": 0.05418954789638519 } } + }, + "else": { + "operation": "boost", + "score": 0.04385947808623314 } + }, + "else": { + "operation": "boost", + "score": 0.019321879372000694 } }, "else": { "operation": "boost", - "score": -0.0022050754632800817 + "score": 0.001183574553579092 } } } } - }, - "else": { - "operation": "boost", - "score": -0.008791723288595676 } + }, + "else": { + "operation": "boost", + "score": -0.008191397413611412 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_Expression", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", @@ -74097,23 +75422,23 @@ "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", @@ -74121,7 +75446,7 @@ "threshold": 298482.5, "then": { "operation": "boost", - "score": -0.11892654746770859 + "score": -0.13194122910499573 }, "else": { "operation": "if_greater", @@ -74129,95 +75454,32 @@ "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0405702143907547 + "score": 0.04393937811255455 }, "else": { "operation": "boost", - "score": 0.08362087607383728 + "score": 0.10025568306446075 } } }, "else": { "operation": "boost", - "score": -0.1414397805929184 + "score": -0.22793163359165192 } }, "else": { "operation": "boost", - "score": -0.04599786177277565 + "score": 0.014411908574402332 } }, "else": { "operation": "boost", - "score": -0.006377201061695814 + "score": -0.0065452540293335915 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.08806712925434113 - }, - "else": { - "operation": "boost", - "score": -0.022588009014725685 - } - }, - "else": { - "operation": "boost", - "score": 0.11029413342475891 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": -0.014733446761965752 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.030217204242944717 - }, - "else": { - "operation": "boost", - "score": 0.09057195484638214 - } - }, - "else": { - "operation": "boost", - "score": -0.11262281239032745 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03690185025334358 - } + "operation": "boost", + "score": -0.03507724776864052 } } } @@ -74231,99 +75493,45 @@ ], "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.01679662987589836 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13632084429264069 - }, - "else": { - "operation": "boost", - "score": 0.07997008413076401 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3318849802017212 - }, - "else": { - "operation": "boost", - "score": 0.07477924227714539 - } - } + "operation": "boost", + "score": 0.034822434186935425 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.036141980439424515 + "score": 0.02808763086795807 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.023625997826457024 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.013441956602036953 - }, - "else": { - "operation": "boost", - "score": -0.026708584278821945 - } - } + "operation": "boost", + "score": 0.006310129072517157 }, "else": { "operation": "boost", - "score": -0.0005410381709225476 + "score": -0.00788121111690998 } } } @@ -74335,635 +75543,920 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.023350171744823456 - }, - "else": { - "operation": "boost", - "score": 0.050822965800762177 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.020581137388944626 - }, - "else": { - "operation": "boost", - "score": 0.01271872315555811 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, "then": { - "operation": "boost", - "score": 0.026281829923391342 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 205637.0, "then": { + "operation": "boost", + "score": -0.02911706455051899 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.021464060992002487 + "score": 0.09260714054107666 }, "else": { "operation": "boost", - "score": 0.03135320171713829 + "score": 0.02603313885629177 } - }, - "else": { - "operation": "boost", - "score": -0.0038366380613297224 } + }, + "else": { + "operation": "boost", + "score": 0.001951553043909371 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6388.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 6678.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "boost", + "score": 0.07004372775554657 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8348.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 18365.0, "then": { + "operation": "boost", + "score": 0.08474057912826538 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.0, - "then": { - "operation": "boost", - "score": 0.12166527658700943 - }, - "else": { - "operation": "boost", - "score": -0.15074004232883453 - } - }, - "else": { - "operation": "boost", - "score": 0.10205703973770142 - } - }, - "else": { - "operation": "boost", - "score": 0.09669385850429535 - } - }, - "else": { - "operation": "boost", - "score": 0.0651545375585556 - } + "operation": "boost", + "score": 0.08539179712533951 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09529982507228851 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.12727497518062592 - }, - "else": { - "operation": "boost", - "score": -0.164503276348114 - } - } + "operation": "boost", + "score": 0.11729241907596588 } - }, - "else": { - "operation": "boost", - "score": 0.050132159143686295 } }, "else": { "operation": "boost", - "score": 0.012760592624545097 + "score": 0.0543094240128994 } - }, - "else": { - "operation": "boost", - "score": 0.03112729825079441 } }, + "else": { + "operation": "boost", + "score": 0.11633841693401337 + } + }, + "else": { + "operation": "boost", + "score": 0.055163558572530746 + } + }, + "else": { + "operation": "boost", + "score": -0.0012423215666785836 + } + } + }, + "else": { + "operation": "boost", + "score": 0.044248782098293304 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.021962668746709824 + }, + "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.028505578637123108 + }, + "else": { + "operation": "boost", + "score": -0.07180842012166977 + } + }, + "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.020241212099790573 + }, + "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, + "then": { + "operation": "boost", + "score": -0.00501621887087822 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08499594777822495 + "score": 0.014646204188466072 }, "else": { - "operation": "boost", - "score": 0.05553863197565079 + "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": "NumReferences", - "threshold": 13.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05042293667793274 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.03816882520914078 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03336751088500023 + } }, "else": { "operation": "boost", - "score": 0.03218044340610504 + "score": 0.023489654064178467 } } } }, "else": { "operation": "boost", - "score": -0.0020673382095992565 + "score": -0.21217229962348938 } - }, - "else": { - "operation": "boost", - "score": 0.006813559681177139 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.064122773706913 + "score": 0.07074028998613358 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02502250485122204 + "score": 0.0139005733653903 }, "else": { - "operation": "boost", - "score": -0.041396912187337875 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 679.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09508075565099716 + } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08907614648342133 - }, - "else": { - "operation": "boost", - "score": 0.08382557332515717 - } + "operation": "boost", + "score": 0.007484785746783018 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 115.0, "then": { "operation": "boost", - "score": 0.007454332429915667 + "score": 0.11401204019784927 }, "else": { "operation": "boost", - "score": -0.035907357931137085 + "score": -0.1176443099975586 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_Symbol", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.055066436529159546 + "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.021758297458291054 + "score": 0.056099530309438705 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], + "operation": "boost", + "score": 0.046924393624067307 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.13568681478500366 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "boost", + "score": 0.08307718485593796 + }, + "else": { + "operation": "boost", + "score": -0.019769420847296715 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.10261866450309753 + }, + "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": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "Variable" ], "then": { - "operation": "boost", - "score": 0.07691715657711029 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10698967427015305 + }, + "else": { + "operation": "boost", + "score": 0.1632184088230133 + } + }, + "else": { + "operation": "boost", + "score": 0.08040785789489746 + } }, "else": { "operation": "boost", - "score": -0.029512332752346992 + "score": 0.024327026680111885 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.12401828914880753 + "score": 0.10284655541181564 }, "else": { "operation": "boost", - "score": 0.10713905841112137 + "score": 0.07387450337409973 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 21.0, + "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_EnumTag", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol" + "CCC_Statement" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "boost", + "score": 0.04912682995200157 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 674.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1714.5, "then": { "operation": "boost", - "score": 0.0046098073944449425 + "score": 0.0523095466196537 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05564235523343086 - }, - "else": { - "operation": "boost", - "score": 0.045465871691703796 - } + "operation": "boost", + "score": 0.11154046654701233 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.106462262570858 - }, - "else": { - "operation": "boost", - "score": 0.026508137583732605 - } + "operation": "boost", + "score": 0.05743851512670517 } - }, - "else": { - "operation": "boost", - "score": 0.011263429187238216 } }, "else": { "operation": "boost", - "score": -0.017282521352171898 + "score": 0.031802888959646225 } }, "else": { "operation": "boost", - "score": 0.003246743930503726 + "score": -0.01768270507454872 } + }, + "else": { + "operation": "boost", + "score": 0.025509728118777275 } } }, "else": { "operation": "boost", - "score": -0.0023369607515633106 + "score": 0.00747439730912447 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.011244530789554119 }, "else": { - "operation": "boost", - "score": -0.10042078793048859 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43376.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.044928550720214844 + }, + "else": { + "operation": "boost", + "score": -0.04959558695554733 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "boost", - "score": 0.03801090270280838 - }, - "else": { - "operation": "boost", - "score": -0.14313113689422607 - } + "operation": "boost", + "score": -0.05151715502142906 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "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": 212125.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.036183588206768036 + "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 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Namespace" ], "then": { "operation": "boost", - "score": 0.119798444211483 + "score": 0.04340921342372894 }, "else": { "operation": "boost", - "score": 0.07412277907133102 + "score": 0.02210824191570282 } }, "else": { - "operation": "boost", - "score": 0.13675855100154877 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.047669194638729095 + }, + "else": { + "operation": "boost", + "score": -0.026555292308330536 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": -0.08422660082578659 + "score": 0.026002898812294006 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "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": "NumReferences", - "threshold": 120391.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.03690442070364952 + "score": -0.0987502932548523 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.04040687158703804 + "score": 0.10095775127410889 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.0993623211979866 + "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": 2.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1022196114063263 - }, - "else": { - "operation": "boost", - "score": 0.1072273999452591 - } + "operation": "boost", + "score": 0.12999236583709717 }, "else": { "operation": "boost", - "score": 0.24625279009342194 + "score": 0.1255514919757843 } } } @@ -74972,554 +76465,321 @@ "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 24.5, + "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "Namespace" ], "then": { - "operation": "boost", - "score": 0.10814768075942993 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.04360635578632355 + }, + "else": { + "operation": "boost", + "score": 0.09158748388290405 + } }, "else": { "operation": "boost", - "score": -0.10105853527784348 + "score": 0.014499283395707607 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1884704977273941 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.11213933676481247 - }, - "else": { - "operation": "boost", - "score": 0.11169413477182388 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "boost", - "score": 0.14380121231079102 - }, - "else": { - "operation": "boost", - "score": 0.12991051375865936 - } - } - }, - "else": { - "operation": "boost", - "score": -0.5461045503616333 - } - }, - "else": { - "operation": "boost", - "score": 0.07300689071416855 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.055666256695985794 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10967539250850677 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82306.0, - "then": { - "operation": "boost", - "score": 0.061493437737226486 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10737340897321701 - }, - "else": { - "operation": "boost", - "score": -0.22236143052577972 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.026302704587578773 - } + "operation": "boost", + "score": 0.07462586462497711 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.044110167771577835 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56793.5, - "then": { - "operation": "boost", - "score": 0.09159310907125473 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10164212435483932 - }, - "else": { - "operation": "boost", - "score": 0.11434131115674973 - } - } - }, - "else": { - "operation": "boost", - "score": -0.15502478182315826 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08829092979431152 - } + "operation": "boost", + "score": -0.2693660259246826 } } } }, "else": { "operation": "boost", - "score": 0.02608974650502205 + "score": -0.06194634735584259 } } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "operation": "boost", + "score": 0.02104356698691845 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0006109342211857438 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11473982781171799 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11547841876745224 - }, - "else": { - "operation": "boost", - "score": 0.12022936344146729 - } - }, - "else": { - "operation": "boost", - "score": 0.11984896659851074 - } - } + "operation": "boost", + "score": 0.026469821110367775 }, "else": { + "operation": "boost", + "score": 0.0635298490524292 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.02508256584405899 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11265460401773453 + "score": 0.06569910049438477 }, "else": { "operation": "boost", - "score": 0.12541316449642181 + "score": 0.10014761984348297 } + }, + "else": { + "operation": "boost", + "score": 0.03783860802650452 } - }, - "else": { - "operation": "boost", - "score": -0.2123962938785553 } - }, - "else": { - "operation": "boost", - "score": 0.08723901957273483 } + }, + "else": { + "operation": "boost", + "score": -0.11306784301996231 } }, "else": { "operation": "boost", - "score": 0.006483018863946199 + "score": -0.0430549755692482 } - }, - "else": { - "operation": "boost", - "score": -0.032522931694984436 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.0525098480284214 - }, - "else": { - "operation": "boost", - "score": 0.038861341774463654 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "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.11600537598133087 + }, + "else": { + "operation": "boost", + "score": 0.10812054574489594 + } + }, + "else": { + "operation": "boost", + "score": 0.06843870133161545 + } + }, + "else": { + "operation": "boost", + "score": 0.04663391038775444 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 135.5, + "threshold": 93.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 102.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07532242685556412 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08349311351776123 - }, - "else": { - "operation": "boost", - "score": 0.1253848522901535 - } - } + "operation": "boost", + "score": -0.04394328221678734 }, "else": { - "operation": "boost", - "score": 0.027093563228845596 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1823.0, + "threshold": 147.0, "then": { "operation": "boost", - "score": 0.11748027056455612 + "score": 0.09956876933574677 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 151.5, + "threshold": 138.5, "then": { "operation": "boost", - "score": 0.11012327671051025 + "score": 0.11957811564207077 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.035007771104574203 - }, - "else": { - "operation": "boost", - "score": 0.12858134508132935 - } - }, - "else": { - "operation": "boost", - "score": -0.01915552467107773 - } + "operation": "boost", + "score": 0.09995192289352417 } } - }, - "else": { - "operation": "boost", - "score": 0.10485132038593292 } + }, + "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" + ], + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08096829801797867 + }, + "else": { + "operation": "boost", + "score": 0.0698990449309349 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7473.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.5, + "threshold": 7486.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10408519953489304 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13555952906608582 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13833750784397125 - }, - "else": { - "operation": "boost", - "score": 0.8795435428619385 - } - } - }, - "else": { - "operation": "boost", - "score": 0.15645727515220642 - } - }, - "else": { - "operation": "boost", - "score": 0.09402185678482056 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.040978819131851196 - }, - "else": { - "operation": "boost", - "score": 0.12179823964834213 - } - } + "operation": "boost", + "score": 0.05086171627044678 }, "else": { "operation": "boost", - "score": 0.06663679331541061 + "score": 0.12180066108703613 } }, "else": { "operation": "boost", - "score": 0.05107862502336502 + "score": 0.02774951420724392 } } }, "else": { "operation": "boost", - "score": 0.03251703828573227 + "score": 0.015493226237595081 } - }, - "else": { - "operation": "boost", - "score": -0.009552947245538235 } } + }, + "else": { + "operation": "boost", + "score": -0.03043026477098465 } } } @@ -75534,1085 +76794,821 @@ ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03451082110404968 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2570464313030243 + "score": 0.041175514459609985 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02861119620501995 + "score": 0.022402344271540642 }, "else": { "operation": "boost", - "score": 0.004358353558927774 + "score": 0.003450787393376231 } } + }, + "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": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 56.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06291677057743073 + }, + "else": { + "operation": "boost", + "score": 0.023792345076799393 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.021170342341065407 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.037007205188274384 + "score": 0.0078104776330292225 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.01483658142387867 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.026073314249515533 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03111715242266655 - }, - "else": { - "operation": "boost", - "score": -0.12207453697919846 - } - }, - "else": { - "operation": "boost", - "score": 0.0021917144767940044 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.013590590097010136 + "score": 0.0300438292324543 }, "else": { "operation": "boost", - "score": -0.1638326793909073 + "score": 0.048310648649930954 } - }, - "else": { - "operation": "boost", - "score": 0.03361478075385094 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32455.0, + "threshold": 2696.0, + "then": { + "operation": "boost", + "score": 0.017946740612387657 + }, + "else": { + "operation": "boost", + "score": -0.02189508266746998 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 51599.0, "then": { - "operation": "boost", - "score": 0.04632756486535072 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.05648306384682655 + }, + "else": { + "operation": "boost", + "score": 0.0002330445422558114 + } }, "else": { - "operation": "boost", - "score": 0.1036955788731575 + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.28267771005630493 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 1970.0, "then": { "operation": "boost", - "score": 0.06695649027824402 + "score": 0.09019015729427338 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.004302195273339748 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12516185641288757 - }, - "else": { - "operation": "boost", - "score": 0.11764296144247055 - } - } + "operation": "boost", + "score": 0.08980867266654968 } + }, + "else": { + "operation": "boost", + "score": 0.01901942677795887 } }, "else": { "operation": "boost", - "score": 0.06742335110902786 + "score": -0.05507660284638405 } }, "else": { "operation": "boost", - "score": 0.027944302186369896 + "score": 0.03237684443593025 } } - }, - "else": { - "operation": "boost", - "score": -0.060369327664375305 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.018335113301873207 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.06590757519006729 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.058099038898944855 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32016.0, - "then": { - "operation": "boost", - "score": 0.06536465138196945 - }, - "else": { - "operation": "boost", - "score": 0.002079321537166834 - } - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.022107305005192757 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1217271238565445 - }, - "else": { - "operation": "boost", - "score": 0.16766951978206635 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.0, - "then": { - "operation": "boost", - "score": 0.07427885383367538 - }, - "else": { - "operation": "boost", - "score": 0.13381296396255493 - } - }, - "else": { - "operation": "boost", - "score": 0.1398114264011383 - } - } - }, - "else": { - "operation": "boost", - "score": 0.068173348903656 - } + "operation": "boost", + "score": 0.08591880649328232 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.15091054141521454 + "score": 0.13209721446037292 }, "else": { "operation": "boost", - "score": 0.07192596048116684 + "score": 0.12404906749725342 } } - }, - "else": { - "operation": "boost", - "score": 0.05345061793923378 } }, "else": { "operation": "boost", - "score": 0.030189409852027893 + "score": 0.08314311504364014 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.06767784804105759 + "score": 0.12830959260463715 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 117.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.1009577140212059 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 262.5, "then": { "operation": "boost", - "score": 0.10460507869720459 + "score": 0.18133918941020966 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.1430060714483261 - }, - "else": { - "operation": "boost", - "score": 0.11194638907909393 - } + "operation": "boost", + "score": 0.1268640160560608 } + }, + "else": { + "operation": "boost", + "score": 0.07604147493839264 } }, "else": { "operation": "boost", - "score": 0.12049449980258942 + "score": 0.06818115711212158 } } }, "else": { - "operation": "boost", - "score": 0.0621577613055706 + "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.0345146507024765 + "score": 0.07427399605512619 } } + }, + "else": { + "operation": "boost", + "score": 0.05236944183707237 } - }, - "else": { - "operation": "boost", - "score": -0.0011049362365156412 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.04547599330544472 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06070265918970108 - }, - "else": { - "operation": "boost", - "score": 0.12581081688404083 - } - }, - "else": { - "operation": "boost", - "score": 0.12415728718042374 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 238.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1215.0, - "then": { - "operation": "boost", - "score": 0.06063711270689964 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 870.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 958.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.12100689113140106 - }, - "else": { - "operation": "boost", - "score": 0.02094200812280178 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1001.0, - "then": { - "operation": "boost", - "score": -0.18512393534183502 - }, - "else": { - "operation": "boost", - "score": 0.1161438599228859 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11903082579374313 - }, - "else": { - "operation": "boost", - "score": -0.16973313689231873 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 408.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 476.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 598.5, - "then": { - "operation": "boost", - "score": -0.06314003467559814 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.048624731600284576 - }, - "else": { - "operation": "boost", - "score": 0.11403992027044296 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 450.5, - "then": { - "operation": "boost", - "score": 0.1297185719013214 - }, - "else": { - "operation": "boost", - "score": 0.1278829276561737 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11606965214014053 - }, - "else": { - "operation": "boost", - "score": -0.10793403536081314 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08894553780555725 - } - }, - "else": { - "operation": "boost", - "score": 0.1277010142803192 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05151834711432457 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05265859141945839 - } + "operation": "boost", + "score": 0.07550405710935593 }, "else": { "operation": "boost", - "score": 0.014517353847622871 + "score": 0.03640257194638252 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": -0.036495987325906754 + }, + "else": { + "operation": "boost", + "score": -0.24280261993408203 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05627036839723587 }, "else": { "operation": "boost", - "score": -0.03277714550495148 + "score": -0.021449686959385872 } } } } }, "else": { - "operation": "boost", - "score": 0.003296362701803446 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09006968140602112 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09098608791828156 - }, - "else": { - "operation": "boost", - "score": 0.04580310732126236 - } - } + "operation": "boost", + "score": -0.03313973918557167 }, "else": { "operation": "boost", - "score": 0.01917320303618908 + "score": 0.02110866643488407 } }, "else": { - "operation": "boost", - "score": -0.07350602000951767 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10792076587677002 + }, + "else": { + "operation": "boost", + "score": -0.0754142701625824 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2956.0, + "operation": "boost", + "score": -0.10917449742555618 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "operation": "boost", + "score": 0.048249028623104095 + }, + "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" + ], "then": { "operation": "boost", - "score": -0.008493113331496716 + "score": 0.008608156815171242 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "operation": "boost", + "score": -0.12095515429973602 + } + } + }, + "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_Namespace", + "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", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 211568.5, - "then": { - "operation": "boost", - "score": 0.04743195325136185 - }, - "else": { - "operation": "boost", - "score": 0.09814877808094025 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.11331990361213684 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159753.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.13937591016292572 + "score": 0.05371250584721565 }, "else": { "operation": "boost", - "score": 0.1139383390545845 + "score": 0.12067794054746628 } }, "else": { "operation": "boost", - "score": 0.03777942433953285 + "score": 0.06872764974832535 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.07078113406896591 + }, + "else": { + "operation": "boost", + "score": 0.009622116573154926 } } + }, + "else": { + "operation": "boost", + "score": -0.03806503862142563 } + }, + "else": { + "operation": "boost", + "score": -0.07638002932071686 } }, "else": { - "operation": "boost", - "score": 0.13517452776432037 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.1400592178106308 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.055794160813093185 - }, - "else": { - "operation": "boost", - "score": -0.013812042772769928 - } + "operation": "boost", + "score": 0.04387182369828224 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.02511376515030861 - }, - "else": { - "operation": "boost", - "score": 0.04275207594037056 - } + "operation": "boost", + "score": 0.022863101214170456 } + }, + "else": { + "operation": "boost", + "score": 0.014166762121021748 } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0015788371674716473 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "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": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1280868798494339 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21461.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304083.5, + "then": { + "operation": "boost", + "score": 0.03960830345749855 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 174254.0, "then": { - "operation": "boost", - "score": -0.10085555166006088 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 25.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.041254766285419464 + "score": 0.050598349422216415 }, "else": { "operation": "boost", - "score": -0.04467376321554184 + "score": 0.11110544949769974 } + }, + "else": { + "operation": "boost", + "score": 0.07464428246021271 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.13100644946098328 - }, - "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09655670076608658 + "score": -0.028615526854991913 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11157449334859848 - }, - "else": { - "operation": "boost", - "score": 0.13321088254451752 - } + "operation": "boost", + "score": 0.14483290910720825 }, "else": { "operation": "boost", - "score": 0.13209933042526245 + "score": 0.1291067749261856 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.033150359988212585 }, "else": { - "operation": "boost", - "score": 0.09882562607526779 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.031770795583724976 + }, + "else": { + "operation": "boost", + "score": 0.07324790209531784 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.04051798954606056 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.003678402164950967 }, "else": { "operation": "boost", - "score": -0.09806010872125626 + "score": 0.051988475024700165 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.040640939027071 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07550030201673508 - }, - "else": { - "operation": "boost", - "score": 0.028093531727790833 - } + "operation": "boost", + "score": -0.032825179398059845 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.023973293602466583 - }, - "else": { - "operation": "boost", - "score": -0.02014591172337532 - } + "operation": "boost", + "score": 0.05617876350879669 } + }, + "else": { + "operation": "boost", + "score": -0.00344191025942564 } } } @@ -76620,198 +77616,502 @@ }, "else": { "operation": "boost", - "score": 0.015285322442650795 + "score": 0.05599929764866829 } - } - }, - "else": { - "operation": "boost", - "score": -0.09989824146032333 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.023153726011514664 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04147578030824661 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04210840165615082 - }, - "else": { - "operation": "boost", - "score": 0.11252069473266602 - } - } + "operation": "boost", + "score": -0.04532682150602341 }, "else": { "operation": "boost", - "score": 0.029235195368528366 + "score": 0.014291294850409031 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 56138.5, "then": { "operation": "boost", - "score": 0.08905167877674103 + "score": 0.0010811637621372938 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 135.5, + "threshold": 12924.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.0, - "then": { - "operation": "boost", - "score": 0.11788427084684372 - }, - "else": { - "operation": "boost", - "score": 0.12580625712871552 - } - }, - "else": { - "operation": "boost", - "score": 0.10615486651659012 - } - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.11061566323041916 + "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 + } }, "else": { - "operation": "boost", - "score": 0.11532900482416153 + "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 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 43084.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression" + "CCC_SymbolOrNewName", + "CCC_Statement" ], "then": { "operation": "boost", - "score": 0.13097697496414185 + "score": 0.11220204085111618 }, "else": { "operation": "boost", - "score": 0.16296648979187012 + "score": 0.0723109170794487 } }, "else": { "operation": "boost", - "score": 0.136588454246521 + "score": 0.059654105454683304 } }, "else": { - "operation": "boost", - "score": 0.09301196038722992 + "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 + } + } + } + } + }, + "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.08795413374900818 + "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 + } + } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14750.5, + "then": { + "operation": "boost", + "score": 0.09071008861064911 + }, + "else": { + "operation": "boost", + "score": 0.1340457946062088 + } } + }, + "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 } }, "else": { "operation": "boost", - "score": 0.039479758590459824 + "score": 0.09657931327819824 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.002462713746353984 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Type", + "Namespace" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06060114502906799 }, "else": { "operation": "boost", - "score": 0.03665902093052864 + "score": 0.01286856085062027 } }, "else": { "operation": "boost", - "score": 0.031077666208148003 + "score": -0.02224130742251873 } }, "else": { - "operation": "boost", - "score": -0.006314166821539402 + "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 + } } } } @@ -76835,11 +78135,11 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.4066038131713867 + "score": -0.6991387605667114 }, "else": { "operation": "boost", - "score": 0.034373167902231216 + "score": 0.032954584807157516 } }, "else": { @@ -76847,395 +78147,439 @@ "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.027114294469356537 - }, - "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07560734450817108 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.006250618491321802 + "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.00924384593963623 + "score": 0.0873272493481636 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.021417615935206413 }, "else": { "operation": "boost", - "score": 0.0475841648876667 + "score": 0.025960542261600494 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.23377101123332977 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "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.035586073994636536 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "FileScope" + "Keyword", + "Variable", + "Unknown" ], "then": { "operation": "boost", - "score": 0.03206250071525574 + "score": 0.006546650547534227 }, "else": { "operation": "boost", - "score": -0.011987623758614063 + "score": -0.153207466006279 } + }, + "else": { + "operation": "boost", + "score": -0.007230739574879408 } - }, - "else": { - "operation": "boost", - "score": 0.01185405533760786 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 27178.0, "then": { "operation": "boost", - "score": -0.04512329027056694 + "score": -0.08172745257616043 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 5193.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 6390.5, "then": { + "operation": "boost", + "score": 0.05313548073172569 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 6360.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 387.5, - "then": { - "operation": "boost", - "score": 0.02881513349711895 - }, - "else": { - "operation": "boost", - "score": 0.1251094490289688 - } - }, - "else": { - "operation": "boost", - "score": 0.05678959935903549 - } + "operation": "boost", + "score": 0.11262958496809006 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "boost", - "score": 0.08704840391874313 - }, - "else": { - "operation": "boost", - "score": -0.00255041616037488 - } + "operation": "boost", + "score": 0.048473652452230453 } + } + }, + "else": { + "operation": "boost", + "score": 0.031953420490026474 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.5, + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2342.0, + "operation": "boost", + "score": 0.10645473003387451 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.01763906143605709 + }, + "else": { + "operation": "boost", + "score": 0.09180894494056702 + } + }, + "else": { + "operation": "boost", + "score": 0.021579047664999962 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.001083776936866343 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2412.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.003548195119947195 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11512253433465958 - }, - "else": { - "operation": "boost", - "score": -0.10342681407928467 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11455127596855164 - } + "operation": "boost", + "score": 0.1275956928730011 }, "else": { + "operation": "boost", + "score": -0.0008961393614299595 + } + } + }, + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05303137004375458 + }, + "else": { + "operation": "boost", + "score": 0.02975280210375786 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.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": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08818325400352478 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.0, + "then": { + "operation": "boost", + "score": 0.10187336057424545 + }, + "else": { + "operation": "boost", + "score": 0.14672920107841492 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.0, + "threshold": 227.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.12235100567340851 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.16632381081581116 + "score": -0.021171918138861656 }, "else": { "operation": "boost", - "score": 0.1336873173713684 + "score": 0.12410902231931686 } - } - }, - "else": { - "operation": "boost", - "score": 0.13548648357391357 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1144915223121643 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.07684779912233353 + "score": 0.05958600714802742 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 2268.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11352670192718506 - }, - "else": { - "operation": "boost", - "score": -0.17242008447647095 - } - }, - "else": { - "operation": "boost", - "score": 0.37853214144706726 - } - }, - "else": { - "operation": "boost", - "score": 0.1353243887424469 - } - }, - "else": { - "operation": "boost", - "score": 0.07682345062494278 - } - }, - "else": { - "operation": "boost", - "score": 0.14933772385120392 - } - }, - "else": { - "operation": "boost", - "score": 0.14207889139652252 - } + "operation": "boost", + "score": 0.0658622682094574 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 774.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.3621053397655487 - }, - "else": { - "operation": "boost", - "score": 0.13265405595302582 - } + "operation": "boost", + "score": 0.0977545753121376 }, "else": { "operation": "boost", - "score": 0.17427696287631989 + "score": 0.11186406761407852 } }, "else": { "operation": "boost", - "score": 0.12798938155174255 + "score": 0.09414530545473099 } } } @@ -77243,693 +78587,469 @@ }, "else": { "operation": "boost", - "score": 0.08023053407669067 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11945834010839462 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.06789540499448776 - }, - "else": { - "operation": "boost", - "score": -0.03236273676156998 - } - }, - "else": { - "operation": "boost", - "score": 0.035371579229831696 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 568.0, - "then": { - "operation": "boost", - "score": 0.05693746730685234 - }, - "else": { - "operation": "boost", - "score": 0.14734336733818054 + "score": -0.10752568393945694 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12283169478178024 - }, - "else": { - "operation": "boost", - "score": -0.18782411515712738 - } + "operation": "boost", + "score": 0.0715729221701622 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 238.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1215.0, + "threshold": 573.5, "then": { "operation": "boost", - "score": 0.057967789471149445 + "score": 0.06831816583871841 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 870.5, + "threshold": 542.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 958.5, + "operation": "boost", + "score": 0.116266168653965 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "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.1190912127494812 + "score": 0.11275612562894821 }, "else": { "operation": "boost", - "score": 0.02149365283548832 + "score": -0.19613017141819 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1001.0, - "then": { - "operation": "boost", - "score": -0.1793215274810791 - }, - "else": { - "operation": "boost", - "score": 0.11433026939630508 - } + "operation": "boost", + "score": 0.12447575479745865 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", "Function" ], - "then": { - "operation": "boost", - "score": 0.11884095519781113 - }, - "else": { - "operation": "boost", - "score": -0.16650468111038208 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 408.0, + "threshold": 353.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 476.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 598.5, - "then": { - "operation": "boost", - "score": -0.05813383683562279 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.046342600136995316 - }, - "else": { - "operation": "boost", - "score": 0.11263681948184967 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 450.5, - "then": { - "operation": "boost", - "score": 0.12570355832576752 - }, - "else": { - "operation": "boost", - "score": 0.12394921481609344 - } - } + "operation": "boost", + "score": 0.11896578967571259 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11359737813472748 - }, - "else": { - "operation": "boost", - "score": -0.0930880531668663 - } + "operation": "boost", + "score": -0.12552593648433685 } }, "else": { "operation": "boost", - "score": 0.0862213671207428 + "score": 0.09601285308599472 } - }, - "else": { - "operation": "boost", - "score": 0.12433183938264847 } } } }, "else": { "operation": "boost", - "score": 0.04406975954771042 + "score": 0.10946575552225113 } } }, "else": { - "operation": "boost", - "score": 0.04827481135725975 + "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": { - "operation": "boost", - "score": 0.013791139237582684 - } - }, - "else": { - "operation": "boost", - "score": -0.059256915003061295 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 279.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.04658607393503189 - }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 23.5, "then": { + "operation": "boost", + "score": 0.12992428243160248 + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 11.0, "then": { + "operation": "boost", + "score": 0.07949875295162201 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 610.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1789.5, - "then": { - "operation": "boost", - "score": 0.11360252648591995 - }, - "else": { - "operation": "boost", - "score": -0.1460627168416977 - } - }, - "else": { - "operation": "boost", - "score": 0.08596932888031006 - } + "operation": "boost", + "score": 0.11776729673147202 }, "else": { "operation": "boost", - "score": 0.18509946763515472 + "score": 0.13345971703529358 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 50.5, "then": { + "operation": "boost", + "score": 0.11298331618309021 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 434.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10627590864896774 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 504.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.04009215533733368 + "score": -0.12451189011335373 }, "else": { - "operation": "boost", - "score": 0.12075037509202957 + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.1072465106844902 } - }, - "else": { - "operation": "boost", - "score": 0.01687924563884735 } } - }, - "else": { - "operation": "boost", - "score": 0.08343546092510223 } - }, - "else": { - "operation": "boost", - "score": 0.055984627455472946 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 290761.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": 0.10645554214715958 - }, - "else": { - "operation": "boost", - "score": 0.05656873434782028 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10353319346904755 - }, - "else": { - "operation": "boost", - "score": -0.42232629656791687 - } - } + "operation": "boost", + "score": 0.10863190144300461 }, "else": { "operation": "boost", - "score": 0.03534436225891113 + "score": 0.10159795731306076 } }, "else": { "operation": "boost", - "score": 0.01109478622674942 + "score": 0.015030228532850742 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.029081160202622414 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007553000468760729 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.061744339764118195 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13554300367832184 - }, - "else": { - "operation": "boost", - "score": -0.10011523216962814 - } - }, - "else": { - "operation": "boost", - "score": -0.10833510011434555 - } - }, - "else": { - "operation": "boost", - "score": 0.09393931925296783 - } - }, - "else": { - "operation": "boost", - "score": 0.0433628112077713 - } - } - } - } + "operation": "boost", + "score": 0.050032489001750946 } } - }, - "else": { - "operation": "boost", - "score": 0.0002530363271944225 } }, - "else": { - "operation": "boost", - "score": 0.007537833880633116 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.061142418533563614 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.025167906656861305 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.0, + "then": { + "operation": "boost", + "score": 0.12319090962409973 + }, + "else": { + "operation": "boost", + "score": 0.1228170096874237 + } }, "else": { - "operation": "boost", - "score": -0.03792748227715492 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 556.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 595.5, + "then": { + "operation": "boost", + "score": 0.053672462701797485 + }, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.0004890883574262261 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope" + "Variable", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "boost", + "score": 0.1204078197479248 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, "then": { "operation": "boost", - "score": 0.0852113664150238 + "score": 0.10849657654762268 }, "else": { "operation": "boost", - "score": 0.03467593342065811 + "score": -0.27687013149261475 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 82.5, "then": { "operation": "boost", - "score": -0.020366625860333443 + "score": 0.11328643560409546 }, "else": { "operation": "boost", - "score": 0.03727353364229202 + "score": -0.11376836150884628 } + }, + "else": { + "operation": "boost", + "score": 0.0495709553360939 } - }, - "else": { - "operation": "boost", - "score": -0.019090166315436363 } + } + }, + "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": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 858647.0, "then": { "operation": "boost", - "score": -0.12075790762901306 + "score": 0.07955671846866608 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.10605058073997498 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.058422401547431946 + }, + "else": { + "operation": "boost", + "score": 0.0005253305425867438 + } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", "CCC_EnumTag", - "CCC_TopLevel", "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": 0.02838839404284954 + "score": -0.020635036751627922 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.015289917588233948 - }, - "else": { - "operation": "boost", - "score": -0.0834975615143776 - } + "operation": "boost", + "score": -0.032868947833776474 }, "else": { "operation": "boost", - "score": 0.008388236165046692 + "score": -1.2646253108978271 } } } @@ -77937,204 +79057,327 @@ } }, "else": { + "operation": "boost", + "score": 0.036313071846961975 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09369645267724991 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.010748028755187988 + "score": 0.11482084542512894 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.0479966476559639 - }, - "else": { - "operation": "boost", - "score": -0.07559484243392944 - } - }, - "else": { - "operation": "boost", - "score": -0.15073730051517487 - } - }, - "else": { - "operation": "boost", - "score": -0.01474180817604065 - } + "operation": "boost", + "score": 0.029972977936267853 } + }, + "else": { + "operation": "boost", + "score": -0.005769222974777222 } }, "else": { "operation": "boost", - "score": -0.08455143868923187 + "score": 0.008888653479516506 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.031187215819954872 + "score": -0.007837734185159206 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "boost", + "score": -0.05379561707377434 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.035304561257362366 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.07214871793985367 + }, + "else": { + "operation": "boost", + "score": 0.05989977344870567 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.1033136323094368 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 27.0, "then": { - "operation": "boost", - "score": 0.10652385652065277 + "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.0419941209256649 + "score": 0.08644882589578629 } + }, + "else": { + "operation": "boost", + "score": 0.07629828155040741 } - }, - "else": { - "operation": "boost", - "score": 0.08734042197465897 } + }, + "else": { + "operation": "boost", + "score": 0.022051164880394936 } }, "else": { "operation": "boost", - "score": 0.009105602279305458 + "score": -0.019901754334568977 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5898.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5906.0, + "then": { + "operation": "boost", + "score": 0.054638225585222244 + }, + "else": { + "operation": "boost", + "score": 0.11418096721172333 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.018427683040499687 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07893868535757065 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Variable", + "Type" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "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.09550962597131729 + }, + "else": { + "operation": "boost", + "score": 0.1063232347369194 + } + }, + "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 + } + } + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.006607913877815008 + "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": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06923843920230865 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008263950236141682 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09727604687213898 + }, + "else": { + "operation": "boost", + "score": -0.0078056282363832 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009758579544723034 + } }, "else": { "operation": "boost", - "score": 0.08256110548973083 + "score": 0.03903903812170029 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020323986187577248 }, "else": { "operation": "boost", - "score": -0.11790749430656433 + "score": 0.04169640690088272 } - }, - "else": { - "operation": "boost", - "score": 0.011543008498847485 } - }, - "else": { - "operation": "boost", - "score": -0.030231529846787453 } + }, + "else": { + "operation": "boost", + "score": -0.002688474953174591 } } } @@ -78157,7 +79400,7 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.039658673107624054 + "score": 0.03910352289676666 }, "else": { "operation": "if_greater", @@ -78165,40 +79408,17 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.021273290738463402 + "score": 0.021199572831392288 }, "else": { "operation": "boost", - "score": 0.003639377187937498 + "score": 0.0032222727313637733 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.007148390170186758 - }, - "else": { - "operation": "boost", - "score": -0.017698444426059723 - } + "operation": "boost", + "score": 0.0013547015842050314 } }, "else": { @@ -78208,112 +79428,18 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 56.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.24906450510025024 - }, - "else": { - "operation": "boost", - "score": 0.0746721550822258 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, - "then": { - "operation": "boost", - "score": -0.2848406434059143 - }, - "else": { - "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.10623006522655487 - }, - "else": { - "operation": "boost", - "score": -0.2590197026729584 - } - }, - "else": { - "operation": "boost", - "score": 0.08452308177947998 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49723.5, - "then": { - "operation": "boost", - "score": -0.1242869421839714 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04208837449550629 - }, - "else": { - "operation": "boost", - "score": 0.02905435301363468 - } - } - } - } - } + "operation": "boost", + "score": 0.060240842401981354 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.05959595367312431 - }, - "else": { - "operation": "boost", - "score": -0.12971606850624084 - } - }, - "else": { - "operation": "boost", - "score": -0.007609376683831215 - } + "operation": "boost", + "score": 0.022495562210679054 } }, "else": { @@ -78321,1075 +79447,1205 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.019526425749063492 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03110208734869957 + "score": -0.03537432476878166 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.02946409024298191 - }, - "else": { - "operation": "boost", - "score": -0.010293625295162201 - } + "operation": "boost", + "score": 0.015338650904595852 } - }, - "else": { - "operation": "boost", - "score": 0.011032065376639366 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "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": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04369986429810524 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_EnumTag", - "CCC_Symbol" + "ClassScope" ], "then": { - "operation": "boost", - "score": 0.02521761879324913 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02409341186285019 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.031039420515298843 + "score": 0.017036184668540955 }, "else": { "operation": "boost", - "score": 0.026713455095887184 + "score": 0.061910469084978104 } - }, - "else": { - "operation": "boost", - "score": -0.0036060092970728874 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 67685.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 279.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.04407523199915886 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 610.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006682049483060837 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1140.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.28729793429374695 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1205567866563797 - }, - "else": { - "operation": "boost", - "score": 0.11100403219461441 - } - } - }, - "else": { - "operation": "boost", - "score": 0.15674008429050446 - } - } - }, - "else": { - "operation": "boost", - "score": 0.17285582423210144 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 434.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 504.5, - "then": { - "operation": "boost", - "score": 0.05590711161494255 - }, - "else": { - "operation": "boost", - "score": 0.11920145899057388 - } - }, - "else": { - "operation": "boost", - "score": 0.09722214937210083 - } - }, - "else": { - "operation": "boost", - "score": 0.013840580359101295 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07999981194734573 - } + "operation": "boost", + "score": 0.024838123470544815 }, "else": { "operation": "boost", - "score": 0.05317254737019539 + "score": -0.12635259330272675 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 198405.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.07664858549833298 - }, - "else": { - "operation": "boost", - "score": -0.3404148817062378 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10789717733860016 + "score": 0.10361205786466599 }, "else": { - "operation": "boost", - "score": -0.11779000610113144 - } - }, - "else": { - "operation": "boost", - "score": 0.00989479012787342 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.027032479643821716 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10405127704143524 + "score": 0.08195760846138 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_ClassStructUnion" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.13125111162662506 - }, - "else": { - "operation": "boost", - "score": 0.10998383909463882 - } + "operation": "boost", + "score": 0.111060231924057 }, "else": { "operation": "boost", - "score": -0.11003535240888596 + "score": 0.09518096596002579 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.07053923606872559 + "score": -0.17109569907188416 }, "else": { "operation": "boost", - "score": 0.06506199389696121 + "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": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.014612505212426186 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107.5, + "threshold": 105803.0, "then": { + "operation": "boost", + "score": 0.037165023386478424 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 117.5, + "threshold": 93657.0, "then": { - "operation": "boost", - "score": 0.061719998717308044 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.1453232318162918 + "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 + } }, "else": { "operation": "boost", - "score": 0.10142700374126434 + "score": 0.07276217639446259 } + }, + "else": { + "operation": "boost", + "score": 0.05322428047657013 } - }, - "else": { - "operation": "boost", - "score": 0.030967924743890762 } + }, + "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": "boost", - "score": -1.933610656124074e-05 - } - }, - "else": { - "operation": "boost", - "score": 0.008111597038805485 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00312345614656806 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "boost", - "score": 0.025032518431544304 - }, - "else": { - "operation": "boost", - "score": -0.12133937329053879 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 212125.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.030134068801999092 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 38.5, "then": { "operation": "boost", - "score": 0.12093809992074966 + "score": 0.07121126353740692 }, "else": { "operation": "boost", - "score": 0.3015246093273163 + "score": -0.023419920355081558 } }, "else": { "operation": "boost", - "score": 0.0763942077755928 + "score": -0.016243215650320053 } }, "else": { - "operation": "boost", - "score": 0.07095815241336823 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.035135142505168915 + }, + "else": { + "operation": "boost", + "score": 0.007587837520986795 + } } }, "else": { "operation": "boost", - "score": 0.10672089457511902 + "score": -0.0946994200348854 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10796044766902924 }, "else": { - "operation": "boost", - "score": 0.03916345164179802 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, - "then": { - "operation": "boost", - "score": -0.07287853956222534 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13167212903499603 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120391.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.033016037195920944 - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.05616164579987526 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.0992133840918541 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": 0.10074721276760101 + "score": 0.14969614148139954 }, "else": { "operation": "boost", - "score": 0.10574118793010712 + "score": -0.11153765022754669 } }, "else": { - "operation": "boost", - "score": 0.2032366245985031 + "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 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], + "operation": "boost", + "score": 0.013152171857655048 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.10686801373958588 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.03324350714683533 + "score": 0.10040083527565002 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93657.0, + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.07008057087659836 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 558.5, "then": { - "operation": "boost", - "score": 0.1108560785651207 + "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": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.10870131105184555 + "score": 0.09001000970602036 }, "else": { - "operation": "boost", - "score": 0.13461920619010925 + "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.4736352264881134 + "score": 0.11266927421092987 } }, "else": { "operation": "boost", - "score": 0.07264315336942673 + "score": 0.04283050820231438 } - }, - "else": { - "operation": "boost", - "score": 0.08176723122596741 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07976188510656357 + }, + "else": { + "operation": "boost", + "score": 0.023653985932469368 + } } - }, - "else": { - "operation": "boost", - "score": -0.02950531244277954 } + }, + "else": { + "operation": "boost", + "score": 0.038946911692619324 } }, "else": { "operation": "boost", - "score": 0.04048310965299606 + "score": 0.018081214278936386 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "boost", - "score": -0.04797494411468506 - }, - "else": { - "operation": "boost", - "score": 0.05143869295716286 - } + "operation": "boost", + "score": 0.0006546808290295303 } } } } - }, - "else": { - "operation": "boost", - "score": 0.0056369248777627945 } }, "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": "SymbolScopeDistance", - "threshold": 23.0, + "feature": "NumReferences", + "threshold": 1604.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.04291210696101189 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "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, + "feature": "NumReferences", + "threshold": 200884.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.1187925711274147 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08270922303199768 - }, - "else": { - "operation": "boost", - "score": 0.12441299110651016 - } + "operation": "boost", + "score": 0.1101238876581192 }, "else": { "operation": "boost", - "score": 0.12844917178153992 + "score": 0.06376876682043076 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.11440005898475647 }, "else": { "operation": "boost", - "score": 0.2877390384674072 + "score": -0.23015335202217102 } + }, + "else": { + "operation": "boost", + "score": 0.00827123410999775 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.037162598222494125 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.024830151349306107 + "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 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7370.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.14037510752677917 + "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": "boost", - "score": 0.11165115237236023 + "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.09071342647075653 + "score": 0.03906910866498947 } }, "else": { "operation": "boost", - "score": 0.10176558047533035 + "score": 0.10776535421609879 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77386.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09266892075538635 + }, + "else": { + "operation": "boost", + "score": 0.11488620936870575 } + }, + "else": { + "operation": "boost", + "score": -0.1820523589849472 } }, "else": { "operation": "boost", - "score": 0.0851166695356369 + "score": 0.03270870819687843 } - }, - "else": { - "operation": "boost", - "score": -0.006151707377284765 } } }, "else": { "operation": "boost", - "score": 0.010379280894994736 + "score": 0.011322420090436935 } - }, - "else": { - "operation": "boost", - "score": -0.008427910506725311 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "Variable" ], - "then": { - "operation": "boost", - "score": -0.027234267443418503 - }, - "else": { - "operation": "boost", - "score": -0.0836929902434349 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.07602657377719879 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30877.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10413943976163864 + "score": 0.08362066000699997 }, "else": { "operation": "boost", - "score": 0.061278581619262695 + "score": 0.09989149123430252 } }, "else": { - "operation": "boost", - "score": 0.052411794662475586 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, - "then": { - "operation": "boost", - "score": 0.10818814486265182 - }, - "else": { - "operation": "boost", - "score": 0.17214086651802063 - } + "operation": "boost", + "score": 0.09548838436603546 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.08561258018016815 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.1710764318704605 + "score": 0.11423948407173157 }, "else": { "operation": "boost", - "score": 0.0919840931892395 + "score": 0.12990520894527435 } + }, + "else": { + "operation": "boost", + "score": 0.12498944997787476 } } }, + "else": { + "operation": "boost", + "score": 0.14178341627120972 + } + } + } + }, + "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.014065111055970192 + }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06933124363422394 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01420952845364809 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 214.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.0, - "then": { - "operation": "boost", - "score": 0.10790586471557617 - }, - "else": { - "operation": "boost", - "score": 0.12979498505592346 - } - }, - "else": { - "operation": "boost", - "score": -0.026533151045441628 - } - }, - "else": { - "operation": "boost", - "score": 0.1093643382191658 - } - }, - "else": { - "operation": "boost", - "score": 0.1324588805437088 - } - } + "operation": "boost", + "score": 0.06209895759820938 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1346704512834549 + "score": 0.12103359401226044 }, "else": { "operation": "boost", - "score": 0.14263850450515747 + "score": 0.12507595121860504 } }, "else": { "operation": "boost", - "score": 0.08586489409208298 + "score": 0.04965367913246155 } }, "else": { "operation": "boost", - "score": 0.06835215538740158 + "score": 0.0924854725599289 } } + }, + "else": { + "operation": "boost", + "score": 0.06824631243944168 } } }, "else": { "operation": "boost", - "score": 0.05740794539451599 + "score": 0.03449399024248123 + } + }, + "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": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0028056923765689135 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0332576259970665 + }, + "else": { + "operation": "boost", + "score": 0.13387563824653625 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.022402655333280563 + }, + "else": { + "operation": "boost", + "score": 0.11660578846931458 + } + }, + "else": { + "operation": "boost", + "score": 0.03399229794740677 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.004328985698521137 } }, "else": { "operation": "boost", - "score": 0.026659658178687096 + "score": -0.0777616798877716 } - }, - "else": { - "operation": "boost", - "score": 0.02934138849377632 } }, "else": { "operation": "boost", - "score": -0.0067079863511025906 + "score": -0.003630460938438773 + } + }, + "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 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.11910229921340942 } } } @@ -79407,2419 +80663,2500 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03096223622560501 + "score": 0.030125197023153305 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01534321904182434 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019565949216485023 + }, + "else": { + "operation": "boost", + "score": 0.0025910327676683664 + } }, "else": { "operation": "boost", - "score": -0.0006933535332791507 + "score": -0.0016391681274399161 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 56.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.08640097081661224 + }, + "else": { + "operation": "boost", + "score": 0.11339908838272095 + } + }, + "else": { + "operation": "boost", + "score": 0.05629705637693405 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": -0.000820386572740972 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.042638953775167465 - }, - "else": { - "operation": "boost", - "score": -0.047590259462594986 - } - }, - "else": { - "operation": "boost", - "score": 0.007384109776467085 - } + "operation": "boost", + "score": 0.09025359153747559 }, "else": { "operation": "boost", - "score": -0.06875108182430267 + "score": 0.04458116367459297 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31879.0, + "then": { + "operation": "boost", + "score": -0.02901928313076496 }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30750.5, "then": { "operation": "boost", - "score": -0.09895169734954834 + "score": 0.07645416259765625 }, "else": { + "operation": "boost", + "score": 0.027653485536575317 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.01817762665450573 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.007354373577982187 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.027195684611797333 + }, + "else": { + "operation": "boost", + "score": 0.046275608241558075 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2957.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1280205.5, + "threshold": 1082.0, "then": { - "operation": "boost", - "score": -0.015290990471839905 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6407.0, + "threshold": 2367.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11451008915901184 - }, - "else": { - "operation": "boost", - "score": 0.08620891720056534 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23209.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09561088681221008 - }, - "else": { - "operation": "boost", - "score": 0.11003421247005463 - } - }, - "else": { - "operation": "boost", - "score": 0.10487036406993866 - } - }, - "else": { - "operation": "boost", - "score": 0.12127356976270676 - } - }, - "else": { - "operation": "boost", - "score": 0.12984560430049896 - } - } + "operation": "boost", + "score": 0.06141388416290283 }, "else": { "operation": "boost", - "score": 0.06420788168907166 + "score": 0.11383315920829773 } }, "else": { - "operation": "boost", - "score": 0.045759815722703934 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08389155566692352 - }, - "else": { - "operation": "boost", - "score": 0.10764475911855698 - } + "operation": "boost", + "score": 0.11154378205537796 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124497.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.07367648184299469 + "score": 0.12282747775316238 }, "else": { "operation": "boost", - "score": 0.0008026552386581898 + "score": 0.059932004660367966 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1782.0, + "then": { + "operation": "boost", + "score": 0.05466178432106972 }, "else": { "operation": "boost", - "score": -0.004091301932930946 + "score": 0.1172180026769638 } } }, "else": { "operation": "boost", - "score": 0.0010356057900935411 + "score": 0.06551878154277802 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08938925713300705 }, "else": { - "operation": "boost", - "score": 0.1301998347043991 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1076.5, + "then": { + "operation": "boost", + "score": 0.11916948109865189 + }, + "else": { + "operation": "boost", + "score": 0.09803646802902222 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.01437748596072197 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.055217623710632324 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1589912474155426 - }, - "else": { - "operation": "boost", - "score": -0.349962055683136 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1176297590136528 - }, - "else": { - "operation": "boost", - "score": 0.09272834658622742 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, - "then": { - "operation": "boost", - "score": -0.14427080750465393 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19035.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 63355.5, + "threshold": 19203.5, "then": { - "operation": "boost", - "score": 0.10411244630813599 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.0, + "threshold": 24391.5, "then": { "operation": "boost", - "score": 0.04846503213047981 + "score": 0.04077260568737984 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.03636603429913521 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": 0.11419687420129776 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21463.5, "then": { "operation": "boost", - "score": 0.11720891296863556 + "score": 0.10483069717884064 }, "else": { "operation": "boost", - "score": 0.08527249842882156 + "score": 0.08401595801115036 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24093.0, + "then": { + "operation": "boost", + "score": 0.09821303188800812 }, "else": { - "operation": "boost", - "score": 0.13717225193977356 + "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 + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12454472482204437 - }, - "else": { - "operation": "boost", - "score": 0.07929924875497818 - } }, "else": { "operation": "boost", - "score": 0.04358368739485741 + "score": 0.11991261690855026 } + }, + "else": { + "operation": "boost", + "score": 0.050951190292835236 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.12798148393630981 - } - } - }, - "else": { - "operation": "boost", - "score": -0.013259691186249256 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.09639829397201538 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12108928710222244 - }, - "else": { - "operation": "boost", - "score": -0.10521899908781052 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0763082355260849 }, "else": { - "operation": "boost", - "score": -0.053537022322416306 - } - }, - "else": { - "operation": "boost", - "score": 0.054777663201093674 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.038391660898923874 - }, - "else": { - "operation": "boost", - "score": -0.0809396356344223 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1007.0, + "threshold": 4207.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 66036.0, "then": { - "operation": "boost", - "score": 0.09446659684181213 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1851.5, + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.15196840465068817 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1232.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11400377005338669 + "score": -0.13484859466552734 }, "else": { - "operation": "boost", - "score": 0.11795157194137573 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.061266928911209106 + }, + "else": { + "operation": "boost", + "score": -0.2817407548427582 + } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11160148680210114 - } - }, - "else": { - "operation": "boost", - "score": 0.11686286330223083 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1250.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.06906700134277344 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10810.5, + "threshold": 191566.0, "then": { - "operation": "boost", - "score": 0.044024620205163956 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7123.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.10716643184423447 + "score": 0.06487927585840225 }, "else": { + "operation": "boost", + "score": -0.08152545243501663 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1681.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.08147495239973068 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13689520955085754 + }, + "else": { + "operation": "boost", + "score": 0.09994592517614365 + } }, "else": { "operation": "boost", - "score": 0.11242248117923737 + "score": 0.10540192574262619 } + }, + "else": { + "operation": "boost", + "score": -0.1231517642736435 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134893.5, + "then": { + "operation": "boost", + "score": -0.20569559931755066 }, "else": { "operation": "boost", - "score": 0.1056225448846817 + "score": 0.021040402352809906 } } } }, "else": { - "operation": "boost", - "score": 0.02344375289976597 - } - }, - "else": { - "operation": "boost", - "score": 0.06826986372470856 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22914.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.003482575761154294 - }, - "else": { - "operation": "boost", - "score": -0.09582258015871048 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { + "operation": "boost", + "score": -0.021160556003451347 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4146.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.06779582053422928 + "score": -0.2291814684867859 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8250.5, - "then": { - "operation": "boost", - "score": 0.08860204368829727 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11391155421733856 - }, - "else": { - "operation": "boost", - "score": 0.11239154636859894 - } - }, - "else": { - "operation": "boost", - "score": 0.10935087502002716 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17334182560443878 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5442.0, - "then": { - "operation": "boost", - "score": 0.12145526707172394 - }, - "else": { - "operation": "boost", - "score": 0.11090905219316483 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07131560891866684 - } - } + "operation": "boost", + "score": -1.8256585597991943 } }, "else": { "operation": "boost", - "score": 0.10144547373056412 + "score": -0.23394614458084106 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4219.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6849.0, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "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": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16714753210544586 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11899848282337189 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5408.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6049.0, - "then": { - "operation": "boost", - "score": 0.12460942566394806 - }, - "else": { - "operation": "boost", - "score": 0.11286474019289017 - } - }, - "else": { - "operation": "boost", - "score": -0.3102502226829529 - } - } - }, - "else": { - "operation": "boost", - "score": -0.16272974014282227 - } - } + "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.05749170854687691 + "score": -0.32402926683425903 } } - }, - "else": { - "operation": "boost", - "score": 0.03539146110415459 } } + }, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205835.5, + "threshold": 115.5, "then": { - "operation": "boost", - "score": 0.025870705023407936 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.10030829906463623 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199646.0, + "threshold": 116.5, "then": { - "operation": "boost", - "score": 0.06391583383083344 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159.5, + "then": { + "operation": "boost", + "score": 0.08748720586299896 + }, + "else": { + "operation": "boost", + "score": 0.068174347281456 + } }, "else": { - "operation": "boost", - "score": 0.08306460827589035 + "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": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 285.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 317.0, + "threshold": 147.5, "then": { + "operation": "boost", + "score": 0.07628177106380463 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 10.5, "then": { + "operation": "boost", + "score": -0.18643465638160706 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1189.0, + "threshold": 136.5, "then": { "operation": "boost", - "score": -0.17163638770580292 + "score": 0.11587391048669815 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12411142140626907 - }, - "else": { - "operation": "boost", - "score": 0.18184567987918854 - } + "operation": "boost", + "score": 0.12502773106098175 } - }, - "else": { - "operation": "boost", - "score": 0.10032247751951218 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12179325520992279 - }, - "else": { - "operation": "boost", - "score": 0.1265537440776825 } } }, "else": { "operation": "boost", - "score": 0.1367906779050827 + "score": 0.0863308236002922 } }, "else": { "operation": "boost", - "score": 0.0388469398021698 + "score": 0.05360598862171173 } - }, - "else": { - "operation": "boost", - "score": 0.04771849513053894 } }, "else": { "operation": "boost", - "score": 0.020604979246854782 + "score": 0.057492226362228394 } + }, + "else": { + "operation": "boost", + "score": -0.04092225059866905 } }, "else": { "operation": "boost", - "score": -0.006000944413244724 + "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 + } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.01898161880671978 }, "else": { "operation": "boost", - "score": -0.07288740575313568 + "score": -0.040894437581300735 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.10446525365114212 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.049498189240694046 + "score": 0.08937767893075943 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "boost", - "score": 0.12301142513751984 - }, - "else": { - "operation": "boost", - "score": 0.12924957275390625 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1772.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1826.0, + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.05244150385260582 + "score": 0.13587133586406708 }, "else": { "operation": "boost", - "score": 0.1200031042098999 + "score": 0.09705880284309387 } - }, - "else": { - "operation": "boost", - "score": 0.0639052614569664 } } }, "else": { "operation": "boost", - "score": 0.03867362067103386 + "score": 0.0743471011519432 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 114.5, + "threshold": 34.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 560.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 597.5, + "operation": "boost", + "score": 0.030830416828393936 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.08518184721469879 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 592.5, + "threshold": 39.5, "then": { "operation": "boost", - "score": 0.15955136716365814 + "score": 0.10780651122331619 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, "then": { "operation": "boost", - "score": 0.13241606950759888 + "score": 0.12175045162439346 }, "else": { "operation": "boost", - "score": 0.06472175568342209 + "score": 0.10268504172563553 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.06797526776790619 + "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.10731805115938187 + "score": 0.06823477894067764 } - }, - "else": { - "operation": "boost", - "score": 0.07450989633798599 } } }, "else": { "operation": "boost", - "score": 0.07682140171527863 + "score": 0.0722891241312027 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.06348537653684616 + "score": 0.08659258484840393 }, "else": { "operation": "boost", - "score": 0.042850177735090256 + "score": 0.062272872775793076 } } } }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.06307996064424515 - }, - "else": { - "operation": "boost", - "score": 0.017599521204829216 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.04940750077366829 - }, - "else": { - "operation": "boost", - "score": 0.0177913811057806 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011430873535573483 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.04652078077197075 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03799384459853172 - }, - "else": { - "operation": "boost", - "score": 0.0031205029226839542 - } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03825219348073006 - }, - "else": { - "operation": "boost", - "score": 0.013290137983858585 - } - }, - "else": { - "operation": "boost", - "score": 0.006175477057695389 - } - }, - "else": { - "operation": "boost", - "score": -0.0072102718986570835 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.027991672977805138 - }, - "else": { - "operation": "boost", - "score": 0.011228560470044613 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011272797361016273 - }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.02343989536166191 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05508514866232872 - }, - "else": { - "operation": "boost", - "score": -0.00383790023624897 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 896.0, "then": { - "operation": "boost", - "score": 0.07168540358543396 + "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_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "boost", - "score": 0.09536111354827881 + "score": 0.02942359633743763 }, "else": { "operation": "boost", - "score": 0.07699080556631088 + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004790439270436764 + } } }, "else": { + "operation": "boost", + "score": -0.007808484602719545 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.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 + } + }, + "else": { + "operation": "boost", + "score": 0.12836581468582153 + } + }, + "else": { + "operation": "boost", + "score": 0.0689612552523613 + } + }, + "else": { + "operation": "boost", + "score": 0.04308740049600601 + } + }, + "else": { + "operation": "boost", + "score": 0.04647286981344223 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2757.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4780.0, + "then": { + "operation": "boost", + "score": -0.04850918799638748 + }, + "else": { + "operation": "boost", + "score": 0.13111642003059387 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "boost", + "score": 0.11421708762645721 + }, + "else": { + "operation": "boost", + "score": 0.044752128422260284 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0324704572558403 + }, + "else": { + "operation": "boost", + "score": 0.04074479267001152 + } + }, + "else": { + "operation": "boost", + "score": -0.0099408570677042 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 68.0, "then": { + "operation": "boost", + "score": 0.0777873545885086 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.19436940550804138 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 161.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07781333476305008 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.5, + "then": { + "operation": "boost", + "score": 0.0828460156917572 + }, + "else": { + "operation": "boost", + "score": 0.11243365705013275 + } + }, + "else": { + "operation": "boost", + "score": 0.054659366607666016 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.018041646108031273 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06916981190443039 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0008481668191961944 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10521330684423447 + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 264.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.04086945578455925 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 321.0, + "then": { + "operation": "boost", + "score": 0.11620476841926575 + }, + "else": { + "operation": "boost", + "score": 0.11748813837766647 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10936228930950165 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 36.5, "then": { "operation": "boost", - "score": -0.04657905176281929 + "score": 0.07402962446212769 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 34.5, "then": { "operation": "boost", - "score": 0.11576711386442184 + "score": 0.12404794245958328 }, "else": { "operation": "boost", - "score": 0.13341645896434784 + "score": -0.1493755728006363 } } }, "else": { "operation": "boost", - "score": 0.08840152621269226 + "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.07720000296831131 + "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.006475976202636957 + "score": 0.027688592672348022 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0004686205356847495 + }, + "else": { + "operation": "boost", + "score": 0.025495463982224464 } + }, + "else": { + "operation": "boost", + "score": -0.009482506662607193 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.0071328734047710896 + }, + "else": { + "operation": "boost", + "score": -0.09092620760202408 + } + }, + "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 + } + } + }, + "else": { + "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_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": -0.0188454482704401 + }, + "else": { + "operation": "boost", + "score": -0.07360649853944778 + } + }, + "else": { "operation": "boost", - "score": -0.04972810298204422 + "score": -0.0035827995743602514 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.06918095052242279 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.08714766800403595 + }, + "else": { + "operation": "boost", + "score": 0.029187016189098358 + } + } }, "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": "NumReferences", - "threshold": 67685.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.004438433330506086 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10150470584630966 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.15530087053775787 + }, + "else": { + "operation": "boost", + "score": 0.17299604415893555 + } + } + }, + "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": 241916.0, + "threshold": 21461.5, "then": { - "operation": "boost", - "score": 0.012257425114512444 + "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 + } + } }, "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": 207505.0, + "threshold": 2288.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2764.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": -0.14200441539287567 - }, - "else": { - "operation": "boost", - "score": 0.10316124558448792 - } + "operation": "boost", + "score": 0.09845999628305435 }, "else": { "operation": "boost", - "score": 0.09538497775793076 + "score": 0.12239048629999161 } }, "else": { "operation": "boost", - "score": 0.051886316388845444 + "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": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 90736.0, "then": { + "operation": "boost", + "score": -0.023771122097969055 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 19589.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10321158170700073 - }, - "else": { - "operation": "boost", - "score": 0.0341777577996254 - } - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 20039.5, "then": { - "operation": "boost", - "score": 0.028944605961441994 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120342.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.047176312655210495 + "score": 0.04317961633205414 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 92526.5, + "threshold": 24605.5, "then": { "operation": "boost", - "score": 0.09497968852519989 + "score": 0.0689849853515625 }, "else": { - "operation": "boost", - "score": 0.056864719837903976 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20811.0, + "then": { + "operation": "boost", + "score": 0.10702026635408401 + }, + "else": { + "operation": "boost", + "score": 0.09320776164531708 + } } } + }, + "else": { + "operation": "boost", + "score": 0.10608634352684021 } + }, + "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.047859493643045425 + "score": 0.040057651698589325 } } } }, - "else": { - "operation": "boost", - "score": 0.0052826362662017345 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11547627300024033 - }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 56138.5, "then": { "operation": "boost", - "score": -0.1270713210105896 + "score": -0.012510381639003754 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 43084.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.10507741570472717 + }, + "else": { + "operation": "boost", + "score": 0.06870903819799423 + } + }, + "else": { + "operation": "boost", + "score": 0.048064667731523514 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.04228169843554497 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0984160378575325 + }, + "else": { + "operation": "boost", + "score": 0.11561645567417145 + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Type" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.04760981351137161 + "score": 0.09615489095449448 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07664521038532257 - }, - "else": { - "operation": "boost", - "score": 0.08870825171470642 - } + "operation": "boost", + "score": 0.11103545129299164 } }, "else": { "operation": "boost", - "score": -0.08620234578847885 + "score": 0.10708088427782059 } } }, "else": { "operation": "boost", - "score": 0.03223290294408798 + "score": -0.24048803746700287 } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.024567412212491035 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6724.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11308.5, "then": { - "operation": "boost", - "score": -0.027218779549002647 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7199.5, + "threshold": 18439.5, "then": { "operation": "boost", - "score": 0.0801650807261467 + "score": 0.08185446262359619 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6920.5, + "threshold": 18103.5, "then": { "operation": "boost", - "score": -3.0974786281585693 + "score": 0.10466224700212479 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.04097631946206093 - }, - "else": { - "operation": "boost", - "score": -0.27628904581069946 - } + "operation": "boost", + "score": 0.019610291346907616 } } }, "else": { "operation": "boost", - "score": -0.027286464348435402 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55833.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.9617539644241333 - }, - "else": { - "operation": "boost", - "score": -0.03672046959400177 + "score": 0.03607213497161865 } }, "else": { - "operation": "boost", - "score": -0.06166360527276993 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.011152693070471287 + "score": 0.0796777755022049 }, "else": { - "operation": "boost", - "score": 0.04687725007534027 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 297.5, + "threshold": 10936.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "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": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.04684729874134064 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 684.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1058.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.10627703368663788 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12401227653026581 - }, - "else": { - "operation": "boost", - "score": -0.03240819647908211 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1755.0, - "then": { - "operation": "boost", - "score": 0.16842803359031677 - }, - "else": { - "operation": "boost", - "score": 0.10835419595241547 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11499997228384018 - }, - "else": { - "operation": "boost", - "score": 0.11866749078035355 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16374623775482178 - } - }, - "else": { - "operation": "boost", - "score": 0.1449296921491623 - } - }, - "else": { - "operation": "boost", - "score": 0.11899323761463165 - } - }, - "else": { - "operation": "boost", - "score": 0.1114889457821846 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 333.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12761999666690826 - }, - "else": { - "operation": "boost", - "score": 0.13860279321670532 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.12022942304611206 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.058053333312273026 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 312.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.1138133704662323 - }, - "else": { - "operation": "boost", - "score": 0.11593184620141983 - } - }, - "else": { - "operation": "boost", - "score": 0.12287044525146484 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10024614632129669 - } + "operation": "boost", + "score": 0.1071305125951767 }, "else": { "operation": "boost", - "score": -0.012063604779541492 + "score": -0.1112494096159935 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 8427.5, "then": { + "operation": "boost", + "score": 0.01764564774930477 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 7875.5, "then": { "operation": "boost", - "score": 0.12408555299043655 + "score": 0.1268225461244583 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1258956789970398 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.14840787649154663 - }, - "else": { - "operation": "boost", - "score": 0.5690011978149414 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12654443085193634 - }, - "else": { - "operation": "boost", - "score": 0.13219954073429108 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12927821278572083 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92.0, - "then": { - "operation": "boost", - "score": 0.11819431185722351 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "boost", - "score": 0.1473063975572586 - }, - "else": { - "operation": "boost", - "score": 3.0283725261688232 - } - }, - "else": { - "operation": "boost", - "score": 0.13977976143360138 - } - }, - "else": { - "operation": "boost", - "score": -7.975137233734131 - } - } - } - } - } + "operation": "boost", + "score": 0.1360694020986557 }, "else": { "operation": "boost", - "score": 0.21964618563652039 + "score": 0.10298074036836624 } } - }, - "else": { - "operation": "boost", - "score": 0.05544936656951904 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, - "then": { - "operation": "boost", - "score": 0.09226930886507034 - }, - "else": { - "operation": "boost", - "score": 0.06041823700070381 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.03269600123167038 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13823.0, - "then": { - "operation": "boost", - "score": -0.033703356981277466 }, "else": { - "operation": "boost", - "score": 0.06818221509456635 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.029419250786304474 - }, - "else": { - "operation": "boost", - "score": 0.05344458296895027 - } - }, - "else": { - "operation": "boost", - "score": 0.01627613976597786 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 530.0, - "then": { - "operation": "boost", - "score": 0.07382617890834808 - }, - "else": { - "operation": "boost", - "score": -0.038278978317976 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6996.5, "then": { - "operation": "boost", - "score": 0.12661263346672058 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.019765209406614304 + "score": 0.08630163967609406 }, "else": { "operation": "boost", - "score": 0.21326613426208496 + "score": 0.11156341433525085 } + }, + "else": { + "operation": "boost", + "score": 0.0617440827190876 } }, "else": { "operation": "boost", - "score": 0.14304697513580322 + "score": 0.07192136347293854 } - }, - "else": { - "operation": "boost", - "score": -0.14334045350551605 } - }, - "else": { - "operation": "boost", - "score": 0.07582074403762817 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02301914617419243 - } - }, - "else": { - "operation": "boost", - "score": 5.5787932069506496e-05 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59879.0, - "then": { - "operation": "boost", - "score": 0.11909180879592896 - }, - "else": { - "operation": "boost", - "score": -0.03208485618233681 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.05747104808688164 - }, - "else": { - "operation": "boost", - "score": -0.2338068187236786 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.05638225004076958 - }, - "else": { - "operation": "boost", - "score": 0.11033590883016586 } } } }, "else": { "operation": "boost", - "score": -0.0056952196173369884 + "score": 0.05133851245045662 } }, "else": { "operation": "boost", - "score": 0.013838864862918854 + "score": -0.004673770163208246 } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.01327170804142952 + }, + "else": { + "operation": "boost", + "score": -0.07458770275115967 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6720.0, + "then": { + "operation": "boost", + "score": 0.2094815969467163 + }, + "else": { + "operation": "boost", + "score": 0.11961625516414642 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10135617852210999 + }, + "else": { + "operation": "boost", + "score": 0.008617357350885868 } + }, + "else": { + "operation": "boost", + "score": 0.03693248704075813 } } } @@ -81827,2971 +83164,2187 @@ } }, "else": { - "operation": "boost", - "score": -0.008531760424375534 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.010409989394247532 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 5916.5, "then": { - "operation": "boost", - "score": -0.11514756083488464 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 5949.5, "then": { "operation": "boost", - "score": 0.05028402432799339 + "score": 0.05653587728738785 }, "else": { - "operation": "boost", - "score": 0.08062119781970978 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11193179339170456 + }, + "else": { + "operation": "boost", + "score": -0.35022637248039246 + } } + }, + "else": { + "operation": "boost", + "score": 0.01952078379690647 } }, "else": { "operation": "boost", - "score": -0.13330887258052826 + "score": 0.01510203629732132 } - }, - "else": { - "operation": "boost", - "score": -0.03971454128623009 } + } + }, + "else": { + "operation": "boost", + "score": -0.015650469809770584 + } + } + } + } + }, + { + "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.030102472752332687 + }, + "else": { + "operation": "boost", + "score": -0.0361565463244915 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.028848571702837944 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.056212443858385086 }, "else": { "operation": "boost", - "score": -0.004939874168485403 + "score": -0.019413067027926445 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2865.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 18.5, "then": { + "operation": "boost", + "score": 0.04827047139406204 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.012443920597434044 + "score": -0.09540338814258575 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09884414821863174 + "score": 0.12334182858467102 }, "else": { "operation": "boost", - "score": 0.07697661221027374 + "score": 0.13909722864627838 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.056733567267656326 - }, - "else": { - "operation": "boost", - "score": 0.02101994678378105 - } } }, "else": { "operation": "boost", - "score": -0.14292386174201965 + "score": -0.05567193403840065 + } + }, + "else": { + "operation": "boost", + "score": 0.0007083556265570223 + } + }, + "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.03923003003001213 + "score": 0.05222548916935921 } } + }, + "else": { + "operation": "boost", + "score": 0.010475614108145237 } } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03607746213674545 + "score": 0.01843740977346897 }, "else": { "operation": "boost", - "score": 0.011586055159568787 + "score": 0.0018229072447866201 } }, "else": { - "operation": "boost", - "score": 0.005664284341037273 - } - }, - "else": { - "operation": "boost", - "score": -0.009494486264884472 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "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_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02930806390941143 - }, - "else": { - "operation": "boost", - "score": -0.0830991119146347 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06584862619638443 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16308479011058807 - }, - "else": { - "operation": "boost", - "score": 0.12768833339214325 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08178377151489258 - } - } - }, - "else": { - "operation": "boost", - "score": 0.037084974348545074 - } + "operation": "boost", + "score": 0.18564501404762268 }, "else": { "operation": "boost", - "score": -0.04433166980743408 + "score": 0.001973107224330306 } }, "else": { "operation": "boost", - "score": 0.005221188999712467 + "score": 0.0726984515786171 } }, "else": { "operation": "boost", - "score": -0.07004743069410324 + "score": -0.0805223286151886 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09745055437088013 - }, - "else": { - "operation": "boost", - "score": 0.014115272089838982 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7591.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.017672158777713776 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.04999678581953049 + "score": -0.018543360754847527 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15911245346069336 - }, - "else": { - "operation": "boost", - "score": -0.3553714454174042 - } + "operation": "boost", + "score": -0.19564083218574524 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 47355.5, "then": { - "operation": "boost", - "score": 0.10068008303642273 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13904720544815063 + "score": -0.027631811797618866 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 53585.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.11712277680635452 + "score": 0.05843604728579521 }, "else": { - "operation": "boost", - "score": 0.07052041590213776 - } - }, - "else": { - "operation": "boost", - "score": 0.04397071525454521 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10778354853391647 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.013611082918941975 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.06024932488799095 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 426.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 995.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1380.5, + "threshold": 61054.5, "then": { "operation": "boost", - "score": 0.11500533670186996 + "score": -0.017686134204268456 }, "else": { - "operation": "boost", - "score": 0.11727232486009598 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08858092129230499 + }, + "else": { + "operation": "boost", + "score": 0.10536844283342361 + } } - }, - "else": { - "operation": "boost", - "score": 0.10614058375358582 - } - }, - "else": { - "operation": "boost", - "score": 0.08551708608865738 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 448.5, - "then": { - "operation": "boost", - "score": 0.12914207577705383 - }, - "else": { - "operation": "boost", - "score": 0.11273106932640076 } }, "else": { "operation": "boost", - "score": -0.1635706126689911 + "score": 0.11714880168437958 } } }, "else": { - "operation": "boost", - "score": 0.13075335323810577 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12448772042989731 + }, + "else": { + "operation": "boost", + "score": -0.12718261778354645 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" ], - "then": { - "operation": "boost", - "score": 0.08544036000967026 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07235419750213623 - }, - "else": { - "operation": "boost", - "score": 0.03192402049899101 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3885.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14112.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.011684929952025414 - }, - "else": { - "operation": "boost", - "score": -0.07024630159139633 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14068.0, + "threshold": 1970.0, "then": { "operation": "boost", - "score": 0.10727555304765701 + "score": 0.08865810185670853 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 158.5, "then": { + "operation": "boost", + "score": -0.011484429240226746 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12984.5, + "threshold": 75.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.07730312645435333 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.12160134315490723 + "score": 0.09977762401103973 }, "else": { "operation": "boost", - "score": 0.12145834416151047 + "score": 0.11338888108730316 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10651.0, - "then": { - "operation": "boost", - "score": -0.34461912512779236 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6858.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11326322704553604 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9990.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10035.5, - "then": { - "operation": "boost", - "score": 0.09282080084085464 - }, - "else": { - "operation": "boost", - "score": 0.1061389297246933 - } - }, - "else": { - "operation": "boost", - "score": 0.09248746931552887 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8368.0, - "then": { - "operation": "boost", - "score": -0.0037627676501870155 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { - "operation": "boost", - "score": 0.11218073964118958 - }, - "else": { - "operation": "boost", - "score": 0.10123585164546967 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12122737616300583 - } - }, - "else": { - "operation": "boost", - "score": 0.08526276051998138 - } + "operation": "boost", + "score": 0.10518111288547516 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6180.5, - "then": { - "operation": "boost", - "score": 0.08653800189495087 }, "else": { "operation": "boost", - "score": 0.036155007779598236 + "score": 0.06893852353096008 } } } + }, + "else": { + "operation": "boost", + "score": 0.003483752952888608 } }, - "else": { - "operation": "boost", - "score": 0.03987329825758934 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, - "then": { - "operation": "boost", - "score": 0.028593165799975395 - }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 56.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09270499646663666 - }, - "else": { - "operation": "boost", - "score": 0.10645247995853424 - } - }, - "else": { - "operation": "boost", - "score": 0.0872475653886795 - } + "operation": "boost", + "score": -0.020558379590511322 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": 0.053690049797296524 - }, - "else": { - "operation": "boost", - "score": 0.08074159175157547 - } + "operation": "boost", + "score": -0.1367088407278061 } } }, "else": { "operation": "boost", - "score": 0.026430116966366768 + "score": 0.026458794251084328 } - }, - "else": { - "operation": "boost", - "score": -0.0014547641621902585 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06394126266241074 - }, - "else": { - "operation": "boost", - "score": 0.018444791436195374 - } - }, - "else": { - "operation": "boost", - "score": -0.06462173908948898 - } - }, - "else": { - "operation": "boost", - "score": -0.09073448926210403 - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10857183486223221 - }, - "else": { - "operation": "boost", - "score": 0.15454035997390747 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 119.5, "then": { - "operation": "boost", - "score": 0.04042328521609306 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 126.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.02388397790491581 + "score": 0.10391107201576233 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.09744543582201004 + "score": 0.12740188837051392 }, "else": { - "operation": "boost", - "score": 0.06619007140398026 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05395056679844856 - } - } - }, - "else": { - "operation": "boost", - "score": 0.010057675652205944 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13417787849903107 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11536566913127899 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.021307265385985374 - }, - "else": { - "operation": "boost", - "score": 0.1828429251909256 - } - } - }, - "else": { "operation": "boost", - "score": 0.11549351364374161 - } - }, - "else": { - "operation": "boost", - "score": -0.10189588367938995 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.15877604484558105 - }, - "else": { - "operation": "boost", - "score": 0.10422975569963455 - } + "score": 0.11089044064283371 }, "else": { "operation": "boost", - "score": 0.06276272237300873 + "score": -0.12309914827346802 } - }, - "else": { - "operation": "boost", - "score": 0.02072625607252121 } } + }, + "else": { + "operation": "boost", + "score": 0.1229807436466217 } }, "else": { - "operation": "boost", - "score": 0.02129983715713024 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.03668301925063133 + }, + "else": { + "operation": "boost", + "score": 0.12194278091192245 + } + }, + "else": { + "operation": "boost", + "score": 0.0933670848608017 + } } }, "else": { "operation": "boost", - "score": -0.04577477276325226 + "score": 0.07754278928041458 } }, "else": { "operation": "boost", - "score": 0.004573029465973377 + "score": 0.0445169061422348 } + }, + "else": { + "operation": "boost", + "score": 0.04514029622077942 } }, "else": { "operation": "boost", - "score": -0.011688550934195518 + "score": 0.03103025071322918 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": -0.04118020087480545 + }, + "else": { + "operation": "boost", + "score": -0.19654276967048645 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05122999846935272 + }, + "else": { + "operation": "boost", + "score": -0.018985873088240623 + } } } } } }, "else": { - "operation": "boost", - "score": -0.06480012834072113 + "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, + "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": "boost", + "score": -0.016405219212174416 + }, + "else": { + "operation": "boost", + "score": -0.06637326627969742 + } + }, + "else": { + "operation": "boost", + "score": -0.004807045683264732 + } + } + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.0056626093573868275 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1772.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1819.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3948.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.041502729058265686 + "score": 0.11715424805879593 }, "else": { "operation": "boost", - "score": 0.13320563733577728 + "score": 0.12253823131322861 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5490.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6708.0, - "then": { - "operation": "boost", - "score": 0.02914241887629032 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11879105120897293 - }, - "else": { - "operation": "boost", - "score": 0.13225442171096802 - } - }, - "else": { - "operation": "boost", - "score": 0.07352575659751892 - } - } - }, - "else": { - "operation": "boost", - "score": -0.015136309899389744 - } + "operation": "boost", + "score": 0.0760316327214241 } }, "else": { "operation": "boost", - "score": 0.11831716448068619 + "score": 0.06361331790685654 } }, "else": { - "operation": "boost", - "score": 0.06185174360871315 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression" + "Keyword", + "Destructor", + "Constructor", + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.0, + "feature": "FileProximityDistance", + "threshold": 31.0, "then": { "operation": "boost", - "score": -0.11678892374038696 + "score": 0.08717422187328339 }, "else": { - "operation": "boost", - "score": 0.13219106197357178 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21461.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 304083.5, "then": { "operation": "boost", - "score": 0.10229745507240295 + "score": 0.028426405042409897 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.0, - "then": { - "operation": "boost", - "score": 0.11777406930923462 - }, - "else": { - "operation": "boost", - "score": 0.13713011145591736 - } + "operation": "boost", + "score": 0.07238021492958069 }, "else": { "operation": "boost", - "score": 0.11314748227596283 + "score": 0.09655483812093735 } }, "else": { "operation": "boost", - "score": 0.1299305111169815 + "score": -0.00994004774838686 } } }, "else": { "operation": "boost", - "score": 0.0767250582575798 + "score": -2.6403826268506236e-05 } - }, - "else": { - "operation": "boost", - "score": 0.13577525317668915 } + }, + "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.06521150469779968 + "score": 0.21937048435211182 } } - }, - "else": { - "operation": "boost", - "score": 0.0612841434776783 } }, "else": { "operation": "boost", - "score": 0.03498200699687004 + "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": -0.5, + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "operation": "boost", + "score": 0.02225440926849842 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.036093972623348236 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08851653337478638 + }, + "else": { + "operation": "boost", + "score": 0.08824627846479416 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 131.5, + "threshold": 148934.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02002578042447567 + }, + "else": { + "operation": "boost", + "score": 0.12142549455165863 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 597.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007408438716083765 - }, - "else": { - "operation": "boost", - "score": 0.1196688562631607 - } + "operation": "boost", + "score": 0.11730841547250748 }, "else": { "operation": "boost", - "score": 0.15258890390396118 + "score": 0.11944764852523804 } }, "else": { + "operation": "boost", + "score": 0.13285496830940247 + } + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.021539421752095222 + "score": 0.13546694815158844 }, "else": { "operation": "boost", - "score": 0.11197904497385025 + "score": 0.14449086785316467 } + }, + "else": { + "operation": "boost", + "score": 0.1271180361509323 } - }, - "else": { - "operation": "boost", - "score": 0.05944986641407013 } - }, - "else": { - "operation": "boost", - "score": 0.06166220083832741 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08137337118387222 - }, - "else": { - "operation": "boost", - "score": 0.0479554645717144 } } + }, + "else": { + "operation": "boost", + "score": -0.05986245721578598 } }, "else": { - "operation": "boost", - "score": 0.021595554426312447 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.05057540163397789 - }, - "else": { - "operation": "boost", - "score": -0.020768767222762108 + "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 + } } } }, "else": { "operation": "boost", - "score": 0.0023185464087873697 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0022238497622311115 - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09573910385370255 - }, - "else": { - "operation": "boost", - "score": 0.1332838237285614 + "score": -0.015233042649924755 } }, "else": { - "operation": "boost", - "score": 0.0856308788061142 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2666568458080292 - }, - "else": { - "operation": "boost", - "score": 0.07165595144033432 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02710716985166073 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.37559035420417786 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" + "CCC_Namespace" ], "then": { "operation": "boost", - "score": 0.024992721155285835 + "score": 0.08392838388681412 }, "else": { - "operation": "boost", - "score": -0.0005079411785118282 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00024758250219747424 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08707781136035919 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.14122672379016876 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 402355.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11409688740968704 - }, - "else": { - "operation": "boost", - "score": -0.09791114926338196 - } + "operation": "boost", + "score": 0.06102503091096878 }, "else": { "operation": "boost", - "score": 0.09449727088212967 + "score": 0.022833826020359993 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.05525252968072891 - }, - "else": { - "operation": "boost", - "score": -0.029116472229361534 - } + "operation": "boost", + "score": -0.015503346920013428 } + }, + "else": { + "operation": "boost", + "score": 0.06608603149652481 } }, "else": { + "operation": "boost", + "score": -0.02222730964422226 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15236.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 371693.0, - "then": { - "operation": "boost", - "score": 0.08590982109308243 - }, - "else": { - "operation": "boost", - "score": -0.014549210667610168 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0028809006325900555 - }, - "else": { - "operation": "boost", - "score": -0.21628163754940033 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, "then": { "operation": "boost", - "score": -0.0015886604087427258 + "score": 0.052860382944345474 }, "else": { "operation": "boost", - "score": 0.05766068026423454 + "score": 0.04473995789885521 } + }, + "else": { + "operation": "boost", + "score": 0.058804310858249664 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + }, + "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": "NumReferences", - "threshold": 1411.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 7.0, + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2626.5, + "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.06298740953207016 + "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.1169821098446846 + "score": -0.013337423093616962 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1543.5, + "threshold": 14971.5, "then": { "operation": "boost", - "score": 0.05775843933224678 + "score": 0.08060920983552933 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1517.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1346464455127716 + "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.08360633254051208 + "score": -0.01682526245713234 } } } }, "else": { - "operation": "boost", - "score": 0.011902058497071266 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 601.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0920412614941597 - }, - "else": { - "operation": "boost", - "score": -0.017463726922869682 - } - }, - "else": { - "operation": "boost", - "score": 0.1487012654542923 - } - }, - "else": { - "operation": "boost", - "score": 0.07297807186841965 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04202035441994667 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.061649713665246964 + "score": -0.018720533698797226 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08806467801332474 - }, - "else": { - "operation": "boost", - "score": 0.1920260488986969 - } + "operation": "boost", + "score": 0.04432129114866257 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.10128669440746307 + "score": 0.11389318853616714 }, "else": { - "operation": "boost", - "score": 0.12876930832862854 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08379063755273819 + }, + "else": { + "operation": "boost", + "score": 0.06657944619655609 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.040032267570495605 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.017651043832302094 - }, - "else": { - "operation": "boost", - "score": -0.0670112892985344 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.06575620919466019 - }, - "else": { - "operation": "boost", - "score": -0.7578952312469482 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.061589501798152924 - }, - "else": { - "operation": "boost", - "score": 0.005830186419188976 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 30.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.0017659717705100775 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13818149268627167 - }, - "else": { - "operation": "boost", - "score": 0.05356113240122795 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.0491323247551918 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.040101271122694016 - }, - "else": { - "operation": "boost", - "score": -0.0016458678292110562 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.1060616746544838 + "score": -0.032169684767723083 }, "else": { "operation": "boost", - "score": 0.05356837809085846 + "score": -0.1248989999294281 } - }, - "else": { - "operation": "boost", - "score": 0.006499796640127897 } } } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.012581081129610538 - }, - "else": { - "operation": "boost", - "score": 0.04169837385416031 - } - }, - "else": { - "operation": "boost", - "score": 0.009640643373131752 - } + "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": "boost", - "score": -0.08258307725191116 + "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": 74698.5, + "threshold": 46.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 212125.0, + "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 205637.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.01038298662751913 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.026691339910030365 + "score": 0.08522992581129074 + }, + "else": { + "operation": "boost", + "score": 0.03307950496673584 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "boost", + "score": -0.27176523208618164 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10787360370159149 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.09068281948566437 + }, + "else": { + "operation": "boost", + "score": 0.11708507686853409 + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 478260.0, + "threshold": 119809.5, "then": { "operation": "boost", - "score": -1.1947660446166992 + "score": -2.654709577560425 }, "else": { "operation": "boost", - "score": -0.02808448113501072 + "score": 0.018805790692567825 } } + } + } + }, + "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.0440250039100647 + "score": -0.039203446358442307 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 193454.5, + "threshold": 67685.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": 0.026712151244282722 + }, + "else": { + "operation": "boost", + "score": -0.10378751158714294 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198405.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "operation": "boost", + "score": 0.09913966059684753 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.10581009089946747 + "score": -0.17972122132778168 }, "else": { "operation": "boost", - "score": 0.12077201157808304 + "score": 0.10723704844713211 } }, "else": { "operation": "boost", - "score": 0.10638543218374252 + "score": 0.04963737726211548 } - }, - "else": { - "operation": "boost", - "score": 0.12321697175502777 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 207505.0, + "threshold": 120342.5, "then": { "operation": "boost", - "score": 0.0933455377817154 + "score": -0.020845597609877586 }, "else": { - "operation": "boost", - "score": 0.03781765699386597 + "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 + } } } - }, - "else": { - "operation": "boost", - "score": 0.07407217472791672 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09452936053276062 + "score": -0.019709071144461632 }, "else": { "operation": "boost", - "score": 0.1060110330581665 + "score": 0.028348784893751144 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": -0.06037582457065582 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.0905148833990097 + }, + "else": { + "operation": "boost", + "score": 0.04607498645782471 + } + }, + "else": { + "operation": "boost", + "score": 0.02619863860309124 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10551843047142029 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120391.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1176450178027153 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.030737973749637604 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": 0.04847116768360138 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09870749711990356 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10060026496648788 + "score": 0.0706649199128151 }, "else": { "operation": "boost", - "score": 0.10517087578773499 + "score": 0.007559794932603836 } }, "else": { "operation": "boost", - "score": 0.1799556016921997 + "score": -0.05371614173054695 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.10489467531442642 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03849929943680763 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.0, + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10759682208299637 + "score": 0.04728851467370987 }, "else": { - "operation": "boost", - "score": 0.10440836101770401 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.1498935967683792 + }, + "else": { + "operation": "boost", + "score": 0.18616430461406708 + } } }, "else": { - "operation": "boost", - "score": 0.13166965544223785 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.14500924944877625 + }, + "else": { + "operation": "boost", + "score": 0.1150236427783966 + } } }, "else": { "operation": "boost", - "score": -0.35732707381248474 + "score": -0.08425764739513397 } }, "else": { - "operation": "boost", - "score": 0.06253937631845474 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0903579592704773 + }, + "else": { + "operation": "boost", + "score": 0.012131360359489918 + } } }, "else": { + "operation": "boost", + "score": -0.0011018242221325636 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.0402105413377285 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.10749869793653488 + "score": 0.10997404158115387 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82306.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.04912075400352478 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.09694170206785202 - }, - "else": { - "operation": "boost", - "score": 0.11507488042116165 - } + "operation": "boost", + "score": 0.1521230936050415 }, "else": { "operation": "boost", - "score": 0.09517334401607513 + "score": 0.09561850875616074 } + }, + "else": { + "operation": "boost", + "score": 0.1309516578912735 + } + } + }, + "else": { + "operation": "boost", + "score": -0.19444134831428528 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129.5, + "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 } } + }, + "else": { + "operation": "boost", + "score": 0.05448324978351593 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81629.5, - "then": { - "operation": "boost", - "score": -0.14154614508152008 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 59716.0, "then": { "operation": "boost", - "score": 0.06850410252809525 + "score": -0.3209773004055023 }, "else": { "operation": "boost", - "score": 0.11978062987327576 + "score": -0.035788826644420624 } - }, - "else": { - "operation": "boost", - "score": -0.18347272276878357 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, - "then": { - "operation": "boost", - "score": -0.03749962896108627 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12561576068401337 - }, - "else": { - "operation": "boost", - "score": 0.08722315728664398 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "boost", - "score": 0.0647052675485611 - }, - "else": { - "operation": "boost", - "score": 0.11151814460754395 } } }, - "else": { - "operation": "boost", - "score": 0.028698304668068886 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06927503645420074 - }, - "else": { - "operation": "boost", - "score": 0.03074716217815876 - } - }, - "else": { - "operation": "boost", - "score": -0.006560235284268856 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.009473524987697601 - }, - "else": { - "operation": "boost", - "score": -0.09873626381158829 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.022851215675473213 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07404054701328278 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.5, - "then": { - "operation": "boost", - "score": 0.10490263998508453 - }, - "else": { - "operation": "boost", - "score": 0.11975095421075821 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06982952356338501 + "score": 0.01712394505739212 }, "else": { - "operation": "boost", - "score": 0.10454913228750229 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10949210077524185 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09102116525173187 + "score": -0.0033913259394466877 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.13415855169296265 + "score": 0.04431990534067154 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30.5, + "threshold": 66.5, "then": { "operation": "boost", - "score": 0.08478915691375732 + "score": 0.06324257701635361 }, "else": { "operation": "boost", - "score": 0.11537665873765945 + "score": 0.045604851096868515 } } } }, "else": { "operation": "boost", - "score": 0.06904816627502441 + "score": 0.11126060783863068 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.0174709539860487 + "score": 0.01573498547077179 }, "else": { + "operation": "boost", + "score": -0.04521724954247475 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.008792242966592312 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "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.13094978034496307 + "score": -0.034178294241428375 }, "else": { "operation": "boost", - "score": 0.11940353363752365 + "score": -0.14771457016468048 } - }, - "else": { - "operation": "boost", - "score": 0.10380633175373077 } - }, - "else": { - "operation": "boost", - "score": 0.07671251893043518 } + }, + "else": { + "operation": "boost", + "score": 0.026719655841588974 } } } + }, + "else": { + "operation": "boost", + "score": 0.015041018836200237 } } - }, - "else": { - "operation": "boost", - "score": 0.046032652258872986 } - }, - "else": { - "operation": "boost", - "score": 0.03656588867306709 } - }, - "else": { - "operation": "boost", - "score": 0.02931760810315609 } - }, - "else": { - "operation": "boost", - "score": -0.0013386583887040615 } } - } - } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13016530871391296 - }, - "else": { - "operation": "boost", - "score": 0.1285725235939026 - } - }, - "else": { - "operation": "boost", - "score": 0.08058291673660278 - } - }, - "else": { - "operation": "boost", - "score": 0.04039546474814415 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03428032249212265 - }, - "else": { - "operation": "boost", - "score": 0.01139956247061491 - } - }, - "else": { - "operation": "boost", - "score": 0.004168464802205563 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.4678858518600464 }, "else": { - "operation": "boost", - "score": -0.0064522032625973225 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "boost", - "score": 0.0734945610165596 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003173900069668889 - }, - "else": { - "operation": "boost", - "score": -0.037732552736997604 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.60593181848526 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09947822242975235 - }, - "else": { - "operation": "boost", - "score": -0.08154373615980148 - } - } - } - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 59.5, + "threshold": 73593.0, "then": { - "operation": "boost", - "score": 0.058593858033418655 + "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": 9.0, + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FilterLength", @@ -84799,354 +85352,317 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 54.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15567070245742798 + "score": 0.015241788700222969 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.05766758695244789 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "SymbolScopeDistance", "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": 0.13624468445777893 - }, - "else": { - "operation": "boost", - "score": 0.12919513881206512 - } + "operation": "boost", + "score": 0.1292070597410202 }, "else": { "operation": "boost", - "score": 0.22057414054870605 + "score": 0.10685066133737564 } - }, - "else": { - "operation": "boost", - "score": 0.13649491965770721 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "boost", - "score": 0.11661799997091293 - }, - "else": { - "operation": "boost", - "score": 0.10800624638795853 - } + "operation": "boost", + "score": -0.015738381072878838 } }, "else": { "operation": "boost", - "score": -0.04283108934760094 + "score": 0.01657169498503208 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.11360034346580505 - }, - "else": { - "operation": "boost", - "score": 0.12046780437231064 - } - }, - "else": { - "operation": "boost", - "score": 0.06067126616835594 - } + "operation": "boost", + "score": 0.06580720841884613 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "boost", + "score": -0.016465406864881516 + } + }, + "else": { + "operation": "boost", + "score": 0.018118536099791527 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1218060553073883 + }, + "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": 48.0, - "then": { - "operation": "boost", - "score": 0.1261894255876541 - }, - "else": { - "operation": "boost", - "score": 0.037486590445041656 - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 2.0, + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.10592789947986603 + "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": "NumReferences", - "threshold": 44.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, - "then": { - "operation": "boost", - "score": 0.09202197939157486 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12345056235790253 - }, - "else": { - "operation": "boost", - "score": 0.1031259298324585 - } - } - }, - "else": { - "operation": "boost", - "score": 0.044292595237493515 - } - }, - "else": { - "operation": "boost", - "score": 0.11515439301729202 - } + "operation": "boost", + "score": 0.04896078631281853 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "boost", - "score": 0.09231950342655182 - }, - "else": { - "operation": "boost", - "score": 0.1235179677605629 - } + "operation": "boost", + "score": 0.11733075231313705 } }, "else": { "operation": "boost", - "score": 0.11386270821094513 + "score": 0.05896072834730148 } }, "else": { - "operation": "boost", - "score": 0.07635854184627533 + "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 + } + } } } }, "else": { "operation": "boost", - "score": -0.03380712494254112 + "score": 0.05678054690361023 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1734.5, - "then": { - "operation": "boost", - "score": -0.01496171671897173 }, "else": { - "operation": "boost", - "score": 0.04665554314851761 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.5235981941223145 + }, + "else": { + "operation": "boost", + "score": -0.1042635515332222 + } } - }, - "else": { - "operation": "boost", - "score": 0.014271394349634647 } + }, + "else": { + "operation": "boost", + "score": -0.017538875341415405 } } - }, - "else": { + } + }, + "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": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 205637.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2467.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.007748291827738285 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.13087837398052216 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.038096822798252106 + }, + "else": { + "operation": "boost", + "score": 0.09343649446964264 + } + } + }, + "else": { + "operation": "boost", + "score": 0.028523679822683334 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2386.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07565135508775711 + "score": 0.1180739477276802 }, "else": { "operation": "boost", - "score": 0.10632441192865372 + "score": -0.16443845629692078 } }, "else": { "operation": "boost", - "score": 0.027966652065515518 + "score": -0.09427766501903534 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2387.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2431.5, - "then": { - "operation": "boost", - "score": 0.047395773231983185 - }, - "else": { - "operation": "boost", - "score": 0.11569291353225708 - } + "operation": "boost", + "score": 0.11796797811985016 }, "else": { "operation": "boost", - "score": 0.026777103543281555 + "score": -0.10115362703800201 } } }, "else": { - "operation": "boost", - "score": -9.772151315701194e-06 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58.5, + "threshold": 199646.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11377976089715958 - }, - "else": { - "operation": "boost", - "score": 0.056930482387542725 - } + "operation": "boost", + "score": 0.08895443379878998 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 258.5, - "then": { - "operation": "boost", - "score": 0.10636495053768158 - }, - "else": { - "operation": "boost", - "score": 0.126085102558136 - } - }, - "else": { - "operation": "boost", - "score": 0.016959024593234062 - } + "operation": "boost", + "score": 0.09601928293704987 }, "else": { "operation": "boost", - "score": 0.07279177010059357 + "score": 0.056079380214214325 } } }, @@ -85154,1229 +85670,1476 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName" ], - "then": { - "operation": "boost", - "score": 0.1175757646560669 - }, - "else": { - "operation": "boost", - "score": 0.4682651460170746 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06257226318120956 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.10456787049770355 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.0, - "then": { - "operation": "boost", - "score": 0.11506323516368866 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.02396518364548683 - }, - "else": { - "operation": "boost", - "score": 0.16320280730724335 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, - "then": { - "operation": "boost", - "score": -0.16552811861038208 - }, - "else": { - "operation": "boost", - "score": 0.10841553658246994 - } - }, - "else": { - "operation": "boost", - "score": -0.15256421267986298 - } - } - }, - "else": { - "operation": "boost", - "score": -0.010395791381597519 - } - }, - "else": { - "operation": "boost", - "score": 0.07603804022073746 - } + "operation": "boost", + "score": 0.12302614748477936 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09287721663713455 - }, - "else": { - "operation": "boost", - "score": 0.11458054929971695 - } + "operation": "boost", + "score": 0.13490204513072968 } - }, - "else": { - "operation": "boost", - "score": 0.045119479298591614 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02865528129041195 + "score": -0.08685760945081711 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298.5, + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.09775490313768387 + }, + "else": { + "operation": "boost", + "score": 0.025848103687167168 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.036341261118650436 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 613.5, - "then": { - "operation": "boost", - "score": 0.11320161074399948 - }, - "else": { - "operation": "boost", - "score": 0.13684071600437164 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 300.5, - "then": { - "operation": "boost", - "score": 0.10687967389822006 - }, - "else": { - "operation": "boost", - "score": 0.13854911923408508 - } - } - } + "operation": "boost", + "score": 0.13744063675403595 }, "else": { "operation": "boost", - "score": 0.048734039068222046 + "score": 0.10128773748874664 } }, "else": { "operation": "boost", - "score": 0.03921354189515114 + "score": 0.1082383245229721 } + }, + "else": { + "operation": "boost", + "score": -0.038697369396686554 } + }, + "else": { + "operation": "boost", + "score": -0.20491832494735718 } }, "else": { "operation": "boost", - "score": 0.009140616282820702 + "score": 0.14938980340957642 } - }, - "else": { - "operation": "boost", - "score": -0.016950152814388275 } } + }, + "else": { + "operation": "boost", + "score": -0.006548475474119186 } + }, + "else": { + "operation": "boost", + "score": -0.11749647557735443 } + } + } + } + }, + { + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Constructor", - "Type" - ], + "operation": "boost", + "score": 0.07392704486846924 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, "then": { "operation": "boost", - "score": 0.10991999506950378 + "score": 0.08212748169898987 }, "else": { - "operation": "boost", - "score": 0.035311613231897354 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "boost", + "score": 0.1394778937101364 + }, + "else": { + "operation": "boost", + "score": 0.08063844591379166 + } } }, "else": { - "operation": "boost", - "score": 0.006411194335669279 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2096.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09425174444913864 + }, + "else": { + "operation": "boost", + "score": 0.04449908062815666 + } + }, + "else": { + "operation": "boost", + "score": 0.04646610468626022 + } + }, + "else": { + "operation": "boost", + "score": 0.0662451982498169 + } } + } + }, + "else": { + "operation": "boost", + "score": 0.013318215496838093 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.0, + "then": { + "operation": "boost", + "score": 0.0318695530295372 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.09571418166160583 + }, + "else": { + "operation": "boost", + "score": 0.11018694192171097 + } + } + }, + "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": "boost", - "score": 0.015856720507144928 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.0007054847665131092 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1562257707118988 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12004683166742325 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.0, + "then": { + "operation": "boost", + "score": 0.16796688735485077 + }, + "else": { + "operation": "boost", + "score": 0.12577706575393677 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11240410804748535 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0577244758605957 + } }, "else": { "operation": "boost", - "score": -0.11893143504858017 + "score": 0.04635084047913551 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 105.5, "then": { "operation": "boost", - "score": -0.14808812737464905 + "score": 0.12799899280071259 }, "else": { "operation": "boost", - "score": -0.017065541818737984 + "score": -0.08331967145204544 } }, "else": { "operation": "boost", - "score": -0.055859580636024475 + "score": 0.06364329159259796 } }, "else": { "operation": "boost", - "score": 0.00047149803140200675 + "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": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.027220049872994423 + "score": 0.001998779596760869 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Type", - "Function" + "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.013170329853892326 + "score": 0.026463842019438744 }, "else": { "operation": "boost", - "score": -0.0657099187374115 + "score": -0.008596131578087807 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07823386788368225 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.0015528970398008823 - }, - "else": { - "operation": "boost", - "score": -0.08276845514774323 - } - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 29.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.004158367868512869 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.1998032033443451 + "score": 0.12712721526622772 }, "else": { "operation": "boost", - "score": 0.08642669767141342 + "score": 0.14096103608608246 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.30026769638061523 - }, - "else": { - "operation": "boost", - "score": -0.08226348459720612 - } + "operation": "boost", + "score": 0.051933713257312775 } + }, + "else": { + "operation": "boost", + "score": 0.029515095055103302 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace", - "Function" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "GlobalScope" + "Variable", + "Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.056429069489240646 - }, - "else": { - "operation": "boost", - "score": 0.10962965339422226 - } + "operation": "boost", + "score": 0.04372962936758995 }, "else": { "operation": "boost", - "score": 0.04985824227333069 + "score": 0.12689617276191711 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06036071851849556 - }, - "else": { - "operation": "boost", - "score": 0.1554773896932602 - } + "operation": "boost", + "score": 0.027897372841835022 } }, "else": { "operation": "boost", - "score": -0.05000019818544388 + "score": 0.02913856692612171 } }, "else": { "operation": "boost", - "score": 0.0476999431848526 + "score": 0.006111158523708582 } }, "else": { "operation": "boost", - "score": 0.034632716327905655 + "score": 0.0016754899406805634 } }, "else": { "operation": "boost", - "score": 0.023590052500367165 + "score": -0.015765829011797905 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.31732606887817383 - }, - "else": { - "operation": "boost", - "score": -0.12055932730436325 - } + "operation": "boost", + "score": -0.055301204323768616 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { + "operation": "boost", + "score": -0.034434426575899124 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.021290885284543037 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.0004686132015194744 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.10012225806713104 + }, + "else": { + "operation": "boost", + "score": -0.04713987559080124 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10950176417827606 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, "then": { "operation": "boost", - "score": -0.09095242619514465 + "score": 0.10908053815364838 }, "else": { - "operation": "boost", - "score": -0.4516788423061371 + "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, + "then": { + "operation": "boost", + "score": -0.10158539563417435 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.137354776263237 + }, + "else": { + "operation": "boost", + "score": 0.12003444880247116 + } + }, + "else": { + "operation": "boost", + "score": 0.21589675545692444 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12232035398483276 + } + }, + "else": { + "operation": "boost", + "score": 0.08902759850025177 + } } }, "else": { - "operation": "boost", - "score": 0.036235831677913666 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0900426134467125 + }, + "else": { + "operation": "boost", + "score": 0.007315473631024361 + } + }, + "else": { + "operation": "boost", + "score": 0.06313769519329071 + } + }, + "else": { + "operation": "boost", + "score": 0.044651683419942856 + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.08507956564426422 }, "else": { "operation": "boost", - "score": -0.19917087256908417 + "score": -0.0023860647343099117 } } - }, - "else": { - "operation": "boost", - "score": -0.012467330321669579 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07399892061948776 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.02418479509651661 + "score": 0.10882770270109177 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.08144573122262955 - }, - "else": { - "operation": "boost", - "score": 0.005046491976827383 - } + "operation": "boost", + "score": -0.020130710676312447 } }, "else": { "operation": "boost", - "score": 0.07016187906265259 + "score": 0.008369600400328636 } - }, - "else": { - "operation": "boost", - "score": 0.015699107199907303 } - }, - "else": { - "operation": "boost", - "score": -0.05247531086206436 } - }, - "else": { - "operation": "boost", - "score": -0.006208463571965694 - } - } - } - } - }, - { - "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.02616652473807335 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.028082916513085365 - }, - "else": { - "operation": "boost", - "score": 0.017977437004446983 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 74698.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15475.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86511.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 245728.5, "then": { "operation": "boost", - "score": -1.6388708353042603 + "score": -0.3576662242412567 }, "else": { - "operation": "boost", - "score": 0.01353609748184681 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": 0.10367194563150406 + }, + "else": { + "operation": "boost", + "score": 0.08103953301906586 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "boost", + "score": -0.02031710185110569 + }, + "else": { + "operation": "boost", + "score": 0.08706554025411606 + } + } } }, "else": { "operation": "boost", - "score": 0.07419298589229584 + "score": 0.022977396845817566 } }, "else": { - "operation": "boost", - "score": -0.04359279200434685 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 437.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 439.0, - "then": { - "operation": "boost", - "score": 0.04441310092806816 - }, - "else": { - "operation": "boost", - "score": 0.11679845303297043 - } - }, - "else": { - "operation": "boost", - "score": 0.00859555508941412 - } - }, - "else": { - "operation": "boost", - "score": 0.05385711416602135 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.03274395689368248 - }, - "else": { - "operation": "boost", - "score": -0.07664897292852402 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.015129451639950275 + "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": "FileProximityDistance", - "threshold": 50016.0, + "feature": "NumReferences", + "threshold": 148934.5, "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.018772177398204803 + }, + "else": { + "operation": "boost", + "score": 0.12077051401138306 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.09193392097949982 + }, + "else": { + "operation": "boost", + "score": 0.12153052538633347 + } + }, + "else": { + "operation": "boost", + "score": 0.14182718098163605 + } + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "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": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.15888410806655884 + "score": 0.12013469636440277 }, "else": { - "operation": "boost", - "score": 0.15022319555282593 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13496699929237366 + }, + "else": { + "operation": "boost", + "score": 0.14163093268871307 + } + }, + "else": { + "operation": "boost", + "score": 0.1243896484375 + } } }, "else": { "operation": "boost", - "score": 0.03470950573682785 + "score": -0.10485631972551346 } - }, - "else": { - "operation": "boost", - "score": 0.06643996387720108 } } }, "else": { - "operation": "boost", - "score": -0.008305911906063557 + "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": 104520.5, + "then": { + "operation": "boost", + "score": 0.0594976544380188 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97466.0, + "then": { + "operation": "boost", + "score": 0.10902814567089081 + }, + "else": { + "operation": "boost", + "score": -0.14807723462581635 + } + } + }, + "else": { + "operation": "boost", + "score": -0.047588370740413666 + } } }, "else": { "operation": "boost", - "score": 0.023680666461586952 + "score": 0.03751387819647789 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.01071810070425272 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.017132315784692764 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope" + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.13838228583335876 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.5, + "then": { + "operation": "boost", + "score": 0.046010758727788925 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.021165786311030388 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11113648861646652 + }, + "else": { + "operation": "boost", + "score": 0.008421097882091999 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 173.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1085018739104271 + }, + "else": { + "operation": "boost", + "score": 0.08220699429512024 + } + }, + "else": { + "operation": "boost", + "score": 0.08290256559848785 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.062459975481033325 + } }, "else": { "operation": "boost", - "score": 0.09974934905767441 + "score": 0.05268236994743347 } }, "else": { "operation": "boost", - "score": 0.010753951035439968 + "score": 0.034643713384866714 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 2757.0, "then": { - "operation": "boost", - "score": -0.12460842728614807 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.0, + "then": { + "operation": "boost", + "score": 0.11621426790952682 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": -0.07923044264316559 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, + "then": { + "operation": "boost", + "score": 0.11136644333600998 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2769.0, + "then": { + "operation": "boost", + "score": 0.04811074212193489 + }, + "else": { + "operation": "boost", + "score": 0.4499160945415497 + } + } + } + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": -0.013081609271466732 + "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.03567282110452652 + }, + "else": { + "operation": "boost", + "score": -0.07657191902399063 + } }, "else": { "operation": "boost", - "score": -0.059728533029556274 + "score": -0.020692946389317513 } } } }, "else": { - "operation": "boost", - "score": 0.01911797560751438 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.08272724598646164 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.08231393992900848 + "score": 0.026663780212402344 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.007129849400371313 + }, + "else": { + "operation": "boost", + "score": 0.13631458580493927 + } + }, + "else": { + "operation": "boost", + "score": -0.03865477815270424 + } + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.07351702451705933 + "score": 0.09598399698734283 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.1086043119430542 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.18510176241397858 + "score": -0.11811241507530212 }, "else": { "operation": "boost", - "score": 0.13019341230392456 + "score": 0.12089645862579346 } + }, + "else": { + "operation": "boost", + "score": 0.09969880431890488 } } - }, - "else": { - "operation": "boost", - "score": 0.1269158571958542 } } + }, + "else": { + "operation": "boost", + "score": 0.011517041362822056 } - }, - "else": { - "operation": "boost", - "score": 0.07033602893352509 } }, "else": { - "operation": "boost", - "score": 0.09127385169267654 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.008135255426168442 + "score": -0.07345451414585114 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "boost", - "score": 0.041653111577034 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "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.09218081086874008 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0966697707772255 + }, + "else": { + "operation": "boost", + "score": 0.09703364968299866 + } }, "else": { "operation": "boost", - "score": 0.09705513715744019 + "score": 0.04185652732849121 } }, "else": { "operation": "boost", - "score": 0.08929872512817383 + "score": 0.035363126546144485 } + }, + "else": { + "operation": "boost", + "score": 0.0163692869246006 } } }, "else": { "operation": "boost", - "score": 0.033519402146339417 + "score": -0.005166045390069485 } - }, - "else": { - "operation": "boost", - "score": 0.006593998055905104 } } + } + } + } + }, + { + "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, + "then": { + "operation": "boost", + "score": -0.20470532774925232 }, "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.020819077268242836 + }, + "else": { + "operation": "boost", + "score": 0.0028531907591968775 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "FileScope" ], "then": { "operation": "if_greater", @@ -86384,533 +87147,683 @@ "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0494287945330143 + "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.03758057951927185 + "score": 0.017906438559293747 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.030880779027938843 + "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.15388669073581696 + "score": -0.018865074962377548 } }, "else": { + "operation": "boost", + "score": -0.023281170055270195 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.023398438468575478 + }, + "else": { + "operation": "boost", + "score": -0.0036178368609398603 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21492.0, "then": { "operation": "boost", - "score": -0.1811426728963852 + "score": -0.057366643100976944 }, "else": { - "operation": "boost", - "score": -0.049162257462739944 + "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 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 36.5, "then": { - "operation": "boost", - "score": 0.0115949222818017 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 224557.0, + "threshold": 88.0, "then": { - "operation": "boost", - "score": 0.07513546943664551 + "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.04763924330472946 + "score": -0.0015543807530775666 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Function" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "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": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.031225891783833504 + "score": -0.10386870056390762 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06261239945888519 - }, - "else": { - "operation": "boost", - "score": 0.08525554090738297 - } + "operation": "boost", + "score": -0.2334531843662262 }, "else": { "operation": "boost", - "score": -0.24484962224960327 + "score": 0.11539093405008316 } } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.055730726569890976 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.012082746252417564 + }, + "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, + "then": { + "operation": "boost", + "score": 0.0658809170126915 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1555570811033249 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12909723818302155 + }, + "else": { + "operation": "boost", + "score": 0.08971330523490906 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": 0.07365266978740692 + }, + "else": { + "operation": "boost", + "score": 0.11387677490711212 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 290761.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11074429005384445 }, "else": { "operation": "boost", - "score": 0.05961265042424202 + "score": 0.10131554305553436 } }, "else": { "operation": "boost", - "score": 0.03605896979570389 + "score": -0.00878042820841074 } }, "else": { + "operation": "boost", + "score": 0.05621746927499771 + } + } + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.01024016086012125 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.005028680898249149 + "score": -0.12137780338525772 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.05963023751974106 + "score": 0.11837195605039597 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 146.0, "then": { "operation": "boost", - "score": 0.022373225539922714 + "score": 0.16934902966022491 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.002979605458676815 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.005612645763903856 - }, - "else": { - "operation": "boost", - "score": -0.10389897227287292 - } - } + "operation": "boost", + "score": 0.12394537031650543 } } }, + "else": { + "operation": "boost", + "score": 0.11042331904172897 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "boost", + "score": 0.046753931790590286 + }, + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { + "operation": "boost", + "score": -0.18465907871723175 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.029044846072793007 - }, - "else": { - "operation": "boost", - "score": 0.10219301283359528 - } - }, - "else": { - "operation": "boost", - "score": -0.07723531872034073 - } + "operation": "boost", + "score": 0.11331497132778168 }, "else": { "operation": "boost", - "score": -0.30472251772880554 + "score": 0.12838122248649597 } - }, - "else": { - "operation": "boost", - "score": -0.037773244082927704 } } } - }, + } + } + }, + "else": { + "operation": "boost", + "score": 0.03809057176113129 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12375158816576004 + }, + "else": { + "operation": "boost", + "score": 0.10671888291835785 + } + }, + "else": { + "operation": "boost", + "score": 0.031826939433813095 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41288.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.038146745413541794 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007233771029859781 + }, + "else": { + "operation": "boost", + "score": 0.12235146760940552 + } + }, + "else": { + "operation": "boost", + "score": -0.09416690468788147 + } + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.021445292979478836 + "score": -0.05336586385965347 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 97784.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219439.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.02762034721672535 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.06408584117889404 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1013.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08267326653003693 - }, - "else": { - "operation": "boost", - "score": 0.12679176032543182 - } - }, - "else": { - "operation": "boost", - "score": 0.12070995569229126 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12552142143249512 - }, - "else": { - "operation": "boost", - "score": 0.14532308280467987 - } - }, - "else": { - "operation": "boost", - "score": 0.11791231483221054 - } - }, - "else": { - "operation": "boost", - "score": -0.11283069103956223 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 311.5, - "then": { - "operation": "boost", - "score": 0.0990414097905159 - }, - "else": { - "operation": "boost", - "score": 0.11614707857370377 - } - } - }, - "else": { - "operation": "boost", - "score": 0.048800453543663025 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08640450239181519 - } - }, - "else": { - "operation": "boost", - "score": 0.0757426768541336 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06042945384979248 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02814299799501896 - }, - "else": { - "operation": "boost", - "score": 0.06775877624750137 - } - } - } - } + "operation": "boost", + "score": 0.043120790272951126 }, "else": { - "operation": "boost", - "score": 0.04334627836942673 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.004782689735293388 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.056630901992321014 - }, - "else": { - "operation": "boost", - "score": 0.07318517565727234 - } - } + "operation": "boost", + "score": 0.09663739055395126 }, "else": { "operation": "boost", - "score": 0.021679850295186043 + "score": 0.09981808811426163 } - }, - "else": { - "operation": "boost", - "score": 0.00024177801969926804 } + }, + "else": { + "operation": "boost", + "score": -0.22378501296043396 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 82306.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0016802294412627816 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1254693567752838 - }, - "else": { - "operation": "boost", - "score": 0.1055014580488205 - } - } + "operation": "boost", + "score": 0.05098113790154457 }, "else": { "operation": "boost", - "score": 0.0229776781052351 + "score": 0.09613853693008423 } }, "else": { "operation": "boost", - "score": -0.01970292255282402 + "score": 0.07073832303285599 } } } } } + }, + "else": { + "operation": "boost", + "score": 0.002787626115605235 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1888871192932129 + }, + "else": { + "operation": "boost", + "score": -0.02954082004725933 + } + }, + "else": { + "operation": "boost", + "score": 0.01664680987596512 } } } @@ -86918,294 +87831,467 @@ }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope" + "Constructor", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.006734339985996485 + }, + "else": { + "operation": "boost", + "score": -0.007826769724488258 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.017915893346071243 + "score": 0.09569049626588821 }, "else": { "operation": "boost", - "score": 5.960137787042186e-05 + "score": -0.02397749572992325 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.01011196244508028 + } + } + } + } + }, + "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_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "boost", + "score": 0.0025908525567501783 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.1653703898191452 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.05384524166584015 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.5175366997718811 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 111.5, + "threshold": 104520.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { + "operation": "boost", + "score": 0.1066562756896019 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20988.0, + "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.09231404960155487 + "score": -0.007292285095900297 }, "else": { "operation": "boost", - "score": 0.10633259266614914 + "score": 0.12258957326412201 } - }, - "else": { - "operation": "boost", - "score": -0.27707457542419434 } - }, - "else": { - "operation": "boost", - "score": 0.14642679691314697 } }, "else": { "operation": "boost", - "score": -0.017311135306954384 + "score": 0.07411079853773117 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07965527474880219 + }, + "else": { + "operation": "boost", + "score": 0.08575695753097534 + } + }, + "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.016993671655654907 + }, + "else": { + "operation": "boost", + "score": 0.11450060456991196 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.048277098685503006 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11159248650074005 + }, + "else": { + "operation": "boost", + "score": 0.11539120227098465 + } }, "else": { "operation": "boost", - "score": -0.027555566281080246 + "score": 0.06378869712352753 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 17.0, "then": { + "operation": "boost", + "score": 0.11707079410552979 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.022848084568977356 + "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": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.1276499330997467 + "score": 0.1272069364786148 }, "else": { "operation": "boost", - "score": 0.029803911224007607 + "score": 0.11728635430335999 } } - }, - "else": { - "operation": "boost", - "score": -0.030351057648658752 } } - }, - "else": { - "operation": "boost", - "score": 0.006040853913873434 } }, "else": { "operation": "boost", - "score": -0.013586803339421749 + "score": -0.04295014962553978 } - } - }, - "else": { - "operation": "boost", - "score": -0.0103914774954319 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266615.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.1238040179014206 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, "then": { "operation": "boost", - "score": 0.07463647425174713 + "score": 0.032467588782310486 }, "else": { - "operation": "boost", - "score": -0.10976671427488327 + "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": "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 + } + }, + "else": { + "operation": "boost", + "score": -0.034369152039289474 + } + }, + "else": { + "operation": "boost", + "score": 0.1358901411294937 + } } } - }, - "else": { - "operation": "boost", - "score": -0.032559048384428024 } }, "else": { "operation": "boost", - "score": -0.006024362985044718 + "score": -0.014454500749707222 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.09750589728355408 + "score": -0.0167688075453043 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.08360902965068817 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.056627433747053146 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20712.0, + "threshold": 93.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.03260404244065285 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23701.5, + "threshold": 189.5, "then": { + "operation": "boost", + "score": 0.044069111347198486 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.10986123234033585 + "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": "boost", - "score": 0.293671578168869 + "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 + } } - }, - "else": { - "operation": "boost", - "score": 0.12396182864904404 } + }, + "else": { + "operation": "boost", + "score": 0.052683450281620026 } }, "else": { - "operation": "boost", - "score": -0.04080759361386299 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.06277875602245331 + }, + "else": { + "operation": "boost", + "score": 0.03600062057375908 + } } + }, + "else": { + "operation": "boost", + "score": 0.0298269372433424 } + }, + "else": { + "operation": "boost", + "score": 0.01500996295362711 } }, "else": { "operation": "boost", - "score": -0.041065461933612823 + "score": -0.0020145257003605366 } } } @@ -87213,1758 +88299,1587 @@ } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12887835502624512 - }, - "else": { - "operation": "boost", - "score": 0.12466569244861603 - } - }, - "else": { - "operation": "boost", - "score": 0.08238833397626877 - } + "operation": "boost", + "score": 0.024932047352194786 }, "else": { - "operation": "boost", - "score": 0.040539730340242386 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Expression", - "CCC_Type" + "FileScope" ], "then": { "operation": "boost", - "score": 0.021541614085435867 + "score": 0.028148211538791656 }, "else": { "operation": "boost", - "score": -0.0018640795024111867 + "score": -0.013078194111585617 } - }, - "else": { - "operation": "boost", - "score": 0.0010552451713010669 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 46.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.013456486165523529 - }, - "else": { - "operation": "boost", - "score": 0.038297392427921295 - } - }, - "else": { - "operation": "boost", - "score": -0.00211319443769753 - } - }, - "else": { - "operation": "boost", - "score": 0.009206833317875862 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "feature": "NumReferences", + "threshold": 195234.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.004713030532002449 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010290146805346012 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06386742740869522 - }, - "else": { - "operation": "boost", - "score": 0.08427973836660385 - } - } + "operation": "boost", + "score": 0.08337713778018951 }, "else": { "operation": "boost", - "score": 0.038188304752111435 + "score": 0.03714810684323311 } - }, - "else": { - "operation": "boost", - "score": 0.032161910086870193 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 132310.5, "then": { "operation": "boost", - "score": -0.04906740412116051 + "score": -0.2588992118835449 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61550.0, + "threshold": 86511.0, "then": { + "operation": "boost", + "score": 0.06492332369089127 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 49723.5, "then": { + "operation": "boost", + "score": -0.10799582302570343 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 6360.5, "then": { - "operation": "boost", - "score": 0.009942680597305298 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 198405.5, + "threshold": 6390.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10083387792110443 - }, - "else": { - "operation": "boost", - "score": 0.03594807907938957 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145881.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.32180631160736084 + "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": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.018858255818486214 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 14916.5, "then": { "operation": "boost", - "score": 0.1023341566324234 + "score": 0.08887248486280441 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09269116073846817 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.07979900389909744 - }, - "else": { - "operation": "boost", - "score": 0.03680471330881119 - } - } + "operation": "boost", + "score": 0.11811117082834244 } }, "else": { "operation": "boost", - "score": 0.03552621975541115 + "score": 0.04781106859445572 } - }, - "else": { - "operation": "boost", - "score": 0.039779264479875565 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0010489635169506073 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10961727052927017 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11976451426744461 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -1.2521156072616577 + "score": 0.1145351380109787 }, "else": { "operation": "boost", - "score": -0.159545436501503 + "score": 0.12345010042190552 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.10822183638811111 + }, + "else": { + "operation": "boost", + "score": 0.07450775057077408 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0073492564260959625 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3191.5, + "then": { + "operation": "boost", + "score": -0.07231363654136658 + }, + "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, + "then": { + "operation": "boost", + "score": -0.005267179571092129 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.0, + "then": { + "operation": "boost", + "score": 0.030504964292049408 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.17372801899909973 + }, + "else": { + "operation": "boost", + "score": 0.11896109580993652 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10637980699539185 + }, + "else": { + "operation": "boost", + "score": -0.22249038517475128 + } + } + } + }, + "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_EnumTag", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20988.0, + "then": { + "operation": "boost", + "score": 0.11773129552602768 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 440.5, + "then": { + "operation": "boost", + "score": 0.12885071337223053 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18208588659763336 + }, + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.03609539940953255 + "score": 0.1786331832408905 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04699818417429924 - }, - "else": { - "operation": "boost", - "score": 0.08362380415201187 - } - }, - "else": { - "operation": "boost", - "score": -0.1346636712551117 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.01288848090916872 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 46.5, "then": { "operation": "boost", - "score": 0.02848815731704235 + "score": -0.15904909372329712 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08387633413076401 - }, - "else": { - "operation": "boost", - "score": 0.1125057116150856 - } + "operation": "boost", + "score": 0.12684877216815948 }, "else": { "operation": "boost", - "score": 0.08142267167568207 + "score": 0.10620424151420593 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.040424644947052 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.04808743670582771 + "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.11438632011413574 + "score": 0.08045249432325363 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.0015940071316435933 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55673.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13682378828525543 - }, - "else": { - "operation": "boost", - "score": 0.12469109147787094 - } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.00027323674294166267 + "score": 0.021680733188986778 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.029535751789808273 + "score": -0.08565860241651535 }, "else": { "operation": "boost", - "score": -0.0747060626745224 + "score": 0.0829138532280922 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.047569625079631805 - }, - "else": { - "operation": "boost", - "score": 0.046727001667022705 - } - }, - "else": { - "operation": "boost", - "score": -0.004847899544984102 - } + "operation": "boost", + "score": 0.07304459065198898 } + } + } + }, + "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": -0.5, + "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "feature": "FileProximityDistance", + "threshold": 10.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 314.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.013151139952242374 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1013.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1110.0, - "then": { - "operation": "boost", - "score": 0.12434572726488113 - }, - "else": { - "operation": "boost", - "score": 0.11119090765714645 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11125209927558899 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11669236421585083 - }, - "else": { - "operation": "boost", - "score": 0.17703686654567719 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09411565959453583 - } - }, - "else": { - "operation": "boost", - "score": 0.09792685508728027 - } - }, - "else": { - "operation": "boost", - "score": 0.08902425318956375 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11780889332294464 - }, - "else": { - "operation": "boost", - "score": 0.06655652076005936 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08416212350130081 - } - }, - "else": { - "operation": "boost", - "score": 0.1065477505326271 - } + "operation": "boost", + "score": 0.10297191143035889 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.052256859838962555 - }, - "else": { - "operation": "boost", - "score": 0.0399106927216053 - } + "operation": "boost", + "score": 0.14429406821727753 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.05267008766531944 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1116.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1838.5, - "then": { - "operation": "boost", - "score": 0.027606787160038948 - }, - "else": { - "operation": "boost", - "score": 0.11059877276420593 - } - }, - "else": { - "operation": "boost", - "score": 0.1181877925992012 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.11059581488370895 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.0, - "then": { - "operation": "boost", - "score": 0.11825288087129593 - }, - "else": { - "operation": "boost", - "score": 0.12331651896238327 - } - }, - "else": { - "operation": "boost", - "score": 0.13194245100021362 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08339627087116241 - } - }, - "else": { - "operation": "boost", - "score": 0.10304174572229385 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0756014958024025 - } - }, - "else": { - "operation": "boost", - "score": 0.07049669325351715 - } - }, - "else": { - "operation": "boost", - "score": 0.06402318179607391 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 380.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 754.5, - "then": { - "operation": "boost", - "score": -0.003096658969298005 - }, - "else": { - "operation": "boost", - "score": 0.12095430493354797 - } - }, - "else": { - "operation": "boost", - "score": 0.08552612364292145 - } - }, - "else": { - "operation": "boost", - "score": -0.409350723028183 - } - }, - "else": { - "operation": "boost", - "score": -0.1455990970134735 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.023660171777009964 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0029947208240628242 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.04424097388982773 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.0753314346075058 - }, - "else": { - "operation": "boost", - "score": 0.0024026946630328894 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02254386618733406 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.0, "then": { - "operation": "boost", - "score": -0.09743181616067886 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.12523522973060608 + "score": 0.10589127242565155 }, "else": { "operation": "boost", - "score": 0.025360755622386932 + "score": 0.0591760016977787 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159.5, - "then": { - "operation": "boost", - "score": 0.06679568439722061 }, "else": { "operation": "boost", - "score": -0.052577488124370575 + "score": 0.12394702434539795 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09851431846618652 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05263936147093773 - }, - "else": { - "operation": "boost", - "score": 0.17600907385349274 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10679301619529724 - } - }, - "else": { - "operation": "boost", - "score": -0.09278671443462372 - } - }, - "else": { - "operation": "boost", - "score": 0.07353314012289047 - } + "operation": "boost", + "score": -0.09277991205453873 } }, "else": { "operation": "boost", - "score": 0.017629336565732956 + "score": 0.11945488303899765 } - }, - "else": { - "operation": "boost", - "score": -0.0006907873903401196 } + }, + "else": { + "operation": "boost", + "score": 0.06361561268568039 } } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.007480744272470474 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "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, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": -0.11529403179883957 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.04129347577691078 + "score": 0.07331434637308121 }, "else": { "operation": "boost", - "score": 0.07473145425319672 + "score": 0.0343426875770092 } } }, "else": { "operation": "boost", - "score": 0.02807326801121235 + "score": 0.03760238364338875 } }, "else": { "operation": "boost", - "score": 0.0015925884945318103 + "score": 0.027775418013334274 } - }, - "else": { - "operation": "boost", - "score": -0.07494991272687912 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", + "CCC_ClassStructUnion", "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.03352880850434303 + }, + "else": { + "operation": "boost", + "score": -0.031097490340471268 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.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", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10020574182271957 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08387499302625656 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10874376446008682 - }, - "else": { - "operation": "boost", - "score": 0.058987490832805634 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08432703465223312 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.0627354085445404 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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" + ], "then": { - "operation": "boost", - "score": -0.0519317165017128 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.09904716908931732 + "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.09262993931770325 + "score": 0.05723436921834946 } }, "else": { - "operation": "boost", - "score": 0.08428715914487839 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.039746761322021484 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.11901187896728516 + "score": 0.06562147289514542 }, "else": { "operation": "boost", - "score": 0.14329354465007782 + "score": 0.022489653900265694 } }, "else": { "operation": "boost", - "score": 0.09832216799259186 + "score": 0.014401696622371674 + } + } + }, + "else": { + "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": "FileProximityDistance", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.0004659640835598111 + }, + "else": { + "operation": "boost", + "score": -0.0738721638917923 } }, "else": { "operation": "boost", - "score": -0.22307570278644562 + "score": -0.10121028125286102 } - }, - "else": { - "operation": "boost", - "score": 0.1606633961200714 } } + }, + "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.003244561143219471 + }, + "else": { + "operation": "boost", + "score": -0.02119724079966545 + } } - }, - "else": { - "operation": "boost", - "score": -0.006118113175034523 } - }, - "else": { - "operation": "boost", - "score": -0.11836379766464233 - } - } - } - } - }, - { - "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.02544853836297989 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02523009106516838 - }, - "else": { - "operation": "boost", - "score": 0.015538614243268967 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16649.0, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86511.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Function" ], "then": { - "operation": "boost", - "score": 0.07286283373832703 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.046488963067531586 - }, - "else": { - "operation": "boost", - "score": -0.11975293606519699 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04180757701396942 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 437.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "NumReferences", + "threshold": 775.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10863.0, + "threshold": 780.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10388364642858505 - }, - "else": { - "operation": "boost", - "score": 0.11104252189397812 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 544.0, + "threshold": 200884.5, "then": { - "operation": "boost", - "score": 0.06447213143110275 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.1335192620754242 + "score": 0.10517210513353348 }, "else": { "operation": "boost", - "score": -0.02664247155189514 + "score": 0.0873253121972084 } + }, + "else": { + "operation": "boost", + "score": 0.02705262415111065 } }, "else": { - "operation": "boost", - "score": 0.05031486228108406 + "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, + "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, + "then": { + "operation": "boost", + "score": 0.12055348604917526 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09571520239114761 + }, + "else": { + "operation": "boost", + "score": 0.1192256510257721 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14434629678726196 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2794.5, + "then": { + "operation": "boost", + "score": 0.13535234332084656 + }, + "else": { + "operation": "boost", + "score": -0.14476528763771057 + } + }, + "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": "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 + } + }, + "else": { + "operation": "boost", + "score": -0.13923320174217224 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.10801546275615692 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 439.0, + "threshold": 723.5, "then": { "operation": "boost", - "score": 0.03519608452916145 + "score": -0.14349070191383362 }, "else": { "operation": "boost", - "score": 0.12046831846237183 + "score": 0.02155354805290699 } } }, "else": { "operation": "boost", - "score": 0.0063274819403886795 + "score": 0.013683815486729145 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.05711178854107857 + "score": -0.1209329217672348 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.12026329338550568 + }, + "else": { + "operation": "boost", + "score": 0.09443435817956924 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.09412408620119095 + "score": 0.06071893498301506 }, "else": { "operation": "boost", - "score": 0.1713298112154007 + "score": 0.04017289727926254 } }, "else": { - "operation": "boost", - "score": -0.12469792366027832 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19417835772037506 + }, + "else": { + "operation": "boost", + "score": 0.024934133514761925 + } } }, "else": { - "operation": "boost", - "score": 0.07142403721809387 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.019014600664377213 + }, + "else": { + "operation": "boost", + "score": -0.023337550461292267 + } } + }, + "else": { + "operation": "boost", + "score": 0.012174037285149097 } - }, - "else": { - "operation": "boost", - "score": 0.008627897128462791 } + }, + "else": { + "operation": "boost", + "score": -0.024449076503515244 } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "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, "then": { "operation": "boost", - "score": 0.028437519446015358 + "score": 0.05560905486345291 }, "else": { "operation": "boost", - "score": -0.07394642382860184 + "score": -0.021166905760765076 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.00023903977125883102 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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.01469091884791851 + "score": 0.036318182945251465 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50014.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16065464913845062 - }, - "else": { - "operation": "boost", - "score": 0.14837126433849335 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09132122248411179 - }, - "else": { - "operation": "boost", - "score": 0.02897079661488533 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06191321089863777 - } + "operation": "boost", + "score": 0.08393877744674683 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.13093455135822296 + "score": 0.10584382712841034 }, "else": { "operation": "boost", - "score": 0.09742853045463562 + "score": 0.10757286846637726 } } }, "else": { "operation": "boost", - "score": 0.04756439849734306 + "score": 0.05207102373242378 } } - }, - "else": { - "operation": "boost", - "score": -0.005326646845787764 } }, "else": { - "operation": "boost", - "score": 0.02160590887069702 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_member", "feature": "Scope", "set": [ + "FunctionScope", "ClassScope", - "FunctionScope" + "GlobalScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.018043527379631996 + } + }, + "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.01215172279626131 + }, + "else": { + "operation": "boost", + "score": 0.11514711380004883 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7164.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, "then": { "operation": "boost", - "score": 0.12900666892528534 + "score": 0.07465754449367523 }, "else": { "operation": "boost", - "score": 0.010852071456611156 + "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": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13129784166812897 + "score": 0.08311339467763901 }, "else": { "operation": "boost", - "score": -0.07505765557289124 + "score": -0.05528486147522926 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.013082506135106087 - }, - "else": { - "operation": "boost", - "score": -0.05487409606575966 - } + "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.017048219218850136 + "score": -0.253995805978775 } } } @@ -88973,345 +89888,339 @@ }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope" + "Keyword", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015759270638227463 - }, - "else": { - "operation": "boost", - "score": 0.0003163550281897187 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", "Variable", - "Type" + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 14428.0, "then": { - "operation": "boost", - "score": -0.02991960197687149 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14993.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.03924862667918205 + }, + "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" + ], "then": { "operation": "boost", - "score": -0.10094334930181503 + "score": 0.1153416857123375 }, "else": { + "operation": "boost", + "score": -0.029311276972293854 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2695.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 2834.5, "then": { "operation": "boost", - "score": 0.12157659977674484 + "score": 0.07359103113412857 }, "else": { - "operation": "boost", - "score": -0.2871522903442383 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 2813.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11335265636444092 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.010121478699147701 - }, - "else": { - "operation": "boost", - "score": 0.11912720650434494 - } - }, - "else": { - "operation": "boost", - "score": 0.12890689074993134 - } - }, - "else": { - "operation": "boost", - "score": -0.09457133710384369 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11553871631622314 - } + "operation": "boost", + "score": 0.11743861436843872 }, "else": { "operation": "boost", - "score": 0.06710635870695114 + "score": 0.09034326672554016 } - }, - "else": { - "operation": "boost", - "score": 0.11212179809808731 } + }, + "else": { + "operation": "boost", + "score": -0.025603123009204865 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "boost", + "score": -0.13213950395584106 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.13941670954227448 + "score": 0.1201925054192543 }, "else": { "operation": "boost", - "score": 0.14975637197494507 + "score": 0.10818133503198624 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "operation": "boost", + "score": -0.10780923068523407 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "boost", - "score": 0.07031866163015366 + "score": 0.11024724692106247 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12096211314201355 - }, - "else": { - "operation": "boost", - "score": 0.12560559809207916 - } + "operation": "boost", + "score": 0.05877949297428131 } - } - }, - "else": { - "operation": "boost", - "score": 0.05681217461824417 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.034025054425001144 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07618029415607452 }, "else": { "operation": "boost", - "score": 0.1296546906232834 + "score": 0.010880619287490845 } } } } + }, + "else": { + "operation": "boost", + "score": -0.0025292886421084404 } }, "else": { "operation": "boost", - "score": 0.03888791427016258 + "score": 0.005263220984488726 } } }, "else": { "operation": "boost", - "score": 0.010770267806947231 + "score": -0.021777698770165443 } }, "else": { "operation": "boost", - "score": -0.003582610981538892 + "score": -0.008384274318814278 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "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" + ], + "then": { + "operation": "boost", + "score": -0.021154211834073067 + }, + "else": { + "operation": "boost", + "score": -0.0981256514787674 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.0014687872026115656 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 56.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.08302424848079681 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 57.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 100.5, "then": { "operation": "boost", - "score": 0.1116989403963089 + "score": 0.058081552386283875 }, "else": { "operation": "boost", - "score": 0.05363822728395462 + "score": 0.029391996562480927 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 258.5, - "then": { - "operation": "boost", - "score": 0.10436039417982101 - }, - "else": { - "operation": "boost", - "score": 0.12401872128248215 - } + "operation": "boost", + "score": 0.09691213071346283 }, "else": { "operation": "boost", - "score": 0.017355889081954956 + "score": 0.12110298126935959 } }, "else": { "operation": "boost", - "score": 0.07161929458379745 + "score": 0.07916240394115448 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11593282967805862 - }, - "else": { - "operation": "boost", - "score": 0.4232042133808136 - } } }, "else": { "operation": "boost", - "score": 0.060173895210027695 + "score": 0.03795795142650604 } }, "else": { @@ -89319,636 +90228,155 @@ "feature": "FileProximityDistance", "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.04128370061516762 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.020411178469657898 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10518413037061691 - }, - "else": { - "operation": "boost", - "score": 0.11442010849714279 - } - }, - "else": { - "operation": "boost", - "score": 0.048530708998441696 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 589.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 899.5, - "then": { - "operation": "boost", - "score": 0.09534963220357895 - }, - "else": { - "operation": "boost", - "score": 0.1248605027794838 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 312.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 483.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 534.5, - "then": { - "operation": "boost", - "score": -0.10779786109924316 - }, - "else": { - "operation": "boost", - "score": 0.16778889298439026 - } - }, - "else": { - "operation": "boost", - "score": 0.07967835664749146 - } - }, - "else": { - "operation": "boost", - "score": 0.13970093429088593 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3058.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5540.0, - "then": { - "operation": "boost", - "score": 0.03536223620176315 - }, - "else": { - "operation": "boost", - "score": 0.11636913567781448 - } - }, - "else": { - "operation": "boost", - "score": 0.07466769963502884 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0690469741821289 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10449561476707458 - }, - "else": { - "operation": "boost", - "score": 0.08070715516805649 - } - }, - "else": { - "operation": "boost", - "score": -0.02385788969695568 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.030213672667741776 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.021974140778183937 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.10564064979553223 - }, - "else": { - "operation": "boost", - "score": -0.16113047301769257 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03937356919050217 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.012126320041716099 - } - }, - "else": { - "operation": "boost", - "score": 0.009532811120152473 - } + "operation": "boost", + "score": 0.05221347138285637 }, "else": { "operation": "boost", - "score": -0.013320730067789555 + "score": -0.010308235883712769 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.005763454828411341 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.008223386481404305 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 6799.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 6825.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 858647.0, "then": { "operation": "boost", - "score": -0.12182746082544327 + "score": 0.11269339174032211 }, "else": { "operation": "boost", - "score": -0.1365155726671219 + "score": 0.040470946580171585 } }, "else": { "operation": "boost", - "score": 0.016611987724900246 + "score": 0.11659260094165802 } }, - "else": { - "operation": "boost", - "score": -0.23122429847717285 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "boost", - "score": 0.02182784490287304 - }, - "else": { - "operation": "boost", - "score": -0.11207959055900574 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212125.0, - "then": { - "operation": "boost", - "score": 0.017447805032134056 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10185392946004868 - }, - "else": { - "operation": "boost", - "score": 0.058336690068244934 - } + "operation": "boost", + "score": -0.03012598305940628 }, "else": { - "operation": "boost", - "score": 0.08816620707511902 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, - "then": { - "operation": "boost", - "score": -0.05554323270916939 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Variable", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "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": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0705757886171341 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10072651505470276 - }, - "else": { - "operation": "boost", - "score": 0.12658534944057465 - } - } - }, - "else": { - "operation": "boost", - "score": -0.011709163896739483 - } + "operation": "boost", + "score": 0.04063120856881142 }, "else": { "operation": "boost", - "score": 0.03240754455327988 + "score": -0.1366117298603058 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09503640234470367 - }, - "else": { - "operation": "boost", - "score": 0.03965878114104271 - } + "operation": "boost", + "score": 0.014695430174469948 } - }, - "else": { - "operation": "boost", - "score": 0.02766120433807373 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.03215624392032623 - }, - "else": { - "operation": "boost", - "score": -0.008625295013189316 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008084901608526707 - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.023272212594747543 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.019978580996394157 - }, - "else": { - "operation": "boost", - "score": -0.021290620788931847 - } - }, - "else": { - "operation": "boost", - "score": 0.0372026264667511 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.16389290988445282 }, "else": { "operation": "boost", - "score": -0.05748869851231575 + "score": 0.014650074765086174 } }, "else": { - "operation": "boost", - "score": 0.010156666859984398 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 858647.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0033588046208024025 - }, - "else": { - "operation": "boost", - "score": -0.049516987055540085 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08984484523534775 + "score": 0.0489652119576931 }, "else": { "operation": "boost", - "score": 0.08143492788076401 + "score": 0.1083119586110115 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04331788420677185 - }, - "else": { - "operation": "boost", - "score": -0.018414219841361046 - } + "operation": "boost", + "score": 0.034748468548059464 } + }, + "else": { + "operation": "boost", + "score": 0.010357639752328396 } - }, - "else": { + } + }, + "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_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", @@ -89956,684 +90384,310 @@ "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_UnionTag", "CCC_Expression", - "CCC_ClassOrStructTag" + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005357701797038317 + }, + "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, "then": { "operation": "boost", - "score": -0.04179045557975769 + "score": -0.13489142060279846 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.02805148996412754 - }, - "else": { - "operation": "boost", - "score": 0.00230971397832036 - } + "operation": "boost", + "score": 0.06737449765205383 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.046605464071035385 - }, - "else": { - "operation": "boost", - "score": 0.00971687026321888 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12460009008646011 - }, - "else": { - "operation": "boost", - "score": 0.0936162918806076 - } - } + "operation": "boost", + "score": -0.00615696469321847 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11018995940685272 }, "else": { "operation": "boost", - "score": -0.0026169857010245323 + "score": -0.10809887945652008 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10860873013734818 }, "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.00563888531178236 + }, + "else": { + "operation": "boost", + "score": -0.047443047165870667 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.06586934626102448 + }, + "else": { + "operation": "boost", + "score": 0.10905759036540985 + } + } + }, + "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": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07463246583938599 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08898415416479111 - }, - "else": { - "operation": "boost", - "score": 0.11295162886381149 - } - } + "operation": "boost", + "score": 0.05953654646873474 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13594309985637665 + "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.12526991963386536 + "score": 0.11890413612127304 } }, "else": { "operation": "boost", - "score": 0.07497192174196243 + "score": 0.034009356051683426 } }, "else": { "operation": "boost", - "score": 0.06308816373348236 + "score": 0.0840410590171814 } } }, "else": { "operation": "boost", - "score": 0.0507974736392498 + "score": 0.06262879073619843 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.055963050574064255 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.21700872480869293 - }, - "else": { - "operation": "boost", - "score": 0.11148244887590408 - } - } - }, - "else": { - "operation": "boost", - "score": 0.020375531166791916 - } + "operation": "boost", + "score": 0.06244855746626854 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.17020881175994873 }, "else": { "operation": "boost", - "score": -0.5755777955055237 + "score": 0.004875708371400833 } - } - }, - "else": { - "operation": "boost", - "score": -0.0832635760307312 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.026376456022262573 + "score": 0.04221935570240021 }, "else": { "operation": "boost", - "score": 0.09851187467575073 + "score": -0.033651094883680344 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": -0.16283321380615234 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09426690638065338 + "score": -0.07581270486116409 }, "else": { "operation": "boost", - "score": 0.03421686962246895 + "score": 0.014699332416057587 } - }, - "else": { - "operation": "boost", - "score": 0.04789556562900543 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14978.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 214825.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.09776372462511063 - }, - "else": { - "operation": "boost", - "score": 0.11121131479740143 - } - }, - "else": { - "operation": "boost", - "score": -0.06766409426927567 - } - }, - "else": { - "operation": "boost", - "score": -0.26504257321357727 - } - }, - "else": { - "operation": "boost", - "score": -0.046428363770246506 - } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "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_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145881.0, - "then": { - "operation": "boost", - "score": 0.047156888991594315 - }, - "else": { - "operation": "boost", - "score": -0.034535229206085205 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11501169204711914 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17871.5, - "then": { - "operation": "boost", - "score": -0.17298412322998047 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2381.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2430.5, - "then": { - "operation": "boost", - "score": 0.06259182840585709 - }, - "else": { - "operation": "boost", - "score": 0.11073118448257446 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.5, - "then": { - "operation": "boost", - "score": 0.08063624799251556 - }, - "else": { - "operation": "boost", - "score": 0.12207500636577606 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 192.5, - "then": { - "operation": "boost", - "score": 0.06675590574741364 - }, - "else": { - "operation": "boost", - "score": 0.12421976774930954 - } - }, - "else": { - "operation": "boost", - "score": -0.010279767215251923 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06353561580181122 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02587401494383812 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 549246.0, - "then": { - "operation": "boost", - "score": -0.007599713280797005 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.008387048728764057 - }, - "else": { - "operation": "boost", - "score": 0.16835354268550873 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { - "operation": "boost", - "score": -0.1849871724843979 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72382.0, - "then": { - "operation": "boost", - "score": 0.10783582925796509 - }, - "else": { - "operation": "boost", - "score": 0.048795729875564575 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.020486656576395035 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1408.0, - "then": { - "operation": "boost", - "score": -0.07088198512792587 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.12910018861293793 - }, - "else": { - "operation": "boost", - "score": 0.02620401419699192 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.0, - "then": { - "operation": "boost", - "score": 0.1216239407658577 - }, - "else": { - "operation": "boost", - "score": 0.016403602436184883 - } - }, - "else": { - "operation": "boost", - "score": -0.10827571898698807 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.1127982810139656 - }, - "else": { - "operation": "boost", - "score": -0.1726996898651123 - } - }, - "else": { - "operation": "boost", - "score": 0.07494373619556427 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.03709986433386803 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 423.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 625.5, - "then": { - "operation": "boost", - "score": 0.05860383063554764 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 599.0, - "then": { - "operation": "boost", - "score": 0.12940511107444763 - }, - "else": { - "operation": "boost", - "score": 0.11834736913442612 - } - }, - "else": { - "operation": "boost", - "score": 0.09422272443771362 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05173669010400772 - } - }, - "else": { - "operation": "boost", - "score": 0.030425401404500008 - } - } - }, - "else": { - "operation": "boost", - "score": 0.024706285446882248 - } - } - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ @@ -90641,1741 +90695,936 @@ ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0749538466334343 - }, - "else": { - "operation": "boost", - "score": -0.07077331840991974 - } + "operation": "boost", + "score": 0.04070732370018959 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" + "CCC_Namespace" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.002580867847427726 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.15707051753997803 - }, - "else": { - "operation": "boost", - "score": 0.058967556804418564 - } - } + "operation": "boost", + "score": 0.10905246436595917 }, "else": { "operation": "boost", - "score": -0.0015364899300038815 + "score": 0.05273665487766266 } } }, "else": { "operation": "boost", - "score": 0.0021043044980615377 + "score": -0.003041570307686925 } + }, + "else": { + "operation": "boost", + "score": -0.11771337687969208 } } } }, "else": { + "operation": "boost", + "score": -0.09004230797290802 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": -0.1041334792971611 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.08441198617219925 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.012362890876829624 + "score": 0.08111788332462311 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11032354086637497 - }, - "else": { - "operation": "boost", - "score": 0.10753829032182693 - } + "operation": "boost", + "score": 0.11408577859401703 }, "else": { "operation": "boost", - "score": -0.358332097530365 + "score": 0.09829194843769073 } } - }, - "else": { - "operation": "boost", - "score": -0.0831911638379097 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36980.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.09418949484825134 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.1302252858877182 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286988.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.05880420655012131 + "score": 0.11375121772289276 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10689657926559448 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10193237662315369 - }, - "else": { - "operation": "boost", - "score": 0.10848236829042435 - } - }, - "else": { - "operation": "boost", - "score": 0.10377004742622375 - } - } + "operation": "boost", + "score": 0.12965866923332214 } + }, + "else": { + "operation": "boost", + "score": 0.125909686088562 } - }, - "else": { - "operation": "boost", - "score": 0.014244509860873222 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.040507830679416656 - }, - "else": { - "operation": "boost", - "score": -0.36489322781562805 - } + "operation": "boost", + "score": 0.14131785929203033 } } + }, + "else": { + "operation": "boost", + "score": 0.0037025443743914366 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14351.0, + "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" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.041113775223493576 + "score": -0.048747718334198 }, "else": { - "operation": "boost", - "score": 0.10476669669151306 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1377417892217636 + }, + "else": { + "operation": "boost", + "score": 0.05623319000005722 + } } }, "else": { "operation": "boost", - "score": -0.050900649279356 + "score": -0.024630950763821602 } - }, - "else": { - "operation": "boost", - "score": -0.09744685888290405 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.004947615321725607 - }, - "else": { - "operation": "boost", - "score": -0.015490155667066574 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.004944262094795704 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": 0.03363104164600372 + "score": -0.01830182410776615 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.06190183013677597 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07987906783819199 + "score": -0.14930739998817444 }, "else": { "operation": "boost", - "score": 0.09342845529317856 + "score": 0.05453125387430191 } }, "else": { "operation": "boost", - "score": 0.07024336606264114 + "score": 0.01906544342637062 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.029070312157273293 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "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_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1077740490436554 + "score": 0.03727031871676445 }, "else": { "operation": "boost", - "score": 0.01436479389667511 + "score": 0.10513582825660706 } - }, - "else": { - "operation": "boost", - "score": 0.06916176527738571 } - }, - "else": { - "operation": "boost", - "score": -0.0787133052945137 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.025071797892451286 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.007372744847089052 + "score": -0.2769813537597656 }, "else": { "operation": "boost", - "score": 0.06091783195734024 + "score": -0.06393836438655853 } - }, - "else": { - "operation": "boost", - "score": 0.03752504289150238 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04045049473643303 - }, - "else": { - "operation": "boost", - "score": 0.011449051089584827 - } } } - }, - "else": { - "operation": "boost", - "score": -0.009574288502335548 } } } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "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_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 + } + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11158294230699539 + "score": 0.04449552670121193 }, "else": { "operation": "boost", - "score": 0.12223398685455322 + "score": -0.0012175880838185549 } }, "else": { - "operation": "boost", - "score": 0.08228498697280884 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "boost", + "score": 0.07034698128700256 + }, + "else": { + "operation": "boost", + "score": 0.01473129354417324 + } + }, + "else": { + "operation": "boost", + "score": 0.04844263195991516 + } } }, "else": { "operation": "boost", - "score": 0.036601435393095016 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0249048862606287 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.005150218494236469 - }, - "else": { - "operation": "boost", - "score": -0.008507434278726578 - } + "score": 0.009919838048517704 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "boost", - "score": -0.1072922870516777 + "score": 0.00633607804775238 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 2368.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.07756976783275604 - }, - "else": { - "operation": "boost", - "score": 0.033212702721357346 - } - }, - "else": { - "operation": "boost", - "score": 0.006595023907721043 - } + "operation": "boost", + "score": 0.026131825521588326 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3700.0, "then": { "operation": "boost", - "score": -0.06461576372385025 + "score": 0.05520329996943474 }, "else": { "operation": "boost", - "score": -0.06465237587690353 + "score": 0.11831936985254288 } } }, "else": { "operation": "boost", - "score": 0.012577549554407597 + "score": 0.01145070232450962 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "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_Type" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.05966394767165184 - }, - "else": { - "operation": "boost", - "score": -0.0059772273525595665 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { + "operation": "boost", + "score": -0.0004031365388073027 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.020591989159584045 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114453.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131140.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.051169537007808685 + "score": 0.10395810753107071 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09072673320770264 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10139365494251251 - }, - "else": { - "operation": "boost", - "score": 0.155225470662117 - } - } - }, - "else": { - "operation": "boost", - "score": -0.3111182153224945 - } + "operation": "boost", + "score": 0.0724131315946579 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "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.005743689369410276 + "score": -0.08509495854377747 }, "else": { "operation": "boost", - "score": 0.045168597251176834 + "score": -0.2111499309539795 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0003852247609756887 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable", - "Type" + "Function" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 683.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04214904084801674 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1340.0, - "then": { - "operation": "boost", - "score": 0.11748053133487701 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1240.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12348591536283493 - }, - "else": { - "operation": "boost", - "score": 0.10701670497655869 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 706.5, - "then": { - "operation": "boost", - "score": 0.1164211556315422 - }, - "else": { - "operation": "boost", - "score": 0.1289650797843933 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 340.5, - "then": { - "operation": "boost", - "score": 0.07740718871355057 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 333.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.1210138127207756 - }, - "else": { - "operation": "boost", - "score": 0.12050565332174301 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.061610762029886246 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 314.5, - "then": { - "operation": "boost", - "score": 0.09770210087299347 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.11658000200986862 - }, - "else": { - "operation": "boost", - "score": 0.0821402445435524 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07955117523670197 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, - "then": { - "operation": "boost", - "score": 0.0842231810092926 - }, - "else": { - "operation": "boost", - "score": 0.05365240201354027 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.05936535447835922 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.0, - "then": { - "operation": "boost", - "score": 0.12323120981454849 - }, - "else": { - "operation": "boost", - "score": 0.12694841623306274 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05851220712065697 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10929509997367859 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1511174440383911 - }, - "else": { - "operation": "boost", - "score": 0.10988406836986542 - } - }, - "else": { - "operation": "boost", - "score": 0.13958416879177094 - } - } - }, - "else": { - "operation": "boost", - "score": 0.037835996598005295 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.05817640945315361 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01803499273955822 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.08243076503276825 - }, - "else": { - "operation": "boost", - "score": 0.060353539884090424 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.17140735685825348 - } - }, - "else": { - "operation": "boost", - "score": 0.03857408091425896 - } - } - } + "operation": "boost", + "score": 0.05614982172846794 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.15303263068199158 - }, - "else": { - "operation": "boost", - "score": 0.1113564595580101 - } - }, - "else": { - "operation": "boost", - "score": 0.09513795375823975 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 264.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 340.5, - "then": { - "operation": "boost", - "score": 0.050276029855012894 - }, - "else": { - "operation": "boost", - "score": 0.12685030698776245 - } - }, - "else": { - "operation": "boost", - "score": 0.1234801858663559 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 881.5, - "then": { - "operation": "boost", - "score": -0.0022116689942777157 - }, - "else": { - "operation": "boost", - "score": 0.10053444653749466 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07774040102958679 - } - }, - "else": { - "operation": "boost", - "score": 0.04229984059929848 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2989.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3005.5, - "then": { - "operation": "boost", - "score": 0.047280047088861465 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12205897271633148 - }, - "else": { - "operation": "boost", - "score": 0.09431401640176773 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005702712223865092 - } - } + "operation": "boost", + "score": 0.025970231741666794 } + }, + "else": { + "operation": "boost", + "score": 0.017947712913155556 } - }, - "else": { - "operation": "boost", - "score": 0.015847187489271164 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 365.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 368.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07578286528587341 - }, - "else": { - "operation": "boost", - "score": 0.06355145573616028 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11457094550132751 - }, - "else": { - "operation": "boost", - "score": 0.13515666127204895 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14112.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Statement" ], "then": { "operation": "boost", - "score": 0.0078257005661726 + "score": 0.12686562538146973 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.0834699496626854 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 276207.0, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.1911870390176773 + "score": 0.11492402106523514 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187158.0, - "then": { - "operation": "boost", - "score": 0.06876305490732193 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148760.5, - "then": { - "operation": "boost", - "score": -2.739067792892456 - }, - "else": { - "operation": "boost", - "score": 0.00929335132241249 - } - } + "operation": "boost", + "score": 0.19516704976558685 } - }, - "else": { - "operation": "boost", - "score": -0.26270079612731934 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6103.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14068.0, + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.10658499598503113 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6106.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.060698527842760086 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.08690427988767624 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13235.5, - "then": { - "operation": "boost", - "score": 0.11714839935302734 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9081.0, - "then": { - "operation": "boost", - "score": 0.05279151350259781 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8368.0, - "then": { - "operation": "boost", - "score": 0.13210715353488922 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8150.0, - "then": { - "operation": "boost", - "score": 0.11386953294277191 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7790.0, - "then": { - "operation": "boost", - "score": 0.11998352408409119 - }, - "else": { - "operation": "boost", - "score": 0.10921750962734222 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11333518475294113 - } - } - } - } - } + "operation": "boost", + "score": 0.11745902895927429 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09425289928913116 - }, - "else": { - "operation": "boost", - "score": 0.05812806636095047 - } + "operation": "boost", + "score": -0.08626771718263626 } }, "else": { "operation": "boost", - "score": 0.12077239900827408 + "score": 0.06903650611639023 } - } - }, - "else": { - "operation": "boost", - "score": 0.03973626717925072 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 240.0, - "then": { - "operation": "boost", - "score": -0.10215974599123001 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10097719728946686 + "score": 0.14366912841796875 }, "else": { "operation": "boost", - "score": 0.11547088623046875 + "score": 0.08318018913269043 } }, "else": { - "operation": "boost", - "score": -0.19002701342105865 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03307729586958885 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, - "then": { - "operation": "boost", - "score": 0.07107000052928925 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1190648302435875 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.1135479286313057 + "score": -0.10048949718475342 }, "else": { "operation": "boost", - "score": -0.28690779209136963 + "score": 0.12053702771663666 } } } }, "else": { "operation": "boost", - "score": 0.07018455862998962 + "score": 0.06841433793306351 } } }, "else": { "operation": "boost", - "score": 0.009990934282541275 + "score": 0.040926430374383926 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.04337010905146599 + }, + "else": { + "operation": "boost", + "score": 0.008033058606088161 } } }, "else": { - "operation": "boost", - "score": -0.00679735979065299 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0026591450441628695 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014762339182198048 + }, + "else": { + "operation": "boost", + "score": 0.04209195077419281 + } + }, + "else": { + "operation": "boost", + "score": -0.00958522129803896 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.1371055394411087 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 847.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.06991651654243469 + }, + "else": { + "operation": "boost", + "score": 0.10167111456394196 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 25.5, "then": { "operation": "boost", - "score": 0.037491001188755035 + "score": 0.11237724125385284 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.11025972664356232 - }, - "else": { - "operation": "boost", - "score": -0.07173315435647964 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07078970223665237 - }, - "else": { - "operation": "boost", - "score": 0.06679409742355347 - } - } + "operation": "boost", + "score": 0.09802037477493286 } }, "else": { "operation": "boost", - "score": -0.021418875083327293 + "score": 0.04420272633433342 } }, "else": { "operation": "boost", - "score": -0.0829017162322998 + "score": -0.03913263976573944 } + } + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.012818785384297371 }, "else": { "operation": "boost", - "score": -0.08786617964506149 + "score": -0.15206214785575867 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.012619270011782646 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 688.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 794.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.043416231870651245 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08491665124893188 - }, - "else": { - "operation": "boost", - "score": 0.1146942675113678 - } - }, - "else": { - "operation": "boost", - "score": -0.05598389357328415 - } - } + "operation": "boost", + "score": 0.039975449442863464 }, "else": { "operation": "boost", - "score": -0.03582140803337097 + "score": 0.12886157631874084 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09247429668903351 - }, - "else": { - "operation": "boost", - "score": 0.14616042375564575 - } - }, - "else": { - "operation": "boost", - "score": 0.08731791377067566 - } - }, - "else": { - "operation": "boost", - "score": -0.09703119099140167 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.03988637775182724 - }, - "else": { - "operation": "boost", - "score": 0.027641545981168747 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0021380132529884577 - } + "operation": "boost", + "score": 0.048384372144937515 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008450224995613098 + }, + "else": { + "operation": "boost", + "score": -0.015538513660430908 + } + } + }, + "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": 3.0, + "then": { + "operation": "boost", + "score": 0.013095499947667122 }, "else": { "operation": "boost", - "score": -0.015283828601241112 + "score": -0.10727464407682419 } + }, + "else": { + "operation": "boost", + "score": -0.286746621131897 } }, "else": { - "operation": "boost", - "score": 0.010320584289729595 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 642.5, + "then": { + "operation": "boost", + "score": 0.11676861345767975 + }, + "else": { + "operation": "boost", + "score": -0.026269210502505302 + } } } } @@ -92383,247 +91632,184 @@ } }, "else": { - "operation": "boost", - "score": -0.09993155300617218 - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.021134551614522934 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.02191668190062046 - }, - "else": { - "operation": "boost", - "score": 0.008440401405096054 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope" + "ClassScope" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Keyword", - "Macro" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.014258713461458683 + "score": 0.03188036382198334 }, "else": { "operation": "boost", - "score": 0.00025040374021045864 + "score": -0.0349697582423687 } }, "else": { - "operation": "boost", - "score": -0.11786384135484695 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.002042823238298297 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10518208891153336 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.06343347579240799 + "score": 0.19549372792243958 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.03420308232307434 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "boost", + "score": 0.17750845849514008 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06800539791584015 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.07490584999322891 + }, + "else": { + "operation": "boost", + "score": 0.03912839666008949 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07837499678134918 + }, + "else": { + "operation": "boost", + "score": -0.03982410207390785 + } + }, + "else": { + "operation": "boost", + "score": 0.02706010639667511 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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.08568167686462402 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.09122718125581741 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.019932996481657028 + "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": "NumReferences", - "threshold": 428.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 665.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1274147778749466 - }, - "else": { - "operation": "boost", - "score": 0.09841587394475937 - } - }, - "else": { - "operation": "boost", - "score": -0.015425227582454681 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 632.5, - "then": { - "operation": "boost", - "score": 0.12227003276348114 - }, - "else": { - "operation": "boost", - "score": 0.11651317775249481 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.5, - "then": { - "operation": "boost", - "score": 0.10545548051595688 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 482.5, - "then": { - "operation": "boost", - "score": 0.13135868310928345 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10566189885139465 - }, - "else": { - "operation": "boost", - "score": 0.11060930043458939 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09579747915267944 - } + "operation": "boost", + "score": 0.13948683440685272 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 300.5, - "then": { - "operation": "boost", - "score": 0.08548200875520706 - }, - "else": { - "operation": "boost", - "score": 0.12726904451847076 - } + "operation": "boost", + "score": 0.11906526237726212 } } - }, - "else": { - "operation": "boost", - "score": 0.04512592405080795 } } }, @@ -92631,947 +91817,647 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.026534900069236755 + "score": 0.0175457876175642 }, "else": { - "operation": "boost", - "score": 0.05955624580383301 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12054171413183212 - }, - "else": { - "operation": "boost", - "score": 0.10004188120365143 - } - }, - "else": { - "operation": "boost", - "score": 0.05729302763938904 - } + "operation": "boost", + "score": 0.08329617232084274 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.07405175268650055 - }, - "else": { - "operation": "boost", - "score": 0.04991163685917854 - } - }, - "else": { - "operation": "boost", - "score": 0.02766946330666542 - } + "operation": "boost", + "score": 0.0805961936712265 } - }, - "else": { - "operation": "boost", - "score": 0.019358094781637192 } + }, + "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, + "then": { + "operation": "boost", + "score": -0.18022732436656952 + }, + "else": { + "operation": "boost", + "score": 0.027612388134002686 } + }, + "else": { + "operation": "boost", + "score": -0.0572894923388958 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22159.5, + "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.12058234959840775 + "score": 0.02124555967748165 }, "else": { "operation": "boost", - "score": 0.01066964864730835 + "score": -0.12386781722307205 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004455329850316048 + } + } + } + } + }, + "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": "boost", + "score": 0.0020279965829104185 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02906121499836445 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08826518803834915 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06601675599813461 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13078798353672028 + }, + "else": { + "operation": "boost", + "score": 0.11932650208473206 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07230564951896667 + } } } }, "else": { "operation": "boost", - "score": -0.005765978246927261 + "score": 0.0183603186160326 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" + "CCC_Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.049184590578079224 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08171099424362183 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0109631372615695 + }, + "else": { + "operation": "boost", + "score": 0.11113474518060684 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11086170375347137 + }, + "else": { + "operation": "boost", + "score": 0.11414231359958649 + } + }, + "else": { + "operation": "boost", + "score": 0.03436379134654999 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11875981092453003 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.1157807931303978 + }, + "else": { + "operation": "boost", + "score": 0.1268949955701828 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.14339077472686768 + }, + "else": { + "operation": "boost", + "score": 0.11390656977891922 + } + } + } + } + } }, "else": { "operation": "boost", - "score": -0.03665490448474884 + "score": -0.037628334015607834 } }, "else": { - "operation": "boost", - "score": 0.023107172921299934 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.031003408133983612 + } + }, + "else": { + "operation": "boost", + "score": 0.14600452780723572 + } + } } } }, "else": { "operation": "boost", - "score": -0.015593919903039932 + "score": -0.009753072634339333 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32432.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07779064029455185 + "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 + } }, "else": { "operation": "boost", - "score": 0.1318264901638031 + "score": 0.011657556518912315 } }, "else": { "operation": "boost", - "score": -0.181773379445076 + "score": -0.016104796901345253 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.002527388744056225 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 188273.5, + "threshold": 64.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212125.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.01723814755678177 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 20253.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.09902393817901611 + "score": 0.04609619453549385 }, "else": { "operation": "boost", - "score": 0.05648641660809517 + "score": 0.11959243565797806 } }, "else": { "operation": "boost", - "score": 0.08290049433708191 + "score": 0.031871650367975235 } + }, + "else": { + "operation": "boost", + "score": 0.006377519574016333 } }, "else": { "operation": "boost", - "score": 0.026899755001068115 + "score": -0.03742305934429169 } + }, + "else": { + "operation": "boost", + "score": -0.024788713082671165 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + } + } + } + } + }, + { + "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" + ], + "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": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.029463807120919228 + "score": 0.056333646178245544 }, "else": { "operation": "boost", - "score": -0.006981572136282921 + "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": "SymbolScopeDistance", - "threshold": 23.0, + "feature": "NumReferences", + "threshold": 6360.5, "then": { - "operation": "boost", - "score": 0.0019039582693949342 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 6390.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.057437047362327576 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 16714.5, "then": { "operation": "boost", - "score": -0.17440161108970642 + "score": 0.04852414131164551 }, "else": { - "operation": "boost", - "score": -0.05857054889202118 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 15737.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4139.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13648.0, - "then": { - "operation": "boost", - "score": -0.017841633409261703 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5159.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5230.0, - "then": { - "operation": "boost", - "score": 0.08554098755121231 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05659769847989082 - }, - "else": { - "operation": "boost", - "score": 0.11879659444093704 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05091230943799019 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1081908643245697 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.026957260444760323 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.1127503290772438 - }, - "else": { - "operation": "boost", - "score": 0.3030757009983063 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03511194512248039 - } - } + "operation": "boost", + "score": 0.10774865001440048 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.13863027095794678 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10672569274902344 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "boost", - "score": 0.11539331823587418 - }, - "else": { - "operation": "boost", - "score": 0.1174343079328537 - } - }, - "else": { - "operation": "boost", - "score": 0.03946824371814728 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.0, - "then": { - "operation": "boost", - "score": 0.10617729276418686 - }, - "else": { - "operation": "boost", - "score": 0.13555112481117249 - } - }, - "else": { - "operation": "boost", - "score": 0.11189928650856018 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09272990375757217 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.04515564441680908 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.13351570069789886 - }, - "else": { - "operation": "boost", - "score": 0.0830841064453125 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.06839621812105179 - }, - "else": { - "operation": "boost", - "score": 0.13752791285514832 - } - }, - "else": { - "operation": "boost", - "score": -0.11524930596351624 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16272252798080444 - } - }, - "else": { - "operation": "boost", - "score": 0.0626477599143982 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07966474443674088 - } - }, - "else": { - "operation": "boost", - "score": 0.059658318758010864 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04560176655650139 - } - }, - "else": { - "operation": "boost", - "score": 0.04037817567586899 - } + "operation": "boost", + "score": 0.1161368265748024 } }, "else": { - "operation": "boost", - "score": 0.06132173165678978 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 8266.0, "then": { - "operation": "boost", - "score": -0.017332211136817932 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9244.0, "then": { "operation": "boost", - "score": 0.06556219607591629 + "score": 0.07785721868276596 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2989.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3020.0, + "threshold": 8853.0, "then": { "operation": "boost", - "score": 0.057689908891916275 + "score": 0.11338017135858536 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 8580.5, "then": { "operation": "boost", - "score": 0.11942876875400543 + "score": 0.08314336836338043 }, "else": { "operation": "boost", - "score": 0.07964987307786942 + "score": 0.12733455002307892 } } }, "else": { "operation": "boost", - "score": -0.01252664253115654 + "score": 0.09011195600032806 } } + }, + "else": { + "operation": "boost", + "score": 0.04626661539077759 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.05027295649051666 + "score": 0.035000476986169815 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10293.5, "then": { "operation": "boost", - "score": 0.049882471561431885 + "score": -0.14325794577598572 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55.5, + "threshold": 6925.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00033491081558167934 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.1217559203505516 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11032992601394653 - }, - "else": { - "operation": "boost", - "score": -0.31162992119789124 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 559.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 598.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1440.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1796.0, - "then": { - "operation": "boost", - "score": 0.15871943533420563 - }, - "else": { - "operation": "boost", - "score": 0.11128100752830505 - } - }, - "else": { - "operation": "boost", - "score": 0.11723249405622482 - } - }, - "else": { - "operation": "boost", - "score": 0.12066001445055008 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 342.5, - "then": { - "operation": "boost", - "score": 0.01841914653778076 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318.5, - "then": { - "operation": "boost", - "score": 0.12605033814907074 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.5, - "then": { - "operation": "boost", - "score": 0.10759712010622025 - }, - "else": { - "operation": "boost", - "score": 0.14256349205970764 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1030828133225441 - }, - "else": { - "operation": "boost", - "score": 0.09441294521093369 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, - "then": { - "operation": "boost", - "score": 0.06582290679216385 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07999272644519806 - }, - "else": { - "operation": "boost", - "score": 0.10892899334430695 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, - "then": { - "operation": "boost", - "score": 0.11194630712270737 - }, - "else": { - "operation": "boost", - "score": 0.12936970591545105 - } - }, - "else": { - "operation": "boost", - "score": 0.08310403674840927 - } - }, - "else": { - "operation": "boost", - "score": 0.0665421336889267 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09370967000722885 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.08162125945091248 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.13608543574810028 - }, - "else": { - "operation": "boost", - "score": -0.13770508766174316 - } - } - } + "operation": "boost", + "score": 0.11234139651060104 }, "else": { "operation": "boost", - "score": 0.06162319332361221 + "score": 0.1124882698059082 } } } @@ -93579,965 +92465,771 @@ }, "else": { "operation": "boost", - "score": 0.014205056242644787 + "score": 0.04295714199542999 } - }, - "else": { - "operation": "boost", - "score": -0.02155652828514576 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.008104241453111172 + "score": -0.01776696927845478 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 14916.5, "then": { "operation": "boost", - "score": 0.0572921447455883 + "score": 0.08458447456359863 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0023913320619612932 - }, - "else": { - "operation": "boost", - "score": -0.06745381653308868 - } - }, - "else": { - "operation": "boost", - "score": -0.14938749372959137 - } + "operation": "boost", + "score": 0.11547242850065231 } }, "else": { "operation": "boost", - "score": -0.022743435576558113 + "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 } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.016582299023866653 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.005379573907703161 }, "else": { - "operation": "boost", - "score": 0.0321526899933815 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.044332366436719894 + "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.05637243017554283 + "score": 0.013917717151343822 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "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": 6.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11242170631885529 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45.5, + "threshold": 31541.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32026.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { "operation": "boost", - "score": 0.10500545054674149 + "score": -0.011967112310230732 }, "else": { "operation": "boost", - "score": 0.09383407235145569 + "score": 0.038963038474321365 } }, "else": { - "operation": "boost", - "score": 0.11762729287147522 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1013784185051918 + }, + "else": { + "operation": "boost", + "score": 0.11159912496805191 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09719756245613098 + }, + "else": { + "operation": "boost", + "score": 0.11283493041992188 + } + }, + "else": { + "operation": "boost", + "score": -0.29601192474365234 + } + } } }, "else": { - "operation": "boost", - "score": 0.12319447845220566 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08431711047887802 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05340621620416641 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.08878738433122635 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24366.0, "then": { + "operation": "boost", + "score": -0.051322996616363525 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 20414.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.13465680181980133 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10743604600429535 + "score": 0.08318299055099487 }, "else": { "operation": "boost", - "score": 0.11819779127836227 + "score": 0.12355715036392212 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.0, - "then": { - "operation": "boost", - "score": 0.10978491604328156 }, "else": { "operation": "boost", - "score": 0.15161405503749847 + "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_greater", - "feature": "NumReferences", - "threshold": 42.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "boost", - "score": 0.12034732103347778 + "score": 0.06358610838651657 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1105649322271347 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": 0.1466904878616333 - }, - "else": { - "operation": "boost", - "score": 0.15329095721244812 - } - } + "operation": "boost", + "score": -0.011600787751376629 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.06326930224895477 }, "else": { "operation": "boost", - "score": 0.06212656944990158 + "score": 0.0034120315685868263 } } } }, "else": { "operation": "boost", - "score": 0.07173499464988708 + "score": 0.008684852160513401 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5949.5, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 6690.0, - "then": { - "operation": "boost", - "score": 0.033913154155015945 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6623.0, - "then": { - "operation": "boost", - "score": 0.12494087219238281 - }, - "else": { - "operation": "boost", - "score": 0.12041664868593216 - } - } + "operation": "boost", + "score": -0.01575368642807007 }, "else": { "operation": "boost", - "score": 0.024490725249052048 + "score": -0.0780198946595192 } } + }, + "else": { + "operation": "boost", + "score": -0.037582967430353165 } + }, + "else": { + "operation": "boost", + "score": -0.013309022411704063 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 56.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.05869108811020851 + "score": 0.05586666613817215 }, "else": { "operation": "boost", - "score": 0.029448142275214195 + "score": 0.03549237549304962 } }, "else": { + "operation": "boost", + "score": 0.0346807986497879 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2757.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2769.0, + "then": { + "operation": "boost", + "score": 0.041999075561761856 + }, + "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": "NumReferences", - "threshold": 203783.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.025694632902741432 + }, + "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.06331805139780045 + "score": 0.03801236301660538 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09473105520009995 - }, - "else": { - "operation": "boost", - "score": 0.10561129450798035 - } - }, - "else": { - "operation": "boost", - "score": 0.014543946832418442 - } - }, - "else": { - "operation": "boost", - "score": 0.0869954377412796 - } + "operation": "boost", + "score": -0.11665480583906174 } - }, - "else": { - "operation": "boost", - "score": -0.45885273814201355 } }, "else": { "operation": "boost", - "score": 0.06173882260918617 + "score": -0.0008745536906644702 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04582836106419563 + }, + "else": { + "operation": "boost", + "score": 0.1031181663274765 } + }, + "else": { + "operation": "boost", + "score": 0.030557140707969666 } }, "else": { "operation": "boost", - "score": 0.020587138831615448 + "score": 0.011153722181916237 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.10359236598014832 - }, - "else": { - "operation": "boost", - "score": -0.14938437938690186 - } + "operation": "boost", + "score": 0.08476965874433517 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.11141282320022583 + "score": 0.07781799882650375 }, "else": { - "operation": "boost", - "score": 0.12494681030511856 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11478248238563538 + }, + "else": { + "operation": "boost", + "score": 0.08530531823635101 + } } } }, "else": { - "operation": "boost", - "score": -0.20773258805274963 - } - }, - "else": { - "operation": "boost", - "score": -0.030735259875655174 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01089131087064743 - }, - "else": { - "operation": "boost", - "score": -0.041955020278692245 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116639.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.09435859322547913 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125771.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.030168848112225533 + "score": 0.11318790912628174 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08805901557207108 + "score": 0.12750226259231567 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12514813244342804 + "score": 0.13654188811779022 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09587624669075012 - }, - "else": { - "operation": "boost", - "score": 0.12434445321559906 - } + "operation": "boost", + "score": 0.11732891201972961 } } }, "else": { "operation": "boost", - "score": -0.4456024467945099 + "score": 0.14816047251224518 } } - }, - "else": { - "operation": "boost", - "score": 0.01611574925482273 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.00778938177973032 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03391832113265991 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 560.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 597.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12538626790046692 - }, - "else": { - "operation": "boost", - "score": 0.1212819293141365 - } + "operation": "boost", + "score": 0.11027269065380096 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 822.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1755.0, - "then": { - "operation": "boost", - "score": -0.00854350347071886 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1232.0, - "then": { - "operation": "boost", - "score": 0.11251212656497955 - }, - "else": { - "operation": "boost", - "score": 0.1339927613735199 - } - } - }, - "else": { - "operation": "boost", - "score": 0.015019687823951244 - } + "operation": "boost", + "score": 0.11460921168327332 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1073.0, - "then": { - "operation": "boost", - "score": 0.1117943525314331 - }, - "else": { - "operation": "boost", - "score": 0.09465905278921127 - } - }, - "else": { - "operation": "boost", - "score": 0.03711308166384697 - } + "operation": "boost", + "score": 0.14277717471122742 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "boost", - "score": 0.11637134104967117 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12414984405040741 - }, - "else": { - "operation": "boost", - "score": 0.09054159373044968 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.14302703738212585 - }, - "else": { - "operation": "boost", - "score": 0.1178644448518753 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 300.5, - "then": { - "operation": "boost", - "score": 0.11362272500991821 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.12121783196926117 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06040532514452934 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 338.5, - "then": { - "operation": "boost", - "score": 0.095177061855793 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.1129923015832901 - }, - "else": { - "operation": "boost", - "score": 0.07504040002822876 - } - }, - "else": { - "operation": "boost", - "score": 0.06487021595239639 - } + "operation": "boost", + "score": 0.08851328492164612 } }, "else": { "operation": "boost", - "score": 0.07161837816238403 + "score": 0.0837985947728157 } }, "else": { "operation": "boost", - "score": 0.07791821658611298 + "score": 0.049610961228609085 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "boost", - "score": 0.06560330837965012 + "score": 0.16629987955093384 }, "else": { "operation": "boost", - "score": -0.026963533833622932 + "score": 0.027786988765001297 } } - } - }, - "else": { - "operation": "boost", - "score": 0.009254143573343754 - } - }, - "else": { - "operation": "boost", - "score": -0.00044160359539091587 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 23.0, - "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": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09779902547597885 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2596808969974518 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08175066113471985 + "score": 0.022947708144783974 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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": "boost", - "score": 0.07526537030935287 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1071084663271904 + "score": -0.05899897590279579 }, "else": { "operation": "boost", - "score": 0.12643826007843018 + "score": 0.05912117287516594 } + }, + "else": { + "operation": "boost", + "score": -0.011648215353488922 } } }, "else": { "operation": "boost", - "score": 0.10765700042247772 + "score": -0.018655981868505478 } } } @@ -94546,77 +93238,27 @@ "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_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01833690144121647 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07769137620925903 - }, - "else": { - "operation": "boost", - "score": 0.0031866973731666803 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03564925864338875 - }, - "else": { - "operation": "boost", - "score": 0.08291880786418915 - } - } - }, - "else": { - "operation": "boost", - "score": 0.030656814575195312 - } + "operation": "boost", + "score": 0.005058859474956989 }, "else": { "operation": "boost", - "score": 0.006369583774358034 + "score": -0.13034644722938538 } } }, @@ -94624,2980 +93266,2926 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0020724639762192965 - }, - "else": { - "operation": "boost", - "score": 0.021452361717820168 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011572432704269886 - }, - "else": { - "operation": "boost", - "score": 0.032248545438051224 - } - } - }, - "else": { - "operation": "boost", - "score": 0.014665483497083187 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.027924034744501114 - }, - "else": { - "operation": "boost", - "score": -0.02936115860939026 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0016036389861255884 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06395027786493301 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Constructor", - "Type" - ], + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", "CCC_Statement", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "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, + "then": { + "operation": "boost", + "score": -0.037298403680324554 + }, + "else": { + "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_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03302215039730072 + }, + "else": { + "operation": "boost", + "score": -0.051145702600479126 + } + }, + "else": { + "operation": "boost", + "score": 0.13260389864444733 + } + }, + "else": { + "operation": "boost", + "score": -0.044928573071956635 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12407217919826508 + } + }, + "else": { + "operation": "boost", + "score": -0.10288795083761215 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02886055037379265 + "score": 0.026163123548030853 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.12985944747924805 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03350843861699104 + }, + "else": { + "operation": "boost", + "score": 0.07730898261070251 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" + "CCC_ClassOrStructTag" ], "then": { + "operation": "boost", + "score": 0.09760354459285736 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "ClassScope" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08324679732322693 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.057084307074546814 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": -0.10009023547172546 - }, - "else": { - "operation": "boost", - "score": 0.14596794545650482 - } - }, - "else": { - "operation": "boost", - "score": 0.1503894180059433 - } - }, - "else": { - "operation": "boost", - "score": -0.026180841028690338 - } - }, - "else": { - "operation": "boost", - "score": 0.17768852412700653 - } - } - }, - "else": { - "operation": "boost", - "score": 0.14802327752113342 - } - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { - "operation": "boost", - "score": 0.12017995119094849 + "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.17190124094486237 + "score": -0.3180740177631378 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.07360980659723282 }, "else": { "operation": "boost", - "score": -0.05748248100280762 + "score": 0.052776679396629333 } } }, "else": { "operation": "boost", - "score": 0.057189494371414185 + "score": 0.09452398866415024 } } } }, + "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.009064608253538609 + "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.003482540836557746 + "score": 0.11320774257183075 } }, "else": { - "operation": "boost", - "score": -0.009039236232638359 + "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": "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.08967337757349014 + }, + "else": { + "operation": "boost", + "score": 0.09540093690156937 + } + }, + "else": { + "operation": "boost", + "score": 0.058034222573041916 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05406728386878967 + }, + "else": { + "operation": "boost", + "score": 0.09748180955648422 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05956672132015228 + } + }, + "else": { + "operation": "boost", + "score": 0.008974392898380756 + } } - }, - "else": { - "operation": "boost", - "score": -0.047549277544021606 } } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045542068779468536 }, "else": { "operation": "boost", - "score": 0.004251972306519747 + "score": -0.0031014145351946354 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.07813660800457001 + "score": 0.02383885160088539 }, "else": { "operation": "boost", - "score": -0.02749130129814148 + "score": 0.04938792437314987 } }, "else": { "operation": "boost", - "score": -0.07432621717453003 + "score": -0.11773887276649475 } } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.020483730360865593 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.02125287428498268 }, "else": { "operation": "boost", - "score": 0.00743287056684494 + "score": 0.008465767838060856 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 552.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.06941325962543488 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Variable" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0602685809135437 + "score": 0.06496864557266235 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11423.5, "then": { - "operation": "boost", - "score": 0.09836097806692123 + "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.08150701224803925 + "score": 0.12783001363277435 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.13305586576461792 + "score": 0.05073300749063492 }, "else": { - "operation": "boost", - "score": 0.6081913709640503 + "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": 200884.5, + "threshold": 19035.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11735119670629501 - }, - "else": { - "operation": "boost", - "score": 0.10255374014377594 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "feature": "NumReferences", + "threshold": 19203.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 24391.5, "then": { "operation": "boost", - "score": 0.08336562663316727 + "score": 0.031035684049129486 }, "else": { - "operation": "boost", - "score": 0.11675931513309479 + "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 + } + } + } } }, "else": { "operation": "boost", - "score": 0.07265067845582962 + "score": 0.1198195293545723 } + }, + "else": { + "operation": "boost", + "score": 0.04176165163516998 } } }, - "else": { - "operation": "boost", - "score": 0.09314219653606415 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.007545203436166048 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 185.5, + "threshold": 4310.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 4324.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1553.5, + "threshold": 56138.5, "then": { + "operation": "boost", + "score": -0.016717178747057915 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 43084.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18126.0, + "threshold": 45000.0, "then": { "operation": "boost", - "score": -0.1083400696516037 + "score": 0.048959892243146896 }, "else": { - "operation": "boost", - "score": 0.030945170670747757 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11269960552453995 + }, + "else": { + "operation": "boost", + "score": 0.09624797850847244 + } + }, + "else": { + "operation": "boost", + "score": 0.014394156634807587 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1556.0, + "threshold": 24844.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.19138003885746002 + "score": 0.030947793275117874 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "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": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.051508884876966476 + "score": -0.1635984182357788 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6924.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.11130589991807938 + "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.09965404123067856 + "score": 0.14996445178985596 } } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7157.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.04940570890903473 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.09925574064254761 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14120.0, + "threshold": 11711.5, "then": { "operation": "boost", - "score": 0.02404327690601349 + "score": 0.053681761026382446 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12036.5, + "threshold": 11245.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12368.0, - "then": { - "operation": "boost", - "score": 0.08729834854602814 - }, - "else": { - "operation": "boost", - "score": 0.1149715855717659 - } + "operation": "boost", + "score": -0.12991268932819366 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.1191517636179924 + "score": 0.11807354539632797 }, "else": { "operation": "boost", - "score": 0.09716836363077164 + "score": 0.11282537132501602 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6864.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { - "operation": "boost", - "score": -0.06360764056444168 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08628306537866592 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7164.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7788.5, - "then": { - "operation": "boost", - "score": 0.08367688953876495 - }, - "else": { - "operation": "boost", - "score": 0.11184998601675034 - } - }, - "else": { - "operation": "boost", - "score": 0.10955563187599182 - } - }, - "else": { - "operation": "boost", - "score": -0.3351450264453888 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.049945417791604996 - }, - "else": { - "operation": "boost", - "score": 0.11922460794448853 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07576727867126465 - } + "operation": "boost", + "score": 0.0898984968662262 } } + }, + "else": { + "operation": "boost", + "score": 0.07504616677761078 } + }, + "else": { + "operation": "boost", + "score": 0.0496232733130455 } + }, + "else": { + "operation": "boost", + "score": 0.04834446310997009 } } - }, - "else": { - "operation": "boost", - "score": 0.14036910235881805 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10170615464448929 }, "else": { "operation": "boost", - "score": 0.048961199820041656 + "score": 0.11537405848503113 } - }, - "else": { - "operation": "boost", - "score": 0.005872698500752449 } }, "else": { "operation": "boost", - "score": -0.045748114585876465 + "score": 0.0047228457406163216 } } }, "else": { "operation": "boost", - "score": 0.01582193747162819 + "score": -0.00032504519913345575 } - } - }, - "else": { - "operation": "boost", - "score": -0.06109180673956871 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08896023035049438 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0790092870593071 + "score": -0.060955073684453964 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.13886532187461853 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.21842461824417114 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.08102986216545105 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.0803779661655426 - }, - "else": { "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.10533498972654343 + "score": 0.05939529836177826 }, "else": { "operation": "boost", - "score": 0.12419462203979492 + "score": -0.012629859149456024 } } + }, + "else": { + "operation": "boost", + "score": 0.05930671840906143 } }, "else": { "operation": "boost", - "score": 0.1025359258055687 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0979446992278099 - }, - "else": { - "operation": "boost", - "score": 0.0101650794968009 + "score": -0.02821389026939869 } }, "else": { "operation": "boost", - "score": 0.04214998334646225 + "score": 0.015198169276118279 } + }, + "else": { + "operation": "boost", + "score": -0.008240621536970139 } + } + }, + "else": { + "operation": "boost", + "score": -0.020698558539152145 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.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": 10.5, + "then": { + "operation": "boost", + "score": 0.048748914152383804 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15652334690093994 + }, + "else": { + "operation": "boost", + "score": -0.10832421481609344 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2318.5, + "then": { + "operation": "boost", + "score": 0.05540318414568901 + }, + "else": { + "operation": "boost", + "score": 0.06275279074907303 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08775494992733002 + }, + "else": { + "operation": "boost", + "score": 0.06449808180332184 + } + }, + "else": { + "operation": "boost", + "score": 0.05240543559193611 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": -0.1793050765991211 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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": 44699.0, + "threshold": 902.5, "then": { - "operation": "boost", - "score": -0.15459328889846802 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43302.5, + "threshold": 31541.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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.10011604428291321 + "score": -0.040039412677288055 }, "else": { "operation": "boost", - "score": 0.27451881766319275 + "score": 0.041663188487291336 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10317739844322205 }, "else": { "operation": "boost", - "score": -0.041365448385477066 + "score": -0.013579671271145344 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.02417987771332264 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.021268779411911964 + "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": 220295.0, + "threshold": 824.0, "then": { "operation": "boost", - "score": 0.06711087375879288 + "score": 0.09473424404859543 }, "else": { "operation": "boost", - "score": 0.047260262072086334 + "score": 0.13195809721946716 } + }, + "else": { + "operation": "boost", + "score": 0.09877585619688034 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.006543521303683519 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0989711582660675 - }, - "else": { - "operation": "boost", - "score": -0.097865991294384 - } - }, - "else": { - "operation": "boost", - "score": -0.07690171152353287 - } - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.03392397239804268 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 195.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7394.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03871846944093704 + "score": 0.12306267023086548 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 619.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.004269044380635023 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03934589400887489 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -1.564740538597107 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.100985087454319 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10040173679590225 - }, - "else": { - "operation": "boost", - "score": -0.11574782431125641 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.028231414034962654 - }, - "else": { - "operation": "boost", - "score": -0.2128886878490448 - } - } - } - } + "operation": "boost", + "score": 0.1320677101612091 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.06737858057022095 - }, - "else": { - "operation": "boost", - "score": 0.022597281262278557 - } - }, - "else": { - "operation": "boost", - "score": -0.02691889926791191 - } + "operation": "boost", + "score": 0.08322305232286453 } } }, "else": { - "operation": "boost", - "score": 0.01854611746966839 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.08963658660650253 - }, - "else": { - "operation": "boost", - "score": 0.104456827044487 - } + "operation": "boost", + "score": -0.12275438755750656 }, "else": { "operation": "boost", - "score": 0.022622032091021538 + "score": 0.10386400669813156 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 70.5, "then": { "operation": "boost", - "score": 0.0012129928218200803 + "score": 0.13334359228610992 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "boost", - "score": 0.201791912317276 + "score": 0.11979330331087112 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.5147477388381958 - }, - "else": { - "operation": "boost", - "score": 0.12446734309196472 - } + "operation": "boost", + "score": -0.11567174643278122 } }, "else": { "operation": "boost", - "score": 0.03868666663765907 + "score": 0.12377680838108063 } } } - }, - "else": { - "operation": "boost", - "score": 0.14080317318439484 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.058206796646118164 - }, - "else": { - "operation": "boost", - "score": -0.49486279487609863 - } + "operation": "boost", + "score": 0.021176116541028023 } }, "else": { "operation": "boost", - "score": 0.01119890809059143 + "score": 0.08048950880765915 } }, "else": { "operation": "boost", - "score": -0.009964855387806892 + "score": 0.03182004764676094 } } } } }, "else": { + "operation": "boost", + "score": -0.010236942209303379 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006144518498331308 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11200.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0437740720808506 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09802475571632385 + }, + "else": { + "operation": "boost", + "score": 0.022571494802832603 + } + }, + "else": { + "operation": "boost", + "score": 0.017125073820352554 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, - "then": { - "operation": "boost", - "score": -0.39761507511138916 - }, - "else": { - "operation": "boost", - "score": -0.007818270474672318 - } + "operation": "boost", + "score": 0.046041641384363174 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 149.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 158.5, "then": { "operation": "boost", - "score": 0.10022274404764175 + "score": 0.03844006359577179 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10165740549564362 - }, - "else": { - "operation": "boost", - "score": -0.01752748340368271 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09950857609510422 - }, - "else": { - "operation": "boost", - "score": 0.0453372485935688 - } - } + "operation": "boost", + "score": 0.09764174371957779 } }, "else": { "operation": "boost", - "score": 0.09407122433185577 + "score": -0.013926979154348373 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14612436294555664 - }, - "else": { - "operation": "boost", - "score": 0.197430819272995 - } - }, - "else": { - "operation": "boost", - "score": 0.02445809356868267 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38209.0, - "then": { - "operation": "boost", - "score": 0.09815626591444016 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.04478282481431961 - }, - "else": { - "operation": "boost", - "score": -0.07640928775072098 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00013332873641047627 - } - }, - "else": { - "operation": "boost", - "score": -0.08581433445215225 - } + "operation": "boost", + "score": 0.0238500963896513 } + }, + "else": { + "operation": "boost", + "score": 0.009691997431218624 } } }, "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, + "then": { + "operation": "boost", + "score": -0.00011407351848902181 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "boost", - "score": 0.06794733554124832 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8325.0, - "then": { - "operation": "boost", - "score": -0.12719735503196716 - }, - "else": { - "operation": "boost", - "score": 0.0559302493929863 - } - }, - "else": { - "operation": "boost", - "score": 0.006149947643280029 - } - } - }, - "else": { - "operation": "boost", - "score": 0.014248042367398739 - } + "operation": "boost", + "score": 0.055319253355264664 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.1279214471578598 + "score": 0.03105471283197403 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.020298192277550697 + "score": 0.0304380152374506 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06048618629574776 - }, - "else": { - "operation": "boost", - "score": 0.0860477089881897 - } + "operation": "boost", + "score": 0.09177760034799576 }, "else": { "operation": "boost", - "score": 0.07185933738946915 + "score": 0.10642676055431366 } } }, "else": { "operation": "boost", - "score": -0.0005825608386658132 + "score": 0.12208757549524307 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.02214893326163292 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06539789587259293 - }, - "else": { - "operation": "boost", - "score": -0.11990765482187271 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03964349627494812 - }, - "else": { - "operation": "boost", - "score": 0.01505125593394041 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01912730187177658 - }, - "else": { - "operation": "boost", - "score": -0.020503466948866844 - } - } + "operation": "boost", + "score": 0.027938485145568848 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09796395897865295 - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.0, - "then": { - "operation": "boost", - "score": 0.0654265284538269 }, "else": { "operation": "boost", - "score": 0.16864192485809326 + "score": 0.015755824744701385 } }, "else": { - "operation": "boost", - "score": 0.016244305297732353 - } - }, - "else": { - "operation": "boost", - "score": -0.03794702887535095 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.004554126877337694 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_member", "feature": "Scope", "set": [ + "FunctionScope", "ClassScope", - "GlobalScope", - "FunctionScope" + "GlobalScope" ], "then": { - "operation": "boost", - "score": 0.037764210253953934 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "boost", + "score": 0.06867407262325287 + }, + "else": { + "operation": "boost", + "score": 0.028126386925578117 + } }, "else": { "operation": "boost", - "score": -0.10201797634363174 + "score": -0.2127716839313507 } - }, - "else": { - "operation": "boost", - "score": 0.028063545003533363 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44220.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234860.0, "then": { "operation": "boost", - "score": 0.0012330212630331516 + "score": -0.0021319251973181963 }, "else": { - "operation": "boost", - "score": -0.04544384032487869 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.012987065128982067 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 174254.0, "then": { - "operation": "boost", - "score": -0.03478085994720459 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08944357931613922 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08025994896888733 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1278180181980133 + }, + "else": { + "operation": "boost", + "score": 0.11547364294528961 + } + } + } }, "else": { - "operation": "boost", - "score": 0.06747892498970032 + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.03937201946973801 } - }, - "else": { - "operation": "boost", - "score": -0.01441846415400505 } + }, + "else": { + "operation": "boost", + "score": 0.015622173435986042 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope", - "FunctionScope" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "boost", + "score": 0.08011465519666672 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.024845615029335022 + "score": 0.00949164293706417 }, "else": { "operation": "boost", - "score": -0.00190269504673779 + "score": 0.1141238734126091 } }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.14977483451366425 + "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.019548270851373672 + "score": 0.045310404151678085 } } }, "else": { - "operation": "boost", - "score": -0.002421400509774685 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "boost", - "score": -0.029466550797224045 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4182620048522949 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11569403111934662 + }, + "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 + } + } + } }, "else": { "operation": "boost", - "score": -0.0802449956536293 + "score": -0.1036909893155098 } - }, - "else": { - "operation": "boost", - "score": 0.03951083496212959 } } }, + "else": { + "operation": "boost", + "score": 0.0027367197908461094 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0640980452299118 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_Symbol" + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumReferences", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.03751181811094284 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.11643892526626587 + "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": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.08768191933631897 + "score": 0.09910009801387787 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.11886617541313171 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0873652920126915 + }, + "else": { + "operation": "boost", + "score": 0.11198475956916809 + } }, "else": { "operation": "boost", - "score": -0.11489877104759216 + "score": 0.09541306644678116 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10229814797639847 + }, + "else": { + "operation": "boost", + "score": -0.0013734424719586968 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33449.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08481350541114807 + }, + "else": { + "operation": "boost", + "score": 0.13034231960773468 + } + }, + "else": { + "operation": "boost", + "score": 0.021148880943655968 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 5663.5, "then": { "operation": "boost", - "score": -0.08315980434417725 + "score": 0.08966038376092911 }, "else": { "operation": "boost", - "score": 0.08730006217956543 + "score": 0.05006154254078865 } }, - "else": { - "operation": "boost", - "score": -0.60097736120224 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05531397834420204 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.14098715782165527 + "score": 0.14795951545238495 }, "else": { "operation": "boost", - "score": -0.21334490180015564 + "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 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.049467626959085464 + "score": -1.5767089128494263 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08748983591794968 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12112149596214294 - }, - "else": { - "operation": "boost", - "score": 0.15985748171806335 - } - }, - "else": { - "operation": "boost", - "score": -0.12388961017131805 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10598806291818619 - }, - "else": { - "operation": "boost", - "score": 0.14896433055400848 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0517444871366024 - } + "operation": "boost", + "score": 0.08501172065734863 }, "else": { "operation": "boost", - "score": 0.06340132653713226 + "score": 0.13879667222499847 } } } + }, + "else": { + "operation": "boost", + "score": 0.07294178754091263 } } + }, + "else": { + "operation": "boost", + "score": 0.041226983070373535 } }, "else": { "operation": "boost", - "score": 0.03003775142133236 + "score": 0.1084766685962677 } }, "else": { - "operation": "boost", - "score": -0.0055830576457083225 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32455.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.027373597025871277 + "score": 0.05654335767030716 }, "else": { - "operation": "boost", - "score": 0.10245457291603088 + "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": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.30038347840309143 + "score": 0.10545092821121216 }, "else": { + "operation": "boost", + "score": 0.06807728856801987 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 34.5, "then": { - "operation": "boost", - "score": 0.052560895681381226 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.07851014286279678 + "score": 0.06573942303657532 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.11327320337295532 + "score": 0.048418715596199036 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07735010236501694 + }, + "else": { + "operation": "boost", + "score": 0.1082824096083641 + } + } + } + }, + "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.09238667786121368 + "score": 0.06044192612171173 } + }, + "else": { + "operation": "boost", + "score": 0.030341768637299538 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.33540767431259155 - }, - "else": { - "operation": "boost", - "score": 0.12642799317836761 - } + "operation": "boost", + "score": 0.042515333741903305 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.0, - "then": { - "operation": "boost", - "score": 0.12914635241031647 - }, - "else": { - "operation": "boost", - "score": 0.13379783928394318 - } + "operation": "boost", + "score": 0.06024845689535141 }, "else": { "operation": "boost", - "score": 0.10977227240800858 + "score": -0.010925321839749813 } - }, - "else": { - "operation": "boost", - "score": 0.006455335766077042 } } }, "else": { "operation": "boost", - "score": 0.02614423632621765 + "score": -0.0047847554087638855 } - } - }, - "else": { - "operation": "boost", - "score": -0.07649405300617218 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63436.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381517.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.006966690998524427 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09563285112380981 - }, - "else": { - "operation": "boost", - "score": 0.1229272410273552 - } - } - }, - "else": { - "operation": "boost", - "score": -0.3937247097492218 - } - }, - "else": { - "operation": "boost", - "score": -0.19497817754745483 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.09151370823383331 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297854.5, - "then": { - "operation": "boost", - "score": 0.029970519244670868 - }, - "else": { - "operation": "boost", - "score": 0.13099651038646698 - } - }, - "else": { - "operation": "boost", - "score": -0.2054472714662552 - } - }, - "else": { - "operation": "boost", - "score": 0.09271009266376495 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.003168781753629446 - } - }, - "else": { - "operation": "boost", - "score": -0.029979586601257324 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.04268524423241615 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.0, - "then": { - "operation": "boost", - "score": 0.08891817182302475 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1296592503786087 - }, - "else": { - "operation": "boost", - "score": 0.3230256140232086 - } - }, - "else": { - "operation": "boost", - "score": 0.11486159265041351 - } - } - }, - "else": { - "operation": "boost", - "score": 0.18423159420490265 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.0, - "then": { - "operation": "boost", - "score": 0.07087715715169907 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.2001049965620041 - }, - "else": { - "operation": "boost", - "score": 0.12366627156734467 - } - } - }, - "else": { - "operation": "boost", - "score": 0.13235092163085938 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10117162764072418 - } - }, - "else": { - "operation": "boost", - "score": 0.047897059470415115 - } - } - }, - "else": { - "operation": "boost", - "score": 0.016562189906835556 - } - }, - "else": { - "operation": "boost", - "score": 0.0024647030513733625 + }, + "else": { + "operation": "boost", + "score": -0.13053588569164276 } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Namespace", - "CCC_ClassOrStructTag" - ], + "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": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10458825528621674 - }, - "else": { - "operation": "boost", - "score": 0.19727551937103271 - } - }, - "else": { - "operation": "boost", - "score": 0.06339367479085922 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.10051155835390091 - }, - "else": { - "operation": "boost", - "score": -0.02612142264842987 - } - } + "operation": "boost", + "score": 0.052483025938272476 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.0026659443974494934 + "score": -0.06397204846143723 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.46857234835624695 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06617104262113571 - }, - "else": { - "operation": "boost", - "score": -0.03681803122162819 - } - } - }, - "else": { - "operation": "boost", - "score": -0.019099140539765358 - } + "operation": "boost", + "score": -0.26731985807418823 } } + }, + "else": { + "operation": "boost", + "score": -0.04475809633731842 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14351.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12428073585033417 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": 0.026485437527298927 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11414513736963272 - }, - "else": { - "operation": "boost", - "score": 0.10358072817325592 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, - "then": { - "operation": "boost", - "score": 0.10702326148748398 - }, - "else": { - "operation": "boost", - "score": 0.07842162251472473 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.1390950083732605 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.11752144992351532 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "boost", - "score": 0.03209981322288513 - }, - "else": { - "operation": "boost", - "score": 0.11284895986318588 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "FilterLength", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.002484734868630767 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.0, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.11416976898908615 + }, + "else": { + "operation": "boost", + "score": 0.12559424340724945 + } + }, + "else": { + "operation": "boost", + "score": 0.1562146544456482 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.3040175139904022 - }, - "else": { - "operation": "boost", - "score": 0.0888555645942688 - } - }, - "else": { - "operation": "boost", - "score": 0.12372742593288422 - } + "operation": "boost", + "score": 0.15957945585250854 }, "else": { "operation": "boost", - "score": 0.08422459661960602 + "score": 0.16691552102565765 } }, "else": { "operation": "boost", - "score": 0.01252271980047226 + "score": 0.09368803352117538 } - }, - "else": { - "operation": "boost", - "score": 0.03920121490955353 } + }, + "else": { + "operation": "boost", + "score": 0.050306592136621475 } }, "else": { "operation": "boost", - "score": -0.053163792937994 + "score": 0.06526617705821991 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.02670091949403286 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.0917905941605568 + "score": 0.11302125453948975 }, "else": { "operation": "boost", - "score": -0.23781941831111908 + "score": -0.42555931210517883 } }, "else": { "operation": "boost", - "score": -0.22014950215816498 + "score": 0.038714636117219925 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.15692441165447235 + }, + "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 + } } } } + }, + "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 } } + }, + "else": { + "operation": "boost", + "score": 0.02216263674199581 } + }, + "else": { + "operation": "boost", + "score": -0.005686386954039335 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.00416308781132102 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "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.008783924393355846 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.04323635995388031 + }, + "else": { + "operation": "boost", + "score": -0.0013212681515142322 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.17530672252178192 + "score": -0.018087340518832207 }, "else": { "operation": "boost", - "score": -0.02860230766236782 + "score": -0.17730110883712769 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012991616502404213 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ArrowMemberAccess" + "Variable", + "Type" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.1242816224694252 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.10251595079898834 + "score": 0.03653471916913986 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 67.5, "then": { - "operation": "boost", - "score": 0.12718521058559418 + "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.12533700466156006 + "score": 0.04199433699250221 } } + }, + "else": { + "operation": "boost", + "score": 0.02903536520898342 } }, "else": { "operation": "boost", - "score": 0.12486592680215836 + "score": 0.028919130563735962 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05760873481631279 }, "else": { "operation": "boost", - "score": 0.032293837517499924 + "score": -0.10695401579141617 } } }, "else": { "operation": "boost", - "score": -0.018691562116146088 + "score": 0.006410025525838137 } + }, + "else": { + "operation": "boost", + "score": 0.0006696001510135829 } } - }, - "else": { - "operation": "boost", - "score": -0.00492141442373395 } } }, @@ -97610,822 +96198,1439 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, + "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": 183.0, - "then": { - "operation": "boost", - "score": 0.06182582303881645 - }, - "else": { - "operation": "boost", - "score": 0.17100366950035095 - } + "operation": "boost", + "score": 0.0163880567997694 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, - "then": { - "operation": "boost", - "score": -0.18861885368824005 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.019687648862600327 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02367355488240719 - }, - "else": { - "operation": "boost", - "score": 0.011875644326210022 - } - } - } + "operation": "boost", + "score": -0.03795398399233818 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.002069437177851796 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 6360.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 6390.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88678.0, + "threshold": 16714.5, "then": { "operation": "boost", - "score": 0.06902512907981873 + "score": 0.04681795835494995 }, "else": { - "operation": "boost", - "score": 0.02116074226796627 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13648.0, + "then": { + "operation": "boost", + "score": 0.112042136490345 + }, + "else": { + "operation": "boost", + "score": 0.0672244057059288 + } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "boost", + "score": -0.018885938450694084 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 14916.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.06480444967746735 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 268.0, - "then": { - "operation": "boost", - "score": 0.13922733068466187 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.5, - "then": { - "operation": "boost", - "score": 0.046896692365407944 - }, - "else": { - "operation": "boost", - "score": 0.11439316719770432 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11486916244029999 - } - }, - "else": { - "operation": "boost", - "score": -0.052282217890024185 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15558214485645294 - }, - "else": { - "operation": "boost", - "score": -0.4192262589931488 - } - } + "operation": "boost", + "score": 0.08217563480138779 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05661958083510399 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": 0.10684899985790253 - }, - "else": { - "operation": "boost", - "score": -0.13541752099990845 - } - } + "operation": "boost", + "score": 0.11428388953208923 } }, "else": { "operation": "boost", - "score": 0.027957657352089882 + "score": 0.041039399802684784 } - }, - "else": { - "operation": "boost", - "score": 0.057636808604002 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195234.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, - "then": { - "operation": "boost", - "score": -0.014516049064695835 - }, - "else": { - "operation": "boost", - "score": 0.0734236016869545 - } + "operation": "boost", + "score": 0.11220629513263702 }, "else": { "operation": "boost", - "score": 0.01022498868405819 + "score": 0.12125342339277267 } }, "else": { - "operation": "boost", - "score": -0.13361452519893646 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10557905584573746 + }, + "else": { + "operation": "boost", + "score": 0.06534349918365479 + } } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "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": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.005223101004958153 + "score": 0.04630691930651665 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.07983660697937012 - }, - "else": { - "operation": "boost", - "score": 0.05635559931397438 - } + "operation": "boost", + "score": -0.01669161207973957 } }, "else": { "operation": "boost", - "score": -0.07123078405857086 + "score": -0.059455111622810364 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "ClassScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.02420501410961151 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07122763246297836 + }, + "else": { + "operation": "boost", + "score": 0.038583628833293915 + } }, "else": { "operation": "boost", - "score": 0.034786343574523926 + "score": 0.04227396100759506 } }, "else": { - "operation": "boost", - "score": 0.01828848198056221 + "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.03477003425359726 + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace", - "Type" + "Keyword", + "Function", + "Type", + "Namespace" ], "then": { + "operation": "boost", + "score": -0.0038868889678269625 + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 63355.5, "then": { "operation": "boost", - "score": 0.0004819124296773225 + "score": 0.13659057021141052 }, "else": { "operation": "boost", - "score": -0.038340646773576736 + "score": 0.027053629979491234 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.22187013924121857 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.058628056198358536 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09606858342885971 + }, + "else": { + "operation": "boost", + "score": -0.11005115509033203 + } + } }, "else": { "operation": "boost", - "score": 0.05970111861824989 + "score": 0.017947833985090256 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1148671880364418 + }, + "else": { + "operation": "boost", + "score": -0.007521668449044228 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.035333093255758286 + "score": 0.0961955264210701 }, "else": { "operation": "boost", - "score": -0.013169330544769764 + "score": 0.021359283477067947 } + }, + "else": { + "operation": "boost", + "score": 0.017386402934789658 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88.5, + "threshold": 11209.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.025416487827897072 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.16221630573272705 - }, - "else": { - "operation": "boost", - "score": 0.11659789085388184 - } + "operation": "boost", + "score": 0.07834864407777786 }, "else": { "operation": "boost", - "score": 0.055196087807416916 + "score": 0.14313814043998718 } + } + }, + "else": { + "operation": "boost", + "score": 0.025862064212560654 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.17811445891857147 }, "else": { "operation": "boost", - "score": 0.05039915069937706 + "score": 0.007333116605877876 } }, "else": { "operation": "boost", - "score": 0.015044107101857662 + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.08305396139621735 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.044189222157001495 + "score": 0.07686042040586472 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.11256571114063263 + "score": 0.11376751959323883 }, "else": { + "operation": "boost", + "score": 0.08152207732200623 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08939637243747711 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11062607169151306 + }, + "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": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10978872328996658 + "score": 0.13106076419353485 }, "else": { "operation": "boost", - "score": 0.10819704830646515 + "score": 0.11409441381692886 } - }, - "else": { - "operation": "boost", - "score": 0.10692206770181656 } + }, + "else": { + "operation": "boost", + "score": 0.13111086189746857 } } - }, - "else": { - "operation": "boost", - "score": -0.06670241802930832 } - }, - "else": { - "operation": "boost", - "score": -0.11143957078456879 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope", - "FunctionScope" + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0016030961414799094 + "score": 0.0061248852871358395 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.051110513508319855 + "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.006925113964825869 + "score": 0.13856889307498932 } }, "else": { "operation": "boost", - "score": 0.02259586751461029 + "score": 0.08518686145544052 } }, "else": { "operation": "boost", - "score": 0.11905127018690109 + "score": 0.07901700586080551 } }, "else": { "operation": "boost", - "score": 0.005769792012870312 + "score": 0.04599772021174431 } } }, "else": { + "operation": "boost", + "score": 0.024207694455981255 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02602410688996315 + }, + "else": { + "operation": "boost", + "score": -0.019480399787425995 + } + } + } + }, + "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_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02062174864113331 + "score": 0.01009997259825468 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05364629626274109 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.095374695956707 + }, + "else": { + "operation": "boost", + "score": 0.095738984644413 + } + } + } + }, + "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, "then": { + "operation": "boost", + "score": -0.03129812702536583 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "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": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13816940784454346 + "score": 0.029331211000680923 }, "else": { "operation": "boost", - "score": 0.10836273431777954 + "score": 0.1372128576040268 } }, "else": { "operation": "boost", - "score": -0.2281723916530609 + "score": -0.026103336364030838 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13899542391300201 - }, - "else": { - "operation": "boost", - "score": 0.08838173002004623 - } - }, - "else": { - "operation": "boost", - "score": 0.039116017520427704 - } + "operation": "boost", + "score": -0.04217727109789848 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.11868148297071457 + } + }, + "else": { + "operation": "boost", + "score": -0.09781377017498016 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11765868216753006 + "score": 0.03233272209763527 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.08036213368177414 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.036040693521499634 + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "CCC_ClassOrStructTag" ], "then": { "operation": "boost", - "score": 0.03704918920993805 + "score": 0.09717860072851181 }, "else": { - "operation": "boost", - "score": -0.12803958356380463 + "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 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.0035522831603884697 + "score": 0.010449814610183239 }, "else": { "operation": "boost", - "score": -0.1034652516245842 + "score": -0.003474958473816514 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.01710072159767151 + }, + "else": { + "operation": "boost", + "score": -0.06423246115446091 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57.5, + "threshold": 5647.0, "then": { "operation": "boost", - "score": -0.21670860052108765 + "score": 0.10285380482673645 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.15504993498325348 + "score": 0.04708545655012131 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "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.11689051240682602 + "score": 0.026369882747530937 } } }, "else": { "operation": "boost", - "score": -0.005599428899586201 + "score": 0.0008690996328368783 } + }, + "else": { + "operation": "boost", + "score": -0.000567403098102659 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": -0.09184373915195465 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03244095295667648 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08411869406700134 + }, + "else": { + "operation": "boost", + "score": 0.05097726732492447 + } }, "else": { - "operation": "boost", - "score": 0.05695037171244621 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02485729567706585 + }, + "else": { + "operation": "boost", + "score": 0.09463326632976532 + } } }, "else": { "operation": "boost", - "score": -0.06515029817819595 + "score": -0.008241844363510609 } - }, - "else": { - "operation": "boost", - "score": 0.0016943500377237797 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + } + } + }, + "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, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.054067280143499374 + "score": 0.16028663516044617 }, "else": { "operation": "boost", - "score": 0.0006495403940789402 + "score": -0.1068832278251648 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.023781679570674896 + "score": 0.12102676182985306 }, "else": { "operation": "boost", - "score": -0.09364958852529526 + "score": -0.2673211693763733 } } + }, + "else": { + "operation": "boost", + "score": -0.013304667547345161 } + }, + "else": { + "operation": "boost", + "score": -0.02376498281955719 } } }, @@ -98433,1826 +97638,1224 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.004248082172125578 + "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 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24308.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "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": "boost", - "score": -0.010284860618412495 + "score": 0.011370310559868813 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "boost", - "score": 0.11757152527570724 - }, - "else": { - "operation": "boost", - "score": 0.027438730001449585 - } - } - }, - "else": { - "operation": "boost", - "score": -0.01600823923945427 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00562317855656147 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03433464467525482 + "score": 0.014135392382740974 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 432212.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.09990038722753525 + "score": -0.33262401819229126 }, "else": { "operation": "boost", - "score": 0.0299709253013134 + "score": 0.039518777281045914 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07626476883888245 - }, - "else": { - "operation": "boost", - "score": 0.09010598808526993 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0644519105553627 - }, - "else": { - "operation": "boost", - "score": -0.024099502712488174 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.026979783549904823 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "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_ParenthesizedExpression" - ], + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10232886672019958 + "score": -0.1399393081665039 }, "else": { "operation": "boost", - "score": 0.0023370457347482443 + "score": -0.03851113095879555 } - }, - "else": { - "operation": "boost", - "score": 0.05786599591374397 } - }, - "else": { - "operation": "boost", - "score": -0.0579240508377552 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03547007963061333 - }, - "else": { - "operation": "boost", - "score": 0.029518408700823784 } } }, "else": { - "operation": "boost", - "score": 0.0028005242347717285 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7103.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 18672.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190379.0, + "threshold": 20039.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252796.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.01262577436864376 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.06128556281328201 + "score": 0.059845615178346634 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10714489966630936 - }, - "else": { - "operation": "boost", - "score": 0.07113824039697647 - } + "operation": "boost", + "score": 0.11808077245950699 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49594.0, - "then": { - "operation": "boost", - "score": 0.05541662126779556 - }, - "else": { - "operation": "boost", - "score": 0.22206330299377441 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33949.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.09967123717069626 - }, - "else": { - "operation": "boost", - "score": 0.044206682592630386 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.15167643129825592 }, "else": { "operation": "boost", - "score": 0.12341941148042679 + "score": 0.05326658859848976 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { - "operation": "boost", - "score": 0.03456437960267067 - }, - "else": { - "operation": "boost", - "score": -0.045881450176239014 - } - }, - "else": { - "operation": "boost", - "score": -0.4546804428100586 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": -0.021181616932153702 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.16615182161331177 }, "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.019731290638446808 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104520.5, + "threshold": 19176.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09241793304681778 - }, - "else": { - "operation": "boost", - "score": -0.10384397208690643 - } - }, - "else": { "operation": "boost", - "score": 0.06309714913368225 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.019004903733730316 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.012523779645562172 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.06386642903089523 - }, - "else": { - "operation": "boost", - "score": -0.792597770690918 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0102620180696249 - } - } - } - } - }, - { - "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.016264980658888817 - }, - "else": { - "operation": "boost", - "score": 0.00015397580864373595 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10397990792989731 - }, - "else": { - "operation": "boost", - "score": 0.062438298016786575 - } - }, - "else": { - "operation": "boost", - "score": 0.00647564185783267 - } - }, - "else": { - "operation": "boost", - "score": -0.005683509632945061 - } - }, - "else": { - "operation": "boost", - "score": -0.07700838893651962 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.1584550440311432 - }, - "else": { - "operation": "boost", - "score": 0.14144575595855713 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.12127339839935303 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14112.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.027920756489038467 - }, - "else": { - "operation": "boost", - "score": -0.024641264230012894 - } + "score": 0.10611044615507126 }, "else": { "operation": "boost", - "score": -0.17147105932235718 + "score": 0.0974397137761116 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0018643205985426903 + "score": -0.13264977931976318 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6193.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19176.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6280.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09908182173967361 + "score": 0.10628580302000046 }, "else": { "operation": "boost", - "score": 0.118752121925354 + "score": 0.11785533279180527 } }, "else": { - "operation": "boost", - "score": 0.04781276732683182 + "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.04785250127315521 + "score": 0.11588437855243683 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 299.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 813.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 11605.0, "then": { "operation": "boost", - "score": 0.1032017394900322 + "score": 0.033564455807209015 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1543.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.04169320687651634 + "score": 0.11044168472290039 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1509.0, + "threshold": 7434.5, "then": { - "operation": "boost", - "score": 0.1270449459552765 + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": -0.11601822823286057 + "score": 0.10835311561822891 }, "else": { "operation": "boost", - "score": 0.11054132878780365 + "score": 0.08336123824119568 } }, "else": { "operation": "boost", - "score": 0.12181209027767181 + "score": 0.11119896918535233 } } } } }, "else": { - "operation": "boost", - "score": 0.03905757516622543 + "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": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 14555.0, "then": { - "operation": "boost", - "score": 0.060424208641052246 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 480.0, + "threshold": 18139.5, "then": { + "operation": "boost", + "score": -0.10728286951780319 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 603.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1239.0, + "threshold": 17327.0, "then": { "operation": "boost", - "score": 0.060852907598018646 + "score": 0.12086668610572815 }, "else": { "operation": "boost", - "score": 0.1188894659280777 + "score": 0.11429555714130402 } }, "else": { "operation": "boost", - "score": 0.11697622388601303 + "score": -0.11415302008390427 } - }, - "else": { - "operation": "boost", - "score": 0.049905531108379364 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5287.5, - "then": { - "operation": "boost", - "score": 0.12189632654190063 - }, - "else": { - "operation": "boost", - "score": 0.07112696021795273 - } + "operation": "boost", + "score": 0.10808650404214859 } + }, + "else": { + "operation": "boost", + "score": 0.08137495070695877 } } }, "else": { "operation": "boost", - "score": 0.015072571113705635 + "score": 0.06540583819150925 } }, "else": { "operation": "boost", - "score": 0.04707271605730057 + "score": 0.04619299992918968 } - }, - "else": { - "operation": "boost", - "score": 0.12948951125144958 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23872.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08770173788070679 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08372937887907028 - }, - "else": { - "operation": "boost", - "score": 0.19153369963169098 - } - } + "operation": "boost", + "score": 0.08765628188848495 }, "else": { "operation": "boost", - "score": -0.03215567395091057 + "score": 0.10701030492782593 } }, "else": { "operation": "boost", - "score": 0.019790196791291237 + "score": -0.08146880567073822 } }, "else": { - "operation": "boost", - "score": 0.01125742681324482 + "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 + } } }, "else": { "operation": "boost", - "score": -0.05526473745703697 + "score": 0.039904747158288956 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7081.5, + "then": { + "operation": "boost", + "score": -0.3700868785381317 }, "else": { + "operation": "boost", + "score": 0.028523892164230347 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0062354435212910175 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04287667199969292 + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "boost", + "score": -0.061394624412059784 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.09290014207363129 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0393889956176281 + "score": 0.09228067100048065 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07119868695735931 - }, - "else": { - "operation": "boost", - "score": 0.09539904445409775 - } + "operation": "boost", + "score": 0.10949837416410446 }, "else": { "operation": "boost", - "score": 0.02767709642648697 + "score": 0.12791672348976135 } }, "else": { - "operation": "boost", - "score": -0.0009658349445089698 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.1272994726896286 - }, - "else": { - "operation": "boost", - "score": 0.004611488431692123 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1284111589193344 + }, + "else": { + "operation": "boost", + "score": 0.12409568578004837 + } } - }, - "else": { - "operation": "boost", - "score": -0.03957144543528557 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.006577915512025356 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01959867775440216 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0736430212855339 + "score": 0.09563586860895157 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "FilterLength", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.0, - "then": { - "operation": "boost", - "score": 0.10073848068714142 - }, - "else": { - "operation": "boost", - "score": 0.03228341042995453 - } - }, - "else": { - "operation": "boost", - "score": 0.014692992903292179 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.0, - "then": { - "operation": "boost", - "score": 0.13779829442501068 - }, - "else": { - "operation": "boost", - "score": 0.1258843094110489 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.1429716944694519 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1290118545293808 - }, - "else": { - "operation": "boost", - "score": -0.0610213503241539 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0967743918299675 - } + "operation": "boost", + "score": 0.11830440163612366 }, "else": { "operation": "boost", - "score": 0.11721790581941605 + "score": 0.12249799072742462 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.04322345182299614 - }, - "else": { - "operation": "boost", - "score": -0.032682064920663834 - } + "operation": "boost", + "score": 0.08201462030410767 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.020211778581142426 - }, - "else": { - "operation": "boost", - "score": -0.08606810122728348 - } + "operation": "boost", + "score": 0.07347958534955978 } + }, + "else": { + "operation": "boost", + "score": 0.04353887960314751 } - }, - "else": { - "operation": "boost", - "score": -0.006512723863124847 } }, "else": { "operation": "boost", - "score": -0.0029075846541672945 + "score": 0.02448834665119648 } + }, + "else": { + "operation": "boost", + "score": 0.0035209027118980885 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.018952300772070885 + "score": 0.01196307223290205 }, "else": { "operation": "boost", - "score": -0.008158359676599503 + "score": -0.0173349529504776 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0001914749591378495 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06624539196491241 + }, + "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 + } } + } + }, + "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.02028624527156353 }, "else": { "operation": "boost", - "score": 0.007308292668312788 + "score": -0.04712958633899689 } } - }, - "else": { - "operation": "boost", - "score": -0.06869645416736603 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.06803643703460693 }, "else": { - "operation": "boost", - "score": -0.21688729524612427 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "GlobalScope" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 91114.0, + "threshold": 66.5, "then": { - "operation": "boost", - "score": -0.027760857716202736 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33380.5, + "threshold": 458.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33949.0, - "then": { - "operation": "boost", - "score": 0.058722641319036484 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.14552314579486847 - }, - "else": { - "operation": "boost", - "score": 0.13593260943889618 - } - } + "operation": "boost", + "score": 0.07547803968191147 }, "else": { "operation": "boost", - "score": 0.02663494646549225 + "score": 0.13051718473434448 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.06126920133829117 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.05649655684828758 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.0096907839179039 - }, - "else": { - "operation": "boost", - "score": -0.2070239931344986 - } - } - } + "operation": "boost", + "score": 0.06850282847881317 } + }, + "else": { + "operation": "boost", + "score": 0.04817560315132141 } }, "else": { "operation": "boost", - "score": -0.055172696709632874 + "score": -0.016733642667531967 } }, "else": { "operation": "boost", - "score": 0.08589357137680054 + "score": -0.07096695154905319 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0073601738549768925 - }, - "else": { - "operation": "boost", - "score": -0.06501061469316483 - } + "operation": "boost", + "score": -0.05266650393605232 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1150.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1243.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.0725753977894783 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11774799227714539 + }, + "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 + } + } }, "else": { "operation": "boost", - "score": 0.1057867631316185 + "score": 0.008214760571718216 } }, "else": { "operation": "boost", - "score": -0.06936198472976685 + "score": -0.0023124851286411285 } }, "else": { "operation": "boost", - "score": -0.005325288977473974 + "score": -0.007647773716598749 } }, "else": { "operation": "boost", - "score": -0.10791806131601334 + "score": -0.049524303525686264 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Namespace" ], "then": { - "operation": "boost", - "score": -0.044092658907175064 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": -0.14274711906909943 - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05925573408603668 - }, - "else": { - "operation": "boost", - "score": 0.11516017466783524 - } - }, - "else": { - "operation": "boost", - "score": -0.2786831557750702 - } + "operation": "boost", + "score": 0.06550610065460205 }, "else": { "operation": "boost", - "score": 0.023541215807199478 + "score": 0.0344441793859005 } + }, + "else": { + "operation": "boost", + "score": 0.034818727523088455 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.007126141805201769 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.054671287536621094 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.5836332440376282 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15139897167682648 + }, + "else": { + "operation": "boost", + "score": 0.12595206499099731 + } }, "else": { - "operation": "boost", - "score": 0.12928380072116852 + "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.0736367329955101 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03370243310928345 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.0, - "then": { - "operation": "boost", - "score": 0.09758253395557404 - }, - "else": { - "operation": "boost", - "score": 0.11561204493045807 + "score": 0.10584205389022827 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 451.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 888.0, + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.04379646107554436 + "score": 0.10719461739063263 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 692.5, + "feature": "FilterLength", + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.11370794475078583 + "score": 0.1661926507949829 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 530.5, - "then": { - "operation": "boost", - "score": 0.19373862445354462 - }, - "else": { - "operation": "boost", - "score": 0.11517030745744705 - } + "operation": "boost", + "score": 0.11426982283592224 } } }, "else": { "operation": "boost", - "score": 0.08684636652469635 + "score": 0.05607953667640686 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, - "then": { - "operation": "boost", - "score": 0.07482606172561646 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "boost", - "score": 0.11410509794950485 - }, - "else": { - "operation": "boost", - "score": 0.09254016727209091 - } - } + "operation": "boost", + "score": 0.09320685267448425 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12119889259338379 - }, - "else": { - "operation": "boost", - "score": 0.09544508159160614 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.0, - "then": { - "operation": "boost", - "score": 0.019655799493193626 - }, - "else": { - "operation": "boost", - "score": 0.13042700290679932 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05887764319777489 - } - }, - "else": { - "operation": "boost", - "score": 0.06213334947824478 - } + "operation": "boost", + "score": 0.06563470512628555 } + }, + "else": { + "operation": "boost", + "score": 0.04000730812549591 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.06574453413486481 + "score": 0.08924373239278793 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.10242611914873123 - }, - "else": { - "operation": "boost", - "score": 0.11525525897741318 - } + "operation": "boost", + "score": 0.07777409255504608 } }, "else": { "operation": "boost", - "score": 0.039315883070230484 + "score": 0.06513924896717072 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06572253257036209 + "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.035730794072151184 + "score": 0.008156634867191315 } } }, "else": { "operation": "boost", - "score": 0.019247403368353844 + "score": 0.0005468350718729198 } - }, - "else": { - "operation": "boost", - "score": 0.004909387789666653 } } } @@ -100268,436 +98871,397 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, + "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": 183.0, - "then": { - "operation": "boost", - "score": 0.06071851775050163 - }, - "else": { - "operation": "boost", - "score": 0.14639528095722198 - } + "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": "NumReferences", - "threshold": 140.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.16232164204120636 + "score": 0.016222042962908745 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.05159220099449158 + "score": 0.06156446039676666 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.035690877586603165 - }, - "else": { - "operation": "boost", - "score": -0.03789418190717697 - } + "operation": "boost", + "score": 0.07028959691524506 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.017811203375458717 - }, - "else": { - "operation": "boost", - "score": -0.039544571191072464 - } + "operation": "boost", + "score": 0.12966704368591309 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.004601210355758667 }, "else": { - "operation": "boost", - "score": 0.027480635792016983 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.5, - "then": { - "operation": "boost", - "score": 0.34457096457481384 - }, - "else": { - "operation": "boost", - "score": 0.1496005356311798 - } + "operation": "boost", + "score": -0.0278407521545887 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.012382637709379196 + "score": 0.06774892657995224 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10159468650817871 - }, - "else": { - "operation": "boost", - "score": 0.0649639442563057 - } + "operation": "boost", + "score": 0.038604360073804855 } }, "else": { "operation": "boost", - "score": 0.07980065792798996 + "score": 0.02795519307255745 } }, "else": { + "operation": "boost", + "score": 0.007536064833402634 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.018246840685606003 + "score": -0.10072097927331924 }, "else": { "operation": "boost", - "score": -0.07802663743495941 + "score": 0.0056487214751541615 } }, "else": { + "operation": "boost", + "score": -0.006880889646708965 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1521.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.06033611670136452 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6528.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6689.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.0835428535938263 - }, - "else": { - "operation": "boost", - "score": 0.108573779463768 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05148431286215782 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10235924273729324 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.10321217030286789 - }, - "else": { - "operation": "boost", - "score": 0.07727544754743576 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1203104630112648 + "score": -0.025118399411439896 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1334071308374405 + "score": 0.08065369725227356 }, "else": { "operation": "boost", - "score": 0.14900195598602295 + "score": 0.10325681418180466 } } + }, + "else": { + "operation": "boost", + "score": 0.10115622729063034 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other" + "Keyword", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1711.0, - "then": { - "operation": "boost", - "score": 0.10440539568662643 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13821075856685638 - }, - "else": { - "operation": "boost", - "score": -0.12316155433654785 - } - } + "operation": "boost", + "score": 0.0513664074242115 }, "else": { "operation": "boost", - "score": -0.11721417307853699 + "score": -0.0417315810918808 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1543.5, + } + }, + "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": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2204.5, - "then": { - "operation": "boost", - "score": -0.031529996544122696 - }, - "else": { - "operation": "boost", - "score": 0.10570196807384491 - } + "operation": "boost", + "score": 0.05125279352068901 }, "else": { "operation": "boost", - "score": 0.016665300354361534 + "score": 0.027807150036096573 } }, "else": { "operation": "boost", - "score": 0.12573793530464172 + "score": -0.04578853398561478 } + }, + "else": { + "operation": "boost", + "score": -0.09721001982688904 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { "operation": "boost", - "score": 0.0447971485555172 + "score": 0.008605257607996464 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0547906830906868 + }, + "else": { + "operation": "boost", + "score": 0.027055658400058746 + } } } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 298482.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1007.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1552.5, + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.06064531207084656 + "score": 0.10356961935758591 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.11283434927463531 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0034738928079605103 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 327227.0, + "then": { + "operation": "boost", + "score": 0.10226493328809738 + }, + "else": { + "operation": "boost", + "score": 0.03467216342687607 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 443558.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1252.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09366494417190552 + "score": 0.12283138930797577 }, "else": { "operation": "boost", - "score": 0.11267872154712677 + "score": 0.10006901621818542 } }, "else": { "operation": "boost", - "score": 0.11814407259225845 + "score": 0.01993466354906559 } } }, "else": { "operation": "boost", - "score": -0.03686491772532463 + "score": 0.022188421338796616 } } }, "else": { "operation": "boost", - "score": 0.06592125445604324 + "score": -0.0013560170773416758 } }, "else": { @@ -100708,238 +99272,120 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.07209806144237518 + "score": 0.1269340068101883 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.061331912875175476 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.12126635015010834 - }, - "else": { - "operation": "boost", - "score": 0.023682106286287308 - } - } + "operation": "boost", + "score": 0.03696778044104576 } }, "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08744392544031143 + }, + "else": { + "operation": "boost", + "score": -0.11061277240514755 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.07908260822296143 + "score": 0.30719491839408875 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4177.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13533.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.012383784167468548 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.031094536185264587 - }, - "else": { - "operation": "boost", - "score": -0.17606528103351593 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6858.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12619.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0803069919347763 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09862087666988373 - }, - "else": { - "operation": "boost", - "score": 0.12177432328462601 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0917007103562355 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11206.5, - "then": { - "operation": "boost", - "score": 0.027889737859368324 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07086218893527985 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0990363359451294 - }, - "else": { - "operation": "boost", - "score": 0.11856335401535034 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06967921555042267 - } - }, - "else": { - "operation": "boost", - "score": 0.07240702956914902 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11428523808717728 - }, - "else": { - "operation": "boost", - "score": 0.1026204377412796 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05254064127802849 - } - } + "operation": "boost", + "score": 0.11851023882627487 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.030778104439377785 - }, - "else": { - "operation": "boost", - "score": 0.058646030724048615 - } + "operation": "boost", + "score": -0.11514341086149216 } } + }, + "else": { + "operation": "boost", + "score": 0.010189978405833244 } } + }, + "else": { + "operation": "boost", + "score": 0.03365654870867729 } } }, @@ -100947,1990 +99393,2068 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_SymbolOrNewName", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 193454.5, + "threshold": 199646.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 203783.5, "then": { - "operation": "boost", - "score": -0.042969606816768646 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "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, + "then": { + "operation": "boost", + "score": 0.04840891808271408 + }, + "else": { + "operation": "boost", + "score": 0.08654813468456268 + } + } }, "else": { "operation": "boost", - "score": 0.02550957165658474 + "score": -0.2761431932449341 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.07935427874326706 + "score": 0.09272880852222443 }, "else": { "operation": "boost", - "score": -0.28933024406433105 + "score": 0.1229669526219368 } }, "else": { "operation": "boost", - "score": 0.04694471135735512 + "score": 0.04512179642915726 } } }, "else": { - "operation": "boost", - "score": 0.01582043245434761 + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.09538482129573822 + }, + "else": { + "operation": "boost", + "score": 0.08160386979579926 + } + } + } } }, "else": { - "operation": "boost", - "score": -0.0012833031360059977 + "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": 23.0, + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { - "operation": "boost", - "score": -0.09613696485757828 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.07688058912754059 + "score": 0.0947161540389061 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.07019004225730896 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10741425305604935 + "score": 0.13591215014457703 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10758520662784576 - }, - "else": { - "operation": "boost", - "score": 0.13862617313861847 - } + "operation": "boost", + "score": 0.07647211104631424 } + }, + "else": { + "operation": "boost", + "score": 0.13015080988407135 } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 129.5, "then": { "operation": "boost", - "score": -0.2496323138475418 + "score": 0.0993603989481926 }, "else": { "operation": "boost", - "score": 0.09752993285655975 + "score": 0.061129167675971985 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 73593.0, "then": { + "operation": "boost", + "score": 0.08033515512943268 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.015720579773187637 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.04332993924617767 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12297366559505463 + }, + "else": { + "operation": "boost", + "score": 0.08395574241876602 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019600864499807358 + } }, "else": { "operation": "boost", - "score": -0.02228173054754734 + "score": 0.016417235136032104 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026750732213258743 - }, - "else": { - "operation": "boost", - "score": 0.07888177037239075 - } + "operation": "boost", + "score": 0.05330626294016838 } - }, - "else": { - "operation": "boost", - "score": 0.027360403910279274 } - }, - "else": { - "operation": "boost", - "score": 0.005585154052823782 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.010965325869619846 }, "else": { - "operation": "boost", - "score": -0.01931425929069519 - } - } - }, - "else": { - "operation": "boost", - "score": -0.001205017906613648 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.020413838326931 - }, - "else": { - "operation": "boost", - "score": -0.054542817175388336 - } + "operation": "boost", + "score": -0.3591793179512024 }, "else": { - "operation": "boost", - "score": -0.08807608485221863 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11912.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 99880.5, "then": { + "operation": "boost", + "score": -0.08317742496728897 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 75477.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.09925622493028641 + "score": 0.153207927942276 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 90101.0, "then": { "operation": "boost", - "score": -0.03997116535902023 + "score": 0.04038776457309723 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89371.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.05310390517115593 + "score": 0.11610791087150574 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03585725650191307 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.16393721103668213 - }, - "else": { - "operation": "boost", - "score": 0.17467378079891205 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.13583700358867645 - }, - "else": { - "operation": "boost", - "score": 0.15063944458961487 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.13624486327171326 - }, - "else": { - "operation": "boost", - "score": 0.13679702579975128 - } - }, - "else": { - "operation": "boost", - "score": 0.008363918401300907 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.06054702401161194 - }, - "else": { - "operation": "boost", - "score": 0.16419996321201324 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03090776316821575 - } - } + "operation": "boost", + "score": 0.12468650937080383 }, "else": { "operation": "boost", - "score": 0.12447679787874222 + "score": -0.10612571984529495 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06556141376495361 + "score": 0.11542760580778122 }, "else": { - "operation": "boost", - "score": -0.05998910218477249 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "boost", + "score": 0.017442164942622185 + }, + "else": { + "operation": "boost", + "score": 0.1789778172969818 + } } } } } }, "else": { + "operation": "boost", + "score": 0.05645914748311043 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.008440650068223476 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.010798447765409946 - }, - "else": { - "operation": "boost", - "score": -0.13107819855213165 - } + "operation": "boost", + "score": 0.11728756129741669 }, "else": { "operation": "boost", - "score": 0.025909969583153725 + "score": -0.10251528024673462 } + }, + "else": { + "operation": "boost", + "score": 0.0528707318007946 } - }, - "else": { - "operation": "boost", - "score": -0.006944198627024889 } - }, - "else": { - "operation": "boost", - "score": -0.009845097549259663 } - }, - "else": { - "operation": "boost", - "score": -0.043613601475954056 } } }, "else": { + "operation": "boost", + "score": -0.006132381036877632 + } + }, + "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, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 120391.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess" ], "then": { - "operation": "boost", - "score": -0.07590445131063461 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07125776261091232 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131140.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10320436954498291 + }, + "else": { + "operation": "boost", + "score": 0.08203589171171188 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11325450241565704 + } + } + } }, "else": { "operation": "boost", - "score": -0.20375418663024902 + "score": -0.03776627033948898 } }, "else": { - "operation": "boost", - "score": -0.038421861827373505 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 2844.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2865.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.07628127187490463 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3030.5, + "then": { + "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": "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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1363314539194107 + }, + "else": { + "operation": "boost", + "score": 0.0946098268032074 + } + } + }, + "else": { + "operation": "boost", + "score": 0.060881588608026505 + } + }, + "else": { + "operation": "boost", + "score": 0.03603222966194153 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.12183598428964615 + }, + "else": { + "operation": "boost", + "score": 0.1007986068725586 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04352768510580063 + } }, "else": { "operation": "boost", - "score": 0.05877593904733658 + "score": 0.010592574253678322 } }, "else": { - "operation": "boost", - "score": 0.03685138002038002 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.006039645057171583 + }, + "else": { + "operation": "boost", + "score": 0.12180040031671524 + } } }, "else": { - "operation": "boost", - "score": 0.04749186336994171 + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.017658894881606102 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0024221341591328382 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.041035156697034836 + "score": -0.17813318967819214 }, "else": { "operation": "boost", - "score": -0.06757434457540512 + "score": 0.10770446062088013 } }, "else": { "operation": "boost", - "score": -0.020796459168195724 + "score": 0.1653481423854828 } + }, + "else": { + "operation": "boost", + "score": -0.002932087518274784 } } + }, + "else": { + "operation": "boost", + "score": 0.0002227326767751947 } } } } }, { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "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": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope" ], "then": { + "operation": "boost", + "score": 0.02605646476149559 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, "then": { - "operation": "boost", - "score": 0.07513289898633957 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.03178279846906662 + "score": 0.07150706648826599 }, "else": { "operation": "boost", - "score": 0.08062103390693665 + "score": 0.012407969683408737 } }, "else": { - "operation": "boost", - "score": 0.023553285747766495 - } - } - }, - "else": { - "operation": "boost", - "score": 0.005260652396827936 - } - }, - "else": { - "operation": "boost", - "score": -0.059328142553567886 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01651259884238243 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 122.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.037669263780117035 - }, - "else": { - "operation": "boost", - "score": 0.055438727140426636 - } + "operation": "boost", + "score": 0.06485482305288315 }, "else": { "operation": "boost", - "score": 0.004645397886633873 + "score": 0.13287925720214844 } - }, - "else": { - "operation": "boost", - "score": -0.03582073375582695 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.038175735622644424 - }, - "else": { - "operation": "boost", - "score": 0.00017778301844373345 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "ClassScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.01858401671051979 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.13932059705257416 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07618485391139984 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10581283271312714 - }, - "else": { - "operation": "boost", - "score": 0.13295120000839233 - } - } + "operation": "boost", + "score": 0.09378086775541306 }, "else": { "operation": "boost", - "score": 0.10519697517156601 + "score": 0.01871163584291935 } + }, + "else": { + "operation": "boost", + "score": -0.10071002691984177 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.052728839218616486 + "score": 0.007305405102670193 }, "else": { "operation": "boost", - "score": 0.06702589243650436 + "score": 0.03088224120438099 } }, "else": { "operation": "boost", - "score": 0.02179759368300438 + "score": -0.01723775453865528 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.012182189151644707 - }, - "else": { - "operation": "boost", - "score": -0.0937463566660881 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.04296593740582466 - }, - "else": { - "operation": "boost", - "score": 0.015988877043128014 - } - }, - "else": { - "operation": "boost", - "score": -0.013606635853648186 } } + }, + "else": { + "operation": "boost", + "score": 0.0229963269084692 } } + }, + "else": { + "operation": "boost", + "score": -0.012265131808817387 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": -0.0637589544057846 + "score": 0.1067826896905899 }, "else": { "operation": "boost", - "score": -0.007765414658933878 + "score": -0.021000143140554428 } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2301.5, + "then": { + "operation": "boost", + "score": 0.014720641076564789 + }, + "else": { + "operation": "boost", + "score": 0.004419982898980379 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05997221916913986 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "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" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 114453.5, + "threshold": 292981.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 131140.0, + "threshold": 298482.5, "then": { - "operation": "boost", - "score": 0.045237258076667786 + "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_EnumTag", - "CCC_Statement", "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.08419293165206909 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12412413954734802 + "score": 0.08178090304136276 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.0940600335597992 - }, - "else": { - "operation": "boost", - "score": 0.12364988774061203 - } + "operation": "boost", + "score": -0.13667242228984833 } + }, + "else": { + "operation": "boost", + "score": 0.12444748729467392 } }, "else": { - "operation": "boost", - "score": -0.24940304458141327 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -1.0884262323379517 + }, + "else": { + "operation": "boost", + "score": -0.14019200205802917 + } } } }, "else": { "operation": "boost", - "score": 0.01221949141472578 + "score": -0.06190063804388046 } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "boost", + "score": -0.32428252696990967 + }, + "else": { + "operation": "boost", + "score": -0.16796249151229858 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 199646.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 683.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.019974706694483757 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.03068162314593792 + "score": 0.1061350628733635 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1340.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.11242316663265228 + "score": 0.1119827926158905 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1240.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12269759178161621 - }, - "else": { - "operation": "boost", - "score": 0.108468197286129 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.13792549073696136 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 710.0, - "then": { - "operation": "boost", - "score": 0.06403180956840515 - }, - "else": { - "operation": "boost", - "score": 0.12345591187477112 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0801558643579483 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 886.0, - "then": { - "operation": "boost", - "score": 0.07948079705238342 - }, - "else": { - "operation": "boost", - "score": 0.1431073397397995 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1161736398935318 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1111169159412384 - } - } + "operation": "boost", + "score": 0.08773238211870193 } } + } + }, + "else": { + "operation": "boost", + "score": -0.12070313096046448 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.017223643139004707 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.04104802384972572 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.06725556403398514 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 420.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.07551996409893036 + "score": 0.12095407396554947 }, "else": { - "operation": "boost", - "score": 0.023593218997120857 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12072662264108658 + }, + "else": { + "operation": "boost", + "score": 0.11987292766571045 + } } - }, - "else": { - "operation": "boost", - "score": 0.0867103859782219 } } - }, - "else": { + } + }, + "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_ParenthesizedExpression" + "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": "NumReferences", - "threshold": 592.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.01827598176896572 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 597.5, + "threshold": 108984.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1969.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11747898906469345 + }, + "else": { + "operation": "boost", + "score": 0.02147352695465088 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 93657.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3442.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.1196899488568306 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "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.0991273894906044 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.10829605907201767 + "score": 0.10819052904844284 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.13983984291553497 + "score": -0.07779654860496521 }, "else": { - "operation": "boost", - "score": 0.09010981768369675 + "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 + } } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07717201113700867 - } - }, - "else": { - "operation": "boost", - "score": 0.08416453748941422 - } - }, - "else": { - "operation": "boost", - "score": 0.11351434141397476 - } - }, - "else": { - "operation": "boost", - "score": 0.07032923400402069 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, - "then": { - "operation": "boost", - "score": 0.0506979264318943 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 163.0, - "then": { - "operation": "boost", - "score": 0.12345380336046219 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11390025168657303 }, "else": { "operation": "boost", - "score": -0.033807240426540375 + "score": -0.10716181248426437 } + }, + "else": { + "operation": "boost", + "score": 0.0410345084965229 } }, "else": { "operation": "boost", - "score": 0.1325269192457199 + "score": 0.0532398521900177 } }, "else": { "operation": "boost", - "score": 0.023553382605314255 + "score": 0.04885426536202431 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.11711081862449646 - }, - "else": { - "operation": "boost", - "score": 0.03592630848288536 - } } } } }, "else": { + "operation": "boost", + "score": 0.013728059828281403 + } + } + } + } + } + }, + "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": 2.5, + "then": { + "operation": "boost", + "score": 0.07739751785993576 + }, + "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": 6.5, + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.00036272304714657366 + }, + "else": { + "operation": "boost", + "score": 0.11042357236146927 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.12360387295484543 - }, - "else": { - "operation": "boost", - "score": 0.12251480668783188 - } + "operation": "boost", + "score": 0.07562145590782166 }, "else": { "operation": "boost", - "score": 0.08105325698852539 + "score": 0.11524003744125366 } }, "else": { "operation": "boost", - "score": 0.05706547573208809 + "score": -0.03521697595715523 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.028206083923578262 - }, - "else": { - "operation": "boost", - "score": 0.05570891499519348 - } - }, - "else": { - "operation": "boost", - "score": 0.021988580003380775 - } + "operation": "boost", + "score": 0.11584791541099548 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4161.0, + "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": 4281.5, - "then": { - "operation": "boost", - "score": 0.042993783950805664 - }, - "else": { - "operation": "boost", - "score": 0.1068527102470398 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { + "operation": "boost", + "score": 0.10606135427951813 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.006658749654889107 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 687.0, - "then": { - "operation": "boost", - "score": 0.0724051371216774 - }, - "else": { - "operation": "boost", - "score": 0.11432924121618271 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04279528185725212 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 213.5, - "then": { - "operation": "boost", - "score": 0.08098487555980682 - }, - "else": { - "operation": "boost", - "score": 0.10486102104187012 - } - } + "operation": "boost", + "score": 0.11621260643005371 }, "else": { "operation": "boost", - "score": 0.03223425894975662 + "score": 0.11921567469835281 } - }, - "else": { - "operation": "boost", - "score": 0.032497722655534744 } }, "else": { "operation": "boost", - "score": 0.00012196688476251438 + "score": 0.11224214732646942 } + }, + "else": { + "operation": "boost", + "score": -0.10334983468055725 } } } }, "else": { - "operation": "boost", - "score": 0.011368856765329838 + "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": 104520.5, + "then": { + "operation": "boost", + "score": 0.055174145847558975 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97466.0, + "then": { + "operation": "boost", + "score": 0.10775597393512726 + }, + "else": { + "operation": "boost", + "score": -0.1482658088207245 + } + } + }, + "else": { + "operation": "boost", + "score": -0.030436193570494652 + } } }, "else": { + "operation": "boost", + "score": 0.030760420486330986 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.0033462028950452805 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.05730496346950531 + "score": 0.015894591808319092 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.12477611005306244 + "score": 0.06609336286783218 }, "else": { "operation": "boost", - "score": 0.0418354831635952 + "score": 0.1158699169754982 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08327864855527878 - }, - "else": { - "operation": "boost", - "score": 0.013036771677434444 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02593878097832203 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05512457713484764 - }, - "else": { - "operation": "boost", - "score": 0.04824560508131981 - } - } - } + "operation": "boost", + "score": 0.08426232635974884 } } }, "else": { "operation": "boost", - "score": 0.01120477169752121 + "score": 0.02989281341433525 } + }, + "else": { + "operation": "boost", + "score": 0.010714899748563766 } }, "else": { + "operation": "boost", + "score": -0.06396342813968658 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2058.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.009109653532505035 + "score": 0.1438121646642685 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07781951874494553 - }, - "else": { - "operation": "boost", - "score": 0.043717920780181885 - } - }, - "else": { - "operation": "boost", - "score": 0.08220246434211731 - } + "operation": "boost", + "score": 0.03334589675068855 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.042989157140254974 + "score": 0.04824136570096016 }, "else": { - "operation": "boost", - "score": -0.16067172586917877 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 22792.5, "then": { - "operation": "boost", - "score": -0.009321057237684727 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24374.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 53478.0, "then": { "operation": "boost", - "score": 0.09369667619466782 + "score": 0.1828867793083191 }, "else": { "operation": "boost", - "score": 0.07315916568040848 + "score": -0.2746266722679138 } }, "else": { "operation": "boost", - "score": -0.06668688356876373 + "score": 0.12723033130168915 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.01947476528584957 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.034214701503515244 + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5929.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.042568791657686234 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11510835587978363 + }, + "else": { + "operation": "boost", + "score": 0.1271827518939972 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7311.5, + "then": { + "operation": "boost", + "score": 0.10276421904563904 + }, + "else": { + "operation": "boost", + "score": 0.11686693876981735 + } + } + }, + "else": { "operation": "boost", - "score": -0.0648512989282608 + "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 + } }, "else": { "operation": "boost", - "score": -0.029322516173124313 + "score": 0.04710274934768677 } } + }, + "else": { + "operation": "boost", + "score": 0.07595030963420868 } } } } }, "else": { - "operation": "boost", - "score": -0.012271769344806671 + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10083679109811783 + }, + "else": { + "operation": "boost", + "score": 0.013387041166424751 + } } } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": -0.02551882527768612 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", + "CCC_SymbolOrNewName", "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91652.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.030926156789064407 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33380.5, + "threshold": 8493.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8701.5, "then": { "operation": "boost", - "score": 0.14807432889938354 + "score": 0.07238571345806122 }, "else": { + "operation": "boost", + "score": 0.12600693106651306 + } + }, + "else": { + "operation": "boost", + "score": 0.019718071445822716 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.009345168247818947 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34582.0, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.03442693129181862 + "score": 0.08226409554481506 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1390630155801773 + "score": 0.08323410153388977 }, "else": { "operation": "boost", - "score": 0.04244382306933403 + "score": 0.0986100286245346 } } + }, + "else": { + "operation": "boost", + "score": 0.05879083648324013 } - }, - "else": { - "operation": "boost", - "score": 0.019203592091798782 } } }, "else": { "operation": "boost", - "score": -0.3625830113887787 + "score": 0.013967829756438732 } - }, - "else": { + } + } + }, + "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_Namespace", + "CCC_Symbol", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12026772648096085 - }, - "else": { - "operation": "boost", - "score": -0.04382079467177391 - } - }, - "else": { - "operation": "boost", - "score": 0.09548202157020569 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0968974381685257 - }, - "else": { - "operation": "boost", - "score": -0.01364956609904766 - } - }, - "else": { - "operation": "boost", - "score": 0.03979741781949997 - } - } + "operation": "boost", + "score": 0.05885821953415871 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, - "then": { - "operation": "boost", - "score": -0.3536021411418915 - }, - "else": { - "operation": "boost", - "score": 0.011294856667518616 - } + "operation": "boost", + "score": 0.0846586525440216 } }, "else": { "operation": "boost", - "score": -0.010189378634095192 + "score": 0.03886092081665993 } + }, + "else": { + "operation": "boost", + "score": 0.012124607339501381 } } } } - }, - "else": { - "operation": "boost", - "score": -0.09669365733861923 } }, { @@ -102939,894 +101463,469 @@ "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope" + "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.016262909397482872 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1996075063943863 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { + "operation": "boost", + "score": 0.014192401431500912 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8431.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10360624641180038 - }, - "else": { - "operation": "boost", - "score": 0.11267464607954025 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2082.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.04703141748905182 - }, - "else": { - "operation": "boost", - "score": 0.11790352314710617 - } + "score": 0.05817131698131561 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.017158769071102142 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.069822758436203 + "score": 0.1127360463142395 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.11667069792747498 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.06667695194482803 - }, - "else": { - "operation": "boost", - "score": 0.1275232583284378 - } - }, - "else": { - "operation": "boost", - "score": -0.12049657106399536 - } - }, - "else": { - "operation": "boost", - "score": 0.14832821488380432 - } + "operation": "boost", + "score": 0.0905570536851883 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.0, - "then": { - "operation": "boost", - "score": 0.08117035031318665 - }, - "else": { - "operation": "boost", - "score": 0.12343169748783112 - } - }, - "else": { - "operation": "boost", - "score": 0.07252837717533112 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": 0.13269191980361938 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12466304749250412 - }, - "else": { - "operation": "boost", - "score": -0.16132424771785736 - } - } - } + "operation": "boost", + "score": 0.10471045970916748 } + }, + "else": { + "operation": "boost", + "score": 0.079247385263443 } } - }, - "else": { - "operation": "boost", - "score": -0.01389760710299015 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.014468193054199219 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.09116246551275253 - }, - "else": { - "operation": "boost", - "score": 0.1481766551733017 - } - } + "operation": "boost", + "score": 0.046314626932144165 } } + }, + "else": { + "operation": "boost", + "score": 0.02018781192600727 } + } + }, + "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", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.028692355379462242 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07122601568698883 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.006817312445491552 + "score": -0.07371587306261063 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.02341451868414879 - }, - "else": { - "operation": "boost", - "score": 0.14946702122688293 - } + "operation": "boost", + "score": 0.01574854366481304 } + }, + "else": { + "operation": "boost", + "score": 0.08274255692958832 } } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2015.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.08531233668327332 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 56138.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 61155.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 61318.5, "then": { - "operation": "boost", - "score": -0.0795261412858963 + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.033034548163414 + }, + "else": { + "operation": "boost", + "score": -0.11647643893957138 + } + }, + "else": { + "operation": "boost", + "score": -0.006593164522200823 + } }, "else": { "operation": "boost", - "score": 0.10640650987625122 + "score": 0.10863428562879562 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 60891.5, "then": { - "operation": "boost", - "score": -0.11833835393190384 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12833333015441895 + "score": 0.06394219398498535 }, "else": { "operation": "boost", - "score": -0.11902716755867004 + "score": -0.346941739320755 } }, "else": { "operation": "boost", - "score": 0.15329906344413757 + "score": -0.4166484773159027 } }, "else": { - "operation": "boost", - "score": -0.06679215282201767 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12332145124673843 + }, + "else": { + "operation": "boost", + "score": -0.009118026122450829 + } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.017691439017653465 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.042512793093919754 - }, - "else": { - "operation": "boost", - "score": -0.05135701596736908 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.011291890405118465 }, "else": { "operation": "boost", - "score": 0.13486221432685852 + "score": -0.027667861431837082 } - }, - "else": { - "operation": "boost", - "score": 0.042741648852825165 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 7103.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.13154298067092896 - }, - "else": { - "operation": "boost", - "score": -0.01250664982944727 - } - }, - "else": { - "operation": "boost", - "score": 0.03330688923597336 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.010400109924376011 - }, - "else": { - "operation": "boost", - "score": -0.010079441592097282 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.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": 278454.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 768345.5, - "then": { - "operation": "boost", - "score": 0.09122628718614578 - }, - "else": { - "operation": "boost", - "score": -0.020747270435094833 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015083233825862408 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13899624347686768 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.004340404644608498 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12671634554862976 - }, - "else": { - "operation": "boost", - "score": 0.08549484610557556 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08696826547384262 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.07204964011907578 - }, - "else": { - "operation": "boost", - "score": -0.15855346620082855 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33949.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197592.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.044933103024959564 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.057979926466941833 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10341042280197144 - }, - "else": { - "operation": "boost", - "score": 0.06820371747016907 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49594.0, - "then": { - "operation": "boost", - "score": 0.04232248663902283 - }, - "else": { - "operation": "boost", - "score": 0.18470335006713867 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04251173511147499 - } - }, - "else": { - "operation": "boost", - "score": 0.14549607038497925 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08775217086076736 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34084.0, - "then": { - "operation": "boost", - "score": 0.0335635170340538 - }, - "else": { - "operation": "boost", - "score": -0.14084500074386597 - } - }, - "else": { - "operation": "boost", - "score": -0.33869287371635437 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.009601960889995098 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.036831483244895935 - }, - "else": { - "operation": "boost", - "score": -0.2151148021221161 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07010763883590698 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.026635974645614624 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11571630090475082 - }, - "else": { - "operation": "boost", - "score": 0.13879793882369995 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.24987591803073883 - }, - "else": { - "operation": "boost", - "score": -0.0030625720974057913 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.19421404600143433 - }, - "else": { - "operation": "boost", - "score": -0.03460026904940605 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "Type" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10575462132692337 - }, - "else": { - "operation": "boost", - "score": 0.08682090789079666 - } - }, - "else": { - "operation": "boost", - "score": -0.13845913112163544 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212623.0, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 7166.5, "then": { - "operation": "boost", - "score": 0.09293608367443085 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8408.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8476.5, + "then": { + "operation": "boost", + "score": 0.07592881470918655 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11628075689077377 + }, + "else": { + "operation": "boost", + "score": -0.1595335602760315 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019152894616127014 + } }, "else": { - "operation": "boost", - "score": -0.02198614552617073 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7145.0, + "then": { + "operation": "boost", + "score": 0.11289793998003006 + }, + "else": { + "operation": "boost", + "score": 0.20014412701129913 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "NumReferences", + "threshold": 20608.0, "then": { - "operation": "boost", - "score": 0.11394062638282776 + "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 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20410.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassStructUnion" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09381028264760971 - }, - "else": { - "operation": "boost", - "score": 0.11111089587211609 - } + "operation": "boost", + "score": 0.11053047329187393 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.09928173571825027 - }, - "else": { - "operation": "boost", - "score": -0.012684560380876064 - } + "operation": "boost", + "score": 0.10027848929166794 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.06893905997276306 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.09157977253198624 + "score": 0.12069585919380188 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.2507201135158539 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.030079837888479233 - }, - "else": { - "operation": "boost", - "score": 0.08644766360521317 - } - } + "operation": "boost", + "score": -0.10434170067310333 } - }, - "else": { - "operation": "boost", - "score": -0.4422067701816559 } } } @@ -103834,3181 +101933,2570 @@ }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.06176665797829628 + }, + "else": { + "operation": "boost", + "score": 0.1221412792801857 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09907619655132294 + "score": 0.12453475594520569 }, "else": { "operation": "boost", - "score": 0.14572104811668396 + "score": 0.07061014324426651 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.26960501074790955 + "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.012776344083249569 + "score": 0.04636991024017334 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.1587071567773819 }, "else": { - "operation": "boost", - "score": -0.055216558277606964 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33949.0, "then": { "operation": "boost", - "score": 0.10975966602563858 + "score": 0.054379794746637344 }, "else": { - "operation": "boost", - "score": 0.018587421625852585 + "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 + } + } } }, "else": { - "operation": "boost", - "score": -0.17989373207092285 - } - }, - "else": { - "operation": "boost", - "score": -0.06424588710069656 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23527.5, "then": { + "operation": "boost", + "score": -0.03479449823498726 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08301718533039093 + "score": -0.19664224982261658 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "operation": "boost", + "score": 0.1135098785161972 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.12320655584335327 + "score": 0.11222623288631439 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09213026612997055 - }, - "else": { - "operation": "boost", - "score": 0.12133612483739853 - } + "operation": "boost", + "score": 0.14129230380058289 } - }, - "else": { - "operation": "boost", - "score": 0.38433170318603516 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": -0.18423886597156525 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10002895444631577 - }, - "else": { - "operation": "boost", - "score": 0.11552955210208893 - } + "operation": "boost", + "score": 0.05357908084988594 }, "else": { - "operation": "boost", - "score": 0.08881791681051254 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.18589214980602264 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08628657460212708 + "score": 0.10410760343074799 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.14457258582115173 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 11702.0, "then": { "operation": "boost", - "score": 0.1259979009628296 + "score": -0.1046375259757042 }, "else": { "operation": "boost", - "score": 0.11402744054794312 + "score": 0.12848113477230072 } + }, + "else": { + "operation": "boost", + "score": 0.21850866079330444 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "boost", + "score": 0.07490140199661255 }, "else": { "operation": "boost", - "score": -0.1298680454492569 + "score": 0.05140407010912895 } - }, - "else": { - "operation": "boost", - "score": 0.012688267044723034 } - }, - "else": { - "operation": "boost", - "score": 0.03299766778945923 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "boost", + "score": 0.09380879253149033 + }, + "else": { + "operation": "boost", + "score": -0.04911450669169426 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.03932145982980728 + }, + "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": "NumReferences", + "threshold": 30126.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10617195814847946 }, "else": { "operation": "boost", - "score": 0.09358197450637817 + "score": 0.09128059446811676 } + }, + "else": { + "operation": "boost", + "score": 0.11146797984838486 } }, "else": { "operation": "boost", - "score": 0.015658626332879066 + "score": 0.035124797374010086 } + }, + "else": { + "operation": "boost", + "score": -0.04512675106525421 } } } + }, + "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": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.004733403213322163 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10040845721960068 + "score": 0.039960604161024094 }, "else": { "operation": "boost", - "score": -0.11176079511642456 + "score": 0.01353180781006813 } - }, - "else": { - "operation": "boost", - "score": -0.014651602134108543 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0028531206771731377 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04283842071890831 - }, - "else": { - "operation": "boost", - "score": -0.0004585339338518679 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable", + "Namespace" ], "then": { - "operation": "boost", - "score": -0.021273300051689148 - }, - "else": { - "operation": "boost", - "score": -0.07809887826442719 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.016311628744006157 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3166.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.05223378911614418 + "score": -0.048389632254838943 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7110.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10967124998569489 + "score": 0.0907345712184906 }, "else": { - "operation": "boost", - "score": 0.1028580516576767 + "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_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.06280917674303055 + "score": 0.004684169311076403 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11435795575380325 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09607616066932678 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, + "feature": "FilterLength", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.060719069093465805 + "score": 0.11578259617090225 }, "else": { "operation": "boost", - "score": 0.1231951117515564 + "score": 0.11807162314653397 } - }, - "else": { - "operation": "boost", - "score": -0.0913672000169754 } }, "else": { "operation": "boost", - "score": 0.12353872507810593 + "score": 0.07922372967004776 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.0, - "then": { - "operation": "boost", - "score": 0.079269640147686 - }, - "else": { - "operation": "boost", - "score": 0.12014831602573395 - } - }, - "else": { - "operation": "boost", - "score": 0.054188165813684464 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": 0.1287948489189148 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1229586973786354 - }, - "else": { - "operation": "boost", - "score": -0.1406465470790863 - } - } - } + "operation": "boost", + "score": 0.07131318002939224 } + }, + "else": { + "operation": "boost", + "score": 0.03830990940332413 } } }, "else": { "operation": "boost", - "score": -0.012488068081438541 + "score": 0.021564926952123642 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.013386135920882225 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08167717605829239 - }, - "else": { - "operation": "boost", - "score": 0.14130496978759766 - } - } + "operation": "boost", + "score": 0.004450944717973471 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5312.0, + "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": "NumReferences", - "threshold": 7112.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.06878048926591873 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16649.0, + "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_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.013076039962470531 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9135.5, + "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.0052857547998428345 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10236.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.10826937854290009 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 54.0, "then": { - "operation": "boost", - "score": 0.14712758362293243 + "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.04003184288740158 + "score": -0.026681138202548027 } + }, + "else": { + "operation": "boost", + "score": -0.34607475996017456 } - }, - "else": { - "operation": "boost", - "score": 0.06631898134946823 } }, "else": { "operation": "boost", - "score": 0.06417351216077805 + "score": 0.020107341930270195 } + }, + "else": { + "operation": "boost", + "score": -0.04695618897676468 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.0904388576745987 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5871.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12305407226085663 + "score": -0.02048751711845398 }, "else": { "operation": "boost", - "score": -0.20087683200836182 + "score": 0.04512559995055199 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.0162181556224823 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.020909087732434273 - }, - "else": { - "operation": "boost", - "score": 0.14471586048603058 - } + "operation": "boost", + "score": 0.011555218137800694 } + }, + "else": { + "operation": "boost", + "score": -0.016626683995127678 } } }, "else": { + "operation": "boost", + "score": 0.0001373049453832209 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Other" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.057473812252283096 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.06577925384044647 + "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.1029178649187088 + "score": 0.040612783282995224 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11294586211442947 + "score": 0.015359980054199696 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12329576164484024 - }, - "else": { - "operation": "boost", - "score": -0.11221404373645782 - } - }, - "else": { - "operation": "boost", - "score": 0.14598111808300018 - } - }, - "else": { - "operation": "boost", - "score": -0.07956147193908691 - } + "operation": "boost", + "score": 0.08948705345392227 } } + } + }, + "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.01858322136104107 }, "else": { "operation": "boost", - "score": 0.01938808709383011 + "score": -0.04421335831284523 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.020884381607174873 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.04191677272319794 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01668235845863819 + }, + "else": { + "operation": "boost", + "score": 0.07012762874364853 + } }, "else": { "operation": "boost", - "score": -0.046247877180576324 + "score": 0.025531373918056488 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 147.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 180.5, + "threshold": 38.5, "then": { - "operation": "boost", - "score": 0.008002441376447678 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07891016453504562 + }, + "else": { + "operation": "boost", + "score": 0.0641339048743248 + } }, "else": { - "operation": "boost", - "score": 0.12181079387664795 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.07773824781179428 + }, + "else": { + "operation": "boost", + "score": 0.04231167212128639 + } } }, "else": { "operation": "boost", - "score": 0.040397029370069504 + "score": 0.020721709355711937 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.01611616276204586 - }, - "else": { - "operation": "boost", - "score": 0.03388639912009239 - } + "operation": "boost", + "score": -0.002789352321997285 } } } - }, - "else": { - "operation": "boost", - "score": 0.006198185961693525 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, + } + }, + { + "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": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.5, - "then": { - "operation": "boost", - "score": 0.2354539930820465 - }, - "else": { - "operation": "boost", - "score": 0.13988348841667175 - } + "operation": "boost", + "score": -0.1332462579011917 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.09032436460256577 - }, - "else": { - "operation": "boost", - "score": 0.10786835104227066 - } - }, - "else": { - "operation": "boost", - "score": 0.04581147059798241 - } - }, - "else": { - "operation": "boost", - "score": 0.06450960040092468 - } + "operation": "boost", + "score": 0.014055776409804821 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.03974002227187157 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1521.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6528.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6689.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09233824163675308 - }, - "else": { - "operation": "boost", - "score": 0.11097424477338791 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04924312233924866 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10096295177936554 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.10270366072654724 - }, - "else": { - "operation": "boost", - "score": 0.08267353475093842 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11860489845275879 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1370822638273239 - }, - "else": { - "operation": "boost", - "score": 0.13235607743263245 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1711.0, - "then": { - "operation": "boost", - "score": 0.10197968780994415 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13420191407203674 - }, - "else": { - "operation": "boost", - "score": -0.11834624409675598 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10526701807975769 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1543.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2204.5, - "then": { - "operation": "boost", - "score": 0.0205382052809 - }, - "else": { - "operation": "boost", - "score": 0.10464803129434586 - } - }, - "else": { - "operation": "boost", - "score": 0.018685344606637955 - } - }, - "else": { - "operation": "boost", - "score": 0.12082512676715851 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04263046383857727 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1007.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1552.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.05233093723654747 + "score": 0.05164337158203125 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10758601129055023 + "score": -0.05095802992582321 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1086.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.1172543466091156 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1252.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.09038859605789185 + "score": 0.09595806896686554 }, "else": { "operation": "boost", - "score": 0.11533869802951813 + "score": 0.1038350984454155 } }, "else": { "operation": "boost", - "score": 0.11609964072704315 + "score": 0.09717953205108643 } - }, - "else": { - "operation": "boost", - "score": 0.08602800965309143 } } }, "else": { "operation": "boost", - "score": -0.03946629911661148 + "score": 0.04848923161625862 } } }, "else": { "operation": "boost", - "score": 0.052580177783966064 + "score": 0.01806282438337803 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + } + }, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10863.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04656102880835533 + "score": 0.004408429376780987 }, "else": { "operation": "boost", - "score": 0.06628914177417755 + "score": 0.11151157319545746 } }, "else": { - "operation": "boost", - "score": 0.02983706444501877 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.05008967965841293 + "score": 0.03871970996260643 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.09932929277420044 + "score": 0.024445977061986923 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.11124866455793381 + "score": 0.13899430632591248 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 405.0, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10980620980262756 + "score": 0.007711535785347223 }, "else": { "operation": "boost", - "score": 0.12386117875576019 + "score": 0.11435553431510925 } }, "else": { - "operation": "boost", - "score": 0.08810877799987793 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0748169794678688 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03751219063997269 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.009801596403121948 - }, - "else": { - "operation": "boost", - "score": -0.18364042043685913 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3885.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14112.5, - "then": { - "operation": "boost", - "score": -0.004501999355852604 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14068.0, - "then": { - "operation": "boost", - "score": 0.10593321919441223 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12984.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.049790263175964355 + "score": -0.10295672714710236 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11629769206047058 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13163.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.086774542927742 + "score": -0.4223143756389618 }, "else": { "operation": "boost", - "score": 0.12333663552999496 + "score": 0.14708401262760162 } + }, + "else": { + "operation": "boost", + "score": -0.10415113717317581 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 327.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 427.5, + "then": { + "operation": "boost", + "score": 0.08536221086978912 + }, + "else": { + "operation": "boost", + "score": 0.11220376938581467 + } + }, + "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": "NumReferences", - "threshold": 3952.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10651.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1764928102493286 + "score": -0.08548647910356522 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6858.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10368.5, - "then": { - "operation": "boost", - "score": 0.1135345995426178 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.07167772203683853 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9039.0, - "then": { - "operation": "boost", - "score": -0.1642199009656906 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8368.0, - "then": { - "operation": "boost", - "score": 0.1333453506231308 - }, - "else": { - "operation": "boost", - "score": 0.10857146978378296 - } - }, - "else": { - "operation": "boost", - "score": -0.12387906014919281 - } - }, - "else": { - "operation": "boost", - "score": 0.07277573645114899 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1150633692741394 - } - }, - "else": { - "operation": "boost", - "score": 0.05852806940674782 - } + "operation": "boost", + "score": 0.11368590593338013 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3907.5, - "then": { - "operation": "boost", - "score": 0.144175723195076 - }, - "else": { - "operation": "boost", - "score": -0.14680153131484985 - } + "operation": "boost", + "score": 0.18350866436958313 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3890.0, - "then": { - "operation": "boost", - "score": 0.053398873656988144 - }, - "else": { - "operation": "boost", - "score": 0.09616352617740631 - } + "operation": "boost", + "score": 0.03621279448270798 } } } - }, - "else": { - "operation": "boost", - "score": 0.02200213447213173 } + }, + "else": { + "operation": "boost", + "score": 0.030223509296774864 } } + }, + "else": { + "operation": "boost", + "score": 0.022568078711628914 } + }, + "else": { + "operation": "boost", + "score": -0.3578667640686035 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.016033081337809563 + "score": 0.020192885771393776 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "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": "NumReferences", - "threshold": 203783.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07539714127779007 + "score": -0.07454022020101547 }, "else": { "operation": "boost", - "score": -0.285144180059433 + "score": 0.014627008698880672 } }, "else": { "operation": "boost", - "score": 0.044770970940589905 + "score": 0.08347325026988983 } } - }, - "else": { - "operation": "boost", - "score": 0.014624646864831448 } - }, - "else": { - "operation": "boost", - "score": -0.0008834452601149678 } } }, "else": { + "operation": "boost", + "score": -0.010363410227000713 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32538.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 23.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.00630053598433733 - }, - "else": { - "operation": "boost", - "score": -0.017599938437342644 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 234860.0, "then": { - "operation": "boost", - "score": 0.02129642851650715 + "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": "boost", - "score": -0.019452953711152077 + "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, + "then": { + "operation": "boost", + "score": 0.08300144970417023 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07808496057987213 + }, + "else": { + "operation": "boost", + "score": 0.11880388110876083 + } + }, + "else": { + "operation": "boost", + "score": 0.09646614640951157 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0713287889957428 + } + } } }, "else": { "operation": "boost", - "score": -0.04582121595740318 - } - }, - "else": { - "operation": "boost", - "score": 0.0034065982326865196 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08283816277980804 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.0, - "then": { - "operation": "boost", - "score": 0.0605011023581028 - }, - "else": { - "operation": "boost", - "score": 0.12106756120920181 + "score": 0.015606660395860672 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.01643497869372368 - }, - "else": { - "operation": "boost", - "score": -0.001066327327862382 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3166.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.07443921267986298 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 190379.0, "then": { "operation": "boost", - "score": 0.05066920816898346 + "score": -0.004018864594399929 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7110.5, + "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.10754256695508957 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04829201474785805 + }, + "else": { + "operation": "boost", + "score": 0.11123050004243851 + } }, "else": { "operation": "boost", - "score": 0.10018125921487808 + "score": -0.10209174454212189 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.09240482747554779 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 54.5, + "threshold": 190994.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, - "then": { - "operation": "boost", - "score": 0.04382263869047165 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11435490101575851 - }, - "else": { - "operation": "boost", - "score": 0.1023348718881607 - } - }, - "else": { - "operation": "boost", - "score": 0.005057930946350098 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12175717949867249 - } - }, - "else": { - "operation": "boost", - "score": -0.012699594721198082 - } + "operation": "boost", + "score": 0.12389513850212097 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, - "then": { - "operation": "boost", - "score": 0.12375658750534058 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": -0.09846896678209305 - }, - "else": { - "operation": "boost", - "score": 0.11881900578737259 - } - }, - "else": { - "operation": "boost", - "score": 0.11772691458463669 - } - }, - "else": { - "operation": "boost", - "score": -0.11099061369895935 - } - } + "operation": "boost", + "score": -0.1588388979434967 } }, "else": { "operation": "boost", - "score": -0.016492828726768494 + "score": 0.11725358664989471 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": -0.007237916346639395 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.08478540182113647 + "score": 0.11391232907772064 }, "else": { "operation": "boost", - "score": 0.13177445530891418 + "score": 0.11962917447090149 } + }, + "else": { + "operation": "boost", + "score": 0.10914255678653717 } } } - }, - "else": { + } + }, + "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": 5312.0, + "threshold": 193454.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0390508770942688 - }, - "else": { - "operation": "boost", - "score": 0.10476098954677582 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "boost", - "score": -0.012691495940089226 + "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": "FilterLength", - "threshold": 2.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.018739530816674232 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05324823781847954 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09149586409330368 + }, + "else": { + "operation": "boost", + "score": 0.09781865775585175 + } + } }, "else": { "operation": "boost", - "score": 0.1396903395652771 + "score": 0.09260090440511703 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04574860632419586 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": -0.10819803923368454 + "score": -0.05766738951206207 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "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": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 97095.5, "then": { - "operation": "boost", - "score": 0.11946242302656174 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.021658822894096375 + }, + "else": { + "operation": "boost", + "score": 0.1426907181739807 + } }, "else": { "operation": "boost", - "score": -0.10629412531852722 + "score": 0.0885034054517746 } }, "else": { "operation": "boost", - "score": 0.13998833298683167 + "score": 0.05782601609826088 } }, "else": { "operation": "boost", - "score": -0.07277090102434158 + "score": -0.3840232491493225 } } } }, "else": { - "operation": "boost", - "score": 0.01639137975871563 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10278269648551941 + }, + "else": { + "operation": "boost", + "score": 0.024190492928028107 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { "operation": "boost", - "score": 0.03666253760457039 + "score": 0.10099197924137115 + }, + "else": { + "operation": "boost", + "score": 0.14319466054439545 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00872153788805008 + } + }, + "else": { + "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_Type" + ], + "then": { + "operation": "boost", + "score": 0.00610074307769537 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.023582441732287407 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06182263791561127 + }, + "else": { + "operation": "boost", + "score": 0.1313660889863968 + } + } }, "else": { "operation": "boost", - "score": -0.04039780795574188 + "score": -0.1840236932039261 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04053515940904617 + "score": -0.01764434576034546 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.013196192681789398 + "score": -0.11833084374666214 }, "else": { "operation": "boost", - "score": 0.03747519850730896 + "score": -0.2522695064544678 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.006799185648560524 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11867009103298187 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Destructor", + "Operator", + "Constructor", + "Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11026.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50019.5, + "feature": "NumReferences", + "threshold": 12576.5, "then": { - "operation": "boost", - "score": 0.06694560497999191 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 16033.5, "then": { "operation": "boost", - "score": -0.016431156545877457 + "score": -0.023699894547462463 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 15553.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.032343458384275436 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.012282505631446838 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1139197126030922 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11746281385421753 - }, - "else": { - "operation": "boost", - "score": -0.11463567614555359 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.14617407321929932 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08462657034397125 - }, - "else": { - "operation": "boost", - "score": 0.10785754024982452 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1720123589038849 - } + "operation": "boost", + "score": 0.11202451586723328 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8217.5, - "then": { - "operation": "boost", - "score": -0.1729302555322647 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11140689253807068 - }, - "else": { - "operation": "boost", - "score": 0.1318911761045456 - } - } - }, - "else": { - "operation": "boost", - "score": 0.035402972251176834 - } + "operation": "boost", + "score": 0.049553919583559036 } } + }, + "else": { + "operation": "boost", + "score": 0.12794028222560883 } }, "else": { "operation": "boost", - "score": 0.019863540306687355 + "score": 0.01208366546779871 } }, "else": { - "operation": "boost", - "score": 0.006242595613002777 + "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": "boost", - "score": -0.04904618486762047 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.006918361876159906 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0064099738374352455 + "score": 0.02379699796438217 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", + "CCC_TopLevel", + "CCC_Namespace", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187158.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08819494396448135 - }, - "else": { - "operation": "boost", - "score": 0.05714297667145729 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "boost", - "score": 0.0017998841358348727 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.10463501513004303 - }, - "else": { - "operation": "boost", - "score": 0.06467803567647934 - } - }, - "else": { - "operation": "boost", - "score": 0.06275942176580429 - } - } - } + "operation": "boost", + "score": 0.14352332055568695 }, "else": { "operation": "boost", - "score": -0.04246198385953903 + "score": -0.07267352938652039 } } }, "else": { - "operation": "boost", - "score": -0.03514440730214119 + "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.0016166605055332184 } }, "else": { + "operation": "boost", + "score": -0.009397591464221478 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.07715301215648651 + "score": 0.02779395319521427 }, "else": { - "operation": "boost", - "score": -0.027062665671110153 + "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": "boost", - "score": 0.012375684455037117 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 642.5, + "then": { + "operation": "boost", + "score": 0.1118425652384758 + }, + "else": { + "operation": "boost", + "score": -0.02861838974058628 + } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04925978183746338 + "score": -0.02093484252691269 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11969412863254547 + "score": 0.01238090917468071 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12384967505931854 + }, + "else": { + "operation": "boost", + "score": 0.05455932393670082 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07112542539834976 + "score": 0.010968293063342571 }, "else": { "operation": "boost", - "score": 0.003879066091030836 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.04815463349223137 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "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": 8.5, - "then": { - "operation": "boost", - "score": 0.1332809180021286 - }, - "else": { - "operation": "boost", - "score": 0.09848546981811523 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10837792605161667 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 486.0, - "then": { - "operation": "boost", - "score": 0.18738599121570587 - }, - "else": { - "operation": "boost", - "score": 0.13485226035118103 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05473846197128296 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28225.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10833373665809631 - }, - "else": { - "operation": "boost", - "score": -0.013411121442914009 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12013483047485352 - }, - "else": { - "operation": "boost", - "score": 0.18006211519241333 - } - }, - "else": { - "operation": "boost", - "score": 0.10779193043708801 - } - }, - "else": { - "operation": "boost", - "score": 0.005336657632142305 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "boost", - "score": -0.28512299060821533 - }, - "else": { - "operation": "boost", - "score": 0.010203469544649124 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04957068711519241 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 415.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, - "then": { - "operation": "boost", - "score": -0.12148989737033844 - }, - "else": { - "operation": "boost", - "score": 0.11560478061437607 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.16987907886505127 - }, - "else": { - "operation": "boost", - "score": 0.09893710911273956 - } - } - }, - "else": { - "operation": "boost", - "score": 0.010582312010228634 + "score": 0.08269169181585312 } }, "else": { "operation": "boost", - "score": -0.011769890785217285 + "score": 0.0752057135105133 } }, "else": { "operation": "boost", - "score": -0.07177700847387314 + "score": -0.04718570038676262 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09347794204950333 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.043001461774110794 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045273516327142715 - }, - "else": { - "operation": "boost", - "score": -0.028011759743094444 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.052332691848278046 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08427707105875015 - }, - "else": { - "operation": "boost", - "score": 0.05640660226345062 - } - } - }, - "else": { - "operation": "boost", - "score": 0.18897047638893127 - } - } - }, - "else": { - "operation": "boost", - "score": 0.049968499690294266 - } - } + "operation": "boost", + "score": 0.02128901518881321 } }, "else": { "operation": "boost", - "score": -0.002901364117860794 + "score": 0.012032714672386646 } } } + }, + "else": { + "operation": "boost", + "score": -0.009724891744554043 } + }, + "else": { + "operation": "boost", + "score": 0.10804293304681778 } + } + } + } + }, + { + "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.016702953726053238 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.0001837198797147721 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08937713503837585 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.01005419623106718 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "boost", + "score": 0.06150725483894348 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12427271902561188 + }, + "else": { + "operation": "boost", + "score": 0.10489927977323532 + } + } + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.044690247625112534 + }, + "else": { + "operation": "boost", + "score": -0.013693063519895077 + } + }, + "else": { + "operation": "boost", + "score": -0.05558621510863304 + } + }, + "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, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Variable" ], + "then": { + "operation": "boost", + "score": 0.06426052004098892 + }, + "else": { + "operation": "boost", + "score": 0.03216971084475517 + } + }, + "else": { + "operation": "boost", + "score": 0.022722214460372925 + } + }, + "else": { + "operation": "boost", + "score": 0.008944462053477764 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.014947880990803242 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.07213352620601654 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07335653156042099 + "score": 0.05426621809601784 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0662769004702568 + "score": 0.016124555841088295 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.10270394384860992 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1072164997458458 + "score": 0.08371914178133011 }, "else": { "operation": "boost", - "score": 0.1317276954650879 + "score": 0.10290994495153427 } + }, + "else": { + "operation": "boost", + "score": 0.0961068719625473 } } } + }, + "else": { + "operation": "boost", + "score": 0.02208452671766281 } }, "else": { + "operation": "boost", + "score": 0.010595511645078659 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.01743628829717636 + "score": 0.03734108805656433 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.015592592768371105 - }, - "else": { - "operation": "boost", - "score": 0.08851076662540436 - } + "operation": "boost", + "score": 0.01924777589738369 } - } - }, - "else": { - "operation": "boost", - "score": -0.10187837481498718 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3404788374900818 }, "else": { "operation": "boost", - "score": 0.018024401739239693 + "score": -0.15626581013202667 } - }, - "else": { - "operation": "boost", - "score": 0.0030201009940356016 } } - }, - "else": { - "operation": "boost", - "score": 0.005701509304344654 - } - }, - "else": { - "operation": "boost", - "score": -0.013983768410980701 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.041634682565927505 - }, - "else": { - "operation": "boost", - "score": -0.10742424428462982 } - }, - "else": { - "operation": "boost", - "score": -0.01563592255115509 } } } } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11495991796255112 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 183.0, - "then": { - "operation": "boost", - "score": 0.05717333406209946 - }, - "else": { - "operation": "boost", - "score": 0.1183508113026619 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "threshold": 191566.0, "then": { - "operation": "boost", - "score": 0.017086440697312355 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { "operation": "boost", - "score": -0.020628653466701508 + "score": -0.07901834696531296 }, "else": { - "operation": "boost", - "score": 0.01027931272983551 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_SymbolOrNewName", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3166.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.04906630143523216 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7110.5, + "threshold": 200884.5, "then": { "operation": "boost", - "score": 0.10562645643949509 + "score": -0.10103780776262283 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10746300220489502 + }, + "else": { + "operation": "boost", + "score": 0.11726599931716919 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05411136522889137 + }, + "else": { + "operation": "boost", + "score": 0.10548625141382217 + } }, "else": { "operation": "boost", - "score": 0.09772421419620514 + "score": 0.08788397908210754 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.35487380623817444 + "score": 0.03936902806162834 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 774.5, - "then": { - "operation": "boost", - "score": 0.12127058953046799 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11286348104476929 - }, - "else": { - "operation": "boost", - "score": 0.13838385045528412 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.018996499478816986 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11535242199897766 - }, - "else": { - "operation": "boost", - "score": 0.2834293842315674 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08513467013835907 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "boost", - "score": 0.08417382836341858 - }, - "else": { - "operation": "boost", - "score": 0.10733889043331146 - } - } - }, - "else": { - "operation": "boost", - "score": 0.005432615056633949 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.0, - "then": { - "operation": "boost", - "score": 0.10365010797977448 - }, - "else": { - "operation": "boost", - "score": 0.11956869810819626 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.06407183408737183 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10479681193828583 - }, - "else": { - "operation": "boost", - "score": -0.21244347095489502 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.020607605576515198 - } - } - } + "operation": "boost", + "score": 0.07961930334568024 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.017741799354553223 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11411634087562561 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07448828220367432 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.0, - "then": { - "operation": "boost", - "score": 0.13566061854362488 - }, - "else": { - "operation": "boost", - "score": 0.170218363404274 - } - }, - "else": { - "operation": "boost", - "score": -0.0036605605855584145 - } - } - } - } + "operation": "boost", + "score": 0.030597034841775894 }, "else": { "operation": "boost", - "score": 0.11990343034267426 + "score": 0.12089163064956665 } }, "else": { "operation": "boost", - "score": -0.029726359993219376 + "score": 0.054514698684215546 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.07060061395168304 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.19399192929267883 + "score": 0.08512867987155914 }, "else": { "operation": "boost", - "score": 0.13085375726222992 + "score": 0.11762837320566177 } + }, + "else": { + "operation": "boost", + "score": 0.061248764395713806 } } } @@ -107016,1511 +104504,996 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5312.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7021.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.02909601479768753 - }, - "else": { - "operation": "boost", - "score": 0.1089576706290245 - } + "operation": "boost", + "score": 0.10330379009246826 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6944.0, - "then": { - "operation": "boost", - "score": 0.11505557596683502 - }, - "else": { - "operation": "boost", - "score": 0.09191352874040604 - } + "operation": "boost", + "score": -0.07791402190923691 } }, "else": { "operation": "boost", - "score": -0.008222520351409912 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.043197643011808395 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1139506921172142 - }, - "else": { - "operation": "boost", - "score": -0.1209602877497673 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.1351035088300705 - }, - "else": { - "operation": "boost", - "score": -0.061383698135614395 - } - } + "score": 0.13654464483261108 } - }, - "else": { - "operation": "boost", - "score": 0.01489882543683052 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.030206900089979172 - }, - "else": { - "operation": "boost", - "score": 0.02100224234163761 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0904388576745987 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.019709812477231026 - }, - "else": { - "operation": "boost", - "score": -0.043421290814876556 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ - "GlobalScope", - "FunctionScope" + "FileScope" ], "then": { "operation": "boost", - "score": -0.05950554087758064 + "score": 0.07646924257278442 }, "else": { "operation": "boost", - "score": -0.1795857846736908 + "score": 0.013476116582751274 } }, "else": { "operation": "boost", - "score": 0.026772288605570793 + "score": 0.05111529678106308 } + }, + "else": { + "operation": "boost", + "score": 0.005556175950914621 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.041107770055532455 + "score": -0.12530675530433655 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2754811644554138 - }, - "else": { - "operation": "boost", - "score": -0.010068490169942379 - } + "operation": "boost", + "score": -0.16240444779396057 } }, "else": { "operation": "boost", - "score": 0.012034013867378235 + "score": -0.020351102575659752 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + } + }, + "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_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07514861971139908 - }, - "else": { - "operation": "boost", - "score": -0.057169169187545776 - } - }, - "else": { - "operation": "boost", - "score": 0.0050546880811452866 - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 50015.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12955981492996216 - }, - "else": { - "operation": "boost", - "score": -0.07026301324367523 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.008215334266424179 - }, - "else": { - "operation": "boost", - "score": -0.052746206521987915 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.017774535343050957 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.010069988667964935 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34039.5, - "then": { - "operation": "boost", - "score": 0.04219648987054825 - }, - "else": { - "operation": "boost", - "score": -0.16091342270374298 - } - }, - "else": { - "operation": "boost", - "score": -0.27259907126426697 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, - "then": { - "operation": "boost", - "score": 0.13520418107509613 - }, - "else": { - "operation": "boost", - "score": 0.049217160791158676 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": -0.02029840648174286 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.13776752352714539 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.015213575214147568 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "boost", - "score": 0.09194266051054001 - }, - "else": { - "operation": "boost", - "score": 0.05963408574461937 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.009739617817103863 - }, - "else": { - "operation": "boost", - "score": -0.06035878509283066 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06137169152498245 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09333368390798569 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.05214991793036461 - }, - "else": { - "operation": "boost", - "score": 0.13306494057178497 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007114251609891653 - }, - "else": { - "operation": "boost", - "score": -0.35835927724838257 - } - }, - "else": { - "operation": "boost", - "score": 0.014133064076304436 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.09705404192209244 - }, - "else": { - "operation": "boost", - "score": -0.05891469493508339 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.06848680227994919 + "score": 0.00725763663649559 }, "else": { "operation": "boost", - "score": -0.1355312168598175 + "score": -0.16632439196109772 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11330921947956085 - }, - "else": { - "operation": "boost", - "score": 0.09186851233243942 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": -0.14454017579555511 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "NumReferences", + "threshold": 1074118.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace" + ], "then": { - "operation": "boost", - "score": 0.06490684300661087 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11476095020771027 + "score": 0.030393358319997787 }, "else": { "operation": "boost", - "score": 0.11259343475103378 + "score": 0.11701102554798126 } + }, + "else": { + "operation": "boost", + "score": 0.04936535283923149 } }, - "else": { - "operation": "boost", - "score": -0.28280457854270935 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212623.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09901197254657745 - }, - "else": { - "operation": "boost", - "score": 0.0016374032711610198 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.11110450327396393 - }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" + "Function", + "Namespace" ], "then": { "operation": "boost", - "score": 0.08144339174032211 + "score": 0.06598395109176636 }, "else": { - "operation": "boost", - "score": -0.17066924273967743 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2578778862953186 + }, + "else": { + "operation": "boost", + "score": 0.022876271978020668 + } } } } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08767693489789963 - }, - "else": { - "operation": "boost", - "score": 0.13925567269325256 - } - }, - "else": { - "operation": "boost", - "score": -0.047876887023448944 - } + "operation": "boost", + "score": -0.1289965808391571 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, - "then": { - "operation": "boost", - "score": -0.06851214915513992 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.056795209646224976 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "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": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.081153504550457 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.12254619598388672 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09038246423006058 - }, - "else": { - "operation": "boost", - "score": 0.12096621841192245 - } - } + "operation": "boost", + "score": 0.11072497814893723 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.3574588894844055 - }, - "else": { - "operation": "boost", - "score": 0.13496606051921844 - } + "operation": "boost", + "score": 0.11755393445491791 } }, "else": { "operation": "boost", - "score": -0.1101665124297142 + "score": 0.09120655804872513 } + }, + "else": { + "operation": "boost", + "score": 0.021261192858219147 } }, "else": { - "operation": "boost", - "score": 0.05552336946129799 + "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.1741565316915512 } }, "else": { + "operation": "boost", + "score": 0.02011762745678425 + } + }, + "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": "NumReferences", - "threshold": 97095.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 85554.5, "then": { + "operation": "boost", + "score": -0.01046582031995058 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08220302313566208 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.14223873615264893 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.12475091218948364 - }, - "else": { - "operation": "boost", - "score": 0.1111951619386673 - } - } - } + "operation": "boost", + "score": 0.10925406217575073 }, "else": { "operation": "boost", - "score": -0.13433359563350677 + "score": 0.07110124826431274 } }, "else": { "operation": "boost", - "score": 0.0134063009172678 + "score": 0.12430063635110855 } - }, - "else": { - "operation": "boost", - "score": 0.030827486887574196 } }, "else": { "operation": "boost", - "score": 0.09159459173679352 + "score": 0.060997530817985535 } + }, + "else": { + "operation": "boost", + "score": -0.15891118347644806 } - }, - "else": { - "operation": "boost", - "score": 0.014588617719709873 } + }, + "else": { + "operation": "boost", + "score": 0.0354640893638134 } } + }, + "else": { + "operation": "boost", + "score": -0.006712046917527914 } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.013907981105148792 - } - }, - "else": { - "operation": "boost", - "score": -0.0016026213997974992 - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18951.5, - "then": { - "operation": "boost", - "score": 0.11313267052173615 - }, - "else": { - "operation": "boost", - "score": -0.013040021061897278 - } - }, - "else": { - "operation": "boost", - "score": 0.11437486857175827 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0148996040225029 - }, - "else": { - "operation": "boost", - "score": -0.20840772986412048 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.047622695565223694 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.026722680777311325 }, "else": { "operation": "boost", - "score": -0.025968901813030243 + "score": 0.008107968606054783 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], - "then": { - "operation": "boost", - "score": 0.017357690259814262 - }, - "else": { - "operation": "boost", - "score": -0.03197088465094566 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.004295640625059605 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 489.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 524.5, - "then": { - "operation": "boost", - "score": 0.04569254815578461 - }, - "else": { - "operation": "boost", - "score": 0.12755338847637177 - } - }, - "else": { - "operation": "boost", - "score": 0.0077501521445810795 - } - }, - "else": { - "operation": "boost", - "score": 0.049730975180864334 - } - }, - "else": { - "operation": "boost", - "score": -0.0778903067111969 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 263421.0, "then": { - "operation": "boost", - "score": -0.05297933891415596 + "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": "boost", - "score": 0.02748025953769684 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 6644.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75.0, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.014934000559151173 + "score": 0.029125092551112175 }, "else": { "operation": "boost", - "score": 0.1122242733836174 + "score": 0.07965259253978729 } }, "else": { "operation": "boost", - "score": 0.023118793964385986 + "score": 0.051201362162828445 } - }, - "else": { - "operation": "boost", - "score": 0.14692717790603638 } }, "else": { "operation": "boost", - "score": 0.06504504382610321 + "score": 0.04468134418129921 } }, "else": { "operation": "boost", - "score": 0.04047563672065735 + "score": 0.0037271936889737844 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.042337968945503235 + "score": -0.11752330511808395 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.04119609668850899 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.05553411319851875 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.10965045541524887 + }, + "else": { + "operation": "boost", + "score": -0.003961089998483658 + } + } }, "else": { + "operation": "boost", + "score": 0.013890981674194336 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.057793643325567245 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.11614111065864563 + "score": 0.10750653594732285 }, "else": { "operation": "boost", - "score": 0.12649349868297577 + "score": -0.10612674057483673 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10009314119815826 + } + }, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.14995497465133667 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.14944925904273987 - }, - "else": { - "operation": "boost", - "score": 0.4686536490917206 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.1161467581987381 - }, - "else": { - "operation": "boost", - "score": 0.10815389454364777 - } - }, - "else": { - "operation": "boost", - "score": 0.13029390573501587 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01692594215273857 - } + "operation": "boost", + "score": -0.0015654595335945487 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09880110621452332 + "score": 0.03261910378932953 }, "else": { "operation": "boost", - "score": 0.12067973613739014 + "score": 0.07618407905101776 } }, "else": { "operation": "boost", - "score": -0.035391706973314285 + "score": 0.10659977793693542 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1356985718011856 - }, - "else": { - "operation": "boost", - "score": -0.18937234580516815 - } + "operation": "boost", + "score": 0.053303658962249756 } } - }, - "else": { - "operation": "boost", - "score": -0.13323360681533813 } } + }, + "else": { + "operation": "boost", + "score": -0.017166145145893097 } } - }, - "else": { - "operation": "boost", - "score": 0.0023902426473796368 } }, "else": { + "operation": "boost", + "score": 0.10691174119710922 + } + } + } + }, + "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": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", "Keyword", - "Macro", + "Variable", "Constructor", + "Function", "Type", - "Function" + "Namespace" ], "then": { - "operation": "boost", - "score": 0.022817177698016167 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.012724822387099266 + }, + "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.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 + } + }, + "else": { + "operation": "boost", + "score": 0.06701027601957321 + } + }, + "else": { + "operation": "boost", + "score": 0.03301555663347244 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.012208306230604649 + }, + "else": { + "operation": "boost", + "score": -0.03214407339692116 + } + } }, "else": { "operation": "boost", - "score": -0.031510163098573685 + "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 } } } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Type", - "Function" + "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": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.16856133937835693 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "boost", - "score": -0.05659060925245285 + "score": 0.011226381175220013 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0420590378344059 - }, - "else": { - "operation": "boost", - "score": 0.07584946602582932 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.057562507688999176 + "score": 0.048918597400188446 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.15560226142406464 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.025183066725730896 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02176123671233654 - }, - "else": { - "operation": "boost", - "score": 0.07575468719005585 - } + "operation": "boost", + "score": 0.12738679349422455 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.1081770658493042 + "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.11175160855054855 + "score": 0.147722989320755 } } - }, - "else": { - "operation": "boost", - "score": 0.06468545645475388 } + }, + "else": { + "operation": "boost", + "score": 0.05173017084598541 } } + }, + "else": { + "operation": "boost", + "score": 0.024388333782553673 } }, "else": { @@ -108528,2771 +105501,3519 @@ "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.13442955911159515 - }, - "else": { - "operation": "boost", - "score": -0.21859313547611237 - } + "operation": "boost", + "score": -0.08088043332099915 }, "else": { "operation": "boost", - "score": 0.10627301037311554 + "score": 0.054479245096445084 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.010143082588911057 - }, - "else": { - "operation": "boost", - "score": 0.012666065245866776 - } + "operation": "boost", + "score": 0.00550473527982831 } - }, - "else": { - "operation": "boost", - "score": -0.11433536559343338 } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, "then": { "operation": "boost", - "score": 0.06288018822669983 + "score": 0.06857681274414062 }, "else": { "operation": "boost", - "score": -0.08462715148925781 + "score": 0.027581846341490746 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.0208554919809103 + }, + "else": { + "operation": "boost", + "score": -0.12636466324329376 + } + }, + "else": { + "operation": "boost", + "score": 0.008776834234595299 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Function", + "Type", + "Namespace" ], "then": { + "operation": "boost", + "score": 0.016848981380462646 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.005258532706648111 + "score": 0.032699476927518845 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.040125712752342224 - }, - "else": { - "operation": "boost", - "score": 0.06709863245487213 - } + "operation": "boost", + "score": -0.07553571462631226 } - }, - "else": { - "operation": "boost", - "score": -0.036284368485212326 } }, + "else": { + "operation": "boost", + "score": 0.03461311757564545 + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.015856510028243065 + }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 105656.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.07222352921962738 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 148934.5, "then": { - "operation": "boost", - "score": 0.07123547047376633 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10099571198225021 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.012773687951266766 + }, + "else": { + "operation": "boost", + "score": 0.10965774953365326 + } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "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.10681256651878357 + "score": 0.11302413046360016 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "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.12539927661418915 + "score": 0.11702177673578262 } + }, + "else": { + "operation": "boost", + "score": 0.10781931132078171 } } - }, - "else": { - "operation": "boost", - "score": 0.09484492987394333 } }, "else": { "operation": "boost", - "score": -0.07873723655939102 + "score": 0.5832801461219788 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 325.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 768345.5, + "threshold": 780.5, "then": { "operation": "boost", - "score": 0.07220683246850967 + "score": 0.06522759795188904 }, "else": { - "operation": "boost", - "score": 0.040849585086107254 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7878.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11316.5, + "threshold": 615.5, "then": { "operation": "boost", - "score": 0.0338212214410305 + "score": 0.10947438329458237 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12439601868391037 - }, - "else": { - "operation": "boost", - "score": 0.2538878619670868 - } + "operation": "boost", + "score": 0.03743361681699753 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 602.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.09010980278253555 - }, - "else": { - "operation": "boost", - "score": -0.2734927535057068 - } + "operation": "boost", + "score": 0.10664474964141846 }, "else": { "operation": "boost", - "score": -0.009646227583289146 + "score": 0.12456053495407104 } }, "else": { "operation": "boost", - "score": 0.023480981588363647 + "score": 0.11336550861597061 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3334.0, "then": { - "operation": "boost", - "score": -0.261902391910553 + "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.0908300057053566 + "score": 0.09511519223451614 } } + }, + "else": { + "operation": "boost", + "score": 0.1357036530971527 } } }, "else": { "operation": "boost", - "score": 0.01941639371216297 + "score": 0.053169041872024536 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.0009848909685388207 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, - "then": { - "operation": "boost", - "score": -0.006355420220643282 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09901876002550125 - }, - "else": { - "operation": "boost", - "score": 0.2757954001426697 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03991779312491417 - } - } + "operation": "boost", + "score": 0.02283564582467079 }, "else": { "operation": "boost", - "score": 0.00857468880712986 + "score": 0.018434183672070503 } } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { + "operation": "boost", + "score": -0.10557188093662262 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess" + "CCC_SymbolOrNewName", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "boost", - "score": 0.02613145112991333 + "score": -0.13762132823467255 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.12384183704853058 + "score": 0.07769101113080978 }, "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10210461169481277 - }, - "else": { - "operation": "boost", - "score": 0.10888010263442993 - } + "operation": "boost", + "score": 0.10384050011634827 } }, "else": { - "operation": "boost", - "score": 0.07146474719047546 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.11553255468606949 + }, + "else": { + "operation": "boost", + "score": 0.11116784811019897 + } } } }, "else": { - "operation": "boost", - "score": 0.09370057284832001 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.027370067313313484 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273152.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.054192814975976944 + "score": 0.0488741435110569 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08462071418762207 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10371454060077667 - }, - "else": { - "operation": "boost", - "score": 0.08845242112874985 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.1048506498336792 - }, - "else": { - "operation": "boost", - "score": 0.04472766071557999 - } - }, - "else": { - "operation": "boost", - "score": 0.09517159312963486 - } - } + "operation": "boost", + "score": 0.10494249314069748 } }, "else": { - "operation": "boost", - "score": 0.03643636032938957 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.06612896174192429 + "score": 0.021624360233545303 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10283162444829941 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.09895440936088562 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.004148068372160196 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05891934782266617 - }, - "else": { - "operation": "boost", - "score": 0.0846206396818161 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10170258581638336 - }, - "else": { - "operation": "boost", - "score": -0.18155458569526672 - } - }, - "else": { - "operation": "boost", - "score": 0.08914697170257568 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.009439973160624504 - } - } - } + "operation": "boost", + "score": 0.08159423619508743 }, "else": { "operation": "boost", - "score": 0.04989539831876755 + "score": 0.09460094571113586 } }, "else": { "operation": "boost", - "score": 0.016006436198949814 + "score": 0.06432972103357315 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.046165551990270615 - }, - "else": { - "operation": "boost", - "score": 0.07340601086616516 - } } }, "else": { "operation": "boost", - "score": 0.030847396701574326 + "score": 0.06923183053731918 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.007929841987788677 }, "else": { - "operation": "boost", - "score": -0.020088477060198784 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09506255388259888 + }, + "else": { + "operation": "boost", + "score": 0.1466289460659027 + } } } }, "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": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.01347375474870205 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "boost", - "score": -0.035027749836444855 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.010525349527597427 + "score": 0.032615721225738525 }, "else": { "operation": "boost", - "score": 0.0006591370911337435 + "score": 0.0010233648354187608 } }, "else": { "operation": "boost", - "score": -0.11686401814222336 + "score": -0.11767002940177917 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.048753056675195694 + }, + "else": { + "operation": "boost", + "score": 0.0328800231218338 } } + }, + "else": { + "operation": "boost", + "score": -0.007912864908576012 } + }, + "else": { + "operation": "boost", + "score": 0.007605336140841246 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09358765184879303 - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.0, - "then": { - "operation": "boost", - "score": 0.05688796937465668 }, "else": { - "operation": "boost", - "score": 0.10799063742160797 - } - }, - "else": { - "operation": "boost", - "score": 0.01126839965581894 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 263421.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, "then": { "operation": "boost", - "score": 0.07587820291519165 + "score": -0.010314283892512321 }, "else": { - "operation": "boost", - "score": 0.025312703102827072 + "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 + } } }, "else": { - "operation": "boost", - "score": -0.0049289255402982235 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.16609708964824677 + "score": -0.035294245928525925 }, "else": { "operation": "boost", - "score": -0.18018928170204163 + "score": 0.01683053933084011 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11656895279884338 + }, + "else": { "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1519830822944641 + "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.019061770290136337 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.057488758116960526 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14521050453186035 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09585534781217575 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69564.0, + "then": { + "operation": "boost", + "score": -0.34375324845314026 + }, + "else": { + "operation": "boost", + "score": 0.0005488388705998659 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11361376941204071 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90.0, + "then": { + "operation": "boost", + "score": -0.20269225537776947 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.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 + } + }, + "else": { + "operation": "boost", + "score": 0.14385080337524414 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029415879398584366 + }, + "else": { + "operation": "boost", + "score": 0.0716937705874443 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04853120446205139 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.002505512675270438 } + }, + "else": { + "operation": "boost", + "score": -0.015826666727662086 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + } + } + } + }, + "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": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0030987448990345 + "score": 0.011982697993516922 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50014.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": -0.12655438482761383 + "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 + } }, "else": { "operation": "boost", - "score": 0.01581122912466526 + "score": 0.06353985518217087 } }, "else": { "operation": "boost", - "score": -0.06833923608064651 + "score": 0.02998708002269268 } } }, "else": { - "operation": "boost", - "score": -0.008725781925022602 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.010966116562485695 + }, + "else": { + "operation": "boost", + "score": -0.02795409969985485 + } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.03913332149386406 - }, - "else": { - "operation": "boost", - "score": 0.011422001756727695 - } + "operation": "boost", + "score": -0.13102269172668457 } + }, + "else": { + "operation": "boost", + "score": 0.0009384581935591996 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": -0.013377374969422817 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.06519264727830887 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.08017583936452866 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.11617308855056763 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09538585692644119 + }, + "else": { + "operation": "boost", + "score": 0.12118831276893616 + } }, "else": { - "operation": "boost", - "score": 0.1225474551320076 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10680568963289261 + }, + "else": { + "operation": "boost", + "score": 0.11450190842151642 + } } - }, - "else": { - "operation": "boost", - "score": 0.0717308446764946 } - }, - "else": { - "operation": "boost", - "score": 0.032964617013931274 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.33427518606185913 + "score": -0.012259744107723236 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10454332828521729 - }, - "else": { - "operation": "boost", - "score": 0.12471825629472733 - } + "operation": "boost", + "score": 0.03594211861491203 } }, "else": { "operation": "boost", - "score": -0.037607572972774506 + "score": 0.007705328520387411 } } }, "else": { "operation": "boost", - "score": 0.024648210033774376 + "score": -0.10716072469949722 } }, "else": { "operation": "boost", - "score": -0.06649154424667358 + "score": -0.04332064837217331 } + }, + "else": { + "operation": "boost", + "score": -0.01548166386783123 } } - }, - "else": { - "operation": "boost", - "score": -0.00908611062914133 } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.017733745276927948 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 288.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.14165417850017548 + "score": 0.23776139318943024 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13261212408542633 - }, - "else": { - "operation": "boost", - "score": -0.30411961674690247 - } + "operation": "boost", + "score": -0.0918249785900116 } }, "else": { - "operation": "boost", - "score": 0.18486277759075165 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12040341645479202 + }, + "else": { + "operation": "boost", + "score": -0.12482620775699615 + } } }, "else": { "operation": "boost", - "score": 0.07844231277704239 + "score": 0.0014464674750342965 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10316027700901031 + }, + "else": { + "operation": "boost", + "score": -0.021253082901239395 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.0052828602492809296 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.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", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": -0.004745012149214745 + }, + "else": { + "operation": "boost", + "score": -0.08448465913534164 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 24318.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, "then": { - "operation": "boost", - "score": -0.05535291135311127 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10159864276647568 + }, + "else": { + "operation": "boost", + "score": -0.004902319051325321 + } }, "else": { - "operation": "boost", - "score": -0.06492596119642258 + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "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" + ], "then": { + "operation": "boost", + "score": -0.08082114160060883 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 495.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0498235821723938 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 455.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11298661679029465 + "score": 0.02951006591320038 }, "else": { "operation": "boost", - "score": 0.04080550745129585 + "score": 0.12401336431503296 } + }, + "else": { + "operation": "boost", + "score": -0.21586070954799652 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 960.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5281.0, + "threshold": 1315.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6412.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30126.0, - "then": { - "operation": "boost", - "score": 0.10030074417591095 - }, - "else": { - "operation": "boost", - "score": 0.10498706996440887 - } - }, - "else": { - "operation": "boost", - "score": 0.11735031753778458 - } - }, - "else": { - "operation": "boost", - "score": 0.09132583439350128 - } - }, - "else": { - "operation": "boost", - "score": 0.02149958908557892 - } + "operation": "boost", + "score": -0.08127401769161224 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "boost", + "score": 0.10287932306528091 + } + }, + "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": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { "operation": "boost", - "score": 0.04117586836218834 + "score": 0.11837257444858551 }, "else": { "operation": "boost", - "score": 0.09484487771987915 + "score": 0.08568163216114044 } }, "else": { "operation": "boost", - "score": -0.04755847156047821 + "score": 0.053538139909505844 } + }, + "else": { + "operation": "boost", + "score": -0.03738189861178398 } } - }, - "else": { - "operation": "boost", - "score": 0.01588280498981476 } } } - }, - "else": { + } + } + } + }, + "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": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4138.5, + "threshold": 1338.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4141.5, + "threshold": 134893.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14181.5, + "threshold": 167779.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.03309917077422142 + }, + "else": { + "operation": "boost", + "score": -1.0459266901016235 + } + }, + "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_greater", + "feature": "NumReferences", + "threshold": 1339.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33380.5, + "threshold": 5613.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33610.5, + "threshold": 13381.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.03483198210597038 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7473.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8648.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 68345.0, + "threshold": 10936.5, "then": { - "operation": "boost", - "score": 0.07518992573022842 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 11711.5, "then": { "operation": "boost", - "score": 0.1253676861524582 + "score": 0.07055792957544327 }, "else": { - "operation": "boost", - "score": 0.1344972401857376 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09686630219221115 + }, + "else": { + "operation": "boost", + "score": 0.11090420186519623 + } } + }, + "else": { + "operation": "boost", + "score": 0.09861699491739273 } }, "else": { "operation": "boost", - "score": 0.08618506044149399 + "score": 0.0758550688624382 } }, "else": { - "operation": "boost", - "score": 0.04525521770119667 + "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 + } } }, "else": { - "operation": "boost", - "score": 0.04045647755265236 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11862608045339584 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7907.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8052.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.12749911844730377 + } + }, + "else": { + "operation": "boost", + "score": 0.08589472621679306 + } + } } }, "else": { - "operation": "boost", - "score": 0.018062209710478783 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.15854471921920776 - }, - "else": { - "operation": "boost", - "score": 0.10148478299379349 + "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 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, - "then": { - "operation": "boost", - "score": -0.07006628066301346 - }, - "else": { - "operation": "boost", - "score": 0.002863551490008831 - } + "operation": "boost", + "score": 0.042888931930065155 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], + "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, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.002800491638481617 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18672.5, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.09328069537878036 + "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": "boost", - "score": 0.06351542472839355 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19538.5, + "threshold": 84.5, "then": { "operation": "boost", - "score": -0.013197535648941994 + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1063.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18160.0, + "threshold": 1173.0, "then": { "operation": "boost", - "score": 0.11221695691347122 + "score": 0.11451691389083862 }, "else": { "operation": "boost", - "score": 0.04954936355352402 + "score": 0.10247526317834854 } + }, + "else": { + "operation": "boost", + "score": 0.04461882263422012 } }, "else": { "operation": "boost", - "score": -0.05726264417171478 + "score": 0.025409357622265816 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24944.5, + "threshold": 477.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": -0.09733754396438599 + "score": 0.13028088212013245 }, "else": { - "operation": "boost", - "score": -1.0149847269058228 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12546072900295258 + }, + "else": { + "operation": "boost", + "score": 0.0721789300441742 + } } }, "else": { "operation": "boost", - "score": -0.1072838306427002 + "score": 0.08903247117996216 } + }, + "else": { + "operation": "boost", + "score": 0.11828433722257614 } } + }, + "else": { + "operation": "boost", + "score": -0.0664248913526535 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10795661807060242 + }, + "else": { + "operation": "boost", + "score": 0.1007390022277832 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10970960557460785 - }, - "else": { - "operation": "boost", - "score": 0.11013121157884598 - } + "operation": "boost", + "score": 0.06928569823503494 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.12004279345273972 + "score": 0.0311103668063879 }, "else": { - "operation": "boost", - "score": 0.10299962759017944 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09967140853404999 + }, + "else": { + "operation": "boost", + "score": 0.12145843356847763 + } + }, + "else": { + "operation": "boost", + "score": 0.10285953432321548 + } } } }, "else": { "operation": "boost", - "score": 0.06583133339881897 + "score": 0.07716834545135498 } + } + }, + "else": { + "operation": "boost", + "score": 0.05221688002347946 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.012662793509662151 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.0029069846495985985 }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07975462824106216 + }, + "else": { + "operation": "boost", + "score": 0.10125166177749634 + } + }, + "else": { + "operation": "boost", + "score": 0.05232779681682587 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6055.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11934079229831696 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6101.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10810.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 29.5, "then": { "operation": "boost", - "score": 0.0174809992313385 + "score": 0.12224933505058289 }, "else": { "operation": "boost", - "score": 0.12466681003570557 + "score": 0.04807942360639572 } }, "else": { - "operation": "boost", - "score": -0.08014532923698425 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10415.0, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", + "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", + "Function", "Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11346526443958282 + "score": 0.14797350764274597 }, "else": { "operation": "boost", - "score": 0.09941588342189789 + "score": 0.1365996152162552 } }, "else": { "operation": "boost", - "score": -0.24832074344158173 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03842930495738983 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.08054051548242569 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9472.0, - "then": { - "operation": "boost", - "score": -0.15242865681648254 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6923.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9081.0, - "then": { - "operation": "boost", - "score": 0.27246564626693726 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7394.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8368.0, - "then": { - "operation": "boost", - "score": 0.1212146058678627 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7644.0, - "then": { - "operation": "boost", - "score": 0.11466024070978165 - }, - "else": { - "operation": "boost", - "score": 0.10872887074947357 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04956817626953125 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0842130184173584 - } - }, - "else": { - "operation": "boost", - "score": 0.11096639931201935 - } - }, - "else": { - "operation": "boost", - "score": 0.1959090232849121 - } - } - } + "score": -0.10004149377346039 } } + }, + "else": { + "operation": "boost", + "score": 0.028782865032553673 } }, "else": { "operation": "boost", - "score": 0.114461250603199 + "score": 0.06132744997739792 } + } + }, + "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": "boost", + "score": 0.14234286546707153 }, "else": { "operation": "boost", - "score": 0.05251679569482803 + "score": -0.08022787421941757 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.13347220420837402 }, "else": { "operation": "boost", - "score": -1.437218189239502 + "score": 0.027355976402759552 + } + } + }, + "else": { + "operation": "boost", + "score": 0.001484749955125153 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006083586718887091 + } + }, + "else": { + "operation": "boost", + "score": -0.03316879644989967 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87006.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06816952675580978 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05784045532345772 + }, + "else": { + "operation": "boost", + "score": 0.10551965236663818 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10333742946386337 + }, + "else": { + "operation": "boost", + "score": 0.017561836168169975 + } } + }, + "else": { + "operation": "boost", + "score": 0.1029408723115921 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13944.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.10189146548509598 + "score": 0.09775012731552124 }, "else": { - "operation": "boost", - "score": 0.10289263725280762 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1130182221531868 + }, + "else": { + "operation": "boost", + "score": 0.11503367871046066 + } } }, "else": { "operation": "boost", - "score": 0.05901322513818741 + "score": 0.10706435889005661 } } } }, "else": { "operation": "boost", - "score": 0.11713826656341553 + "score": 0.4045504927635193 } }, "else": { - "operation": "boost", - "score": 0.030316682532429695 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "boost", - "score": 0.001742138876579702 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 560.0, + "threshold": 205637.0, "then": { + "operation": "boost", + "score": -0.04955887049436569 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 597.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0368635430932045 + "score": 0.05208778381347656 }, "else": { "operation": "boost", - "score": 0.15986862778663635 + "score": 0.10133904218673706 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.04294333606958389 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03400416672229767 + "score": 0.045940954238176346 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11370139569044113 + "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.07604583352804184 + "score": 0.06651009619235992 } } - }, - "else": { - "operation": "boost", - "score": 0.06141176074743271 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 591.5, - "then": { - "operation": "boost", - "score": 0.11123036593198776 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11079998314380646 - }, - "else": { - "operation": "boost", - "score": 0.08118975907564163 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0252086129039526 }, "else": { "operation": "boost", - "score": 0.0840546265244484 + "score": 0.0689048022031784 } } + }, + "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.029004402458667755 + "score": 0.11832141876220703 } } + }, + "else": { + "operation": "boost", + "score": 0.0067834872752428055 } - }, - "else": { - "operation": "boost", - "score": 0.0027199420146644115 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 23.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.01544764544814825 + "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.007921098731458187 + "score": -0.08326694369316101 } }, "else": { "operation": "boost", - "score": -0.01546368096023798 + "score": -0.033047690987586975 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "boost", + "score": -0.014602585695683956 + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.09905215352773666 + }, + "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": "boost", + "score": -0.0004056215693708509 + }, + "else": { + "operation": "boost", + "score": -0.05204370617866516 + } + } + }, + "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_member", "feature": "Scope", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "FunctionScope", + "ClassScope" ], "then": { "operation": "boost", - "score": -0.017280621454119682 + "score": 0.015345647931098938 }, "else": { - "operation": "boost", - "score": -0.042143113911151886 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.08406486362218857 - }, - "else": { - "operation": "boost", - "score": 0.06660231947898865 - } + "operation": "boost", + "score": 0.0896696075797081 }, "else": { "operation": "boost", - "score": 0.05115648731589317 + "score": 0.02066684141755104 } }, "else": { "operation": "boost", - "score": 0.03194956108927727 + "score": -0.10062400251626968 } }, "else": { - "operation": "boost", - "score": 0.043609362095594406 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.046707410365343094 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.008086701855063438 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03792133182287216 + }, + "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": 2.5, + "then": { + "operation": "boost", + "score": 0.025172824040055275 + }, + "else": { + "operation": "boost", + "score": 0.06603620201349258 + } + }, + "else": { + "operation": "boost", + "score": -0.021443016827106476 + } + } + } }, "else": { "operation": "boost", - "score": 0.0020378907211124897 + "score": -0.015141594223678112 } - }, - "else": { - "operation": "boost", - "score": 0.010121195577085018 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0013494022423401475 }, "else": { "operation": "boost", - "score": -0.02443992905318737 + "score": 0.027154888957738876 } } + }, + "else": { + "operation": "boost", + "score": -0.005631088744848967 } - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07403932511806488 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 3005.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.0, - "then": { - "operation": "boost", - "score": 0.055365197360515594 - }, - "else": { - "operation": "boost", - "score": 0.10979042202234268 - } + "operation": "boost", + "score": 0.0234302319586277 }, "else": { "operation": "boost", - "score": 0.010751128196716309 + "score": 0.008615506812930107 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.5566332340240479 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3166.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.0584104023873806 + "score": 0.016595080494880676 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7110.5, - "then": { - "operation": "boost", - "score": 0.10277233272790909 - }, - "else": { - "operation": "boost", - "score": 0.09437299519777298 - } + "operation": "boost", + "score": 0.07845385372638702 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 774.5, - "then": { - "operation": "boost", - "score": 0.11435742676258087 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.019355997443199158 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.006117547396570444 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2734.0, "then": { - "operation": "boost", - "score": -0.21816116571426392 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 2793.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.11501234769821167 - }, - "else": { - "operation": "boost", - "score": 0.08927693217992783 - } - }, - "else": { - "operation": "boost", - "score": -0.0816602036356926 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "boost", - "score": 0.07767056673765182 - }, - "else": { - "operation": "boost", - "score": 0.10333199799060822 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00398599449545145 - } + "operation": "boost", + "score": -0.030927347019314766 }, "else": { + "operation": "boost", + "score": 0.11173368245363235 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 40.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47.5, + "threshold": 56.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.0, - "then": { - "operation": "boost", - "score": 0.1008104532957077 - }, - "else": { - "operation": "boost", - "score": 0.11650873720645905 - } + "operation": "boost", + "score": 0.0675099790096283 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 17.5, + "threshold": 55.5, "then": { "operation": "boost", - "score": 0.05577710643410683 + "score": 0.14608028531074524 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1011265367269516 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12136198580265045 + }, + "else": { + "operation": "boost", + "score": -0.17328450083732605 + } }, "else": { - "operation": "boost", - "score": -0.18199941515922546 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.060176920145750046 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "boost", + "score": 0.12145481258630753 + }, + "else": { + "operation": "boost", + "score": 0.02510826289653778 + } + }, + "else": { + "operation": "boost", + "score": 0.10786628723144531 + } + } } } } }, "else": { "operation": "boost", - "score": -0.024763863533735275 + "score": 0.06865250319242477 } + }, + "else": { + "operation": "boost", + "score": 0.032116666436195374 } } } }, "else": { "operation": "boost", - "score": 0.027114907279610634 + "score": 0.02695772796869278 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "boost", - "score": 0.06474222242832184 - }, - "else": { - "operation": "boost", - "score": 0.00890809204429388 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04230620712041855 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.09761742502450943 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11158162355422974 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.027494490146636963 + }, + "else": { + "operation": "boost", + "score": 0.030500654131174088 + } + } + }, + "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.004520157352089882 + }, + "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, + "then": { + "operation": "boost", + "score": -0.027854278683662415 + }, + "else": { + "operation": "boost", + "score": 0.09708821773529053 + } + }, + "else": { + "operation": "boost", + "score": -0.11662982404232025 + } + }, + "else": { + "operation": "boost", + "score": -0.006602647714316845 + } + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { + "operation": "boost", + "score": 0.009083997458219528 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.0, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11077670753002167 + "score": -0.01356183085590601 }, "else": { "operation": "boost", - "score": -0.048764534294605255 + "score": -0.03374127298593521 } - }, - "else": { - "operation": "boost", - "score": 0.12462858110666275 } } } }, "else": { - "operation": "boost", - "score": 0.013005302287638187 + "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.022714626044034958 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.11684924364089966 + }, + "else": { + "operation": "boost", + "score": -0.09655643999576569 + } + } } } }, "else": { "operation": "boost", - "score": 0.011080117896199226 - } - }, - "else": { - "operation": "boost", - "score": 0.00928528606891632 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05397386476397514 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0032724151387810707 - }, - "else": { - "operation": "boost", - "score": 0.023279177024960518 + "score": 0.007516422308981419 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], - "then": { - "operation": "boost", - "score": -0.028301456943154335 - }, - "else": { - "operation": "boost", - "score": -0.2031826674938202 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11519493162631989 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.038514573127031326 - }, - "else": { - "operation": "boost", - "score": -0.04270822927355766 - } - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07420844584703445 - }, - "else": { - "operation": "boost", - "score": -1.675640305620618e-05 - } + "operation": "boost", + "score": -0.015702322125434875 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Function" ], "then": { "operation": "boost", - "score": 0.07021824270486832 + "score": 0.036052439361810684 }, "else": { "operation": "boost", - "score": 0.01245715469121933 + "score": -0.020671159029006958 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -2.0104864233871922e-05 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 71.0, "then": { + "operation": "boost", + "score": -0.06571249663829803 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 61.5, "then": { + "operation": "boost", + "score": 0.12292664498090744 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.008712809532880783 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 29.5, "then": { "operation": "boost", - "score": 0.05040774121880531 + "score": 0.13769814372062683 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03409062325954437 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1322704404592514 - }, - "else": { - "operation": "boost", - "score": -0.02547968365252018 - } - }, - "else": { - "operation": "boost", - "score": 0.10242437571287155 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.16361050307750702 + "score": 0.10721609741449356 }, "else": { "operation": "boost", - "score": 0.10490462929010391 + "score": -0.060143545269966125 } }, "else": { "operation": "boost", - "score": 0.04607094079256058 + "score": 0.13025374710559845 } - }, - "else": { - "operation": "boost", - "score": -0.07228367775678635 } + }, + "else": { + "operation": "boost", + "score": -0.025919266045093536 } + }, + "else": { + "operation": "boost", + "score": 0.026409391313791275 } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0057294913567602634 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.08777084201574326 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.057540904730558395 }, "else": { "operation": "boost", - "score": 0.03131856769323349 + "score": 0.11501388996839523 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.023393750190734863 + "score": -0.1942962408065796 }, "else": { - "operation": "boost", - "score": 0.004021270666271448 + "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 + } } } } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224557.0, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "boost", + "score": 0.015986865386366844 + }, + "else": { + "operation": "boost", + "score": -0.044042449444532394 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": -0.46008795499801636 + }, + "else": { + "operation": "boost", + "score": -0.08655750006437302 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204563.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07335144281387329 }, "else": { "operation": "boost", - "score": -0.005918899085372686 + "score": 0.06937139481306076 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "boost", + "score": -0.3567558825016022 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07866512984037399 - }, - "else": { - "operation": "boost", - "score": 0.013878436759114265 - } + "operation": "boost", + "score": 0.08450423181056976 }, "else": { "operation": "boost", - "score": -0.0875052958726883 + "score": 0.10145487636327744 } + }, + "else": { + "operation": "boost", + "score": 0.07845914363861084 } } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 176731.0, "then": { "operation": "boost", - "score": -0.04601967707276344 + "score": -0.10569055378437042 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 174936.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": -0.11727001518011093 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04872918501496315 + }, + "else": { + "operation": "boost", + "score": 0.1230851262807846 + } }, "else": { + "operation": "boost", + "score": -0.201684832572937 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 13286.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24339.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "boost", + "score": 0.015632594004273415 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.004823131486773491 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 18534.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, "then": { - "operation": "boost", - "score": 0.045150283724069595 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.023726141080260277 + }, + "else": { + "operation": "boost", + "score": 0.10866213589906693 + } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19373.5, "then": { "operation": "boost", - "score": 0.07967983931303024 + "score": 0.11039309948682785 }, "else": { "operation": "boost", - "score": -0.10923513025045395 + "score": 0.28200554847717285 } } }, @@ -111301,1848 +109022,1553 @@ "feature": "FileProximityDistance", "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11880671232938766 - }, - "else": { - "operation": "boost", - "score": 0.09453815966844559 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1039368063211441 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 486.0, - "then": { - "operation": "boost", - "score": 0.18490836024284363 - }, - "else": { - "operation": "boost", - "score": 0.132513165473938 - } - } - } + "operation": "boost", + "score": 0.11379911005496979 }, "else": { "operation": "boost", - "score": 0.05278607830405235 + "score": 0.04679002985358238 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28225.0, + "threshold": 15708.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16227.0, "then": { "operation": "boost", - "score": 0.10735121369361877 + "score": -0.13028055429458618 }, "else": { "operation": "boost", - "score": -0.010493648238480091 + "score": 0.11493513733148575 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10263888537883759 - }, - "else": { - "operation": "boost", - "score": 0.000931141315959394 - } + "operation": "boost", + "score": 0.007343273144215345 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82455.5, - "then": { - "operation": "boost", - "score": -0.20853525400161743 - }, - "else": { - "operation": "boost", - "score": 0.009493994526565075 - } + "operation": "boost", + "score": 0.06196891888976097 } + }, + "else": { + "operation": "boost", + "score": 0.04212542623281479 } - }, - "else": { - "operation": "boost", - "score": 0.04674219340085983 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13235.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 415.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, - "then": { - "operation": "boost", - "score": -0.11957152932882309 - }, - "else": { - "operation": "boost", - "score": 0.11397691071033478 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.17308409512043 - }, - "else": { - "operation": "boost", - "score": 0.09285422414541245 - } - } - }, - "else": { - "operation": "boost", - "score": 0.007969885133206844 - } + "operation": "boost", + "score": 0.07794139534235 }, "else": { "operation": "boost", - "score": -0.011856607161462307 + "score": 0.12363641709089279 } }, "else": { - "operation": "boost", - "score": -0.06831783056259155 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0861658900976181 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.041219741106033325 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.051534153521060944 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12924.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04316925257444382 - }, - "else": { - "operation": "boost", - "score": -0.02452743612229824 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 13192.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08770910650491714 - }, - "else": { - "operation": "boost", - "score": 0.01909269392490387 - } + "operation": "boost", + "score": -0.28609707951545715 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07312857359647751 - }, - "else": { - "operation": "boost", - "score": 0.08775657415390015 - } + "operation": "boost", + "score": 0.11518270522356033 }, "else": { "operation": "boost", - "score": 0.05608701333403587 + "score": 0.10485021024942398 } } }, "else": { "operation": "boost", - "score": 0.14717385172843933 + "score": 0.08216260373592377 } + }, + "else": { + "operation": "boost", + "score": 0.10856101661920547 } - }, - "else": { - "operation": "boost", - "score": 0.044798824936151505 } } } }, "else": { - "operation": "boost", - "score": -0.0026738152373582125 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.009891904890537262 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31541.5, "then": { - "operation": "boost", - "score": 0.06580476462841034 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 32026.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0745672807097435 - }, - "else": { - "operation": "boost", - "score": 0.10033954679965973 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 44392.0, "then": { "operation": "boost", - "score": -0.0009159179753623903 + "score": 0.027543196454644203 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32674.0, "then": { "operation": "boost", - "score": -0.14175507426261902 + "score": 0.09304960072040558 }, "else": { "operation": "boost", - "score": 0.12633495032787323 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015591751784086227 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.015828652307391167 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13024964928627014 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.07667005807161331 - }, - "else": { - "operation": "boost", - "score": 0.12212435156106949 - } + "score": -0.16813907027244568 } - }, - "else": { - "operation": "boost", - "score": 0.08101535588502884 } }, "else": { "operation": "boost", - "score": 0.08037293702363968 + "score": 0.09613671153783798 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09236675500869751 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11367440968751907 }, "else": { "operation": "boost", - "score": 0.07337569445371628 + "score": 0.0030552095267921686 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.014364561066031456 - }, - "else": { - "operation": "boost", - "score": 0.0779157280921936 - } + "operation": "boost", + "score": 0.024136044085025787 } }, "else": { - "operation": "boost", - "score": 0.01638711988925934 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "then": { + "operation": "boost", + "score": -0.09474243968725204 + }, + "else": { + "operation": "boost", + "score": -0.006807259749621153 + } } - }, - "else": { - "operation": "boost", - "score": 0.002801627153530717 } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0028002571780234575 - }, - "else": { - "operation": "boost", - "score": 0.040631357580423355 - } } - }, - "else": { - "operation": "boost", - "score": -0.0114973746240139 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.006251648999750614 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10577607154846191 + "score": 0.04681963101029396 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011087448336184025 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": -0.09092914313077927 - }, - "else": { - "operation": "boost", - "score": -0.012490822933614254 - } - } + "operation": "boost", + "score": 0.018327239900827408 } } } - } - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63357.5, - "then": { - "operation": "boost", - "score": 0.10297707468271255 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ + "FunctionScope", "ClassScope", - "GlobalScope", "FileScope" ], "then": { - "operation": "boost", - "score": -0.023786675184965134 + "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.23272168636322021 + "score": -0.009383740834891796 } } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "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, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.0452551543712616 + "score": 0.09913903474807739 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.05734127387404442 - }, - "else": { - "operation": "boost", - "score": -0.007116962224245071 - } + "operation": "boost", + "score": 0.04694843664765358 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.0005988441989757121 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.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.005837203003466129 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.14338935911655426 - }, - "else": { - "operation": "boost", - "score": 0.15523314476013184 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 250.0, - "then": { - "operation": "boost", - "score": 0.0868954285979271 - }, - "else": { - "operation": "boost", - "score": 0.3366911709308624 - } - }, - "else": { - "operation": "boost", - "score": -0.1842506378889084 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1097.0, - "then": { - "operation": "boost", - "score": -0.1661110818386078 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 354.0, - "then": { - "operation": "boost", - "score": 0.12346350401639938 - }, - "else": { - "operation": "boost", - "score": 0.14626774191856384 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11357425898313522 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09902340173721313 - }, - "else": { - "operation": "boost", - "score": 0.08685312420129776 - } - } - } + "operation": "boost", + "score": 0.04381747171282768 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3079.0, - "then": { - "operation": "boost", - "score": -0.05121956393122673 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1069.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1095.0, - "then": { - "operation": "boost", - "score": 0.005241103004664183 - }, - "else": { - "operation": "boost", - "score": 0.11572844535112381 - } - }, - "else": { - "operation": "boost", - "score": 0.005776835139840841 - } - } + "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": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5949.5, "then": { "operation": "boost", - "score": -0.023998642340302467 + "score": 0.04088205099105835 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.05863862484693527 + "score": 0.1106129139661789 }, "else": { "operation": "boost", - "score": 0.06672707945108414 + "score": 0.062056198716163635 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.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": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 412.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18715.0, + "threshold": 528.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.04479234665632248 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 763.0, "then": { "operation": "boost", - "score": 0.08456109464168549 + "score": 0.07565879821777344 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 706.0, "then": { "operation": "boost", - "score": 0.11977824568748474 + "score": 0.1210116297006607 }, "else": { "operation": "boost", - "score": 0.10555430501699448 + "score": 0.059592969715595245 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.02027963474392891 }, "else": { "operation": "boost", - "score": 0.015587177127599716 + "score": 0.03309042006731033 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.024006173014640808 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 522.5, "then": { - "operation": "boost", - "score": -0.000415443122619763 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.04302443191409111 + "score": 0.17864273488521576 + }, + "else": { + "operation": "boost", + "score": -0.1379636824131012 + } + }, + "else": { + "operation": "boost", + "score": -0.11810654401779175 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10969620943069458 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2311224341392517 + }, + "else": { + "operation": "boost", + "score": 0.13080105185508728 + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "boost", + "score": 0.06909742951393127 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1282534897327423 + "score": -0.30139365792274475 }, "else": { - "operation": "boost", - "score": -0.11550538241863251 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478.0, + "then": { + "operation": "boost", + "score": 0.12187453359365463 + }, + "else": { + "operation": "boost", + "score": 0.09429962933063507 + } } - }, - "else": { - "operation": "boost", - "score": 0.14457689225673676 } } - }, - "else": { - "operation": "boost", - "score": 0.04418899118900299 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.02033322863280773 - }, - "else": { - "operation": "boost", - "score": -0.01614583656191826 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.10728028416633606 - }, - "else": { - "operation": "boost", - "score": -0.03525068238377571 - } - } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.054847683757543564 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.06482494622468948 + "score": 0.3566650152206421 }, "else": { "operation": "boost", - "score": 0.10295075923204422 + "score": 0.13125775754451752 } - }, - "else": { - "operation": "boost", - "score": 0.028978513553738594 } }, "else": { "operation": "boost", - "score": -0.037959128618240356 + "score": 0.06506606936454773 } }, "else": { "operation": "boost", - "score": -0.02707875333726406 + "score": 0.019475573673844337 } } } - }, - "else": { - "operation": "boost", - "score": -0.042410947382450104 } + }, + "else": { + "operation": "boost", + "score": 0.005967679433524609 } - }, - "else": { - "operation": "boost", - "score": -0.031170470640063286 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": -0.04696986451745033 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08355846256017685 - }, - "else": { - "operation": "boost", - "score": 0.05331382155418396 - } - }, - "else": { - "operation": "boost", - "score": -0.024246128275990486 - } + "operation": "boost", + "score": 0.02731511741876602 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07225943356752396 + "score": -0.009175068698823452 }, "else": { "operation": "boost", - "score": 0.019751068204641342 + "score": 0.1464824676513672 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 13.5, "then": { "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08101298660039902 - }, - "else": { - "operation": "boost", - "score": 0.037016768008470535 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Type" ], - "then": { - "operation": "boost", - "score": 0.11359675973653793 - }, - "else": { - "operation": "boost", - "score": 0.08596516400575638 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.05963902175426483 - }, - "else": { - "operation": "boost", - "score": 0.04033254086971283 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.05599071457982063 - }, - "else": { - "operation": "boost", - "score": 0.027933195233345032 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010194060392677784 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02863834984600544 - }, - "else": { - "operation": "boost", - "score": -0.024695906788110733 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04691870138049126 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.06890954077243805 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.07860857993364334 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.11816012114286423 + }, + "else": { + "operation": "boost", + "score": 0.16553561389446259 + } + }, + "else": { + "operation": "boost", + "score": 0.11606702953577042 + } + } }, "else": { - "operation": "boost", - "score": 0.08631971478462219 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12354361265897751 + }, + "else": { + "operation": "boost", + "score": 0.1591312140226364 + } + }, + "else": { + "operation": "boost", + "score": -0.10022890567779541 + } } }, "else": { "operation": "boost", - "score": 0.04948004335165024 + "score": -0.0051230210810899734 } + }, + "else": { + "operation": "boost", + "score": 0.06304684281349182 } } - } - }, - "else": { - "operation": "boost", - "score": 0.004258050583302975 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.016918402165174484 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.06278662383556366 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1113179475069046 + }, + "else": { + "operation": "boost", + "score": 0.1630907505750656 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.11848624050617218 + }, + "else": { + "operation": "boost", + "score": 0.10832832008600235 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12512187659740448 + } }, "else": { - "operation": "boost", - "score": 0.07164609432220459 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06731564551591873 + } } }, "else": { "operation": "boost", - "score": -0.27106189727783203 + "score": 0.08006951212882996 } }, "else": { "operation": "boost", - "score": 0.04790361598134041 + "score": -0.0791751891374588 } + }, + "else": { + "operation": "boost", + "score": 0.0645354688167572 } }, "else": { "operation": "boost", - "score": 0.011132033541798592 + "score": 0.004929039627313614 } - }, - "else": { - "operation": "boost", - "score": 0.10580284893512726 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.2447209507226944 + "score": -0.002144545316696167 }, "else": { "operation": "boost", - "score": -0.4632927179336548 + "score": 0.04061449319124222 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017207102850079536 - }, - "else": { - "operation": "boost", - "score": -0.05924196541309357 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008977082557976246 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.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": 6290.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6693.0, + "threshold": 30.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7133.0, - "then": { - "operation": "boost", - "score": 0.03814062476158142 - }, - "else": { - "operation": "boost", - "score": 0.12245067209005356 - } - }, - "else": { - "operation": "boost", - "score": 0.12035518884658813 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "threshold": 31.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 41.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 123.0, + "threshold": 50.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 221.5, - "then": { - "operation": "boost", - "score": 0.09841705858707428 - }, - "else": { - "operation": "boost", - "score": 0.11801572889089584 - } + "operation": "boost", + "score": -0.148782879114151 }, "else": { "operation": "boost", - "score": 0.3508569896221161 + "score": 0.1279321312904358 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "boost", - "score": 0.06963499635457993 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12252113968133926 - }, - "else": { - "operation": "boost", - "score": -0.8922417163848877 - } - } + "operation": "boost", + "score": 0.0649547204375267 } }, "else": { "operation": "boost", - "score": 0.06240832060575485 + "score": -0.14729788899421692 } }, "else": { "operation": "boost", - "score": 0.03342515975236893 + "score": 0.11050157248973846 } }, "else": { "operation": "boost", - "score": 0.10995597392320633 + "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.041845522820949554 + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.024975204840302467 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11404133588075638 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "boost", + "score": -0.08357851952314377 + }, + "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.011040485464036465 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": -0.041530925780534744 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "boost", - "score": 0.03095139190554619 + "score": 0.03112807869911194 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.00858989916741848 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.04817595332860947 + }, + "else": { + "operation": "boost", + "score": 0.0021273980382829905 + } + }, + "else": { + "operation": "boost", + "score": -0.024977784603834152 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 409.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 414.5, - "then": { - "operation": "boost", - "score": 0.10565406084060669 - }, - "else": { - "operation": "boost", - "score": 0.1262163668870926 - } - }, - "else": { - "operation": "boost", - "score": 0.06823015958070755 - } + "operation": "boost", + "score": 0.03078744374215603 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.06273262202739716 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 332.5, - "then": { - "operation": "boost", - "score": 0.1603890210390091 - }, - "else": { - "operation": "boost", - "score": 0.12487947940826416 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 300.5, - "then": { - "operation": "boost", - "score": 0.08100386708974838 - }, - "else": { - "operation": "boost", - "score": 0.11778443306684494 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08016069233417511 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.11656740307807922 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11209364235401154 - }, - "else": { - "operation": "boost", - "score": -0.11329293251037598 - } - }, - "else": { - "operation": "boost", - "score": 0.1016768217086792 - } - } - } + "operation": "boost", + "score": 0.013491070829331875 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.116683728992939 + "score": -0.0593934990465641 }, "else": { "operation": "boost", - "score": 0.09450040757656097 + "score": 0.0875178873538971 } } + }, + "else": { + "operation": "boost", + "score": 0.05150885134935379 } } }, "else": { "operation": "boost", - "score": 0.05426938459277153 + "score": 0.038324348628520966 } }, "else": { - "operation": "boost", - "score": 0.07107143849134445 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.034485019743442535 + }, + "else": { + "operation": "boost", + "score": 0.024164322763681412 + } } }, "else": { "operation": "boost", - "score": 0.06830830127000809 + "score": 0.019254712387919426 } }, "else": { "operation": "boost", - "score": -0.01371056865900755 + "score": -5.609936488326639e-05 } } } + } + } + } + } + } + }, + "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.05761202052235603 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04139203578233719 + "score": 0.08835535496473312 }, "else": { - "operation": "boost", - "score": 0.015822086483240128 + "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 + } + } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor" + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06809554249048233 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027999527752399445 + }, + "else": { + "operation": "boost", + "score": 0.07440938800573349 + } }, "else": { - "operation": "boost", - "score": 0.009949804283678532 + "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": "boost", - "score": -0.010557033121585846 + "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 + } + } } } }, "else": { "operation": "boost", - "score": 0.00597014557570219 + "score": -0.09656775742769241 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.008343510329723358 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.015593133866786957 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "FunctionScope" ], "then": { "operation": "boost", - "score": 0.042940616607666016 + "score": 0.014626646414399147 }, "else": { "operation": "boost", - "score": -0.06251554191112518 + "score": 0.006269518285989761 } + }, + "else": { + "operation": "boost", + "score": 0.00018556686700321734 } }, "else": { "operation": "boost", - "score": -0.012528588064014912 + "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 } } } @@ -113161,186 +110587,166 @@ "operation": "if_member", "feature": "Scope", "set": [ - "FunctionScope" + "FunctionScope", + "FileScope" ], "then": { - "operation": "boost", - "score": 0.021665342152118683 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 594.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16649.0, - "then": { - "operation": "boost", - "score": -0.04235466569662094 - }, - "else": { - "operation": "boost", - "score": 0.05681317672133446 - } + "operation": "boost", + "score": 0.07809092104434967 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.013866784051060677 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02509007416665554 - }, - "else": { - "operation": "boost", - "score": 0.0019261352717876434 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.009193711914122105 + "score": 0.15181852877140045 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.023106681182980537 - }, - "else": { - "operation": "boost", - "score": -0.12154222279787064 - } + "operation": "boost", + "score": -0.09384829550981522 } }, "else": { - "operation": "boost", - "score": 0.007394708227366209 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11849839985370636 + }, + "else": { + "operation": "boost", + "score": -0.1195109561085701 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0516388826072216 - }, - "else": { - "operation": "boost", - "score": -0.04901925101876259 + }, + "else": { + "operation": "boost", + "score": 0.005504683591425419 } }, "else": { "operation": "boost", - "score": 0.018839918076992035 + "score": -0.01450575701892376 } } + }, + "else": { + "operation": "boost", + "score": 0.007579066790640354 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86511.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 89117.0, + "threshold": 195234.5, "then": { - "operation": "boost", - "score": 0.022237151861190796 + "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.08186940848827362 + "score": 0.002482177224010229 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49723.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.11416339874267578 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44616.0, + "threshold": 78.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 80.5, "then": { "operation": "boost", - "score": 0.14737862348556519 + "score": 0.08947324007749557 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.10578005760908127 - }, - "else": { - "operation": "boost", - "score": 0.11909393221139908 - } - }, - "else": { - "operation": "boost", - "score": 0.06129204109311104 - } + "operation": "boost", + "score": 0.12988892197608948 } }, "else": { "operation": "boost", - "score": 0.0038208127953112125 + "score": 0.05361367389559746 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.09828212112188339 + }, + "else": { + "operation": "boost", + "score": -0.14771823585033417 } } } @@ -113349,333 +110755,213 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 145.5, + "threshold": 44220.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4063.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13582.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 337965.5, + "threshold": 234860.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.0833214819431305 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.10735158622264862 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.15910527110099792 + }, + "else": { + "operation": "boost", + "score": 0.12943081557750702 + } }, "else": { "operation": "boost", - "score": 0.07163992524147034 + "score": -0.12051382660865784 } + }, + "else": { + "operation": "boost", + "score": -0.016884129494428635 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0059435684233903885 + "score": -0.004051030147820711 }, "else": { - "operation": "boost", - "score": -0.03674878552556038 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6676.0, + "threshold": 174254.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13324.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10933265089988708 - }, - "else": { - "operation": "boost", - "score": 0.10361474007368088 - } + "operation": "boost", + "score": 0.07946082949638367 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7143.0, + "operation": "boost", + "score": 0.060460858047008514 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.052440933883190155 + "score": 0.11788507550954819 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10805355757474899 - }, - "else": { - "operation": "boost", - "score": 0.07532232254743576 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7126.0, - "then": { - "operation": "boost", - "score": 0.12233757972717285 - }, - "else": { - "operation": "boost", - "score": 0.06422586739063263 - } - } + "operation": "boost", + "score": 0.09264495968818665 } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06031012535095215 + }, + "else": { + "operation": "boost", + "score": 0.005771809257566929 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64855.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11209.5, + "threshold": 132033.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12619.0, - "then": { - "operation": "boost", - "score": 0.08395449817180634 - }, - "else": { - "operation": "boost", - "score": 0.005021858029067516 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11200.0, + "threshold": 174936.5, "then": { - "operation": "boost", - "score": 0.10371502488851547 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7635.5, + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 296854.0, "then": { - "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": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9552.5, - "then": { - "operation": "boost", - "score": 0.10791390389204025 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8217.5, - "then": { - "operation": "boost", - "score": -0.12406571954488754 - }, - "else": { - "operation": "boost", - "score": 0.11503098160028458 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11565479636192322 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7875.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9366.0, - "then": { - "operation": "boost", - "score": 0.09366585314273834 - }, - "else": { - "operation": "boost", - "score": 0.12851804494857788 - } - }, - "else": { - "operation": "boost", - "score": -0.002059723949059844 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07640116661787033 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10956.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11058.5, - "then": { - "operation": "boost", - "score": 0.07054818421602249 - }, - "else": { - "operation": "boost", - "score": 0.11022721976041794 - } - }, - "else": { - "operation": "boost", - "score": 0.056037694215774536 - } - } + "operation": "boost", + "score": 0.012188334949314594 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8440.0, + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.13756036758422852 - }, - "else": { - "operation": "boost", - "score": -0.7711382508277893 - } - }, - "else": { - "operation": "boost", - "score": 0.08391585201025009 - } + "operation": "boost", + "score": -0.10784579813480377 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8187.0, + "threshold": 288840.5, "then": { "operation": "boost", - "score": 0.11558394879102707 + "score": -0.6314000487327576 }, "else": { "operation": "boost", - "score": 0.09460335224866867 + "score": -0.46236273646354675 } } } @@ -113684,151 +110970,234 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "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": [ - "Namespace", - "Function" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.07881200313568115 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6799.0, + "threshold": 220295.0, "then": { + "operation": "boost", + "score": 0.07654829323291779 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6931.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10812094807624817 - }, - "else": { - "operation": "boost", - "score": 0.0994337946176529 - } - }, - "else": { - "operation": "boost", - "score": -0.14024627208709717 - } + "operation": "boost", + "score": 0.06255797296762466 }, "else": { "operation": "boost", - "score": 0.11167776584625244 + "score": 0.11455372720956802 } - }, - "else": { - "operation": "boost", - "score": -0.1185031309723854 } + }, + "else": { + "operation": "boost", + "score": 0.04635797068476677 } }, "else": { "operation": "boost", - "score": 0.05528903752565384 + "score": -0.06333442777395248 } }, "else": { "operation": "boost", - "score": 0.031609997153282166 + "score": -0.03606041893362999 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6664.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.11486238241195679 }, "else": { - "operation": "boost", - "score": 0.1161063089966774 + "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 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": 0.13139721751213074 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.1481933891773224 + "score": -0.02715246193110943 } } }, "else": { - "operation": "boost", - "score": -0.666950523853302 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.033725619316101074 + }, + "else": { + "operation": "boost", + "score": -0.21179643273353577 + } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "boost", - "score": 0.12329576164484024 + "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.08096009492874146 + "score": 0.003938344307243824 } } } @@ -113837,505 +111206,411 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4105.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.06570769846439362 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16689898073673248 + }, + "else": { + "operation": "boost", + "score": 0.10738355666399002 + } }, "else": { "operation": "boost", - "score": 0.10059666633605957 + "score": 0.11525668948888779 } }, "else": { "operation": "boost", - "score": 0.028433673083782196 + "score": -0.348863810300827 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.01531051006168127 - }, - "else": { - "operation": "boost", - "score": -0.7898091673851013 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.5, - "then": { - "operation": "boost", - "score": 0.16323307156562805 - }, - "else": { - "operation": "boost", - "score": 0.12866726517677307 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0504194051027298 + "score": -0.18300673365592957 }, "else": { - "operation": "boost", - "score": 0.04194983094930649 + "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.03345656767487526 + }, + "else": { + "operation": "boost", + "score": -0.022295678034424782 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1000.5, + "threshold": 298482.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 549246.0, "then": { - "operation": "boost", - "score": -0.05836154893040657 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.05258883535861969 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1412.5, + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.07752158492803574 + "score": 0.015354830771684647 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1236.5, + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07099756598472595 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09776517003774643 + }, + "else": { + "operation": "boost", + "score": -0.07490992546081543 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11078456044197083 + "score": 0.07398351281881332 }, "else": { "operation": "boost", - "score": 0.12278332561254501 + "score": -0.2677353620529175 } + }, + "else": { + "operation": "boost", + "score": -0.028524456545710564 } } + }, + "else": { + "operation": "boost", + "score": -0.00945724081248045 } }, "else": { - "operation": "boost", - "score": 0.06596323102712631 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.0678216814994812 + "score": 0.1118842288851738 }, "else": { "operation": "boost", - "score": 0.049216631799936295 + "score": -0.06151549518108368 } - }, - "else": { - "operation": "boost", - "score": 0.020960306748747826 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.041780129075050354 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18305.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18474.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Function" + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.056924864649772644 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "boost", + "score": 0.008303452283143997 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89516.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.10910964012145996 + }, + "else": { + "operation": "boost", + "score": 0.1233953982591629 + } + }, + "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 + } + } + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.06698057055473328 + "operation": "if_greater", + "feature": "HadContextType", + "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.18995285034179688 + }, + "else": { + "operation": "boost", + "score": 0.13981030881404877 + } + }, + "else": { + "operation": "boost", + "score": 0.7134833931922913 + } + }, + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.025334106758236885 + "score": 0.016658395528793335 } } - }, - "else": { - "operation": "boost", - "score": -0.2323005050420761 } - }, - "else": { - "operation": "boost", - "score": 0.015890996903181076 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2082824558019638 - }, - "else": { - "operation": "boost", - "score": 0.12112729996442795 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.008174097165465355 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.015603997744619846 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.06463178992271423 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 503.0, + "threshold": 190379.0, "then": { "operation": "boost", - "score": 0.07053765654563904 + "score": 0.0032315836288034916 }, "else": { - "operation": "boost", - "score": 0.10244298726320267 - } - }, - "else": { - "operation": "boost", - "score": -0.4583507776260376 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0015945810591802 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 23.0, - "then": { - "operation": "boost", - "score": 0.0028547325637191534 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.02525346167385578 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "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.12282266467809677 + "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.07975032180547714 + "score": -0.10156150907278061 } - }, - "else": { - "operation": "boost", - "score": -0.04960218071937561 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.08088698238134384 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "boost", - "score": 0.06405617296695709 + "score": 0.11952745914459229 }, "else": { "operation": "boost", - "score": 0.011954947374761105 + "score": 0.11380952596664429 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.12404002994298935 - }, - "else": { - "operation": "boost", - "score": 0.12453410774469376 - } - }, - "else": { - "operation": "boost", - "score": 0.26370567083358765 - } - }, - "else": { - "operation": "boost", - "score": 0.14006182551383972 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.11261317133903503 - }, - "else": { - "operation": "boost", - "score": 0.1277192384004593 - } - }, - "else": { - "operation": "boost", - "score": 0.11239030957221985 - } - } - }, - "else": { - "operation": "boost", - "score": 0.031006842851638794 - } - }, - "else": { - "operation": "boost", - "score": 0.028701502829790115 - } - }, - "else": { - "operation": "boost", - "score": 0.02873699739575386 - } + "operation": "boost", + "score": -0.1334874927997589 }, "else": { "operation": "if_greater", @@ -114343,109 +111618,309 @@ "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.05540456250309944 + "score": 0.07007722556591034 }, "else": { "operation": "boost", - "score": -0.0431489534676075 + "score": 0.10998072475194931 } } } } - }, - "else": { - "operation": "boost", - "score": -0.005627215839922428 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.050731029361486435 + "score": 0.046225108206272125 }, "else": { "operation": "boost", - "score": -0.0013564835535362363 + "score": -0.0655016154050827 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { - "operation": "boost", - "score": -0.04392886906862259 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.027662521228194237 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357084.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.005459258332848549 + }, + "else": { + "operation": "boost", + "score": 0.14077933132648468 + } + }, + "else": { + "operation": "boost", + "score": 0.03621353581547737 + } + }, + "else": { + "operation": "boost", + "score": 0.041892506182193756 + } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", "Function" ], "then": { "operation": "boost", - "score": -0.014774339273571968 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.07598315924406052 + } + }, + "else": { + "operation": "boost", + "score": 0.12495332956314087 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005581398960202932 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.008136586286127567 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.009963863529264927 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0026814586017280817 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.1444927603006363 - }, - "else": { - "operation": "boost", - "score": 0.0327194444835186 - } + "operation": "boost", + "score": 0.08461099863052368 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.00910708773881197 + "score": 0.08492794632911682 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.12207574397325516 + "score": 0.10750753432512283 }, "else": { "operation": "boost", - "score": 0.11141052097082138 + "score": 0.11984872817993164 } } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04221540316939354 + }, + "else": { + "operation": "boost", + "score": 0.05612543225288391 + } + } + }, + "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_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06309624016284943 + }, + "else": { + "operation": "boost", + "score": -0.03921071067452431 } + }, + "else": { + "operation": "boost", + "score": -0.014901822432875633 } } } @@ -114462,2633 +111937,2552 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.15109668672084808 - }, - "else": { - "operation": "boost", - "score": -0.14109815657138824 - } + "operation": "boost", + "score": -0.1339544802904129 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.029595548287034035 + "score": 0.011085816659033298 }, "else": { "operation": "boost", - "score": 0.004930727183818817 + "score": 0.04091113060712814 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.057852257043123245 - }, - "else": { - "operation": "boost", - "score": 0.01141208317130804 - } + "operation": "boost", + "score": -0.0002573787060100585 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6360.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 6388.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "Variable" ], "then": { - "operation": "boost", - "score": 0.0076864855363965034 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0023772954009473324 + "score": 0.010225612670183182 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02742299810051918 - }, - "else": { - "operation": "boost", - "score": -0.134324848651886 - } - }, - "else": { - "operation": "boost", - "score": -0.08375463634729385 - } + "operation": "boost", + "score": 0.10907746106386185 } + }, + "else": { + "operation": "boost", + "score": 0.035427525639534 } }, "else": { "operation": "boost", - "score": -0.011760136112570763 + "score": 0.11538082361221313 } }, "else": { - "operation": "boost", - "score": 0.02382338047027588 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 637.0, + "then": { + "operation": "boost", + "score": -0.022763114422559738 + }, + "else": { + "operation": "boost", + "score": 0.030123943462967873 + } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.03244130685925484 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.014136077836155891 + "score": 0.08628743141889572 }, "else": { "operation": "boost", - "score": -0.06493932753801346 + "score": 0.0016646413132548332 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009740496054291725 + }, + "else": { + "operation": "boost", + "score": -0.14481323957443237 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20119620859622955 }, "else": { "operation": "boost", - "score": -0.16966724395751953 + "score": -0.017781270667910576 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "Keyword", + "Destructor", + "Unknown", + "Function", + "Type", + "Namespace" ], "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": 2.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "boost", + "score": 0.01829403266310692 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.03468697890639305 - }, - "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.07458092272281647 + "score": 0.0020563064608722925 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.12791098654270172 + "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.08824238181114197 + "score": -0.09474018216133118 } } }, "else": { "operation": "boost", - "score": 0.013237114995718002 + "score": -0.03378302603960037 } + }, + "else": { + "operation": "boost", + "score": -0.1325269341468811 } + } + }, + "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.025500690564513206 + "score": -0.05254213511943817 } - }, - "else": { - "operation": "boost", - "score": 0.004779530223459005 } }, "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": 11.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.06635097414255142 + "score": 0.17390106618404388 }, "else": { "operation": "boost", - "score": 0.04858088493347168 + "score": 0.1270388960838318 } + }, + "else": { + "operation": "boost", + "score": -0.11848245561122894 } }, "else": { "operation": "boost", - "score": -0.054720208048820496 + "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, + "then": { + "operation": "boost", + "score": 0.07563205808401108 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07400606572628021 + }, + "else": { + "operation": "boost", + "score": 0.11635338515043259 + } + }, + "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": "NumReferences", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.02688702382147312 + "score": 0.06180323660373688 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.5, + "threshold": 190379.0, "then": { "operation": "boost", - "score": 0.05373759567737579 + "score": 0.0029950204771012068 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "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": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07004250586032867 + "score": 0.03513401746749878 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12492474168539047 - }, - "else": { - "operation": "boost", - "score": 0.12219167500734329 - } + "operation": "boost", + "score": 0.10457836836576462 } }, "else": { "operation": "boost", - "score": 0.05726344883441925 + "score": -0.10151039063930511 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.08020705729722977 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86511.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195234.5, + "threshold": 148934.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, - "then": { - "operation": "boost", - "score": -0.008072626776993275 - }, - "else": { - "operation": "boost", - "score": 0.06879669427871704 - } + "operation": "boost", + "score": 0.09785891324281693 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, - "then": { - "operation": "boost", - "score": -0.3351137042045593 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, - "then": { - "operation": "boost", - "score": 0.11147570610046387 - }, - "else": { - "operation": "boost", - "score": -0.21678735315799713 - } - } + "operation": "boost", + "score": 0.11014766246080399 } }, "else": { "operation": "boost", - "score": 0.08334427326917648 + "score": 0.11802761256694794 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55483.0, + "threshold": 190994.0, "then": { "operation": "boost", - "score": -0.1323680877685547 + "score": -0.1278628259897232 }, "else": { - "operation": "boost", - "score": 0.005505116656422615 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0665724128484726 + }, + "else": { + "operation": "boost", + "score": 0.10816220939159393 + } } } - }, - "else": { - "operation": "boost", - "score": -0.09258436411619186 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "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": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 97466.0, "then": { - "operation": "boost", - "score": 0.02633817307651043 + "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 + } }, "else": { "operation": "boost", - "score": 0.010148582980036736 + "score": -0.2733260691165924 } }, "else": { "operation": "boost", - "score": -0.03593692556023598 + "score": -0.034080829471349716 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.007983999326825142 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32457.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32671.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.03667537495493889 - }, - "else": { - "operation": "boost", - "score": -0.24418269097805023 - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { "operation": "boost", - "score": 0.10214408487081528 - }, - "else": { - "operation": "boost", - "score": 0.11456340551376343 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": -0.02028723619878292 + "score": 0.02394901029765606 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.018370503559708595 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, "then": { - "operation": "boost", - "score": 0.1343754678964615 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08612150698900223 - }, - "else": { - "operation": "boost", - "score": -0.09474653005599976 - } + "operation": "boost", + "score": 0.11226838827133179 }, "else": { "operation": "boost", - "score": 0.05508701503276825 + "score": 0.11639665812253952 } + }, + "else": { + "operation": "boost", + "score": -0.06173698604106903 } + }, + "else": { + "operation": "boost", + "score": 0.11155658960342407 } } - }, - "else": { + } + } + }, + "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": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.002810490084812045 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.008415848948061466 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0306398943066597 - }, - "else": { - "operation": "boost", - "score": -0.3086279332637787 - } - }, - "else": { - "operation": "boost", - "score": 0.016680167987942696 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.0554184727370739 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.019641561433672905 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.028211770579218864 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 902.5, "then": { + "operation": "boost", + "score": -0.0644921138882637 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 896.0, "then": { "operation": "boost", - "score": 0.10765254497528076 + "score": 0.10123725235462189 }, "else": { - "operation": "boost", - "score": 0.1339217573404312 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "then": { + "operation": "boost", + "score": -0.03829217329621315 + }, + "else": { + "operation": "boost", + "score": 0.06533105671405792 + } } - }, - "else": { - "operation": "boost", - "score": 0.09084757417440414 } - }, - "else": { - "operation": "boost", - "score": 0.1279313564300537 } + }, + "else": { + "operation": "boost", + "score": -0.011141096241772175 } + }, + "else": { + "operation": "boost", + "score": -0.015368728898465633 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 3346.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7425.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.4184548556804657 - }, - "else": { - "operation": "boost", - "score": 0.08003352582454681 - } + "operation": "boost", + "score": -0.4107034206390381 }, "else": { "operation": "boost", - "score": -1.4292539358139038 + "score": 0.11022191494703293 } }, + "else": { + "operation": "boost", + "score": -0.19197282195091248 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0372106172144413 + }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.08019313216209412 - }, - "else": { - "operation": "boost", - "score": 0.10656090080738068 - } + "operation": "boost", + "score": -0.0023053751792758703 }, "else": { "operation": "boost", - "score": -3.8600621223449707 + "score": -0.042409759014844894 } } - }, - "else": { - "operation": "boost", - "score": -0.003938669338822365 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.16393625736236572 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.09761764854192734 - }, - "else": { - "operation": "boost", - "score": -0.10933906584978104 - } - }, - "else": { - "operation": "boost", - "score": -0.0435216911137104 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.06291311979293823 + "score": 0.09307120740413666 }, "else": { - "operation": "boost", - "score": -0.12376780807971954 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "boost", - "score": 0.12768518924713135 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": 0.2066696286201477 + }, + "else": { + "operation": "boost", + "score": 0.12223285436630249 + } }, "else": { "operation": "boost", - "score": 0.09324564039707184 + "score": 0.07837001234292984 } - }, - "else": { - "operation": "boost", - "score": 0.09194135665893555 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, - "then": { - "operation": "boost", - "score": -0.1403101682662964 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.13791482150554657 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.050229594111442566 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1223527044057846 + }, + "else": { + "operation": "boost", + "score": 0.1389112025499344 + } + }, + "else": { + "operation": "boost", + "score": -0.17192815244197845 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.1087922528386116 + "score": 0.15731285512447357 }, "else": { "operation": "boost", - "score": 0.09302221238613129 + "score": 0.6076871752738953 } } - }, - "else": { - "operation": "boost", - "score": -0.27445316314697266 } } + }, + "else": { + "operation": "boost", + "score": 0.03199528157711029 } }, "else": { + "operation": "boost", + "score": -0.0016155883204191923 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.043676409870386124 + }, + "else": { + "operation": "boost", + "score": 0.010031315498054028 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.03731226921081543 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03278869763016701 + }, + "else": { + "operation": "boost", + "score": -0.08942768722772598 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42129.5, + "then": { + "operation": "boost", + "score": 0.09598565101623535 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 212623.0, + "threshold": 11026.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09308301657438278 - }, - "else": { - "operation": "boost", - "score": -0.00128054094966501 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 12576.5, "then": { - "operation": "boost", - "score": 0.10842077434062958 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16033.5, "then": { + "operation": "boost", + "score": -0.051981035619974136 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 203783.5, + "threshold": 15553.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.11198115348815918 - }, - "else": { - "operation": "boost", - "score": 0.1076173409819603 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1012158915400505 - }, - "else": { - "operation": "boost", - "score": 0.13333962857723236 - } - }, - "else": { - "operation": "boost", - "score": 0.042252931743860245 - } - }, - "else": { - "operation": "boost", - "score": 0.02810526080429554 - } - } + "operation": "boost", + "score": 0.10914351046085358 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.08493255823850632 + "score": 0.10553552955389023 }, "else": { "operation": "boost", - "score": -0.2904284596443176 + "score": -0.0315476730465889 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06147068738937378 - }, - "else": { - "operation": "boost", - "score": 0.06350914388895035 - } } + }, + "else": { + "operation": "boost", + "score": 0.12028569728136063 } + }, + "else": { + "operation": "boost", + "score": 0.007562835235148668 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 688.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 772.5, "then": { "operation": "boost", - "score": 0.08477723598480225 + "score": 0.044035524129867554 }, "else": { "operation": "boost", - "score": 0.10975336283445358 + "score": 0.11955268681049347 } }, "else": { "operation": "boost", - "score": -0.04338174685835838 + "score": 0.03480007126927376 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132033.5, - "then": { - "operation": "boost", - "score": -0.061234038323163986 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.003968892153352499 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.03319791704416275 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0796922892332077 - }, - "else": { - "operation": "boost", - "score": 0.12992022931575775 - } - }, - "else": { - "operation": "boost", - "score": -0.008710435591638088 - } - } + "operation": "boost", + "score": 0.05126666650176048 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.14998272061347961 - }, - "else": { - "operation": "boost", - "score": -0.04593794792890549 - } - }, - "else": { - "operation": "boost", - "score": 0.07262135297060013 - } - }, - "else": { - "operation": "boost", - "score": 0.03598035126924515 - } + "operation": "boost", + "score": 0.13720329105854034 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07575792819261551 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1398681253194809 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.12398345023393631 - }, - "else": { - "operation": "boost", - "score": 0.10672320425510406 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.027971457690000534 - } + "operation": "boost", + "score": 0.019500430673360825 }, "else": { "operation": "boost", - "score": 0.007653756532818079 + "score": 0.09292887896299362 } } - }, - "else": { - "operation": "boost", - "score": 0.08766823261976242 } }, "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": 3.0, + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.028979215770959854 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 44.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 51.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10763964802026749 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11220837384462357 - }, - "else": { - "operation": "boost", - "score": -0.37483498454093933 - } - } + "operation": "boost", + "score": 0.019082440063357353 }, "else": { "operation": "boost", - "score": -0.016625985503196716 + "score": 0.11937577277421951 } }, "else": { "operation": "boost", - "score": -0.05338647961616516 + "score": -0.09956569969654083 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.08915475755929947 + }, + "else": { + "operation": "boost", + "score": 0.08167427778244019 } }, "else": { "operation": "boost", - "score": 0.013202195055782795 + "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": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09977319836616516 - }, - "else": { - "operation": "boost", - "score": -0.1101100817322731 - } }, "else": { - "operation": "boost", - "score": -0.014614447019994259 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0014157895930111408 - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07271862775087357 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Other" + ], "then": { "operation": "boost", - "score": 0.030748704448342323 + "score": 0.03308931365609169 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06955838203430176 + "score": -0.019063960760831833 }, "else": { "operation": "boost", - "score": -0.031109854578971863 + "score": 0.0076848724856972694 } } }, "else": { "operation": "boost", - "score": 0.0016215218929573894 + "score": -0.008813121356070042 } }, "else": { "operation": "boost", - "score": -0.051108866930007935 + "score": 0.1057330071926117 } - }, - "else": { - "operation": "boost", - "score": 0.007120905909687281 } }, "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": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1517466902732849 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.016301078721880913 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 27.5, "then": { "operation": "boost", - "score": -0.06066758558154106 + "score": 0.012395542114973068 }, "else": { - "operation": "boost", - "score": -0.0053899637423455715 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114453.5, + "operation": "boost", + "score": 0.04904639720916748 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131140.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04012663662433624 + "score": -0.014676832593977451 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10985641181468964 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.07752405852079391 - }, + "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.11564977467060089 + "score": 0.14960120618343353 } - }, - "else": { - "operation": "boost", - "score": -0.15330666303634644 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.011770526878535748 - }, - "else": { - "operation": "boost", - "score": 0.03058256208896637 - } + "operation": "boost", + "score": 0.02536408230662346 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + } + }, + "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": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 61155.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 61318.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" + "Namespace" ], "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": 592.5, + "threshold": 234371.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 597.5, + "threshold": 292981.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.01713823899626732 + }, + "else": { + "operation": "boost", + "score": -0.1367592066526413 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11422783881425858 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1163.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11621550470590591 - }, - "else": { - "operation": "boost", - "score": 0.5711673498153687 - } - }, - "else": { - "operation": "boost", - "score": 0.14609555900096893 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0863957405090332 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2381.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2412.0, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5540.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0590636283159256 + "score": 0.1086130142211914 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5301.0, - "then": { - "operation": "boost", - "score": 0.17665326595306396 - }, - "else": { - "operation": "boost", - "score": 0.10289721935987473 - } + "operation": "boost", + "score": 0.11205422133207321 } }, "else": { "operation": "boost", - "score": 0.108578160405159 + "score": 0.03099081665277481 } }, "else": { "operation": "boost", - "score": 0.08098765462636948 + "score": 0.07843604683876038 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10768400877714157 }, "else": { "operation": "boost", - "score": 0.11167050898075104 + "score": 0.012577020563185215 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.00037334751687012613 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 114340.0, "then": { "operation": "boost", - "score": 0.10007000714540482 + "score": -0.07567106932401657 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 96602.0, "then": { - "operation": "boost", - "score": 0.07610554248094559 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.2918458580970764 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12042643874883652 - }, - "else": { - "operation": "boost", - "score": 0.14153647422790527 - } - }, - "else": { - "operation": "boost", - "score": 0.15118157863616943 - } - } + "operation": "boost", + "score": 0.10168440639972687 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187.5, - "then": { - "operation": "boost", - "score": 0.1395612508058548 - }, - "else": { - "operation": "boost", - "score": 0.13066501915454865 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.3551378846168518 - }, - "else": { - "operation": "boost", - "score": 0.12091092765331268 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "boost", - "score": 0.1386655867099762 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11720910668373108 - }, - "else": { - "operation": "boost", - "score": 0.09276285767555237 - } - } - } - } + "operation": "boost", + "score": 0.11975093930959702 } }, "else": { - "operation": "boost", - "score": 0.07021273672580719 + "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": { + } + }, + "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": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03776804730296135 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.00956519041210413 + "score": 0.05697208270430565 }, "else": { "operation": "boost", - "score": 0.11426486074924469 + "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": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.07937340438365936 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.5, + "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": 31.5, + "threshold": 50368.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10131342709064484 + }, + "else": { + "operation": "boost", + "score": 0.10907400399446487 + } + }, + "else": { + "operation": "boost", + "score": -0.11519620567560196 + } + }, + "else": { + "operation": "boost", + "score": -0.28468555212020874 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48070.0, "then": { "operation": "boost", - "score": 0.07726897299289703 + "score": -0.0037742946296930313 }, "else": { "operation": "boost", - "score": -0.002055673161521554 + "score": 0.09598264843225479 } }, "else": { + "operation": "boost", + "score": -0.053489070385694504 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.003413983155041933 + "score": 0.09163620322942734 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.10998744517564774 - }, - "else": { - "operation": "boost", - "score": 0.11735409498214722 - } + "operation": "boost", + "score": 0.10440949350595474 }, "else": { "operation": "boost", - "score": -0.11728659272193909 + "score": 0.11125440150499344 } } + }, + "else": { + "operation": "boost", + "score": 0.09273581206798553 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44558.0, "then": { "operation": "boost", - "score": 0.015683600679039955 + "score": 0.11058168113231659 }, "else": { "operation": "boost", - "score": 0.04719073325395584 + "score": 0.069486603140831 } } + }, + "else": { + "operation": "boost", + "score": 0.11207404732704163 } } }, "else": { "operation": "boost", - "score": -0.01870585046708584 + "score": -0.016191232949495316 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "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": 4161.0, + "threshold": 33009.5, + "then": { + "operation": "boost", + "score": -0.1241740956902504 + }, + "else": { + "operation": "boost", + "score": 0.10497194528579712 + } + } + } + }, + "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", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4281.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.04039381444454193 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4246.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.12608672678470612 + "score": 0.10773727297782898 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10654700547456741 - }, - "else": { - "operation": "boost", - "score": -0.06447812169790268 - } + "operation": "boost", + "score": 0.10476019978523254 } + }, + "else": { + "operation": "boost", + "score": -0.13918714225292206 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34626.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 632.0, - "then": { - "operation": "boost", - "score": 0.11341435462236404 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 340.5, - "then": { - "operation": "boost", - "score": 0.028293421491980553 - }, - "else": { - "operation": "boost", - "score": 0.10423945635557175 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02974361553788185 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.2973884344100952 - }, - "else": { - "operation": "boost", - "score": 0.08084948360919952 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1093251183629036 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.004383399151265621 - }, - "else": { - "operation": "boost", - "score": 0.08203986287117004 - } - } - } + "operation": "boost", + "score": 0.027848633006215096 }, "else": { "operation": "boost", - "score": 0.02288164757192135 + "score": 0.11435133963823318 } }, "else": { "operation": "boost", - "score": 0.0027009318582713604 + "score": 0.032722488045692444 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": -0.1144498959183693 }, "else": { "operation": "boost", - "score": 0.011401397176086903 + "score": -0.13653625547885895 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 432212.0, "then": { - "operation": "boost", - "score": 0.0018443746957927942 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "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.07253392785787582 + "score": 0.07575423270463943 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.030801022425293922 - }, - "else": { - "operation": "boost", - "score": 0.006494302302598953 - } + "operation": "boost", + "score": -0.23768188059329987 } + } + } + }, + "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.028488239273428917 + "score": 0.04596942290663719 } }, "else": { - "operation": "boost", - "score": 0.0097625982016325 + "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 + } + } } } - }, - "else": { + } + } + } + }, + "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": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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.05308033525943756 + }, + "else": { + "operation": "boost", + "score": 0.11753499507904053 + } + }, + "else": { + "operation": "boost", + "score": 0.045019928365945816 + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_DotMemberAccess", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 19176.0, "then": { "operation": "boost", - "score": 0.002390791429206729 + "score": 0.10524334758520126 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07188116759061813 - }, - "else": { - "operation": "boost", - "score": 0.03813657537102699 - } - }, - "else": { - "operation": "boost", - "score": 0.07304281741380692 - } + "operation": "boost", + "score": 0.09522618353366852 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19176.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.004117896780371666 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07672133296728134 + "score": -0.10089197009801865 }, "else": { "operation": "boost", - "score": -0.2479560375213623 + "score": 0.1108623668551445 } + }, + "else": { + "operation": "boost", + "score": 0.11771417409181595 } }, "else": { + "operation": "boost", + "score": 0.05046508088707924 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.016300704330205917 + "score": 0.12754791975021362 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0690627247095108 - }, - "else": { - "operation": "boost", - "score": 0.10994554311037064 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.02938988246023655 - }, - "else": { - "operation": "boost", - "score": -0.043637715280056 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.038472555577754974 - }, - "else": { - "operation": "boost", - "score": -0.1268947273492813 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.013048059307038784 - }, - "else": { - "operation": "boost", - "score": -0.10286170989274979 - } - } + "operation": "boost", + "score": 0.13039585947990417 } + }, + "else": { + "operation": "boost", + "score": 0.056730277836322784 } - }, - "else": { + } + } + } + }, + "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": 11.5, + "threshold": 7166.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 8871.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 9213.5, "then": { "operation": "boost", - "score": -0.3379516303539276 + "score": 0.10043883323669434 }, "else": { "operation": "boost", - "score": 0.1426679790019989 + "score": 0.13229703903198242 } }, "else": { "operation": "boost", - "score": -0.5149834752082825 + "score": -0.0625702366232872 } }, "else": { "operation": "boost", - "score": -0.19523632526397705 + "score": 0.10987668484449387 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.009326617233455181 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.051692988723516464 + "score": 0.06913544237613678 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3103.5, - "then": { - "operation": "boost", - "score": 0.12327545136213303 - }, - "else": { - "operation": "boost", - "score": 0.19341664016246796 - } + "operation": "boost", + "score": 0.11845000088214874 }, "else": { "operation": "boost", - "score": -0.10088418424129486 + "score": -0.10862762480974197 } } - }, - "else": { - "operation": "boost", - "score": 0.06123209744691849 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63355.5, - "then": { - "operation": "boost", - "score": 0.10250585526227951 - }, - "else": { - "operation": "boost", - "score": 0.03604050725698471 - } - }, - "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": 2.5, - "then": { - "operation": "boost", - "score": 0.08800432085990906 - }, - "else": { - "operation": "boost", - "score": 0.1181902289390564 - } - }, - "else": { - "operation": "boost", - "score": 0.17610223591327667 - } - }, - "else": { - "operation": "boost", - "score": 0.049415018409490585 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03192822262644768 - } - }, - "else": { - "operation": "boost", - "score": -0.00014893987099640071 - } + "operation": "boost", + "score": 0.059955623000860214 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7126.0, "then": { + "operation": "boost", + "score": 0.037682611495256424 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03227841481566429 + "score": 0.09196876734495163 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.1230408176779747 + "score": 0.11346647888422012 }, "else": { "operation": "boost", - "score": 0.00038799704634584486 + "score": 0.11610724031925201 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91652.0, - "then": { - "operation": "boost", - "score": -0.177010640501976 - }, - "else": { - "operation": "boost", - "score": 0.00048247791710309684 - } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23872.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.08901121467351913 + "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.11518587917089462 + }, + "else": { + "operation": "boost", + "score": -0.0241363737732172 + } }, "else": { - "operation": "boost", - "score": 0.003270645858719945 + "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.29523247480392456 + "score": 0.05915047600865364 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 72744.5, + "threshold": 18967.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19203.5, "then": { "operation": "boost", - "score": 0.09699636697769165 + "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": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 8150.0, "then": { "operation": "boost", - "score": 0.09181911498308182 + "score": 0.09662851691246033 }, "else": { "operation": "boost", - "score": -0.23080703616142273 + "score": 0.12235121428966522 } + }, + "else": { + "operation": "boost", + "score": 0.0781576856970787 } }, "else": { "operation": "boost", - "score": 0.03557930141687393 + "score": 0.02682199329137802 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7081.5, + "then": { + "operation": "boost", + "score": -0.23268960416316986 + }, + "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.010771257802844048 + "score": 0.11941665410995483 } }, "else": { - "operation": "boost", - "score": -0.008652374148368835 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03305162861943245 + }, + "else": { + "operation": "boost", + "score": 0.016373395919799805 + } } } } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.004229486919939518 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.036648016422986984 + }, + "else": { + "operation": "boost", + "score": 0.013066159561276436 + } + } } }, "else": { "operation": "boost", - "score": -0.09217959642410278 + "score": -0.0019331062212586403 } } }, @@ -117100,675 +114494,1157 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.005307594779878855 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.008910191245377064 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 151.0, + "threshold": 88678.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 198.0, + "threshold": 107411.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18951.5, - "then": { - "operation": "boost", - "score": 0.10860571265220642 - }, - "else": { - "operation": "boost", - "score": -0.030430475249886513 - } + "operation": "boost", + "score": 0.031102754175662994 }, "else": { "operation": "boost", - "score": 0.11593375355005264 + "score": 0.093622587621212 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "boost", + "score": 0.02374059148132801 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.013299467973411083 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Unknown", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.06926509737968445 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2151045948266983 + }, + "else": { + "operation": "boost", + "score": -0.018348129466176033 + } + }, + "else": { + "operation": "boost", + "score": 0.024695435538887978 + } }, "else": { - "operation": "boost", - "score": 0.05130491033196449 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026255596429109573 + }, + "else": { + "operation": "boost", + "score": 0.05020986497402191 + } } } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.008312092162668705 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32538.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, + "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" + ], "then": { - "operation": "boost", - "score": 0.008633581921458244 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 133.0, + "threshold": 52893.5, "then": { - "operation": "boost", - "score": 0.12554211914539337 + "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.10338419675827026 + "score": -0.1029222160577774 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "then": { + "operation": "boost", + "score": -0.03728536143898964 + }, + "else": { + "operation": "boost", + "score": 0.08285442739725113 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11047250777482986 + }, + "else": { + "operation": "boost", + "score": 0.04237937182188034 + } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 33041.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.041516054421663284 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1998.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.012891317717730999 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2552.5, - "then": { - "operation": "boost", - "score": 0.13146217167377472 - }, - "else": { - "operation": "boost", - "score": 0.10845790058374405 - } - }, - "else": { - "operation": "boost", - "score": 0.01236629020422697 - } - } + "operation": "boost", + "score": -0.3108482360839844 }, "else": { "operation": "boost", - "score": -0.02961399219930172 + "score": 0.12260795384645462 } + } + }, + "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": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 33451.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 33949.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10878834873437881 + "score": 0.18150347471237183 }, "else": { "operation": "boost", - "score": 0.11965949088335037 + "score": -0.02609185129404068 } }, "else": { - "operation": "boost", - "score": 0.09704913944005966 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 604.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07229983806610107 + "score": 0.15128837525844574 }, "else": { "operation": "boost", - "score": 0.11758541315793991 + "score": 0.1290256828069687 } - }, - "else": { - "operation": "boost", - "score": 0.08156204223632812 } + }, + "else": { + "operation": "boost", + "score": -0.11908424645662308 } } }, "else": { - "operation": "boost", - "score": 0.03220744803547859 - } - }, - "else": { - "operation": "boost", - "score": 0.011197942309081554 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008362636901438236 - } - } - }, - "else": { - "operation": "boost", - "score": -0.007402613293379545 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32457.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.07517735660076141 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11005111783742905 + "score": 0.021892733871936798 }, "else": { "operation": "boost", - "score": 0.09040279686450958 + "score": 0.09666161984205246 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.034727275371551514 }, "else": { "operation": "boost", - "score": 0.0269383043050766 + "score": -0.17768962681293488 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.0, + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.06907347589731216 + }, + "else": { + "operation": "boost", + "score": 0.04135977849364281 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.07793456315994263 + "score": -0.023030830547213554 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 304083.5, "then": { + "operation": "boost", + "score": -0.07953408360481262 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.019071919843554497 + "score": 0.17072182893753052 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": 0.22214746475219727 - }, - "else": { - "operation": "boost", - "score": 0.16671894490718842 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1926664561033249 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { "operation": "boost", - "score": 0.11442186683416367 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.0716249942779541 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08919098228216171 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.12261256575584412 - }, - "else": { - "operation": "boost", - "score": 0.11408291757106781 - } - } - } + "score": 0.14304210245609283 } }, "else": { "operation": "boost", - "score": 0.16485445201396942 + "score": 0.16016143560409546 } } } }, "else": { "operation": "boost", - "score": 0.1196424812078476 + "score": 0.05815437063574791 } + }, + "else": { + "operation": "boost", + "score": 0.031017020344734192 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48488.5, + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.06991339474916458 + "score": -0.18325291574001312 }, "else": { "operation": "boost", - "score": 0.024865807965397835 + "score": -0.04333725944161415 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32671.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, - "then": { - "operation": "boost", - "score": 0.14843891561031342 - }, - "else": { - "operation": "boost", - "score": -0.004624446853995323 - } - }, - "else": { - "operation": "boost", - "score": 0.08643653243780136 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.116300567984581 - }, - "else": { - "operation": "boost", - "score": 0.11538661271333694 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "threshold": 188273.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 199646.0, "then": { - "operation": "boost", - "score": 0.10328365862369537 + "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_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 + } + }, + "else": { + "operation": "boost", + "score": -0.12119932472705841 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.23520790040493011 + "score": 0.07885202765464783 }, "else": { "operation": "boost", - "score": 0.07240542769432068 + "score": 0.10408038645982742 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "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" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381517.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.06667441874742508 - }, - "else": { - "operation": "boost", - "score": 0.09726843982934952 - } + "operation": "boost", + "score": 0.10860484838485718 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1237754076719284 - }, - "else": { - "operation": "boost", - "score": 0.08376041799783707 - } + "operation": "boost", + "score": 0.1143098920583725 } }, "else": { "operation": "boost", - "score": 0.04593341797590256 + "score": 0.05527637526392937 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.014358249492943287 - }, - "else": { - "operation": "boost", - "score": 0.11538106203079224 - } + "operation": "boost", + "score": 0.07143720984458923 } }, "else": { "operation": "boost", - "score": 0.06414777040481567 + "score": 0.12217558175325394 } }, "else": { + "operation": "boost", + "score": -0.12228679656982422 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011381156742572784 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132033.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.11341601610183716 + }, + "else": { + "operation": "boost", + "score": -0.4087933599948883 + } + }, + "else": { + "operation": "boost", + "score": -0.032794274389743805 + } + }, + "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": 56010.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 90096.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.0689639002084732 - }, - "else": { - "operation": "boost", - "score": -0.20863260328769684 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 357084.0, + "threshold": 93746.0, "then": { "operation": "boost", - "score": 0.09167733043432236 + "score": 0.09625992923974991 }, "else": { "operation": "boost", - "score": 0.018134620040655136 + "score": -0.3605574667453766 } }, "else": { "operation": "boost", - "score": -0.015176388435065746 + "score": -0.025664135813713074 } - } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89371.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.10554343461990356 + }, + "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, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07656379789113998 + } + }, + "else": { + "operation": "boost", + "score": -0.041147999465465546 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.011042041704058647 } + }, + "else": { + "operation": "boost", + "score": 0.11246531456708908 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.006306006107479334 }, "else": { - "operation": "boost", - "score": -0.5625177621841431 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008188581094145775 + } } } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.43355345726013184 + }, + "else": { + "operation": "boost", + "score": 0.07459811121225357 + } + }, + "else": { + "operation": "boost", + "score": 0.10637388378381729 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.053016677498817444 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.0852760449051857 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "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, + "then": { + "operation": "boost", + "score": -0.05329224839806557 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0832735076546669 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.040743593126535416 + "score": 0.08609066158533096 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.08278222382068634 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10746205598115921 + }, + "else": { + "operation": "boost", + "score": 0.12266288697719574 + } }, "else": { "operation": "boost", - "score": 0.058293841779232025 + "score": 0.11448563635349274 } } - }, - "else": { - "operation": "boost", - "score": 0.026025526225566864 } } }, @@ -117776,3201 +115652,2697 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.03282283619046211 + "score": 0.024154052138328552 }, "else": { "operation": "boost", - "score": -0.03224944695830345 + "score": 0.004169144667685032 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.1028674840927124 + "score": 0.03534537926316261 }, "else": { "operation": "boost", - "score": -0.07591895759105682 + "score": 0.0021820913534611464 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -1.7444393634796143 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09924358874559402 - }, - "else": { - "operation": "boost", - "score": -0.01091813761740923 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.9189885258674622 - }, - "else": { - "operation": "boost", - "score": -0.5009863376617432 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09351079165935516 - }, - "else": { - "operation": "boost", - "score": -0.9610453248023987 - } - } - } + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09748350828886032 + "score": 0.10888804495334625 }, "else": { "operation": "boost", - "score": 0.022102950140833855 + "score": 0.11656443774700165 } }, "else": { "operation": "boost", - "score": -0.007845276966691017 + "score": -0.10082975029945374 } } + }, + "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": "NumReferences", - "threshold": 286067.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.18091948330402374 + "score": 0.0591544583439827 }, "else": { + "operation": "boost", + "score": 0.04370465129613876 + } + }, + "else": { + "operation": "boost", + "score": 0.032376479357481 + } + }, + "else": { + "operation": "boost", + "score": 0.013302811421453953 + } + }, + "else": { + "operation": "boost", + "score": -0.0013932842994108796 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.01101274136453867 + }, + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.02053026482462883 + "score": 0.24194617569446564 }, "else": { "operation": "boost", - "score": -0.16058872640132904 + "score": -0.08899533003568649 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.05395743250846863 + "score": 0.11295319348573685 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.026093682274222374 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10315743088722229 - }, - "else": { - "operation": "boost", - "score": 0.11743944883346558 - } - } + "operation": "boost", + "score": -0.12743327021598816 } - }, - "else": { - "operation": "boost", - "score": -0.010366978123784065 } + }, + "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 27178.0, "then": { "operation": "boost", - "score": -0.04769309237599373 + "score": -0.11150164157152176 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.014117667451500893 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 165.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.1576385796070099 + }, + "else": { + "operation": "boost", + "score": 0.047741279006004333 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1930.5, + "then": { + "operation": "boost", + "score": 0.10105887055397034 + }, + "else": { + "operation": "boost", + "score": -0.039114974439144135 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.06357478350400925 - }, - "else": { - "operation": "boost", - "score": -0.09703680872917175 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.12451165914535522 - }, - "else": { - "operation": "boost", - "score": 0.11855512857437134 - } - }, - "else": { - "operation": "boost", - "score": 0.10181381553411484 - } - }, - "else": { - "operation": "boost", - "score": 0.07694128155708313 - } - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199646.0, + "threshold": 32.5, "then": { - "operation": "boost", - "score": -0.13171423971652985 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.07600991427898407 + "score": 0.12163485586643219 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumReferences", + "threshold": 36.5, "then": { - "operation": "boost", - "score": 0.10582199692726135 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.12048698216676712 + }, + "else": { + "operation": "boost", + "score": 0.05531039834022522 + } }, "else": { - "operation": "boost", - "score": 0.08408693224191666 + "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 + } } } }, "else": { - "operation": "boost", - "score": -0.10422193259000778 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.0071949162520468235 + "score": -0.17243677377700806 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 368.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.07783478498458862 + "score": 0.09645063430070877 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.14046922326087952 - }, - "else": { - "operation": "boost", - "score": 0.15731890499591827 - } + "operation": "boost", + "score": 0.12759526073932648 } }, "else": { "operation": "boost", - "score": 0.10151369869709015 + "score": 0.05132370814681053 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.12535779178142548 }, "else": { "operation": "boost", - "score": 0.10810499638319016 + "score": -0.306574285030365 } - }, - "else": { - "operation": "boost", - "score": -0.17678479850292206 } }, "else": { "operation": "boost", - "score": -0.005458406172692776 + "score": -0.12928232550621033 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, - "then": { - "operation": "boost", - "score": -0.05772363394498825 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.1316484957933426 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.1417744904756546 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11894966661930084 - }, - "else": { - "operation": "boost", - "score": 0.06368499249219894 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11953113973140717 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.06068851798772812 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "boost", - "score": 0.11366277188062668 - }, - "else": { - "operation": "boost", - "score": 0.10264624655246735 - } - }, - "else": { - "operation": "boost", - "score": 0.12072330713272095 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.1341189295053482 - }, - "else": { - "operation": "boost", - "score": -0.33795687556266785 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08793454617261887 - } - }, - "else": { - "operation": "boost", - "score": -0.5370487570762634 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03814917802810669 - } - } + "operation": "boost", + "score": 0.050521232187747955 }, "else": { "operation": "boost", - "score": 0.013489516451954842 + "score": 0.11324705928564072 } + }, + "else": { + "operation": "boost", + "score": 0.06003290042281151 } } } + }, + "else": { + "operation": "boost", + "score": 0.027857426553964615 } } + }, + "else": { + "operation": "boost", + "score": 0.005613702815026045 } - }, - "else": { - "operation": "boost", - "score": -0.012330502271652222 } }, "else": { - "operation": "boost", - "score": -0.0013612017501145601 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "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_SymbolOrNewName", - "CCC_Expression" + "CCC_ClassStructUnion" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13424241542816162 - }, - "else": { - "operation": "boost", - "score": 0.13019083440303802 - } + "operation": "boost", + "score": 0.09920475631952286 }, "else": { "operation": "boost", - "score": -0.06497548520565033 + "score": -0.019192008301615715 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 3010.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.02082991413772106 + }, + "else": { + "operation": "boost", + "score": 0.007555847521871328 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Namespace" + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsReservedName", "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16351714730262756 + }, + "else": { + "operation": "boost", + "score": -0.08631466329097748 + } + }, + "else": { + "operation": "boost", + "score": 0.004281580913811922 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10900753736495972 - }, - "else": { - "operation": "boost", - "score": 0.08612662553787231 - } + "operation": "boost", + "score": 0.022429220378398895 }, "else": { "operation": "boost", - "score": 0.025326643139123917 + "score": 0.10104937106370926 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.07607252895832062 + "score": 0.007754121441394091 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": -0.06095019355416298 - }, - "else": { - "operation": "boost", - "score": 0.09956351667642593 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 688.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190994.0, + "threshold": 794.5, "then": { "operation": "boost", - "score": 0.15399335324764252 + "score": 0.00515561830252409 }, "else": { "operation": "boost", - "score": 0.15080761909484863 + "score": 0.11707337200641632 } }, "else": { - "operation": "boost", - "score": 0.24459052085876465 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 178.5, + "then": { + "operation": "boost", + "score": -0.1845853477716446 + }, + "else": { + "operation": "boost", + "score": 0.03210261091589928 + } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.08947516232728958 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.024787049740552902 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 44.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 51.5, "then": { "operation": "boost", - "score": 0.10832516849040985 + "score": 0.017258236184716225 }, "else": { "operation": "boost", - "score": 0.12224366515874863 + "score": 0.1156340166926384 } }, "else": { "operation": "boost", - "score": 0.11352065950632095 + "score": -0.09007439017295837 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1295587420463562 - }, - "else": { - "operation": "boost", - "score": 0.14060033857822418 - } + "operation": "boost", + "score": -0.07855476438999176 }, "else": { "operation": "boost", - "score": 0.1206134706735611 + "score": 0.06391453742980957 } + }, + "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_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + } + } + } + } + } + }, + "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": "NumReferences", - "threshold": 1280205.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.07653960585594177 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23683.5, + "then": { + "operation": "boost", + "score": 0.08007388561964035 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22760.0, + "then": { + "operation": "boost", + "score": 0.1214585080742836 + }, + "else": { + "operation": "boost", + "score": -0.1415024846792221 + } + } }, "else": { "operation": "boost", - "score": 0.011842535808682442 + "score": 0.06395644694566727 } }, "else": { "operation": "boost", - "score": -0.01653728261590004 + "score": 0.04712429642677307 } }, "else": { - "operation": "boost", - "score": 0.10538074374198914 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11388136446475983 + }, + "else": { + "operation": "boost", + "score": 0.019044263288378716 + } } + }, + "else": { + "operation": "boost", + "score": 0.01756623201072216 } }, "else": { - "operation": "boost", - "score": 0.023778464645147324 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11209.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.16752594709396362 + "score": -0.15012559294700623 }, "else": { "operation": "boost", - "score": 0.0923682153224945 + "score": 0.14220748841762543 } }, "else": { + "operation": "boost", + "score": 0.06439662724733353 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.12851662933826447 + "score": 0.17621654272079468 }, "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": "NumReferences", - "threshold": 96602.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.11933251470327377 + }, + "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" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09084566682577133 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1375046670436859 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.12507377564907074 - }, - "else": { - "operation": "boost", - "score": 0.10904241353273392 - } - } - } + "operation": "boost", + "score": 0.01918037422001362 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_UnionTag", - "CCC_Other" + "Type" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.1513320803642273 - }, - "else": { - "operation": "boost", - "score": 0.13648995757102966 - } - }, - "else": { - "operation": "boost", - "score": 0.19916629791259766 - } + "operation": "boost", + "score": 0.0593419224023819 }, "else": { "operation": "boost", - "score": -0.0993233397603035 + "score": 0.016699358820915222 } }, "else": { "operation": "boost", - "score": 0.10285608470439911 + "score": 0.08801829814910889 } } }, "else": { - "operation": "boost", - "score": 0.06287060678005219 + "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": "NumReferences", - "threshold": 89117.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": -0.1717429757118225 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09185092151165009 + }, + "else": { + "operation": "boost", + "score": 0.06944935768842697 + } }, "else": { "operation": "boost", - "score": 0.06410698592662811 + "score": -0.011248396709561348 } + }, + "else": { + "operation": "boost", + "score": -0.04241906851530075 } } } }, "else": { "operation": "boost", - "score": -0.14640140533447266 + "score": 0.0040460205636918545 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + } + } + } + }, + "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": 241916.0, + "threshold": 3048.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 4883.0, "then": { + "operation": "boost", + "score": 0.042528651654720306 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 858647.0, + "threshold": 3956.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.05330229923129082 + "score": -0.04923927038908005 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.04243669658899307 - }, - "else": { - "operation": "boost", - "score": 0.09892720729112625 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.03164390102028847 + "score": 0.08846642076969147 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.06376466900110245 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12315098941326141 - }, - "else": { - "operation": "boost", - "score": 0.13460670411586761 - } + "operation": "boost", + "score": 0.09404871612787247 }, "else": { "operation": "boost", - "score": 0.16864657402038574 + "score": 0.11935010552406311 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.06280805915594101 }, "else": { "operation": "boost", - "score": 0.09577816724777222 + "score": 0.11586341261863708 } - }, - "else": { - "operation": "boost", - "score": -0.025064656510949135 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.008104918524622917 + }, + "else": { + "operation": "boost", + "score": 0.05747659131884575 + } } }, "else": { "operation": "boost", - "score": -0.13858793675899506 + "score": -0.11050742864608765 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "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": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120524.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0849861353635788 + "score": 0.059776149690151215 }, "else": { - "operation": "boost", - "score": 0.031023552641272545 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.0, + "then": { + "operation": "boost", + "score": 0.14355674386024475 + }, + "else": { + "operation": "boost", + "score": -0.1540508270263672 + } } }, "else": { + "operation": "boost", + "score": -0.01831178367137909 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 2832.5, "then": { "operation": "boost", - "score": 0.08726935088634491 + "score": 0.09608709067106247 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11671967059373856 - }, - "else": { - "operation": "boost", - "score": 0.11550377309322357 - } - }, - "else": { - "operation": "boost", - "score": 0.07797988504171371 - } + "operation": "boost", + "score": 0.11613450199365616 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 27170.0, "then": { "operation": "boost", - "score": 0.10186965018510818 + "score": -0.002886181930080056 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 4277.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6049.0, "then": { + "operation": "boost", + "score": 0.10645310580730438 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10679216682910919 + "score": 0.18488024175167084 }, "else": { - "operation": "boost", - "score": 0.08655663579702377 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5627.5, + "then": { + "operation": "boost", + "score": 0.1107402890920639 + }, + "else": { + "operation": "boost", + "score": 0.12644195556640625 + } } - }, - "else": { - "operation": "boost", - "score": 0.01539891492575407 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 91652.0, + "threshold": 730.0, "then": { "operation": "boost", - "score": 0.1009436547756195 + "score": 0.0985427126288414 }, "else": { - "operation": "boost", - "score": 0.08099038898944855 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 679.5, + "then": { + "operation": "boost", + "score": 0.1883297562599182 + }, + "else": { + "operation": "boost", + "score": 0.9211122393608093 + } } } } } - } - }, - "else": { - "operation": "boost", - "score": 0.07749920338392258 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187158.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07021776586771011 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.06948396563529968 - }, - "else": { - "operation": "boost", - "score": 0.10046455264091492 - } + "operation": "boost", + "score": 0.09578695148229599 }, "else": { "operation": "boost", - "score": 0.014683989807963371 + "score": 0.11819326877593994 } } - }, - "else": { - "operation": "boost", - "score": 0.02171514369547367 } - } - }, - "else": { - "operation": "boost", - "score": -0.11544839292764664 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.06358198821544647 }, "else": { "operation": "boost", - "score": -0.3515963554382324 + "score": -0.012752394191920757 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.12894918024539948 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.08884958177804947 - }, - "else": { - "operation": "boost", - "score": -0.029019348323345184 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, - "then": { - "operation": "boost", - "score": -0.13055001199245453 - }, - "else": { - "operation": "boost", - "score": 0.07436032593250275 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1296779215335846 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.10822133719921112 - }, - "else": { - "operation": "boost", - "score": 0.10645030438899994 - } - } - } + "operation": "boost", + "score": -0.10127517580986023 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.015790048986673355 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04111368954181671 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90689.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185218.0, - "then": { - "operation": "boost", - "score": -0.6781532764434814 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155294.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.09836844354867935 - }, - "else": { - "operation": "boost", - "score": 0.11785275489091873 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, - "then": { - "operation": "boost", - "score": 0.04853244125843048 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04083801060914993 - }, - "else": { - "operation": "boost", - "score": 0.0979827269911766 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.282464861869812 - } - }, - "else": { - "operation": "boost", - "score": 0.04389616847038269 - } - } - } + "operation": "boost", + "score": 0.19147568941116333 } - }, - "else": { - "operation": "boost", - "score": 0.05497485399246216 } } }, "else": { "operation": "boost", - "score": -0.02782720886170864 + "score": -0.035215526819229126 } } + }, + "else": { + "operation": "boost", + "score": -0.059374257922172546 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.020333413034677505 - }, - "else": { - "operation": "boost", - "score": -0.053790390491485596 - } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.019910376518964767 - }, - "else": { - "operation": "boost", - "score": -0.16957426071166992 - } + "operation": "boost", + "score": -0.013580617494881153 } } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63357.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.10192504525184631 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12647342681884766 + }, + "else": { + "operation": "boost", + "score": -0.0024476961698383093 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 117.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 119.5, "then": { + "operation": "boost", + "score": 0.05406547337770462 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.2330339252948761 + "score": 0.13077184557914734 }, "else": { "operation": "boost", - "score": 0.1187739297747612 + "score": -0.11574426293373108 } }, "else": { - "operation": "boost", - "score": -0.052680060267448425 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 118.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 387.5, - "then": { - "operation": "boost", - "score": -0.14680755138397217 - }, - "else": { - "operation": "boost", - "score": 0.13112452626228333 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.036119647324085236 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.031777381896972656 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10602112859487534 - }, - "else": { - "operation": "boost", - "score": 0.07304012030363083 - } - } - } - } + "operation": "boost", + "score": 0.12657605111598969 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.22862648963928223 - }, - "else": { - "operation": "boost", - "score": 0.12384192645549774 - } + "operation": "boost", + "score": 0.12218082696199417 } }, "else": { "operation": "boost", - "score": 0.048719942569732666 + "score": 0.030088525265455246 } - }, - "else": { - "operation": "boost", - "score": 0.06347756832838058 } } }, "else": { - "operation": "boost", - "score": 0.008032203651964664 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.11407490819692612 + }, + "else": { + "operation": "boost", + "score": 0.07541675865650177 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25329.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.315003365278244 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13728.5, - "then": { - "operation": "boost", - "score": 0.5000886917114258 - }, - "else": { - "operation": "boost", - "score": -0.12301038205623627 - } + "operation": "boost", + "score": 0.11946596205234528 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.020238075405359268 + "score": 0.12786810100078583 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.15716643631458282 - }, - "else": { - "operation": "boost", - "score": 0.12362413853406906 - } - }, - "else": { - "operation": "boost", - "score": 0.09961095452308655 - } + "operation": "boost", + "score": 0.3065938353538513 } } + }, + "else": { + "operation": "boost", + "score": -0.0203792043030262 } } }, "else": { "operation": "boost", - "score": -0.008221391588449478 + "score": 0.029945772141218185 } }, "else": { "operation": "boost", - "score": -0.027566956356167793 + "score": 0.05822230875492096 } - }, - "else": { - "operation": "boost", - "score": -0.2041999101638794 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55483.0, + "threshold": 4152.0, "then": { - "operation": "boost", - "score": -0.17051243782043457 + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.02928401529788971 + "score": 0.06535892933607101 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 894.0, "then": { "operation": "boost", - "score": 0.015131129883229733 + "score": 0.10276346653699875 }, "else": { "operation": "boost", - "score": -0.01601496897637844 + "score": 0.11028211563825607 } } }, "else": { "operation": "boost", - "score": 0.017250265926122665 + "score": 0.0392797477543354 } }, "else": { "operation": "boost", - "score": -0.008147750049829483 + "score": 0.032671455293893814 } }, "else": { "operation": "boost", - "score": 0.005460433196276426 + "score": 0.04092763736844063 } } - }, - "else": { - "operation": "boost", - "score": -0.0006132760900072753 } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": -0.000315913581289351 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4673.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 4906.0, "then": { "operation": "boost", - "score": 0.08292193710803986 + "score": 0.037234168499708176 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 528.5, "then": { - "operation": "boost", - "score": 0.07376469671726227 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.04950135573744774 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 763.0, + "then": { + "operation": "boost", + "score": 0.05753231421113014 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 706.0, + "then": { + "operation": "boost", + "score": 0.11121194064617157 + }, + "else": { + "operation": "boost", + "score": 0.06128747761249542 + } + } }, "else": { "operation": "boost", - "score": 0.09832277148962021 + "score": 0.021786028519272804 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 189140.5, + "threshold": 522.5, "then": { - "operation": "boost", - "score": 0.03152686357498169 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 523.5, + "then": { + "operation": "boost", + "score": 0.06639331579208374 + }, + "else": { + "operation": "boost", + "score": 0.16305261850357056 + } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.1450520008802414 + "score": 0.10618496686220169 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.219867542386055 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11776315420866013 + "score": -0.14461694657802582 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 509.5, "then": { "operation": "boost", - "score": 0.18177025020122528 + "score": -0.10333424061536789 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11405691504478455 - }, - "else": { - "operation": "boost", - "score": 0.12419875711202621 - } + "operation": "boost", + "score": 0.11230157315731049 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12143866717815399 - }, - "else": { - "operation": "boost", - "score": 0.10294397920370102 - } + "operation": "boost", + "score": 0.026340385898947716 } + }, + "else": { + "operation": "boost", + "score": 0.04546434432268143 } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11256621778011322 - }, - "else": { - "operation": "boost", - "score": 0.12554992735385895 - } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.06664275377988815 }, "else": { - "operation": "boost", - "score": 0.02472265250980854 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11417733132839203 + "score": 0.03173251450061798 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.1330057680606842 + "score": -0.024814728647470474 }, "else": { "operation": "boost", - "score": 0.11491669714450836 + "score": 0.12685294449329376 } }, "else": { "operation": "boost", - "score": 0.22760409116744995 + "score": 0.07298608869314194 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34634.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07400515675544739 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1977088749408722 + "score": 0.023896263912320137 }, "else": { - "operation": "boost", - "score": 0.10680244117975235 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1160602942109108 + }, + "else": { + "operation": "boost", + "score": -0.02468269318342209 + } } + }, + "else": { + "operation": "boost", + "score": 0.015309490263462067 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33949.0, - "then": { - "operation": "boost", - "score": 0.07987099140882492 - }, - "else": { - "operation": "boost", - "score": 0.12368961423635483 - } } } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.01947539858520031 - }, - "else": { - "operation": "boost", - "score": -0.006029962562024593 - } + "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": 286067.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15103675425052643 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.019481409341096878 - }, - "else": { - "operation": "boost", - "score": -0.15386056900024414 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.0463000051677227 + "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 + }, + "else": { + "operation": "boost", + "score": -0.0048543307930231094 + } + }, + "else": { + "operation": "boost", + "score": 0.056524112820625305 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010547094978392124 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.026758307591080666 + "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_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.09818276017904282 + "score": 0.09393113851547241 }, "else": { "operation": "boost", - "score": 0.10364000499248505 + "score": 0.03750036284327507 } } } }, "else": { "operation": "boost", - "score": -0.029663177207112312 + "score": 0.029894618317484856 } + }, + "else": { + "operation": "boost", + "score": 0.005000901874154806 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "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.04494685307145119 + "score": -0.10856451094150543 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": 0.07207731902599335 - }, - "else": { - "operation": "boost", - "score": -0.10399755835533142 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.0128756333142519 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220112.0, - "then": { - "operation": "boost", - "score": 0.07581549137830734 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09591789543628693 - }, - "else": { - "operation": "boost", - "score": 0.1209666058421135 - } - } + "operation": "boost", + "score": 0.07396245002746582 }, "else": { "operation": "boost", - "score": 0.1016920953989029 + "score": -0.22237035632133484 } - }, - "else": { - "operation": "boost", - "score": -0.10852960497140884 } }, "else": { "operation": "boost", - "score": 0.008089117705821991 + "score": 0.0019222995033487678 } + }, + "else": { + "operation": "boost", + "score": -0.027316134423017502 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + "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.03591590002179146 + "score": 0.009895702823996544 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12850287556648254 + "score": -0.039403729140758514 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.02839268557727337 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.007928816601634026 + "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_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_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.002229274483397603 + }, + "else": { + "operation": "boost", + "score": -0.14248333871364594 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09501131623983383 + "score": -0.008546290919184685 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": -0.12166129052639008 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.1161331981420517 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.12253249436616898 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.12218843400478363 + "score": -0.08247287571430206 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.15686985850334167 + "score": 0.008426203392446041 }, "else": { - "operation": "boost", - "score": 0.1339733749628067 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07180760055780411 + }, + "else": { + "operation": "boost", + "score": 0.08450638502836227 + } } } + }, + "else": { + "operation": "boost", + "score": 0.03806177154183388 } + }, + "else": { + "operation": "boost", + "score": 0.03665570542216301 } - } - }, - "else": { - "operation": "boost", - "score": 0.1082761362195015 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09755440801382065 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.0664529949426651 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.1185738816857338 + "score": -0.009382812306284904 }, "else": { "operation": "boost", - "score": 0.07631519436836243 + "score": 0.02869129739701748 } } + }, + "else": { + "operation": "boost", + "score": 0.016367824748158455 } }, "else": { "operation": "boost", - "score": -0.010487433522939682 + "score": 0.0004479917697608471 } } - }, - "else": { - "operation": "boost", - "score": 0.015264318324625492 } } } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.01098517794162035 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.009015164338052273 - }, - "else": { - "operation": "boost", - "score": -0.0070496718399226665 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.002558282343670726 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "FunctionScope", + "ClassScope" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.03644714504480362 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.06385532021522522 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013907385990023613 + "score": 0.08388973772525787 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "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.30000001192092896, + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.00963506381958723 + "score": 0.0027284855023026466 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 684.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12330008298158646 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11995014548301697 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5077.5, - "then": { - "operation": "boost", - "score": 0.2076394408941269 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1782.0, - "then": { - "operation": "boost", - "score": -0.005462093744426966 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1058.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10378848016262054 - }, - "else": { - "operation": "boost", - "score": 0.10722561180591583 - } - }, - "else": { - "operation": "boost", - "score": 0.09139234572649002 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.15350525081157684 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09208247065544128 - } + "operation": "boost", + "score": 0.09734552353620529 }, "else": { "operation": "boost", - "score": 0.08375123888254166 + "score": 0.11745084822177887 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10095450282096863 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10527018457651138 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08624276518821716 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.0, - "then": { - "operation": "boost", - "score": 0.13071148097515106 - }, - "else": { - "operation": "boost", - "score": 0.11988997459411621 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.0, - "then": { - "operation": "boost", - "score": -0.003010338405147195 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, - "then": { - "operation": "boost", - "score": 0.11393226683139801 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.17182877659797668 - }, - "else": { - "operation": "boost", - "score": 0.08278369158506393 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.14330077171325684 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.12059621512889862 - }, - "else": { - "operation": "boost", - "score": -0.12312392890453339 - } - } - }, - "else": { - "operation": "boost", - "score": 0.13477416336536407 - } - }, - "else": { - "operation": "boost", - "score": -0.17253229022026062 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.15542848408222198 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12783442437648773 - }, - "else": { - "operation": "boost", - "score": 0.16367624700069427 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.0, - "then": { - "operation": "boost", - "score": 0.16365580260753632 - }, - "else": { - "operation": "boost", - "score": 0.17175036668777466 - } - }, - "else": { - "operation": "boost", - "score": 0.13262756168842316 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 335.0, - "then": { - "operation": "boost", - "score": 0.0715954452753067 - }, - "else": { - "operation": "boost", - "score": -0.024858586490154266 - } - }, - "else": { - "operation": "boost", - "score": 0.05749600753188133 - } - } + "operation": "boost", + "score": 0.06286381930112839 } }, "else": { "operation": "boost", - "score": 0.06003425270318985 + "score": 0.054665274918079376 } }, "else": { - "operation": "boost", - "score": -0.034923989325761795 + "operation": "if_greater", + "feature": "IsNameInContext", + "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": "boost", - "score": 0.026114774867892265 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009485005401074886 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4177.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13533.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25815.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.057594820857048035 + "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, + "then": { + "operation": "boost", + "score": -0.23517319560050964 + }, + "else": { + "operation": "boost", + "score": -0.02141495607793331 + } + } }, "else": { "operation": "boost", - "score": -0.5310086607933044 + "score": 0.01617380790412426 } }, "else": { - "operation": "boost", - "score": 0.007484002970159054 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6103.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6106.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13324.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.10759949684143066 - }, - "else": { - "operation": "boost", - "score": -0.09343062341213226 - } + "operation": "boost", + "score": -0.05948074162006378 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.040559690445661545 + "score": 0.07825901359319687 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11200.0, - "then": { - "operation": "boost", - "score": 0.10332751274108887 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, - "then": { - "operation": "boost", - "score": 0.08028514683246613 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.07898647338151932 - }, - "else": { - "operation": "boost", - "score": 0.043144337832927704 - } - } - } + "operation": "boost", + "score": 0.17290598154067993 } } }, "else": { "operation": "boost", - "score": 0.11100891977548599 + "score": 0.05443843826651573 } - }, - "else": { - "operation": "boost", - "score": 0.03668130189180374 } } - }, - "else": { - "operation": "boost", - "score": 0.020533690229058266 } }, "else": { "operation": "boost", - "score": -0.019210726022720337 + "score": 0.004148660693317652 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": "boost", - "score": -0.0003494256816338748 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.013207209296524525 + }, + "else": { + "operation": "boost", + "score": 0.004317864775657654 + } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0449385829269886 + "score": 0.08637034147977829 }, "else": { "operation": "boost", - "score": -0.037680599838495255 + "score": -0.04397441819310188 } }, "else": { "operation": "boost", - "score": -0.01211959682404995 + "score": -0.0009304710547439754 } } + }, + "else": { + "operation": "boost", + "score": -0.014842238277196884 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.05772007256746292 + "score": -0.01847437210381031 }, "else": { "operation": "boost", - "score": 0.0077819786965847015 + "score": -0.07296206057071686 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14422.0, - "then": { - "operation": "boost", - "score": 0.14125116169452667 - }, - "else": { - "operation": "boost", - "score": -0.09108060598373413 - } - }, - "else": { - "operation": "boost", - "score": -0.03183680400252342 - } + "operation": "boost", + "score": -0.013788510113954544 } } } @@ -120979,155 +118351,256 @@ }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07212435454130173 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", "CCC_SymbolOrNewName", - "CCC_Expression" + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1286296546459198 - }, - "else": { - "operation": "boost", - "score": 0.12924130260944366 - } - }, - "else": { - "operation": "boost", - "score": -0.03283730521798134 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Statement", - "CCC_Namespace" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { + "operation": "boost", + "score": 0.014021537266671658 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 5193.0, "then": { - "operation": "boost", - "score": 0.07561539113521576 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 11900.0, "then": { + "operation": "boost", + "score": 0.04283998906612396 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -1.6800010204315186 + "score": 0.07754348963499069 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 6739.5, "then": { "operation": "boost", - "score": 0.10047265887260437 + "score": 0.10242249816656113 }, "else": { "operation": "boost", - "score": 0.08976175636053085 + "score": 0.07772092521190643 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.028247559443116188 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": 0.13729169964790344 - }, - "else": { - "operation": "boost", - "score": 0.13741393387317657 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05110867694020271 - }, - "else": { - "operation": "boost", - "score": 0.14085465669631958 - } - } + "operation": "boost", + "score": -0.10027007013559341 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1133187934756279 + "score": -0.009709601290524006 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1241200640797615 + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1893.5, + "then": { + "operation": "boost", + "score": 0.10892347991466522 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11415833979845047 + }, + "else": { + "operation": "boost", + "score": 0.039611320942640305 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.18130718171596527 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1427599936723709 + }, + "else": { + "operation": "boost", + "score": 0.042005907744169235 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.11439338326454163 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.012475227005779743 + }, + "else": { + "operation": "boost", + "score": 0.11051346361637115 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09818050265312195 + } + } }, "else": { "operation": "boost", - "score": 0.11900723725557327 + "score": 0.02888283133506775 } }, "else": { - "operation": "boost", - "score": 0.11742712557315826 + "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 + } } } } @@ -121136,1686 +118609,2268 @@ }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 21492.0, "then": { "operation": "boost", - "score": 0.0006170321721583605 + "score": -0.09967195242643356 }, "else": { "operation": "boost", - "score": 0.1059771478176117 + "score": 0.025125563144683838 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_Symbol" - ], - "then": { + } + }, + "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.032599300146102905 + "score": -0.21018655598163605 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.16931694746017456 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.021073222160339355 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07834343612194061 - }, - "else": { - "operation": "boost", - "score": 0.10197538137435913 - } - }, - "else": { - "operation": "boost", - "score": 0.050383202731609344 - } - } + "operation": "boost", + "score": 0.06629759073257446 }, "else": { "operation": "boost", - "score": 0.0033633525017648935 + "score": 0.12917599081993103 } - }, - "else": { - "operation": "boost", - "score": 0.058050598949193954 } }, "else": { "operation": "boost", - "score": -0.035308483988046646 + "score": 0.0074759372510015965 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, - "then": { - "operation": "boost", - "score": -0.16112560033798218 - }, - "else": { - "operation": "boost", - "score": 0.08498542010784149 - } + "operation": "boost", + "score": -0.022721845656633377 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.1135767325758934 + "score": -0.11558577418327332 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.05195832625031471 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 104520.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 123460.5, "then": { "operation": "boost", - "score": 0.08819645643234253 + "score": 0.09439373016357422 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.10994873195886612 + "score": 0.1399553418159485 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.12216327339410782 - }, - "else": { - "operation": "boost", - "score": 0.10381202399730682 - } + "operation": "boost", + "score": 0.1122080460190773 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 98088.5, + "threshold": 174254.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_UnionTag", - "CCC_Other" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.13433323800563812 - }, - "else": { - "operation": "boost", - "score": 0.17927640676498413 - } - }, - "else": { - "operation": "boost", - "score": 0.13506004214286804 - } + "operation": "boost", + "score": 0.11142509430646896 }, "else": { "operation": "boost", - "score": -0.08900067955255508 + "score": 0.08551622927188873 } }, "else": { "operation": "boost", - "score": 0.1001376286149025 + "score": -0.3974955081939697 } } }, "else": { - "operation": "boost", - "score": 0.057281963527202606 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "boost", - "score": -0.16359347105026245 - }, - "else": { - "operation": "boost", - "score": 0.06094231829047203 + "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", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11354831606149673 + }, + "else": { + "operation": "boost", + "score": -0.014729561284184456 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.1390078067779541 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.14861264824867249 + }, + "else": { + "operation": "boost", + "score": -0.26450130343437195 + } + } + } } } } } - }, - "else": { - "operation": "boost", - "score": -0.14580680429935455 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "boost", + "score": 0.013351869769394398 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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.04734008386731148 + "score": 0.0681813508272171 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.03739674389362335 + "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, + "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.08378361910581589 + }, + "else": { + "operation": "boost", + "score": 0.11287417262792587 + } + }, + "else": { + "operation": "boost", + "score": -0.023327196016907692 + } }, "else": { "operation": "boost", - "score": 0.09387146681547165 + "score": 0.10778249800205231 } + }, + "else": { + "operation": "boost", + "score": -0.2978592813014984 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "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": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 188273.5, "then": { - "operation": "boost", - "score": -0.03081233613193035 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 417741.0, + "threshold": 205637.0, "then": { "operation": "boost", - "score": -0.05799398198723793 + "score": 0.037342410534620285 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 319997.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11498719453811646 - }, - "else": { - "operation": "boost", - "score": -0.2608858644962311 - } + "operation": "boost", + "score": 0.10356291383504868 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11036890000104904 - }, - "else": { - "operation": "boost", - "score": 0.04357651621103287 - } + "operation": "boost", + "score": -0.11853931844234467 } }, "else": { - "operation": "boost", - "score": 0.14038841426372528 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0629354864358902 + }, + "else": { + "operation": "boost", + "score": 0.07536257803440094 + } } } + }, + "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": 417741.0, + "threshold": 284274.5, "then": { "operation": "boost", - "score": 0.06211195886135101 + "score": 0.07916975021362305 }, "else": { "operation": "boost", - "score": -0.020396782085299492 + "score": 0.022459961473941803 } } } }, "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13180115818977356 + }, + "else": { + "operation": "boost", + "score": 0.015305396169424057 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005131830461323261 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.006895779632031918 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "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.13079136610031128 + "score": 0.04288038611412048 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4889.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14864832162857056 + }, + "else": { + "operation": "boost", + "score": 0.11484480649232864 + } + }, + "else": { + "operation": "boost", + "score": 0.09191864728927612 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 120524.0, + "threshold": 237.5, "then": { "operation": "boost", - "score": 0.04890241473913193 + "score": -0.05013703554868698 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 46.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.10048491507768631 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93657.0, + "threshold": 91.0, "then": { "operation": "boost", - "score": 0.082088902592659 + "score": 0.14762425422668457 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 72.5, "then": { "operation": "boost", - "score": 0.10557079315185547 + "score": 0.1434716433286667 }, "else": { "operation": "boost", - "score": 0.08214832842350006 + "score": 0.0663532242178917 } }, "else": { "operation": "boost", - "score": 0.011455549858510494 + "score": -0.1994556337594986 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91652.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10946694016456604 - }, - "else": { - "operation": "boost", - "score": 0.08155277371406555 - } }, "else": { "operation": "boost", - "score": 0.07908560335636139 + "score": 0.05520699545741081 } + }, + "else": { + "operation": "boost", + "score": 0.006171420216560364 } } }, "else": { "operation": "boost", - "score": 0.07291939109563828 + "score": -0.003446470480412245 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187158.0, - "then": { - "operation": "boost", - "score": 0.06094910204410553 - }, - "else": { - "operation": "boost", - "score": 0.020372239872813225 - } + "operation": "boost", + "score": -0.03526553884148598 } }, "else": { - "operation": "boost", - "score": -0.10218088328838348 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "Type" ], - "then": { - "operation": "boost", - "score": 0.058949749916791916 - }, - "else": { - "operation": "boost", - "score": -0.2950506806373596 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "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": "if_greater", "feature": "NumReferences", - "threshold": 77386.0, + "threshold": 66.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.06211523339152336 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136094.5, - "then": { - "operation": "boost", - "score": -0.5847659111022949 - }, - "else": { - "operation": "boost", - "score": 0.07653315365314484 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.12034109979867935 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.10779932886362076 + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.10407093912363052 + "score": 0.02562674507498741 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.018161974847316742 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04702321067452431 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 155294.5, + "threshold": 431.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 185218.0, + "threshold": 529.5, "then": { - "operation": "boost", - "score": -0.5717345476150513 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11401557922363281 + "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": "boost", - "score": -0.10446760058403015 + "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 + } } }, "else": { "operation": "boost", - "score": -0.31612664461135864 + "score": 0.048064108937978745 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 521.5, + "then": { + "operation": "boost", + "score": 0.14609740674495697 + }, + "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 + } + } + } } } }, "else": { - "operation": "boost", - "score": 0.06501347571611404 + "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 + } } } + }, + "else": { + "operation": "boost", + "score": 0.02331731654703617 } + }, + "else": { + "operation": "boost", + "score": -0.1486656814813614 } }, "else": { "operation": "boost", - "score": 0.04685351625084877 + "score": 0.013841344974935055 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.10061360150575638 + }, + "else": { + "operation": "boost", + "score": 0.10576030611991882 } + }, + "else": { + "operation": "boost", + "score": 0.04060117155313492 } }, "else": { "operation": "boost", - "score": -0.025179550051689148 + "score": -0.0015973967965692282 } } + }, + "else": { + "operation": "boost", + "score": 0.0008949688635766506 } } } - }, - "else": { - "operation": "boost", - "score": -0.012835274450480938 } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63357.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10148858278989792 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.1477426439523697 + }, + "else": { + "operation": "boost", + "score": 0.010475507006049156 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, "then": { - "operation": "if_greater", + "operation": "boost", + "score": 0.028056930750608444 + }, + "else": { + "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05720536783337593 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03294902667403221 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.09389715641736984 + }, + "else": { + "operation": "boost", + "score": 0.1368129402399063 + } + } + }, + "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_Other", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04874538257718086 + }, + "else": { + "operation": "boost", + "score": 0.00985138863325119 + } + }, + "else": { + "operation": "boost", + "score": -0.04332830011844635 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04264364764094353 + }, + "else": { + "operation": "boost", + "score": 0.08511164784431458 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.013349982909858227 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0015345849096775055 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.127643883228302 + }, + "else": { + "operation": "boost", + "score": 0.019763600081205368 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08867473155260086 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.17171217501163483 + "score": 0.032268330454826355 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.0258172620087862 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.01671292446553707 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.2735418677330017 + "score": -0.16398310661315918 }, "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": 20.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1307174563407898 + "score": 0.13066869974136353 + }, + "else": { + "operation": "boost", + "score": -0.038751691579818726 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.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 + } }, "else": { "operation": "boost", - "score": 0.060239166021347046 + "score": 0.0032313379924744368 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "boost", + "score": -0.12247439473867416 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.25092318654060364 + "score": 0.021273138001561165 }, "else": { - "operation": "boost", - "score": 0.1178569421172142 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.08258143067359924 + }, + "else": { + "operation": "boost", + "score": -0.06940817087888718 + } } - }, - "else": { - "operation": "boost", - "score": 0.26612743735313416 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09857447445392609 + "score": -0.15282666683197021 }, "else": { "operation": "boost", - "score": 0.6000896096229553 + "score": 0.03797357156872749 } }, "else": { "operation": "boost", - "score": 0.13001646101474762 + "score": -0.1054961159825325 } }, "else": { "operation": "boost", - "score": 0.09820814430713654 + "score": 0.021292079240083694 } }, "else": { "operation": "boost", - "score": 0.033713530749082565 + "score": -0.10025440901517868 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.052045851945877075 }, "else": { "operation": "boost", - "score": -0.05085812509059906 + "score": 0.0024528319481760263 } } }, "else": { "operation": "boost", - "score": -0.0424734503030777 + "score": 0.017966443672776222 } - }, - "else": { - "operation": "boost", - "score": -0.001160724670626223 } - }, - "else": { - "operation": "boost", - "score": -0.026603609323501587 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13823.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.16070875525474548 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234860.0, "then": { - "operation": "boost", - "score": 0.10913050174713135 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.020317936316132545 + }, + "else": { + "operation": "boost", + "score": 0.11582250893115997 + } + } }, "else": { - "operation": "boost", - "score": 0.06206837296485901 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1325404942035675 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.23234470188617706 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.053517699241638184 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.2402770072221756 + }, + "else": { + "operation": "boost", + "score": 0.10397393256425858 + } + } + }, + "else": { + "operation": "boost", + "score": 0.059667471796274185 + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.026280097663402557 } }, "else": { + "operation": "boost", + "score": 0.012182624079287052 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace" + ], + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 823.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 827.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04107357934117317 + "score": 0.05586916580796242 }, "else": { "operation": "boost", - "score": 0.12794028222560883 + "score": 0.08366193622350693 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.0649259015917778 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.022069739177823067 + "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": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 190994.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "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, + "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.015135403722524643 + "score": 0.08106808364391327 }, "else": { "operation": "boost", - "score": -0.0989873856306076 + "score": 0.11180479824542999 } }, "else": { "operation": "boost", - "score": 0.004954850766807795 + "score": -0.020268820226192474 } + }, + "else": { + "operation": "boost", + "score": 0.10599879175424576 } }, "else": { "operation": "boost", - "score": 0.01464130636304617 + "score": -0.19001269340515137 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.03693077340722084 + }, + "else": { + "operation": "boost", + "score": -0.21339188516139984 } } - }, - "else": { - "operation": "boost", - "score": 0.00497750798240304 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Constructor", - "Type" + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 357084.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.04426490142941475 + "score": -0.011907950043678284 }, "else": { "operation": "boost", - "score": 0.04217652976512909 + "score": 0.1380591243505478 } }, "else": { "operation": "boost", - "score": 0.02178065851330757 + "score": 0.020924510434269905 } }, "else": { "operation": "boost", - "score": -0.008733007125556469 + "score": 0.03793978691101074 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 182.5, + "threshold": 48488.5, "then": { + "operation": "boost", + "score": 0.0266953743994236 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2365391105413437 + "score": 0.16467615962028503 }, "else": { "operation": "boost", - "score": 0.11194669455289841 + "score": 0.0607384517788887 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.005748115014284849 + "score": 0.02239491231739521 }, "else": { "operation": "boost", - "score": -0.13711540400981903 + "score": -0.04582762345671654 } + }, + "else": { + "operation": "boost", + "score": -0.0947510376572609 } - }, - "else": { - "operation": "boost", - "score": -0.03388160467147827 } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.2594996690750122 - }, - "else": { - "operation": "boost", - "score": -0.0636477991938591 - } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "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.01310097798705101 + "score": 0.019578425213694572 }, "else": { - "operation": "boost", - "score": 0.010914069600403309 - } - }, - "else": { - "operation": "boost", - "score": -0.005477673839777708 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.1313907653093338 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4531.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13666.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 337965.5, + "threshold": 110939.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.4272361397743225 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.37309083342552185 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 83201.0, "then": { "operation": "boost", - "score": 0.014969218522310257 + "score": 0.07218517363071442 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 73593.0, "then": { + "operation": "boost", + "score": -0.11926604807376862 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.09680759906768799 + "score": 0.0919179692864418 }, "else": { "operation": "boost", - "score": -0.18205825984477997 + "score": -0.03760174289345741 } - }, - "else": { - "operation": "boost", - "score": 0.05855254456400871 } } - }, - "else": { - "operation": "boost", - "score": 0.08764495700597763 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.007982208393514156 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.010699711740016937 - }, - "else": { - "operation": "boost", - "score": -0.07526268064975739 - } } } + } + } + } + }, + "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_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.006216792855411768 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", - "GlobalScope", - "FunctionScope" + "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5942.0, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11202383786439896 + "score": 0.04119263216853142 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, + "feature": "FileProximityDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07748635113239288 + "score": 0.12371934205293655 }, "else": { "operation": "boost", - "score": 0.12613530457019806 + "score": 0.24892652034759521 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12990.0, + "feature": "FilterLength", + "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": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 57.0, "then": { - "operation": "boost", - "score": 0.030913744121789932 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 67.5, "then": { "operation": "boost", - "score": 0.08089178055524826 + "score": -0.042171068489551544 }, "else": { "operation": "boost", - "score": 0.11461962759494781 + "score": 0.10930117219686508 } + }, + "else": { + "operation": "boost", + "score": -0.33195704221725464 } }, - "else": { - "operation": "boost", - "score": 0.07276789844036102 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9216.0, - "then": { - "operation": "boost", - "score": 0.041963379830121994 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9135.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.02244753949344158 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 23993.5, "then": { "operation": "boost", - "score": 0.1315809041261673 + "score": 0.12210948020219803 + }, + "else": { + "operation": "boost", + "score": -0.0037071772385388613 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11040150374174118 + }, + "else": { + "operation": "boost", + "score": 0.10021292418241501 + } }, "else": { "operation": "boost", - "score": 0.13175009191036224 + "score": 0.06388328969478607 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10973430424928665 }, "else": { "operation": "boost", - "score": 0.08727236837148666 + "score": -0.1666632890701294 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.032706450670957565 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.0740448385477066 - }, - "else": { - "operation": "boost", - "score": 0.11452047526836395 - } + "operation": "boost", + "score": -0.09695594757795334 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0485219769179821 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6572.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0507633276283741 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7875.5, - "then": { - "operation": "boost", - "score": 0.10733863711357117 - }, - "else": { - "operation": "boost", - "score": 0.03536118566989899 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7257.5, - "then": { - "operation": "boost", - "score": 0.0883069559931755 - }, - "else": { - "operation": "boost", - "score": 0.11240394413471222 - } - }, - "else": { - "operation": "boost", - "score": -0.10597877949476242 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8721.0, - "then": { - "operation": "boost", - "score": 0.14533279836177826 - }, - "else": { - "operation": "boost", - "score": 0.0776560828089714 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10839329659938812 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7945.0, - "then": { - "operation": "boost", - "score": 0.11393941938877106 - }, - "else": { - "operation": "boost", - "score": -0.23390421271324158 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.054874710738658905 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6664.0, - "then": { - "operation": "boost", - "score": 0.12405403703451157 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.11311724781990051 - }, - "else": { - "operation": "boost", - "score": 0.06993503123521805 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.053812164813280106 - } - } + "operation": "boost", + "score": -0.004315524827688932 } - }, - "else": { - "operation": "boost", - "score": 0.05136526748538017 } } } + }, + "else": { + "operation": "boost", + "score": -0.07523392140865326 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.006807100493460894 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Type" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], - "then": { - "operation": "boost", - "score": 0.12001527100801468 - }, - "else": { - "operation": "boost", - "score": 0.057681113481521606 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6653.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.11396492272615433 + "score": 0.01847490668296814 }, "else": { - "operation": "boost", - "score": 0.1335473358631134 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6106.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.06285275518894196 + "score": 0.04334212839603424 }, "else": { - "operation": "boost", - "score": 0.1305369734764099 + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.08730117976665497 } + }, + "else": { + "operation": "boost", + "score": -0.10258501768112183 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4583.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.028679033741354942 + "score": 0.00517780939117074 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4556.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11350025236606598 + "score": 0.02650802582502365 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.108126699924469 - }, - "else": { - "operation": "boost", - "score": -1.3248594999313354 - } + "operation": "boost", + "score": -0.004734032321721315 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4579.0, - "then": { - "operation": "boost", - "score": 0.1069343164563179 - }, - "else": { - "operation": "boost", - "score": 0.05554588511586189 - } + "operation": "boost", + "score": -0.01167472917586565 } } } @@ -122823,2335 +120878,2407 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6920.5, + "threshold": 24318.0, "then": { "operation": "boost", - "score": -0.5747200846672058 + "score": 0.09740018099546432 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.10915471613407135 + "score": -0.026617877185344696 }, "else": { - "operation": "boost", - "score": 0.08512235432863235 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09403929859399796 + }, + "else": { + "operation": "boost", + "score": -0.0673687756061554 + } } } } } }, "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": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.10595986247062683 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.26055750250816345 + }, + "else": { + "operation": "boost", + "score": 0.10295313596725464 + } }, "else": { "operation": "boost", - "score": 0.12028998136520386 + "score": 0.03787941858172417 } }, "else": { + "operation": "boost", + "score": 0.010961592197418213 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1631.0, - "then": { - "operation": "boost", - "score": -0.016239697113633156 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1255.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1302.0, - "then": { - "operation": "boost", - "score": 0.09206582605838776 - }, - "else": { - "operation": "boost", - "score": 0.11005029827356339 - } - }, - "else": { - "operation": "boost", - "score": 0.06643916666507721 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10206925123929977 - }, - "else": { - "operation": "boost", - "score": 0.1112208440899849 - } - }, - "else": { - "operation": "boost", - "score": 0.04444928094744682 - } - } - } + "operation": "boost", + "score": 0.20670545101165771 }, "else": { "operation": "boost", - "score": 0.01782207190990448 + "score": -0.08677562326192856 } }, "else": { - "operation": "boost", - "score": -0.03754744678735733 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10655312985181808 + }, + "else": { + "operation": "boost", + "score": -0.12397295981645584 + } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "boost", + "score": 0.015887858346104622 + } + }, + "else": { + "operation": "boost", + "score": -0.01006707176566124 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.005002337973564863 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.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": 6.5, - "then": { - "operation": "boost", - "score": 0.016239866614341736 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08763238787651062 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 584.5, - "then": { - "operation": "boost", - "score": 0.1164834052324295 - }, - "else": { - "operation": "boost", - "score": 0.10069931298494339 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0015704723773524165 - } - }, - "else": { - "operation": "boost", - "score": -0.01634402386844158 - } + "operation": "boost", + "score": 0.09721565991640091 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0846717432141304 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 429.5, - "then": { - "operation": "boost", - "score": 0.03706946596503258 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12353869527578354 - }, - "else": { - "operation": "boost", - "score": 0.11851724982261658 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.05127216503024101 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.08110478520393372 - }, - "else": { - "operation": "boost", - "score": 0.037388090044260025 - } - }, - "else": { - "operation": "boost", - "score": -0.13564564287662506 - } - } - } + "operation": "boost", + "score": 0.04030324146151543 } }, "else": { "operation": "boost", - "score": 0.02942642569541931 + "score": 0.015656789764761925 } } + }, + "else": { + "operation": "boost", + "score": -0.28002557158470154 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18305.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18474.5, + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 27178.0, "then": { "operation": "boost", - "score": 0.035475559532642365 + "score": -0.08759849518537521 }, "else": { "operation": "boost", - "score": -0.20464041829109192 + "score": 0.01729859597980976 } }, "else": { - "operation": "boost", - "score": 0.015979591757059097 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10241986811161041 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.002894254168495536 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.42869967222213745 + "score": 0.04722195491194725 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.11852523684501648 + "score": 0.0728798359632492 }, "else": { "operation": "boost", - "score": 0.16352713108062744 + "score": 0.11010679602622986 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.005149478558450937 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1627.0, - "then": { - "operation": "boost", - "score": -0.11361033469438553 }, "else": { "operation": "boost", - "score": -0.008248521015048027 + "score": 0.024929264560341835 } } }, "else": { "operation": "boost", - "score": 0.012932213954627514 + "score": 0.004022443201392889 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.002333856886252761 }, "else": { "operation": "boost", - "score": -0.00022260572586674243 + "score": 0.042717549949884415 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 2007.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 24308.0, "then": { - "operation": "boost", - "score": -0.03328957036137581 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { + "operation": "boost", + "score": 0.07985271513462067 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { + "operation": "boost", + "score": 0.013134988956153393 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 96602.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.09631999582052231 + }, + "else": { + "operation": "boost", + "score": 0.11357630789279938 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90879.5, + "then": { + "operation": "boost", + "score": -0.16030140221118927 + }, + "else": { + "operation": "boost", + "score": 0.06224977970123291 + } + } + } + }, + "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": 24793.0, + "then": { + "operation": "boost", + "score": 0.0036174727138131857 + }, + "else": { + "operation": "boost", + "score": -0.2640700936317444 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25503.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 133.5, + "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 135.5, + "threshold": 327227.0, "then": { - "operation": "boost", - "score": 0.09601039439439774 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.04827053099870682 + }, + "else": { + "operation": "boost", + "score": 0.10414925217628479 + } }, "else": { - "operation": "boost", - "score": 0.11369919776916504 + "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": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 90101.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, "then": { "operation": "boost", - "score": 0.08626939356327057 + "score": 0.03223476931452751 }, "else": { "operation": "boost", - "score": 0.05847078189253807 + "score": 0.07708410918712616 } }, "else": { - "operation": "boost", - "score": 0.001587455510161817 + "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 + } + } + } } } }, "else": { "operation": "boost", - "score": 0.03452785313129425 + "score": -0.29144221544265747 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 432212.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.049660224467515945 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.13841380178928375 + "score": 0.06937681883573532 }, "else": { "operation": "boost", - "score": 0.02797236666083336 + "score": -0.3716188669204712 } + }, + "else": { + "operation": "boost", + "score": 0.020175550132989883 } }, "else": { - "operation": "boost", - "score": 0.04271858558058739 + "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 + } } } - }, - "else": { - "operation": "boost", - "score": 0.05072801932692528 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.017411911860108376 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.005409305449575186 - }, - "else": { - "operation": "boost", - "score": 0.04447806626558304 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.007413396146148443 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.1968378871679306 - }, - "else": { - "operation": "boost", - "score": -0.14267794787883759 - } - }, - "else": { - "operation": "boost", - "score": -0.06705272942781448 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12753771245479584 - }, - "else": { - "operation": "boost", - "score": 0.11369724571704865 - } - }, - "else": { - "operation": "boost", - "score": 0.0724167600274086 } - }, - "else": { - "operation": "boost", - "score": 0.025310998782515526 } - }, - "else": { - "operation": "boost", - "score": -0.10197141766548157 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7103.5, "then": { - "operation": "boost", - "score": -0.02127016894519329 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.0006619751802645624 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 18672.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 20039.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag" + "CCC_ClassStructUnion" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.05100956931710243 + "score": 0.04731662943959236 }, "else": { "operation": "boost", - "score": -0.004171981010586023 + "score": 0.11713400483131409 } }, "else": { "operation": "boost", - "score": 0.009832662530243397 + "score": 0.0453207828104496 } }, "else": { - "operation": "boost", - "score": 0.0009242548840120435 - } - }, - "else": { - "operation": "boost", - "score": 0.004069275222718716 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09060483425855637 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07303877174854279 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.6312845349311829 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.10046663880348206 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19176.0, + "then": { + "operation": "boost", + "score": 0.10487189143896103 + }, + "else": { + "operation": "boost", + "score": 0.09337002038955688 + } }, "else": { - "operation": "boost", - "score": 0.08629211783409119 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19176.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.05416359379887581 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 7253.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190994.0, + "threshold": 8200.0, "then": { - "operation": "boost", - "score": 0.12628009915351868 + "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.1323624700307846 + "score": 0.013363952748477459 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.01124574989080429 + "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.12646134197711945 + "score": 0.11249333620071411 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 7126.0, "then": { "operation": "boost", - "score": 0.11187401413917542 + "score": 0.03460197523236275 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12017643451690674 + "score": 0.07033044844865799 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.09276504814624786 + "score": 0.11514506489038467 }, "else": { "operation": "boost", - "score": 0.11541647464036942 + "score": 0.11134249716997147 } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "boost", - "score": 0.023355651646852493 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23872.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45940.0, + "threshold": 24227.5, "then": { "operation": "boost", - "score": 0.10794471949338913 + "score": -0.05467826500535011 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.12998628616333008 + "score": 0.11430656164884567 }, "else": { "operation": "boost", - "score": 0.11392839252948761 + "score": 0.026594502851366997 } }, "else": { "operation": "boost", - "score": 0.1989864856004715 + "score": 0.10072491317987442 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34634.5, - "then": { - "operation": "boost", - "score": -0.0626615658402443 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.19054028391838074 - }, - "else": { - "operation": "boost", - "score": 0.10374647378921509 - } - } + "operation": "boost", + "score": 0.056231867522001266 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33949.0, - "then": { - "operation": "boost", - "score": 0.07802745699882507 - }, - "else": { - "operation": "boost", - "score": 0.12022166699171066 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.08804907649755478 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.15641412138938904 + "score": 0.0334390252828598 } }, "else": { - "operation": "boost", - "score": -0.027436183765530586 - } - }, - "else": { - "operation": "boost", - "score": -0.050487618893384933 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0013255722587928176 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 8158.0, "then": { - "operation": "boost", - "score": 0.07417228072881699 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "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.12811879813671112 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.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 + } + }, + "else": { + "operation": "boost", + "score": 0.00816901121288538 + } }, "else": { "operation": "boost", - "score": 0.07449038326740265 + "score": -0.035964928567409515 + } + }, + "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 + } } } - }, - "else": { - "operation": "boost", - "score": 0.04660652577877045 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.039613790810108185 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0994315817952156 - }, - "else": { - "operation": "boost", - "score": 0.019233040511608124 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64494.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.012277624569833279 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.32909950613975525 - }, - "else": { - "operation": "boost", - "score": -0.02406335063278675 - } - } + "score": 0.10756128281354904 }, "else": { "operation": "boost", - "score": -0.03764437139034271 + "score": 0.11671770364046097 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12322980165481567 }, "else": { - "operation": "boost", - "score": 0.01577281393110752 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7081.5, "then": { "operation": "boost", - "score": 0.03921778127551079 + "score": -0.18725897371768951 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.023515118286013603 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08997875452041626 - }, - "else": { - "operation": "boost", - "score": 0.0912126824259758 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.031595587730407715 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.040123067796230316 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", + "Function", "Type" ], "then": { "operation": "boost", - "score": 0.06570691615343094 + "score": 0.025331659242510796 }, "else": { - "operation": "boost", - "score": -0.10321085155010223 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": 0.09454987198114395 + "score": 0.009906149469316006 }, "else": { - "operation": "boost", - "score": -0.0941210389137268 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.09034749120473862 + }, + "else": { + "operation": "boost", + "score": 0.09912141412496567 + } } - }, - "else": { - "operation": "boost", - "score": 0.004714436363428831 } } - }, - "else": { - "operation": "boost", - "score": 0.01039993204176426 } } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0038749519735574722 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.034616198390722275 + }, + "else": { + "operation": "boost", + "score": 0.012366735376417637 + } + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "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.01749132014811039 + "score": -0.005057554226368666 }, "else": { "operation": "boost", - "score": -0.05476447939872742 + "score": 0.018980972468852997 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13823.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.03359311446547508 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.005503486841917038 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13744.0, + "threshold": 61.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6193.5, "then": { - "operation": "boost", - "score": 0.1352282464504242 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6676.0, + "then": { + "operation": "boost", + "score": 0.05077635496854782 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6653.5, + "then": { + "operation": "boost", + "score": 0.13090892136096954 + }, + "else": { + "operation": "boost", + "score": 0.07792850583791733 + } + } }, "else": { - "operation": "boost", - "score": -0.042917706072330475 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.055405404418706894 + }, + "else": { + "operation": "boost", + "score": 0.04352886602282524 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12413458526134491 + }, + "else": { + "operation": "boost", + "score": -0.11298671364784241 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10427777469158173 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.009770478121936321 + }, + "else": { + "operation": "boost", + "score": 0.12765315175056458 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02796221151947975 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02854122780263424 + } + }, + "else": { + "operation": "boost", + "score": -0.03517910838127136 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 22.5, + "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": 34.5, + "threshold": 157.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1357114464044571 + "score": 0.2710006833076477 }, "else": { "operation": "boost", - "score": 0.2136186808347702 + "score": 0.14452813565731049 } }, "else": { - "operation": "boost", - "score": -0.041627172380685806 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10857215523719788 + }, + "else": { + "operation": "boost", + "score": 0.09234106540679932 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.13621141016483307 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.0, + "threshold": 347.0, "then": { "operation": "boost", - "score": 0.10822708159685135 + "score": 0.12513364851474762 }, "else": { "operation": "boost", - "score": 0.025142405182123184 + "score": 0.5322720408439636 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 177.0, "then": { "operation": "boost", - "score": -0.17341136932373047 + "score": 0.12770839035511017 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11513792723417282 - }, - "else": { - "operation": "boost", - "score": -0.5291029214859009 - } - }, - "else": { - "operation": "boost", - "score": 0.004602431319653988 - } + "operation": "boost", + "score": -0.12838785350322723 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.11772818118333817 - }, - "else": { - "operation": "boost", - "score": 0.11765982955694199 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 774.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2449.5, - "then": { - "operation": "boost", - "score": -0.31743401288986206 - }, - "else": { - "operation": "boost", - "score": 0.11507924646139145 - } - }, - "else": { - "operation": "boost", - "score": 0.06312748044729233 - } - }, - "else": { - "operation": "boost", - "score": -0.04171835631132126 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 217.5, - "then": { - "operation": "boost", - "score": 0.07083812355995178 - }, - "else": { - "operation": "boost", - "score": 0.110344298183918 - } - }, - "else": { - "operation": "boost", - "score": -0.14509889483451843 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11388340592384338 - }, - "else": { - "operation": "boost", - "score": 0.06121018901467323 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04477301612496376 - } - }, - "else": { - "operation": "boost", - "score": 0.1065916046500206 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.07342420518398285 - }, - "else": { - "operation": "boost", - "score": 0.10335182398557663 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04673592373728752 - } - }, - "else": { - "operation": "boost", - "score": -0.04596932977437973 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0615842230618 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1251405030488968 - }, - "else": { - "operation": "boost", - "score": 0.1757904291152954 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.16257397830486298 - }, - "else": { - "operation": "boost", - "score": -0.12033204734325409 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.038896434009075165 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.07955319434404373 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.13463321328163147 - }, - "else": { - "operation": "boost", - "score": 0.0609566755592823 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07002071291208267 - } - }, - "else": { - "operation": "boost", - "score": 0.00018846757302526385 - } - } - } - } - } + "operation": "boost", + "score": 0.05336939916014671 } } } }, "else": { - "operation": "boost", - "score": -0.042657818645238876 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1216503456234932 + }, + "else": { + "operation": "boost", + "score": -0.10416299104690552 + } } - }, - "else": { - "operation": "boost", - "score": 0.01294921524822712 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01556715089827776 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 350.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.09353335201740265 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, + "then": { + "operation": "boost", + "score": 0.12439411878585815 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10691507905721664 + }, + "else": { + "operation": "boost", + "score": -0.3184296488761902 + } + }, + "else": { + "operation": "boost", + "score": -0.12603355944156647 + } + } }, "else": { "operation": "boost", - "score": -0.563229501247406 + "score": 0.12484663724899292 } }, "else": { "operation": "boost", - "score": 0.09600786864757538 + "score": 0.07710598409175873 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22788889706134796 - }, - "else": { - "operation": "boost", - "score": -0.10152175277471542 - } + "operation": "boost", + "score": 0.0544055737555027 } } - } - }, - "else": { - "operation": "boost", - "score": -0.0054499427787959576 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.019156821072101593 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 68.5, + "threshold": 12557.0, "then": { "operation": "boost", - "score": -1.3166000843048096 + "score": 0.1517053097486496 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14915594458580017 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.16096873581409454 - }, - "else": { - "operation": "boost", - "score": -0.03326654061675072 - } - } + "operation": "boost", + "score": 0.023394664749503136 } } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09996096044778824 - }, - "else": { - "operation": "boost", - "score": 0.06727148592472076 - } + "operation": "boost", + "score": 0.002956873271614313 } } + }, + "else": { + "operation": "boost", + "score": -0.08699578046798706 } + }, + "else": { + "operation": "boost", + "score": -0.00015302262909244746 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5720.0, "then": { - "operation": "boost", - "score": 0.03144121542572975 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7509.0, "then": { - "operation": "boost", - "score": 0.03966234624385834 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09738113731145859 + "score": -0.08828537166118622 }, "else": { "operation": "boost", - "score": 0.02137068659067154 + "score": 0.1004263237118721 } }, "else": { + "operation": "boost", + "score": 0.016363633796572685 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7175.0, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type", - "CCC_Symbol" + "CCC_Statement", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.05610748752951622 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7400.5, + "then": { + "operation": "boost", + "score": 0.1018018051981926 + }, + "else": { + "operation": "boost", + "score": 0.11381061375141144 + } }, "else": { "operation": "boost", - "score": 0.025021011009812355 + "score": -0.016845911741256714 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12261570990085602 }, "else": { - "operation": "boost", - "score": 0.11401696503162384 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7089.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 + } + }, + "else": { + "operation": "boost", + "score": -0.014172249473631382 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009724318981170654 + } } - }, - "else": { - "operation": "boost", - "score": 0.07680719345808029 - } - }, - "else": { - "operation": "boost", - "score": 0.015666963532567024 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03999178111553192 - }, - "else": { - "operation": "boost", - "score": -0.03862515091896057 } }, "else": { - "operation": "boost", - "score": 0.02599210850894451 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.026988187804818153 - }, - "else": { - "operation": "boost", - "score": 0.008220240473747253 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.0036533745005726814 - }, - "else": { - "operation": "boost", - "score": -0.016446126624941826 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12606646120548248 - }, - "else": { - "operation": "boost", - "score": 0.12837634980678558 - } - }, - "else": { - "operation": "boost", - "score": 0.006455260328948498 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.06738243252038956 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.5722317099571228 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10042185336351395 + "score": 0.004565135575830936 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10932871699333191 + }, + "else": { + "operation": "boost", + "score": -0.02165360003709793 + } + }, + "else": { + "operation": "boost", + "score": 0.1594967395067215 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10807464271783829 + }, + "else": { + "operation": "boost", + "score": 0.1062937006354332 + } + } }, "else": { "operation": "boost", - "score": 0.08458399772644043 + "score": 0.07205262780189514 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 90.5, "then": { - "operation": "boost", - "score": -0.3978971242904663 + "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.1111026331782341 + "score": -0.00496789300814271 } } }, + "else": { + "operation": "boost", + "score": 0.049926720559597015 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.030030490830540657 + }, + "else": { + "operation": "boost", + "score": 0.04911132529377937 + } + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 112.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": 0.11912527680397034 - }, - "else": { - "operation": "boost", - "score": 0.12808431684970856 - } + "operation": "boost", + "score": 0.028782052919268608 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.005039524752646685 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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 + } + }, + "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 + } + } }, "else": { "operation": "boost", - "score": 0.13243937492370605 + "score": 0.04016648605465889 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11842972785234451 + "score": 0.04320492595434189 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.10797744989395142 - }, - "else": { - "operation": "boost", - "score": 0.11368376761674881 - } + "operation": "boost", + "score": -0.00433632405474782 } } } } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 207.5, "then": { - "operation": "boost", - "score": -0.0015107175568118691 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 221.5, + "then": { + "operation": "boost", + "score": 0.02748250402510166 + }, + "else": { + "operation": "boost", + "score": 0.09281417727470398 + } }, "else": { "operation": "boost", - "score": 0.1039581447839737 + "score": -0.06995117664337158 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.021718475967645645 }, "else": { "operation": "boost", - "score": -0.046299420297145844 + "score": 0.038420386612415314 } + }, + "else": { + "operation": "boost", + "score": 0.008522223681211472 } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.006015333347022533 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08939789980649948 - }, - "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.15727992355823517 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245728.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.15806585550308228 + "score": 0.07712174206972122 }, "else": { - "operation": "boost", - "score": 0.07550742477178574 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.08631843328475952 + }, + "else": { + "operation": "boost", + "score": 0.06536337733268738 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.1605195850133896 + "score": 0.010245224460959435 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "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" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121087.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.11184421181678772 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.49670857191085815 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05661781504750252 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11114878952503204 + }, + "else": { + "operation": "boost", + "score": 0.08208933472633362 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.15011386573314667 + "score": -0.06927962601184845 }, "else": { "operation": "boost", - "score": 0.06477958709001541 + "score": 0.0041875834576785564 } } }, "else": { - "operation": "boost", - "score": 0.01741243712604046 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03503001853823662 + }, + "else": { + "operation": "boost", + "score": -0.14471657574176788 + } } } } }, "else": { - "operation": "boost", - "score": -0.1406659632921219 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.008535853587090969 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 858647.0, + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 25.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.1144898533821106 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.0626005083322525 + "score": -0.34325462579727173 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.0767245963215828 - }, - "else": { - "operation": "boost", - "score": 0.004301118664443493 - } - }, - "else": { - "operation": "boost", - "score": 0.08873671293258667 - } + "operation": "boost", + "score": 0.12932367622852325 } + }, + "else": { + "operation": "boost", + "score": -0.0890953540802002 } }, "else": { @@ -125162,698 +123289,923 @@ ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", - "score": -0.029085732996463776 + "score": 0.09245607256889343 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, - "then": { - "operation": "boost", - "score": -0.053627993911504745 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318692.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11112725734710693 - }, - "else": { - "operation": "boost", - "score": -0.23051080107688904 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10464981198310852 - }, - "else": { - "operation": "boost", - "score": 0.04167855903506279 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12769785523414612 - } - }, - "else": { - "operation": "boost", - "score": -0.2274756282567978 - } - } + "operation": "boost", + "score": 0.09833281487226486 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, - "then": { - "operation": "boost", - "score": 0.058003589510917664 - }, - "else": { - "operation": "boost", - "score": -0.023343024775385857 - } + "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.12133564800024033 + "score": 0.09279827028512955 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Namespace" + ], + "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": 3.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.10482917726039886 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.022099345922470093 + }, + "else": { + "operation": "boost", + "score": 0.11188684403896332 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05303248390555382 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.044278211891651154 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06994801014661789 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.13386061787605286 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120524.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04399855434894562 + "score": 0.18070624768733978 }, "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.5627243518829346 + }, + "else": { + "operation": "boost", + "score": 0.1217043474316597 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05929186940193176 + } + }, + "else": { + "operation": "boost", + "score": -0.013831156305968761 + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2020.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.05485525354743004 + }, + "else": { + "operation": "boost", + "score": 0.037067752331495285 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.0772392600774765 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04650440067052841 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.019762221723794937 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29053.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93657.0, + "threshold": 296854.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.003689679317176342 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.09285706281661987 - }, - "else": { - "operation": "boost", - "score": 0.028881462290883064 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11977031826972961 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11679929494857788 - }, - "else": { - "operation": "boost", - "score": 0.11074142158031464 - } - } - } + "operation": "boost", + "score": -0.018798407167196274 }, "else": { "operation": "boost", - "score": 0.035306621342897415 + "score": -0.13540565967559814 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "boost", + "score": 0.03241739794611931 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 132033.5, "then": { "operation": "boost", - "score": 0.09530925005674362 + "score": -0.1272115856409073 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.10428188741207123 - }, - "else": { - "operation": "boost", - "score": 0.07810501754283905 - } + "operation": "boost", + "score": 0.06747904419898987 }, "else": { "operation": "boost", - "score": 0.00856921449303627 + "score": 0.013853151351213455 } }, + "else": { + "operation": "boost", + "score": -0.006774561014026403 + } + } + } + } + }, + "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": 91652.0, + "threshold": 60891.5, "then": { "operation": "boost", - "score": 0.10170615464448929 + "score": -0.5047888159751892 }, "else": { "operation": "boost", - "score": 0.07384508848190308 + "score": -0.11712319403886795 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04755537584424019 + }, + "else": { + "operation": "boost", + "score": -0.37269526720046997 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10701580345630646 + }, + "else": { + "operation": "boost", + "score": -0.0765317976474762 + } }, "else": { "operation": "boost", - "score": 0.0643896535038948 + "score": 0.00709532480686903 } - }, - "else": { - "operation": "boost", - "score": 0.03744589164853096 } }, "else": { "operation": "boost", - "score": -0.0942816436290741 + "score": -0.09066782891750336 } + }, + "else": { + "operation": "boost", + "score": 0.0004502807860262692 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6406.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6676.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273152.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.027228612452745438 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6767.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 8420.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 8506.0, "then": { - "operation": "boost", - "score": 0.049794964492321014 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.1002224013209343 + "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.044735636562108994 + "score": 0.031551115214824677 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10645682364702225 }, "else": { "operation": "boost", - "score": 0.0877927616238594 + "score": 0.11486365646123886 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.05124828219413757 }, "else": { "operation": "boost", - "score": 0.09537957608699799 + "score": -0.08665937930345535 } + }, + "else": { + "operation": "boost", + "score": 0.10904903709888458 } }, "else": { - "operation": "boost", - "score": 0.013703265227377415 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185218.0, - "then": { - "operation": "boost", - "score": -0.17193111777305603 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 85554.5, + "threshold": 20608.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08427631109952927 - }, - "else": { - "operation": "boost", - "score": -0.15172888338565826 - } + "operation": "boost", + "score": -0.34723520278930664 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 20410.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "boost", - "score": 0.019906235858798027 - }, - "else": { - "operation": "boost", - "score": 0.1480598747730255 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.09437725692987442 + "score": 0.08856186270713806 }, "else": { "operation": "boost", - "score": 0.08554062247276306 + "score": 0.11339151859283447 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155294.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.094431072473526 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 18672.5, "then": { - "operation": "boost", - "score": 0.10870461910963058 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "boost", + "score": 0.0440516360104084 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09780517965555191 + }, + "else": { + "operation": "boost", + "score": 0.11960475891828537 + } + } }, "else": { - "operation": "boost", - "score": 0.11814410984516144 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10654.0, + "then": { + "operation": "boost", + "score": 0.01783411018550396 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10339.5, + "then": { + "operation": "boost", + "score": 0.11061122268438339 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6984.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006480421870946884 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.048857733607292175 + } } } - }, - "else": { - "operation": "boost", - "score": 0.039019789546728134 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08726144582033157 }, "else": { "operation": "boost", - "score": -0.32881826162338257 + "score": 0.1139783039689064 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17777.0, "then": { - "operation": "boost", - "score": -0.15574228763580322 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "boost", + "score": 0.002122376346960664 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.043744057416915894 + "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 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 18139.5, "then": { "operation": "boost", - "score": 0.07621655613183975 + "score": -0.3576519787311554 }, "else": { - "operation": "boost", - "score": 0.03376661613583565 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12002094089984894 + }, + "else": { + "operation": "boost", + "score": -0.0058528282679617405 + } } } - }, - "else": { - "operation": "boost", - "score": -0.5099161267280579 } + }, + "else": { + "operation": "boost", + "score": 0.050295665860176086 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458944.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.017136236652731895 - }, - "else": { - "operation": "boost", - "score": -0.19529670476913452 - } + "operation": "boost", + "score": -0.2755536139011383 }, "else": { "operation": "boost", - "score": -0.0292527936398983 + "score": 0.11317203938961029 } } } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.010675584897398949 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "boost", - "score": -0.1456926465034485 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15475.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19121.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.06376159191131592 - }, - "else": { - "operation": "boost", - "score": 0.10893147438764572 - } }, "else": { "operation": "boost", - "score": -0.2575816512107849 + "score": 0.03421534597873688 } }, "else": { - "operation": "boost", - "score": -0.018563589081168175 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.0064325290732085705 + "score": 0.03922232240438461 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.0, - "then": { - "operation": "boost", - "score": 0.12119561433792114 - }, - "else": { - "operation": "boost", - "score": -0.1408301442861557 - } + "operation": "boost", + "score": -0.019225435331463814 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6664.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12576.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.14982013404369354 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15173.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0717080682516098 - }, - "else": { - "operation": "boost", - "score": 0.11077189445495605 - } + "operation": "boost", + "score": 0.13721801340579987 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.1484389454126358 + "score": 0.12090428918600082 }, "else": { "operation": "boost", - "score": 0.04946378618478775 + "score": 0.14711754024028778 } } + }, + "else": { + "operation": "boost", + "score": 0.11891432106494904 } }, "else": { "operation": "boost", - "score": 0.02260649763047695 + "score": 0.011243491433560848 } + }, + "else": { + "operation": "boost", + "score": 0.08333209156990051 } } }, @@ -125861,1664 +124213,2516 @@ "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "FunctionScope" + "FileScope" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": 0.08490604907274246 + }, + "else": { + "operation": "boost", + "score": 0.014971796423196793 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.004477353300899267 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.034184008836746216 + }, + "else": { + "operation": "boost", + "score": 0.012983094900846481 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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.05936150625348091 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02644951269030571 + "score": 0.08255369961261749 }, "else": { - "operation": "boost", - "score": 0.0012524701887741685 + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.0035117093939334154 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.009645887650549412 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.006165622733533382 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10747760534286499 + "score": 0.09546016156673431 }, "else": { "operation": "boost", - "score": 0.0691438615322113 + "score": 0.11321042478084564 } }, "else": { "operation": "boost", - "score": 0.008897651918232441 + "score": 0.05558105930685997 } }, "else": { "operation": "boost", - "score": -0.13614289462566376 + "score": 0.052589207887649536 } }, "else": { "operation": "boost", - "score": -0.1693532019853592 + "score": 0.025426704436540604 } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + } + }, + "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": 2.5, + "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.011005031876266003 + "score": -0.027338214218616486 }, "else": { - "operation": "boost", - "score": 0.05111228674650192 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13672378659248352 + "score": -0.18057070672512054 }, "else": { "operation": "boost", - "score": 0.1556292474269867 + "score": -0.018574511632323265 } - }, - "else": { - "operation": "boost", - "score": -0.07363246381282806 } + }, + "else": { + "operation": "boost", + "score": 0.01634824089705944 } + }, + "else": { + "operation": "boost", + "score": 0.06591104716062546 } - }, - "else": { - "operation": "boost", - "score": 0.012715638615190983 } + }, + "else": { + "operation": "boost", + "score": 0.0043716453947126865 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0771452859044075 - }, - "else": { - "operation": "boost", - "score": -0.043189872056245804 - } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.005395862273871899 - }, - "else": { - "operation": "boost", - "score": 0.021505553275346756 - } + "operation": "boost", + "score": 0.010023750364780426 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ - "GlobalScope", "FunctionScope", - "FileScope" + "GlobalScope" ], "then": { "operation": "boost", - "score": -0.0247761569917202 + "score": 0.0028004320338368416 }, "else": { "operation": "boost", - "score": -0.20081757009029388 + "score": -0.07978007197380066 } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0011415196349844337 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.1233355849981308 + "score": -0.0009884960018098354 }, "else": { "operation": "boost", - "score": 0.12454228103160858 + "score": -0.10630567371845245 } - }, - "else": { - "operation": "boost", - "score": -0.03260856494307518 } }, "else": { + "operation": "boost", + "score": -0.01294593047350645 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05398033931851387 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.06646382063627243 + "score": 0.023379933089017868 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07650304585695267 - }, - "else": { - "operation": "boost", - "score": 0.08155998587608337 - } + "operation": "boost", + "score": 0.04145871847867966 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": -0.34878361225128174 - }, - "else": { - "operation": "boost", - "score": 0.1100405901670456 - } + "operation": "boost", + "score": -0.08801247924566269 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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": "NumReferences", - "threshold": 190994.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1168019026517868 + "score": 0.03353816643357277 }, "else": { "operation": "boost", - "score": 0.12626248598098755 + "score": 0.06571143865585327 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.005587159190326929 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11630959063768387 - }, - "else": { - "operation": "boost", - "score": 0.10511086136102676 - } - } + "operation": "boost", + "score": -0.06753135472536087 } }, "else": { "operation": "boost", - "score": 0.1169825941324234 + "score": 0.030318081378936768 } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "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.0007383280899375677 + "score": 0.10638165473937988 }, "else": { "operation": "boost", - "score": 0.1067197173833847 + "score": -0.13798484206199646 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1318535.0, + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": 0.02100509963929653 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Constructor", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.00042479042895138264 + "score": 0.019177524372935295 }, "else": { "operation": "boost", - "score": -0.0917213037610054 + "score": -0.004878230858594179 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.07544764876365662 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.0504770390689373 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0432518795132637 + }, + "else": { + "operation": "boost", + "score": -0.01506322342902422 + } }, "else": { - "operation": "boost", - "score": -0.2780768871307373 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.006388157140463591 + }, + "else": { + "operation": "boost", + "score": -0.04246512055397034 + } } + }, + "else": { + "operation": "boost", + "score": -0.1042931079864502 } }, "else": { "operation": "boost", - "score": 0.020818762481212616 + "score": 0.037008609622716904 } + }, + "else": { + "operation": "boost", + "score": 0.013114457949995995 } } - }, - "else": { + } + }, + "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" + ], + "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": 286067.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.022626753896474838 + "score": -0.10911855101585388 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "boost", - "score": -0.03584814816713333 + "score": 0.01112605631351471 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.04687828943133354 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "Variable" ], "then": { - "operation": "boost", - "score": 0.06088753044605255 - }, - "else": { - "operation": "boost", - "score": -0.10240862518548965 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, - "then": { - "operation": "boost", - "score": 0.007569026667624712 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.024046888574957848 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03836624696850777 + "score": 0.10208897292613983 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0004919002531096339 - }, - "else": { - "operation": "boost", - "score": 0.11500844359397888 - } + "operation": "boost", + "score": 0.085167795419693 }, "else": { "operation": "boost", - "score": 0.11583177000284195 + "score": 0.10171176493167877 } }, "else": { "operation": "boost", - "score": 0.10550025850534439 + "score": 0.048722900450229645 } } - }, - "else": { - "operation": "boost", - "score": 0.06762927025556564 } + }, + "else": { + "operation": "boost", + "score": 0.03627147525548935 } } }, "else": { + "operation": "boost", + "score": 0.012806297279894352 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.002839708235114813 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6159.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.03117801994085312 + "score": -0.05492519587278366 }, "else": { + "operation": "boost", + "score": 0.10843551158905029 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19923.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99880.5, + "threshold": 88678.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "boost", - "score": 0.0023410881403833628 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.08137305080890656 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11227311193943024 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11788632720708847 - }, - "else": { - "operation": "boost", - "score": 0.10774295777082443 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09472249448299408 - } - } + "operation": "boost", + "score": 0.032304901629686356 + }, + "else": { + "operation": "boost", + "score": 0.08612046390771866 + } + }, + "else": { + "operation": "boost", + "score": -0.019143065437674522 + } + }, + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.06956017762422562 + "score": 0.12355731427669525 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108984.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.06896621733903885 - }, - "else": { - "operation": "boost", - "score": 0.11220183968544006 - } - }, - "else": { - "operation": "boost", - "score": 0.013289965689182281 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { - "operation": "boost", - "score": 0.11711042374372482 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11117856204509735 - }, - "else": { - "operation": "boost", - "score": 0.00709362979978323 - } - }, - "else": { - "operation": "boost", - "score": 0.025762274861335754 - } - } - } + "operation": "boost", + "score": -0.14065155386924744 } }, "else": { "operation": "boost", - "score": -0.011881452053785324 + "score": 0.12299942970275879 } } }, "else": { - "operation": "boost", - "score": 0.019180521368980408 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.05432628467679024 + }, + "else": { + "operation": "boost", + "score": 0.1161874458193779 + } } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 165.5, + "then": { + "operation": "boost", + "score": -0.00959805864840746 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.04273049905896187 + }, + "else": { + "operation": "boost", + "score": -0.08431185781955719 + } + } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.008872592821717262 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63355.0, - "then": { - "operation": "boost", - "score": 0.08127494156360626 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.1782711148262024 + "score": -0.0396139919757843 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.006676092278212309 + "score": 0.06015205383300781 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1219644546508789 - }, - "else": { - "operation": "boost", - "score": 0.1300860047340393 - } + "operation": "boost", + "score": -0.08844176679849625 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.05666518583893776 + "score": -0.07823740690946579 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.12358453869819641 - }, - "else": { - "operation": "boost", - "score": 0.10958030074834824 - } - }, - "else": { - "operation": "boost", - "score": 0.11919641494750977 - } + "operation": "boost", + "score": 0.1330980360507965 } }, "else": { "operation": "boost", - "score": 0.054094839841127396 + "score": 0.07101432234048843 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13728.5, - "then": { - "operation": "boost", - "score": 0.5714569091796875 - }, - "else": { - "operation": "boost", - "score": -0.1748674362897873 - } + "operation": "boost", + "score": 0.015895724296569824 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04198496788740158 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.021477457135915756 - }, - "else": { - "operation": "boost", - "score": -0.23516912758350372 - } + "operation": "boost", + "score": -0.5664212107658386 }, "else": { "operation": "boost", - "score": 0.08709430694580078 + "score": 0.12485598772764206 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.11789120733737946 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.1260778158903122 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.0 + }, + "else": { + "operation": "boost", + "score": 0.1165308877825737 + } }, "else": { - "operation": "boost", - "score": 0.07048113644123077 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.11218053847551346 + }, + "else": { + "operation": "boost", + "score": 0.23547491431236267 + } } }, "else": { "operation": "boost", - "score": -0.10089461505413055 + "score": -0.1350410282611847 } }, "else": { - "operation": "boost", - "score": 0.04867786169052124 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12066154927015305 + }, + "else": { + "operation": "boost", + "score": 0.09543012827634811 + } } + }, + "else": { + "operation": "boost", + "score": 0.0968620777130127 } } - }, - "else": { - "operation": "boost", - "score": -0.030078832060098648 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25329.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.0016364132752642035 - }, - "else": { - "operation": "boost", - "score": 0.10938241332769394 - } - }, - "else": { - "operation": "boost", - "score": -0.02780057303607464 - } + "operation": "boost", + "score": 0.02819921262562275 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.021838434040546417 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, - "then": { - "operation": "boost", - "score": 0.13529667258262634 - }, - "else": { - "operation": "boost", - "score": 0.13929787278175354 - } - } + "operation": "boost", + "score": -0.067509725689888 } }, "else": { "operation": "boost", - "score": -0.6177110075950623 + "score": 0.009353924542665482 } }, "else": { "operation": "boost", - "score": -0.16206716001033783 + "score": 0.028998415917158127 } - }, - "else": { - "operation": "boost", - "score": -0.030475277453660965 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.02442246302962303 - }, - "else": { - "operation": "boost", - "score": -0.17420265078544617 - } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "NumReferences", + "threshold": 23415.5, + "then": { + "operation": "boost", + "score": -0.22879558801651 + }, + "else": { + "operation": "boost", + "score": -0.007844231091439724 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.17158396542072296 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.009181289933621883 - }, - "else": { - "operation": "boost", - "score": -0.2452208548784256 - } + "operation": "boost", + "score": 0.15812315046787262 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 234860.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 25.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11772087216377258 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.08885593712329865 + "score": -0.15712396800518036 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10943829268217087 + }, + "else": { + "operation": "boost", + "score": 0.060080982744693756 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 418.5, + "threshold": 104520.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 511.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04563586786389351 + "score": 0.04240293800830841 }, "else": { - "operation": "boost", - "score": 0.12250866740942001 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.09723310172557831 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.11330807209014893 + "score": 0.1110326275229454 }, "else": { "operation": "boost", - "score": 0.040175341069698334 + "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.058773621916770935 + "score": 0.07284697145223618 } - }, - "else": { - "operation": "boost", - "score": -0.0018866562750190496 } } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15654967725276947 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.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": "boost", - "score": -0.02802659198641777 + "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.003372544189915061 + "score": -0.05852372944355011 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.05854702740907669 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 188273.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22423.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.10463236272335052 + "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": 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.05880757048726082 + }, + "else": { + "operation": "boost", + "score": -0.08480236679315567 + } + }, + "else": { + "operation": "boost", + "score": 0.08336204290390015 + } + }, + "else": { + "operation": "boost", + "score": -0.12168710678815842 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07429160177707672 + }, + "else": { + "operation": "boost", + "score": 0.10225042700767517 + } + }, + "else": { + "operation": "boost", + "score": -0.008401057682931423 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.01334152277559042 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.030416235327720642 + }, + "else": { + "operation": "boost", + "score": 0.12433090806007385 + } }, "else": { "operation": "boost", - "score": -0.05482158809900284 + "score": -0.1108558252453804 } }, "else": { "operation": "boost", - "score": -0.1551530659198761 + "score": 0.01580740511417389 } } }, "else": { - "operation": "boost", - "score": 0.0380982831120491 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 114340.0, "then": { + "operation": "boost", + "score": -0.04848996549844742 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15737.0, + "threshold": 96602.0, "then": { - "operation": "boost", - "score": -0.01846550777554512 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9552.5, + "threshold": 97095.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "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.10841213166713715 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04042375832796097 + }, + "else": { + "operation": "boost", + "score": 0.09059277176856995 + } }, "else": { "operation": "boost", - "score": -0.1453428566455841 + "score": -0.40390539169311523 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9626.0, + "threshold": 108984.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "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 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.1540730893611908 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14750.5, + "threshold": 76763.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08424793928861618 - }, - "else": { - "operation": "boost", - "score": 0.10985562950372696 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10940.5, + "threshold": 90101.0, "then": { "operation": "boost", - "score": 0.09442662447690964 + "score": -0.05581415444612503 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9969.5, + "threshold": 89516.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10129.0, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.34239476919174194 - }, - "else": { - "operation": "boost", - "score": 0.5751698017120361 - } + "operation": "boost", + "score": 0.10105127841234207 }, "else": { "operation": "boost", - "score": 0.14353761076927185 + "score": 0.11771401017904282 } }, "else": { "operation": "boost", - "score": -0.007989033125340939 + "score": -0.005357729736715555 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75566.5, + "then": { + "operation": "boost", + "score": 0.12662507593631744 + }, + "else": { + "operation": "boost", + "score": 0.05083879455924034 + } } - }, - "else": { - "operation": "boost", - "score": 0.035357870161533356 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11559315025806427 - }, - "else": { - "operation": "boost", - "score": 0.02791980840265751 - } + "operation": "boost", + "score": 0.022845828905701637 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.023369193077087402 }, "else": { "operation": "boost", - "score": 0.045373544096946716 + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.1004658192396164 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53705.5, - "then": { - "operation": "boost", - "score": 0.10814082622528076 - }, - "else": { - "operation": "boost", - "score": -0.0031689379829913378 - } + "operation": "boost", + "score": 0.11452104151248932 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, "then": { + "operation": "boost", + "score": -0.11968391388654709 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "boost", - "score": 0.024289492517709732 + "score": 0.11029797047376633 }, "else": { "operation": "boost", - "score": 0.009769058786332607 + "score": 0.09160799533128738 } - }, - "else": { - "operation": "boost", - "score": -0.0373481810092926 } } } } + }, + "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": { - "operation": "boost", - "score": -0.007509117946028709 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03445175662636757 + "score": -0.4916348457336426 }, "else": { "operation": "boost", - "score": 0.01241209078580141 + "score": 0.06754162162542343 } }, "else": { "operation": "boost", - "score": -0.03467920422554016 + "score": 0.10819951444864273 } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.0032047173008322716 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10622687637805939 + }, + "else": { + "operation": "boost", + "score": 0.07498548924922943 + } }, "else": { "operation": "boost", - "score": 0.040018681436777115 + "score": 0.028681442141532898 } }, "else": { "operation": "boost", - "score": 0.007159286178648472 + "score": 0.08943556249141693 } } }, "else": { "operation": "boost", - "score": -0.0035345356445759535 + "score": -0.006686662323772907 } } + }, + "else": { + "operation": "boost", + "score": -0.0012955657439306378 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06599750369787216 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + "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.12704329192638397 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4531.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13666.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.14098307490348816 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341837.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "boost", + "score": 0.00988976750522852 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.008142412640154362 + "score": 0.0498821847140789 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.09303658455610275 + "score": 0.041146740317344666 }, "else": { - "operation": "boost", - "score": 0.04050830751657486 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04457258805632591 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09914752095937729 + } + } } } }, "else": { "operation": "boost", - "score": 0.08968512713909149 + "score": 0.013159465976059437 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58073.0, + } + } + }, + "else": { + "operation": "boost", + "score": 0.0033093984238803387 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6159.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61155.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.03485941141843796 + "score": -0.038208816200494766 }, "else": { + "operation": "boost", + "score": 0.10736425966024399 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19923.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 85788.5, "then": { "operation": "boost", - "score": 0.052065640687942505 + "score": 0.05197470635175705 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.014689773321151733 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18783.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.08644632995128632 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05406290292739868 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 165.5, + "then": { + "operation": "boost", + "score": -0.008457883261144161 + }, + "else": { + "operation": "boost", + "score": 0.0339847132563591 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.08575962483882904 + }, + "else": { + "operation": "boost", + "score": 0.028850411996245384 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.145792618393898 + "score": -0.002604513196274638 }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.028283141553401947 + }, + "else": { + "operation": "boost", + "score": 0.13868460059165955 + } + }, + "else": { + "operation": "boost", + "score": 0.023393461480736732 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007050762884318829 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "boost", - "score": -0.5250594019889832 + "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 + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.8648282885551453 + "score": 0.10635615140199661 }, "else": { "operation": "boost", - "score": -0.008916330523788929 + "score": 0.02247648872435093 } } } + }, + "else": { + "operation": "boost", + "score": -0.007131151854991913 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.07306230813264847 + "score": -0.35683441162109375 }, "else": { + "operation": "boost", + "score": 0.12509393692016602 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "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 + } + }, + "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.11943849921226501 + }, + "else": { + "operation": "boost", + "score": -0.10612310469150543 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009797945618629456 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007413034792989492 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "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": "boost", + "score": -0.076923668384552 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "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.1010967269539833 + }, + "else": { + "operation": "boost", + "score": -0.5920601487159729 + } + }, + "else": { "operation": "boost", - "score": 0.08567970991134644 + "score": 0.10291978716850281 + } + }, + "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.10610946267843246 + "score": 0.06836367398500443 } } }, "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04114600270986557 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.1052989661693573 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.03669493645429611 + }, + "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 + } + } }, "else": { "operation": "boost", - "score": 0.0009832850191742182 + "score": -0.15491527318954468 } + }, + "else": { + "operation": "boost", + "score": 0.048850711435079575 } } } @@ -127526,1993 +126730,2511 @@ "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.004380244296044111 + "score": -0.007571564055979252 }, "else": { "operation": "boost", - "score": 0.1120210736989975 + "score": 0.02098282426595688 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "boost", + "score": -0.11495468765497208 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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_DotMemberAccess", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4583.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11621017754077911 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12990.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03448685258626938 + "score": 0.03856726735830307 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.07708690315485 + "score": 0.012362425215542316 }, "else": { "operation": "boost", - "score": 0.11354624480009079 + "score": -0.04275107756257057 } } }, "else": { - "operation": "boost", - "score": 0.07431583851575851 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6700.5, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 10021.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.030807001516222954 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.11316019296646118 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.06147900968790054 + }, + "else": { + "operation": "boost", + "score": 0.0034323600120842457 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.014644855633378029 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.04605107009410858 + "score": -0.1959865838289261 }, "else": { - "operation": "boost", - "score": 0.07387041300535202 + "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": "boost", - "score": 0.03700913488864899 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04540818929672241 + }, + "else": { + "operation": "boost", + "score": -0.049984999001026154 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": -0.05647498741745949 + }, + "else": { + "operation": "boost", + "score": -0.3047519624233246 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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_DotMemberAccess", "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11360813677310944 - }, - "else": { - "operation": "boost", - "score": 0.12748534977436066 - } - }, - "else": { - "operation": "boost", - "score": -1.0558890104293823 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": 0.12358678877353668 + "score": 0.1224827840924263 }, "else": { "operation": "boost", - "score": 0.04473239928483963 + "score": -0.5091191530227661 } } }, "else": { "operation": "boost", - "score": 0.0707474872469902 + "score": -0.026885859668254852 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1560.5, + "then": { + "operation": "boost", + "score": 0.07792146503925323 + }, + "else": { + "operation": "boost", + "score": -0.025418879464268684 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.4305914640426636 + }, + "else": { + "operation": "boost", + "score": -0.15405559539794922 + } } } - }, - "else": { - "operation": "boost", - "score": 0.03202901780605316 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.024633320048451424 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6920.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_DotMemberAccess", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8995.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10080769658088684 + "score": 0.05867446959018707 }, "else": { - "operation": "boost", - "score": -0.7155593037605286 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204597.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.013496384024620056 + }, + "else": { + "operation": "boost", + "score": 0.12399494647979736 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06053411588072777 + }, + "else": { + "operation": "boost", + "score": 0.0883612260222435 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.22840331494808197 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07380001991987228 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.010408995673060417 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10874909162521362 - }, - "else": { - "operation": "boost", - "score": 0.08249127864837646 - } + "operation": "boost", + "score": 0.006477975752204657 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11335179954767227 - }, - "else": { - "operation": "boost", - "score": 0.08918867260217667 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4579.0, - "then": { - "operation": "boost", - "score": 0.10624588280916214 - }, - "else": { - "operation": "boost", - "score": 0.05948469787836075 - } - } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6290.5, + "threshold": 263421.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6693.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7133.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09101845324039459 + "score": 0.07597558945417404 }, "else": { "operation": "boost", - "score": 0.1206662729382515 + "score": 0.023026766255497932 } }, "else": { "operation": "boost", - "score": 0.11515489220619202 + "score": 0.010144757106900215 } }, "else": { - "operation": "boost", - "score": 0.003392264246940613 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.052260756492614746 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6067.0, + "threshold": 6644.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6719.0, "then": { "operation": "boost", - "score": 0.13912273943424225 + "score": 0.05179215222597122 }, "else": { - "operation": "boost", - "score": 0.11508620530366898 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.13437789678573608 + }, + "else": { + "operation": "boost", + "score": 0.10624467581510544 + } } }, "else": { - "operation": "boost", - "score": -0.19534367322921753 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07103898376226425 + }, + "else": { + "operation": "boost", + "score": 0.022115956991910934 + } } }, "else": { "operation": "boost", - "score": -0.2251049280166626 + "score": 0.039505038410425186 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11146684736013412 - }, - "else": { - "operation": "boost", - "score": 0.0712168738245964 - } + "operation": "boost", + "score": 0.0026240821462124586 } } + }, + "else": { + "operation": "boost", + "score": -0.011332454159855843 } } + }, + "else": { + "operation": "boost", + "score": 0.10188950598239899 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + } + }, + "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": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203.5, - "then": { - "operation": "boost", - "score": -0.10079291462898254 - }, - "else": { - "operation": "boost", - "score": 0.11599002033472061 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.020666422322392464 + "score": -0.05489664897322655 }, "else": { - "operation": "boost", - "score": 0.127732515335083 + "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.04236239567399025 + "score": 0.024026377126574516 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.06456195563077927 - }, - "else": { - "operation": "boost", - "score": 0.0287080779671669 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.048680372536182404 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.059966109693050385 - }, - "else": { - "operation": "boost", - "score": 0.13086159527301788 - } - }, - "else": { - "operation": "boost", - "score": 0.11176083236932755 - } - }, - "else": { - "operation": "boost", - "score": -0.3507601022720337 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07542050629854202 - }, - "else": { - "operation": "boost", - "score": -0.012367268092930317 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05875347927212715 - }, - "else": { - "operation": "boost", - "score": 0.04164181649684906 - } - }, - "else": { - "operation": "boost", - "score": 0.01448975969105959 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04616621881723404 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11925037205219269 - }, - "else": { - "operation": "boost", - "score": 0.09456882625818253 - } + "operation": "boost", + "score": -0.07394518703222275 } }, "else": { "operation": "boost", - "score": 0.037344470620155334 + "score": 0.007526696193963289 } }, "else": { "operation": "boost", - "score": 0.026799054816365242 + "score": 0.001086836215108633 } + }, + "else": { + "operation": "boost", + "score": -0.01079291757196188 } + }, + "else": { + "operation": "boost", + "score": -0.025917746126651764 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + } + } + }, + { + "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": 18305.0, + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18474.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.02170506864786148 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07994429767131805 + "score": -0.36519134044647217 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.15283353626728058 + }, + "else": { + "operation": "boost", + "score": 0.08859603852033615 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.004006600473076105 + "score": 0.02324744313955307 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 359.0, "then": { - "operation": "boost", - "score": -0.10572759807109833 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11501487344503403 + "score": 0.09350777417421341 }, "else": { "operation": "boost", - "score": 0.15690617263317108 + "score": -0.07257755845785141 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2989.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3000.5, - "then": { - "operation": "boost", - "score": 0.06516047567129135 }, "else": { "operation": "boost", - "score": 0.11651254445314407 + "score": -0.24756969511508942 } - }, - "else": { - "operation": "boost", - "score": 0.02275812439620495 } }, - "else": { - "operation": "boost", - "score": 0.0015823758440092206 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.017494671046733856 - }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 664.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.056869298219680786 + "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.09665701538324356 + "score": -0.000609453534707427 } }, "else": { - "operation": "boost", - "score": -0.19121220707893372 + "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 + } } } } + }, + "else": { + "operation": "boost", + "score": 0.00909496285021305 } - }, - "else": { - "operation": "boost", - "score": -0.00028383464086800814 } + }, + "else": { + "operation": "boost", + "score": -0.007971166633069515 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "boost", - "score": 0.002974012866616249 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 231.0, + "then": { + "operation": "boost", + "score": -4.5000528189120814e-05 + }, + "else": { + "operation": "boost", + "score": 0.12747275829315186 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.04676608741283417 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.0027210605330765247 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.00034037025761790574 + "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.18766413629055023 + "score": -0.006517359521239996 } }, "else": { - "operation": "boost", - "score": -0.12336061149835587 - } - }, - "else": { - "operation": "boost", - "score": 0.00260863802395761 - } - }, - "else": { - "operation": "boost", - "score": 0.048428013920784 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 153.0, "then": { "operation": "boost", - "score": 0.0011691211257129908 + "score": 0.11199299991130829 }, "else": { "operation": "boost", - "score": 0.11189508438110352 + "score": 0.09974727779626846 } - }, - "else": { - "operation": "boost", - "score": 0.03783100098371506 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 76.0, "then": { "operation": "boost", - "score": 0.042652200907468796 + "score": 0.09017060697078705 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 70.5, "then": { "operation": "boost", - "score": 0.05531494691967964 + "score": 0.1290033608675003 }, "else": { - "operation": "boost", - "score": 0.14103245735168457 + "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.007165766786783934 + "score": 0.032486509531736374 } } }, - "else": { - "operation": "boost", - "score": -0.09016883373260498 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.060432564467191696 - }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.050367992371320724 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.5144402384757996 - }, - "else": { - "operation": "boost", - "score": 0.08333507925271988 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43.5, + "threshold": 144.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 49.5, + "threshold": 698.0, "then": { + "operation": "boost", + "score": 0.03355098143219948 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 612.0, "then": { "operation": "boost", - "score": 0.11578479409217834 + "score": 0.12412875145673752 }, "else": { - "operation": "boost", - "score": -0.027627481147646904 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12167559564113617 + "score": 0.07142837345600128 }, "else": { - "operation": "boost", - "score": 0.026882139965891838 + "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 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.044896449893713 } } }, "else": { "operation": "boost", - "score": 0.014588392339646816 + "score": 0.025544099509716034 } }, "else": { "operation": "boost", - "score": -0.02298533171415329 + "score": 0.031184017658233643 } - }, - "else": { - "operation": "boost", - "score": -0.02514762431383133 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 2844.5, "then": { - "operation": "boost", - "score": -0.03404722362756729 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2865.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": -0.28478142619132996 + "score": 0.03373175114393234 }, "else": { "operation": "boost", - "score": 0.08541805297136307 + "score": 0.0009885176550596952 } }, "else": { - "operation": "boost", - "score": 0.12572206556797028 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.016257615759968758 + }, + "else": { + "operation": "boost", + "score": 0.11798751354217529 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, + "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" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15642127394676208 + "score": 0.010206790640950203 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.00833080243319273 - }, - "else": { - "operation": "boost", - "score": 0.11494608968496323 - } - }, - "else": { - "operation": "boost", - "score": -0.36767587065696716 - } + "operation": "boost", + "score": 0.03585737943649292 } }, "else": { "operation": "boost", - "score": 0.11625826358795166 + "score": -0.04315929487347603 } - }, - "else": { - "operation": "boost", - "score": -0.050549816340208054 } - }, - "else": { - "operation": "boost", - "score": 0.055724821984767914 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.006287712138146162 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5900.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.040660373866558075 }, "else": { "operation": "boost", - "score": -0.15291690826416016 + "score": -0.00036497137625701725 } - }, - "else": { - "operation": "boost", - "score": 0.01202747318893671 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.0003762331616599113 - }, - "else": { - "operation": "boost", - "score": 0.03611915558576584 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 152.5, + "threshold": 30.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6626.5, + "threshold": 31.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7560.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.07903745025396347 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7015.5, + "operation": "boost", + "score": -0.18732112646102905 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 43.5, "then": { - "operation": "boost", - "score": 0.1100289449095726 + "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": "boost", - "score": 0.11637292057275772 + "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.09280861914157867 + "score": -0.06927098333835602 } + } + }, + "else": { + "operation": "boost", + "score": -0.0024723787792026997 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10791962593793869 + }, + "else": { + "operation": "boost", + "score": 0.2797718942165375 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009606007486581802 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.058954816311597824 }, "else": { "operation": "boost", - "score": 0.02637857012450695 + "score": -0.016107380390167236 } } }, "else": { "operation": "boost", - "score": 0.03557676076889038 + "score": 0.001971433637663722 } - }, - "else": { - "operation": "boost", - "score": 0.12162604182958603 } }, "else": { - "operation": "boost", - "score": 0.0325627364218235 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 377.5, - "then": { - "operation": "boost", - "score": 0.12516959011554718 - }, - "else": { - "operation": "boost", - "score": -0.10140528529882431 - } + "operation": "boost", + "score": -0.043427031487226486 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1153499186038971 - }, - "else": { - "operation": "boost", - "score": 0.066890649497509 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.002760044764727354 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31541.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { + "operation": "boost", + "score": 0.07939422130584717 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33451.5, - "then": { - "operation": "boost", - "score": 0.12134750187397003 - }, - "else": { - "operation": "boost", - "score": -0.04014351963996887 - } - }, - "else": { - "operation": "boost", - "score": 0.10956411808729172 - } - }, - "else": { - "operation": "boost", - "score": 0.028036348521709442 - } + "operation": "boost", + "score": 0.12797649204730988 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08696942031383514 - }, - "else": { - "operation": "boost", - "score": 0.10964518040418625 - } + "operation": "boost", + "score": 0.025920329615473747 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.06049901619553566 + } + }, + "else": { + "operation": "boost", + "score": 0.04749739542603493 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.2039826661348343 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.12048380076885223 + }, + "else": { + "operation": "boost", + "score": -0.13913510739803314 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": -0.10728714615106583 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05927050858736038 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement" + "Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, - "then": { - "operation": "boost", - "score": -0.29234209656715393 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5598.5, - "then": { - "operation": "boost", - "score": 0.09052684158086777 - }, - "else": { - "operation": "boost", - "score": 0.07611215859651566 - } - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 228.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 548.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.09926949441432953 - }, - "else": { - "operation": "boost", - "score": -0.4286442697048187 - } - }, - "else": { - "operation": "boost", - "score": 0.11950115859508514 - } - }, - "else": { - "operation": "boost", - "score": -0.1590052992105484 - } + "operation": "boost", + "score": 0.11605766415596008 }, "else": { "operation": "boost", - "score": 0.02483586221933365 + "score": -0.007857121527194977 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5358.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30340.5, - "then": { - "operation": "boost", - "score": -0.1869027316570282 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27178.0, - "then": { - "operation": "boost", - "score": 0.11334044486284256 - }, - "else": { - "operation": "boost", - "score": 0.08466393500566483 - } - } + "operation": "boost", + "score": 0.12412294000387192 }, "else": { "operation": "boost", - "score": 0.02754087746143341 + "score": 0.07878798246383667 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.18763558566570282 - }, - "else": { - "operation": "boost", - "score": 0.10168328881263733 - } + "operation": "boost", + "score": 0.03276701271533966 } }, "else": { "operation": "boost", - "score": -0.03549262881278992 + "score": 0.11440284550189972 } + }, + "else": { + "operation": "boost", + "score": 0.012599651701748371 + } + } + } + }, + "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.12002770602703094 + "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": "NumReferences", - "threshold": 20118.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20296.0, + "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.05562460049986839 + "score": -0.09114042669534683 }, "else": { - "operation": "boost", - "score": 0.1382930874824524 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.14531725645065308 + }, + "else": { + "operation": "boost", + "score": -0.7984578013420105 + } } }, "else": { "operation": "boost", - "score": -0.04786171019077301 + "score": 0.0015288109425455332 } } + }, + "else": { + "operation": "boost", + "score": -0.0007974344189278781 } } + }, + "else": { + "operation": "boost", + "score": 0.023444872349500656 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { "operation": "boost", - "score": 0.033339329063892365 + "score": 0.017601244151592255 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "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": "NumReferences", - "threshold": 478260.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.033787503838539124 + "score": -0.08181405067443848 }, "else": { "operation": "boost", - "score": -0.030529187992215157 + "score": 0.07881180942058563 } }, "else": { "operation": "boost", - "score": 0.01424645446240902 + "score": -0.07185455411672592 } } } - }, - "else": { + } + } + }, + "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": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 351.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 352.5, "then": { "operation": "boost", - "score": -0.02817673236131668 + "score": 0.050403159111738205 }, "else": { - "operation": "boost", - "score": -0.07206183671951294 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.12945617735385895 + }, + "else": { + "operation": "boost", + "score": -0.1031135618686676 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0482647605240345 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1268102377653122 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Keyword", - "Constructor", - "Function" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77078.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.0756891593337059 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01682187058031559 + "score": 0.046282269060611725 }, "else": { - "operation": "boost", - "score": 0.10626610368490219 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1510549783706665 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "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": 1321.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": -0.10061021894216537 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 941.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11033410578966141 + "score": 0.012537374161183834 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.2173837572336197 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0740169808268547 + }, + "else": { + "operation": "boost", + "score": 0.12877249717712402 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 214.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, - "then": { - "operation": "boost", - "score": 0.09816565364599228 - }, - "else": { - "operation": "boost", - "score": 0.13337768614292145 - } - }, - "else": { - "operation": "boost", - "score": 0.12869106233119965 - } + "operation": "boost", + "score": 0.10138585418462753 }, "else": { "operation": "boost", - "score": 0.03529554605484009 + "score": 0.10424664616584778 } } } + }, + "else": { + "operation": "boost", + "score": -0.057146620005369186 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0 + "score": 0.017986029386520386 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.20242619514465332 + "score": 0.1053200289607048 }, "else": { "operation": "boost", - "score": 0.12199624627828598 + "score": 0.06354061514139175 } } + }, + "else": { + "operation": "boost", + "score": -0.0042120530270040035 } - }, - "else": { - "operation": "boost", - "score": 0.04744778573513031 } }, "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": "NumReferences", - "threshold": 2719.0, + "feature": "SymbolScopeDistance", + "threshold": 21.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.19712868332862854 + "score": 0.09294199198484421 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.07299280166625977 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4290.5, - "then": { - "operation": "boost", - "score": 0.1295725256204605 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4177.0, - "then": { - "operation": "boost", - "score": 0.142996147274971 - }, - "else": { - "operation": "boost", - "score": -0.28048190474510193 - } - } - } + "operation": "boost", + "score": 0.19728323817253113 } }, "else": { "operation": "boost", - "score": 0.0561179593205452 + "score": 0.13385875523090363 } + }, + "else": { + "operation": "boost", + "score": -0.05703316256403923 } } }, "else": { - "operation": "boost", - "score": -0.03651002421975136 + "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": { + } + } + } + }, + "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": "NumReferences", - "threshold": 854.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.011396807618439198 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.13635210692882538 + "score": 0.01779657043516636 }, "else": { "operation": "boost", - "score": -0.13511916995048523 + "score": 0.11342770606279373 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.016677264124155045 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 881.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09149709343910217 + "score": 0.029814274981617928 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 980.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.0972064658999443 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.13997934758663177 + "score": 0.05558205023407936 }, "else": { - "operation": "boost", - "score": 0.23502467572689056 + "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": "boost", - "score": 0.18959364295005798 } } }, "else": { - "operation": "boost", - "score": 0.12223608791828156 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3196.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3442.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.16703280806541443 - }, - "else": { - "operation": "boost", - "score": 0.09664127975702286 - } - }, - "else": { - "operation": "boost", - "score": 0.11254256218671799 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.09209397435188293 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.4309852123260498 + "score": 0.1436539590358734 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1000.5, - "then": { - "operation": "boost", - "score": 0.14500708878040314 - }, - "else": { - "operation": "boost", - "score": 0.09508564323186874 - } + "operation": "boost", + "score": 0.11833813041448593 } }, "else": { - "operation": "boost", - "score": -0.041870374232530594 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.12686435878276825 + }, + "else": { + "operation": "boost", + "score": 0.09542229026556015 + } } + }, + "else": { + "operation": "boost", + "score": 0.02792362868785858 } + }, + "else": { + "operation": "boost", + "score": 0.07896948605775833 } - }, - "else": { - "operation": "boost", - "score": 0.08119194209575653 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.03576698899269104 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 32.0, "then": { - "operation": "boost", - "score": 0.07845411449670792 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "boost", + "score": 0.08998896926641464 + }, + "else": { + "operation": "boost", + "score": 0.1153806820511818 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.020682387053966522 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1177368089556694 + "score": 0.16987191140651703 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10766234993934631 + "score": -0.43501412868499756 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 206.5, - "then": { - "operation": "boost", - "score": 0.16163113713264465 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11353320628404617 - }, - "else": { - "operation": "boost", - "score": -0.11349723488092422 - } - } + "operation": "boost", + "score": 0.11039439588785172 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12181725353002548 - }, - "else": { - "operation": "boost", - "score": 0.08456866443157196 - } } } } @@ -129521,3859 +129243,3102 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 491.5, + "threshold": 4546.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 11101.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "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": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 201698.0, "then": { "operation": "boost", - "score": 0.04779409244656563 + "score": 0.04357348382472992 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24007.0, - "then": { - "operation": "boost", - "score": 0.0004033865116070956 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.05648360773921013 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1011626124382019 - }, - "else": { - "operation": "boost", - "score": 0.1433984935283661 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2363.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2800.0, - "then": { - "operation": "boost", - "score": 0.08865362405776978 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2577.0, - "then": { - "operation": "boost", - "score": 0.11428552120923996 - }, - "else": { - "operation": "boost", - "score": 0.4510159492492676 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10132642090320587 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 573.5, - "then": { - "operation": "boost", - "score": 0.09769431501626968 - }, - "else": { - "operation": "boost", - "score": 0.12964050471782684 - } - }, - "else": { - "operation": "boost", - "score": 0.05245270952582359 - } - } - } - } - } - } + "operation": "boost", + "score": -0.05548321455717087 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24227.5, + "threshold": 7155.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.07379473745822906 - }, - "else": { - "operation": "boost", - "score": -0.0016886255471035838 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29053.5, + "threshold": 8277.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010718140751123428 - }, - "else": { - "operation": "boost", - "score": -0.03561139479279518 - } + "operation": "boost", + "score": 0.06381996721029282 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8191.0, "then": { "operation": "boost", - "score": 0.06571543216705322 + "score": 0.11724935472011566 }, "else": { - "operation": "boost", - "score": -0.17356573045253754 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6103.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6106.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.0932004526257515 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.04869609698653221 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7543.0, "then": { "operation": "boost", - "score": 0.04870045930147171 + "score": 0.11027859151363373 }, "else": { "operation": "boost", - "score": 0.09175430983304977 + "score": -0.24785637855529785 } + }, + "else": { + "operation": "boost", + "score": 0.0594409815967083 } - } - }, - "else": { - "operation": "boost", - "score": 0.10587822645902634 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04377789422869682 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21726.0, - "then": { - "operation": "boost", - "score": -1.8678392171859741 }, "else": { - "operation": "boost", - "score": -0.053807664662599564 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7369.0, + "then": { + "operation": "boost", + "score": 0.09267087280750275 + }, + "else": { + "operation": "boost", + "score": 0.10930727422237396 + } } } } }, "else": { "operation": "boost", - "score": 0.015789516270160675 + "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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12909574806690216 + }, + "else": { + "operation": "boost", + "score": 0.07793743908405304 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12063848227262497 + }, + "else": { + "operation": "boost", + "score": 0.10179658234119415 + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06647340208292007 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11696851253509521 }, "else": { "operation": "boost", - "score": 0.009920375421643257 + "score": 0.09676600247621536 } }, "else": { "operation": "boost", - "score": -0.022845478728413582 + "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, + "then": { + "operation": "boost", + "score": 0.06803857535123825 + }, + "else": { + "operation": "boost", + "score": 0.031485386192798615 + } } + }, + "else": { + "operation": "boost", + "score": 0.029725583270192146 } } + }, + "else": { + "operation": "boost", + "score": 0.009929802268743515 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.0536784753203392 + "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.03575283661484718 + "score": -0.04582163318991661 } + }, + "else": { + "operation": "boost", + "score": 0.008670412003993988 } - }, - "else": { - "operation": "boost", - "score": -0.010707958601415157 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0009107986115850508 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5900.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2862.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 2865.5, "then": { - "operation": "boost", - "score": 0.03976194187998772 + "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.15307055413722992 + "score": 0.11986399441957474 } }, "else": { - "operation": "boost", - "score": 0.012021844275295734 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.0051649524830281734 + "score": 0.01334365550428629 }, "else": { "operation": "boost", - "score": -0.04051781818270683 + "score": 0.0018672461155802011 } - }, - "else": { - "operation": "boost", - "score": 0.03497271612286568 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6626.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.04691222310066223 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7560.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07734251767396927 + "score": 0.07953917980194092 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.1086866557598114 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7015.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0746174305677414 + }, + "else": { + "operation": "boost", + "score": 0.10979259759187698 + } + } + } + } + }, + "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.018278302624821663 + }, + "else": { + "operation": "boost", + "score": 0.0651453360915184 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "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, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10984856635332108 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0014397840714082122 + }, + "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.0506172776222229 + }, + "else": { + "operation": "boost", + "score": -0.030275627970695496 + } + } }, "else": { "operation": "boost", - "score": 0.11578528583049774 + "score": 0.017990777269005775 } }, "else": { - "operation": "boost", - "score": 0.09125273674726486 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03683480620384216 + }, + "else": { + "operation": "boost", + "score": 0.03755262494087219 + } } - }, - "else": { - "operation": "boost", - "score": 0.025478046387434006 } } }, "else": { "operation": "boost", - "score": 0.03594997152686119 + "score": 0.004157728049904108 } - }, - "else": { - "operation": "boost", - "score": 0.11369506269693375 } }, "else": { "operation": "boost", - "score": 0.030859125778079033 + "score": -0.09663191437721252 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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": "boost", + "score": 0.0035592929925769567 + }, + "else": { + "operation": "boost", + "score": -0.013316378928720951 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 8.5, "then": { + "operation": "boost", + "score": -0.022444788366556168 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12381042540073395 - }, - "else": { - "operation": "boost", - "score": -0.10377340018749237 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 74.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "boost", + "score": 0.04871232062578201 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 12.0, "then": { + "operation": "boost", + "score": -0.09042228758335114 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5568.0, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "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, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 48.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": -0.14072667062282562 + }, + "else": { + "operation": "boost", + "score": 0.11541157215833664 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09695307910442352 + "score": -0.1588606834411621 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11633462458848953 + "score": 0.10546477138996124 }, "else": { "operation": "boost", - "score": -0.216081902384758 + "score": 0.21275772154331207 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 36.5, "then": { - "operation": "boost", - "score": 0.0929114818572998 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23209.0, + "threshold": 46.5, "then": { "operation": "boost", - "score": 0.10721806436777115 + "score": 0.07454870641231537 }, "else": { "operation": "boost", - "score": 0.1124635636806488 + "score": -0.01992705650627613 } + }, + "else": { + "operation": "boost", + "score": 0.10217897593975067 } } - }, - "else": { - "operation": "boost", - "score": 0.04377766326069832 } + } + } + } + }, + "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": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, - "then": { - "operation": "boost", - "score": 0.04084647446870804 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148.5, - "then": { - "operation": "boost", - "score": 0.10583258420228958 - }, - "else": { - "operation": "boost", - "score": -0.04285889118909836 - } - } + "operation": "boost", + "score": 0.20110984146595 }, "else": { "operation": "boost", - "score": -0.08680035918951035 + "score": 0.14754508435726166 } } }, "else": { + "operation": "boost", + "score": -0.03844604641199112 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148.5, + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 764717.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.09778998792171478 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.14015263319015503 + }, + "else": { + "operation": "boost", + "score": 0.11090350151062012 + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.038528237491846085 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.02478635311126709 + "score": 0.10606411844491959 }, "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": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.045621152967214584 - }, - "else": { - "operation": "boost", - "score": 0.10507863759994507 - } - }, - "else": { - "operation": "boost", - "score": 0.02866302989423275 - } - }, - "else": { - "operation": "boost", - "score": -0.2500297725200653 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63648.0, - "then": { - "operation": "boost", - "score": 0.02943176031112671 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, - "then": { - "operation": "boost", - "score": -0.29380664229393005 - }, - "else": { - "operation": "boost", - "score": -0.01839534379541874 - } - } - } + "operation": "boost", + "score": 0.12051969021558762 } - }, - "else": { - "operation": "boost", - "score": 0.0270469319075346 } } }, "else": { - "operation": "boost", - "score": 0.10130936652421951 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198.5, - "then": { - "operation": "boost", - "score": -0.006218455266207457 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.5, - "then": { - "operation": "boost", - "score": 0.18069691956043243 - }, - "else": { - "operation": "boost", - "score": 0.019330346956849098 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174936.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": 0.0029995942022651434 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08212963491678238 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0875576063990593 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08580578118562698 - }, - "else": { - "operation": "boost", - "score": 0.11538391560316086 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05293659493327141 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11495615541934967 - }, - "else": { - "operation": "boost", - "score": 0.12401863932609558 - } - }, - "else": { - "operation": "boost", - "score": -0.09743078052997589 - } - } - }, - "else": { - "operation": "boost", - "score": -0.30694109201431274 - } - }, - "else": { - "operation": "boost", - "score": 0.04498164355754852 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.03169872611761093 - }, - "else": { - "operation": "boost", - "score": -0.08573424071073532 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 655.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4142.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33440.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "boost", - "score": 0.03439386188983917 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0119149936363101 - }, - "else": { - "operation": "boost", - "score": -0.1065119206905365 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97357.5, - "then": { - "operation": "boost", - "score": 0.06658776104450226 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10151185095310211 - }, - "else": { - "operation": "boost", - "score": 0.09815117716789246 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.06542512774467468 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10579721629619598 - }, - "else": { - "operation": "boost", - "score": -0.029850400984287262 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74544.0, - "then": { - "operation": "boost", - "score": 0.007485911250114441 - }, - "else": { - "operation": "boost", - "score": -0.15744131803512573 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.05522839352488518 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10500843822956085 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56800.5, - "then": { - "operation": "boost", - "score": 0.10936284810304642 - }, - "else": { - "operation": "boost", - "score": -1.9418299198150635 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03331208974123001 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1076732724905014 - } - }, - "else": { - "operation": "boost", - "score": -0.02855989895761013 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87382.5, - "then": { - "operation": "boost", - "score": -0.006908489856868982 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56853.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.07851879298686981 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66036.0, - "then": { - "operation": "boost", - "score": -0.23806241154670715 - }, - "else": { - "operation": "boost", - "score": -0.7407019734382629 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { - "operation": "boost", - "score": -0.010599767789244652 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10726171731948853 - }, - "else": { - "operation": "boost", - "score": 0.12611696124076843 - } - }, - "else": { - "operation": "boost", - "score": -0.5522167682647705 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2547726333141327 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29053.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36997.5, - "then": { - "operation": "boost", - "score": 0.06643300503492355 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0795307457447052 - }, - "else": { - "operation": "boost", - "score": 0.10735760629177094 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40755.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.13924868404865265 - }, - "else": { - "operation": "boost", - "score": 0.09615281969308853 - } - }, - "else": { - "operation": "boost", - "score": -0.06640326976776123 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34654.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35026.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39111.0, - "then": { - "operation": "boost", - "score": 0.14054977893829346 - }, - "else": { - "operation": "boost", - "score": -0.314378947019577 - } - }, - "else": { - "operation": "boost", - "score": 0.1079481691122055 - } - }, - "else": { - "operation": "boost", - "score": 0.02240922302007675 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10328496992588043 - } - }, - "else": { - "operation": "boost", - "score": -0.3302249610424042 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.08885294944047928 - }, - "else": { - "operation": "boost", - "score": 0.10403358191251755 - } - }, - "else": { - "operation": "boost", - "score": 0.06364873796701431 - } - }, - "else": { - "operation": "boost", - "score": 0.04324234649538994 - } - } + "operation": "boost", + "score": -0.13102753460407257 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11572779715061188 + "score": 0.1250162273645401 }, "else": { "operation": "boost", - "score": 0.12580721080303192 + "score": 0.11506284028291702 } } }, "else": { "operation": "boost", - "score": 0.01537854690104723 + "score": -0.10853876918554306 } - }, - "else": { - "operation": "boost", - "score": 0.0060450551100075245 } }, "else": { "operation": "boost", - "score": -0.0030555822886526585 + "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": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + } + }, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04387601092457771 + "score": 0.08238620311021805 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.1643776297569275 + } + }, + "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_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, "then": { + "operation": "boost", + "score": -0.06970164179801941 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 423.5, + "threshold": 96602.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.016231101006269455 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 430.5, - "then": { - "operation": "boost", - "score": 0.09261374175548553 - }, - "else": { - "operation": "boost", - "score": 0.11830031126737595 - } - }, - "else": { - "operation": "boost", - "score": 0.08599162101745605 - } - } + "operation": "boost", + "score": 0.01851079612970352 }, "else": { "operation": "boost", - "score": 0.036028627306222916 + "score": 0.08848845958709717 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 372.5, + "threshold": 91114.0, "then": { "operation": "boost", - "score": -0.13769416511058807 + "score": -0.2216157615184784 }, "else": { - "operation": "boost", - "score": 0.048523277044296265 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10240104794502258 + }, + "else": { + "operation": "boost", + "score": 0.10929493606090546 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47774.0, + "then": { + "operation": "boost", + "score": 0.040283892303705215 + }, + "else": { + "operation": "boost", + "score": -0.4239223599433899 + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.01097783911973238 - }, - "else": { - "operation": "boost", - "score": -0.47763222455978394 - } } + }, + "else": { + "operation": "boost", + "score": -0.10428805649280548 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.026672957465052605 - }, - "else": { - "operation": "boost", - "score": 0.11609787493944168 - } + "operation": "boost", + "score": -0.1690252721309662 }, "else": { "operation": "boost", - "score": -0.007917379029095173 + "score": 0.09085147827863693 } }, "else": { - "operation": "boost", - "score": -0.162330761551857 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 659.0, - "then": { - "operation": "boost", - "score": -0.01141609251499176 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 603.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.12084552645683289 + "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.13577285408973694 + "score": 0.07097947597503662 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 294.5, + "threshold": 61294.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 62580.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 314.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.08907057344913483 + "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.10360479354858398 + "score": -0.001776328426785767 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11235085129737854 + "score": 0.11543381214141846 }, "else": { "operation": "boost", - "score": 0.09312503039836884 + "score": 0.0795866921544075 } }, "else": { - "operation": "boost", - "score": 0.08140162378549576 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15419507026672363 + }, + "else": { + "operation": "boost", + "score": -0.012133203446865082 + } } } }, "else": { "operation": "boost", - "score": -0.025381002575159073 + "score": -0.040434423834085464 } } } - }, - "else": { - "operation": "boost", - "score": -0.005953541956841946 } } - } - }, - "else": { - "operation": "boost", - "score": -0.010133825242519379 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0009097167639993131 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.06337647140026093 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 33041.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07329260557889938 + "score": 0.036869317293167114 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.2133885771036148 + "score": -0.2594674229621887 }, "else": { "operation": "boost", - "score": 0.10777081549167633 + "score": 0.12053272873163223 } } }, "else": { + "operation": "boost", + "score": 0.11677400022745132 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.06459824740886688 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 33451.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11491157859563828 + "score": 0.11942431330680847 }, "else": { "operation": "boost", - "score": 0.12061142176389694 + "score": 0.15244071185588837 } }, "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": 148934.5, + "threshold": 33041.5, "then": { "operation": "boost", - "score": -0.011569409631192684 + "score": 0.0675826147198677 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11490832269191742 + "score": 0.12589004635810852 }, "else": { "operation": "boost", - "score": 0.08553840965032578 + "score": -0.11738896369934082 } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.08568557351827621 + }, + "else": { + "operation": "boost", + "score": 0.03094087913632393 + } } }, "else": { - "operation": "boost", - "score": 0.11428643018007278 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.024363258853554726 + }, + "else": { + "operation": "boost", + "score": 0.09490129351615906 + } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48488.5, + "threshold": 193454.5, "then": { - "operation": "boost", - "score": 0.019066262990236282 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 199646.0, "then": { - "operation": "boost", - "score": 0.10532638430595398 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33949.0, - "then": { - "operation": "boost", - "score": 0.07069214433431625 - }, - "else": { - "operation": "boost", - "score": 0.10894159227609634 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": 0.011748426593840122 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003294866532087326 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "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": 10.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.07019086927175522 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 291408.0, "then": { - "operation": "boost", - "score": 0.12590521574020386 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.039712049067020416 + }, + "else": { + "operation": "boost", + "score": 0.045530617237091064 + } + }, + "else": { + "operation": "boost", + "score": 0.059442587196826935 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 337965.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0160165224224329 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.012758830562233925 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013951434753835201 + } + }, + "else": { + "operation": "boost", + "score": 0.0416744202375412 + } + } + } }, "else": { "operation": "boost", - "score": 0.07064993679523468 + "score": -0.08059588074684143 } - } - }, - "else": { - "operation": "boost", - "score": 0.041977766901254654 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0007955965702421963 - } - } - }, - "else": { - "operation": "boost", - "score": 0.014370976015925407 - } - }, - "else": { - "operation": "boost", - "score": -0.007971054874360561 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.003716913517564535 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01600455306470394 - }, - "else": { - "operation": "boost", - "score": -0.046324778348207474 - } - }, - "else": { - "operation": "boost", - "score": -0.1691819131374359 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.13712908327579498 - }, - "else": { - "operation": "boost", - "score": -0.07490110397338867 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13823.0, - "then": { - "operation": "boost", - "score": -0.028238778933882713 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.004955986514687538 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13744.0, - "then": { - "operation": "boost", - "score": 0.12495163083076477 - }, - "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": 7.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", "Type", - "Function" + "Namespace" ], - "then": { - "operation": "boost", - "score": -0.05346917733550072 - }, - "else": { - "operation": "boost", - "score": -0.3178749978542328 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0934242457151413 - }, - "else": { - "operation": "boost", - "score": 0.01020582765340805 - } - } - }, - "else": { - "operation": "boost", - "score": -0.055255237966775894 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 35.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.11407673358917236 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09473346918821335 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.023003218695521355 + }, + "else": { + "operation": "boost", + "score": 0.09148681908845901 + } + } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11712625622749329 + "score": 0.07134341448545456 }, "else": { - "operation": "boost", - "score": 0.032949939370155334 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.01692998595535755 + }, + "else": { + "operation": "boost", + "score": -0.11556252837181091 + } } } }, "else": { - "operation": "boost", - "score": 0.012933429330587387 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.00340388435870409 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04399121180176735 + "score": 0.11098639667034149 }, "else": { "operation": "boost", - "score": 0.14347295463085175 + "score": -0.200369730591774 } }, "else": { - "operation": "boost", - "score": 0.05938417837023735 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04599873721599579 + }, + "else": { + "operation": "boost", + "score": 0.07054410874843597 + } } + }, + "else": { + "operation": "boost", + "score": 0.007721350062638521 } - }, - "else": { - "operation": "boost", - "score": -0.008752281777560711 } } }, + "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.03341970592737198 + "score": 0.07139728218317032 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2956.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 105661.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "boost", + "score": -0.04680676385760307 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 73859.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 90096.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6067.0, + "threshold": 97848.0, "then": { - "operation": "boost", - "score": 0.11148620396852493 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1127261072397232 + }, + "else": { + "operation": "boost", + "score": 0.24901942908763885 + } + }, + "else": { + "operation": "boost", + "score": -0.3914627730846405 + } }, "else": { - "operation": "boost", - "score": -0.08880002796649933 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08398330956697464 + }, + "else": { + "operation": "boost", + "score": -0.14016307890415192 + } } }, "else": { "operation": "boost", - "score": -0.20673221349716187 + "score": -0.07316607236862183 } }, "else": { - "operation": "boost", - "score": 0.05654976889491081 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 89371.5, "then": { - "operation": "boost", - "score": 0.015917686745524406 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.0982334092259407 + }, + "else": { + "operation": "boost", + "score": 0.11954190582036972 + } }, "else": { - "operation": "boost", - "score": 0.09205790609121323 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.15699031949043274 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "boost", + "score": -0.01484035886824131 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75566.5, + "then": { + "operation": "boost", + "score": 0.11976874619722366 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10336862504482269 + }, + "else": { + "operation": "boost", + "score": 0.030117487534880638 + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.03699331358075142 } + }, + "else": { + "operation": "boost", + "score": 0.02452937513589859 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30660.5, + "threshold": 101593.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08373715728521347 - }, - "else": { - "operation": "boost", - "score": 0.10615134239196777 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6777.0, + "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.009137417189776897 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6644.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.11542799323797226 + "score": -0.10280683636665344 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11260811239480972 + "score": 0.10382255166769028 }, "else": { - "operation": "boost", - "score": 0.04780644178390503 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102745.5, + "then": { + "operation": "boost", + "score": -0.3384712338447571 + }, + "else": { + "operation": "boost", + "score": 0.1008937805891037 + } } } + }, + "else": { + "operation": "boost", + "score": -0.005015204194933176 } + }, + "else": { + "operation": "boost", + "score": 0.011307838372886181 } } - }, - "else": { - "operation": "boost", - "score": 0.0067468141205608845 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.012938902713358402 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2989.5, + "threshold": 749331.5, "then": { "operation": "boost", - "score": 0.12187796831130981 + "score": -0.29980868101119995 }, "else": { "operation": "boost", - "score": 0.12272375077009201 + "score": -0.04958469048142433 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.04496360570192337 + }, + "else": { + "operation": "boost", + "score": 0.01582495868206024 + } + } + }, + "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, + "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.12085988372564316 + }, + "else": { + "operation": "boost", + "score": 0.00836161244660616 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.006493453402072191 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026949459686875343 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.12105496227741241 + }, + "else": { + "operation": "boost", + "score": -0.24490463733673096 + } + }, + "else": { + "operation": "boost", + "score": 0.1315627247095108 + } + }, + "else": { + "operation": "boost", + "score": 0.04862911254167557 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63355.5, + "then": { + "operation": "boost", + "score": 0.12540480494499207 + }, + "else": { + "operation": "boost", + "score": 0.029831301420927048 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.01776696741580963 + "score": -0.15298570692539215 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19479623436927795 - }, - "else": { - "operation": "boost", - "score": -0.10064665973186493 - } + "operation": "boost", + "score": 0.12178739905357361 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.035971615463495255 + "score": 0.11208359897136688 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05499108135700226 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.1502438634634018 - }, - "else": { - "operation": "boost", - "score": 0.1311078518629074 - } - } + "operation": "boost", + "score": -0.03721721097826958 } } - }, - "else": { - "operation": "boost", - "score": -0.41398751735687256 } }, "else": { "operation": "boost", - "score": 0.014553161337971687 + "score": 0.014113490469753742 } } } }, "else": { - "operation": "boost", - "score": -0.011318932287395 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.036055076867341995 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4146.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14187.5, + "threshold": 1393.5, "then": { - "operation": "boost", - "score": -0.012015172280371189 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12619.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5925.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13886.5, + "threshold": 6404.5, "then": { - "operation": "boost", - "score": 0.10530548542737961 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16714.5, "then": { + "operation": "boost", + "score": 0.037182874977588654 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 8266.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9244.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 13638.5, "then": { - "operation": "boost", - "score": -0.1328285038471222 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11337672919034958 + }, + "else": { + "operation": "boost", + "score": 0.10248295962810516 + } }, "else": { "operation": "boost", - "score": 0.11924824863672256 + "score": 0.07305021584033966 } }, "else": { - "operation": "boost", - "score": 0.09798859059810638 + "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 + } } }, "else": { "operation": "boost", - "score": 0.1147172749042511 + "score": 0.024418704211711884 } - }, - "else": { - "operation": "boost", - "score": 0.11431775987148285 } - } + }, + "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": "NumReferences", - "threshold": 14068.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.1013580709695816 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1447.0, + "then": { + "operation": "boost", + "score": -0.011129891499876976 + }, + "else": { + "operation": "boost", + "score": 0.08237213641405106 + } }, "else": { - "operation": "boost", - "score": 0.00664711045101285 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.2851862907409668 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1726.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2509.0, + "then": { + "operation": "boost", + "score": 0.10421988368034363 + }, + "else": { + "operation": "boost", + "score": -0.11695261299610138 + } + }, + "else": { + "operation": "boost", + "score": 0.11918458342552185 + } + } } }, "else": { "operation": "boost", - "score": -0.016779663041234016 + "score": 0.0020999261178076267 } } }, "else": { "operation": "boost", - "score": 0.04648451879620552 + "score": -0.0027485068421810865 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10574855655431747 }, "else": { "operation": "boost", - "score": -0.2216053158044815 + "score": -0.04230913892388344 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11359627544879913 + }, + "else": { + "operation": "boost", + "score": 0.024929087609052658 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { + "operation": "boost", + "score": -0.016873469576239586 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.018906164914369583 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.11026984453201294 + "score": -0.07184682041406631 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.03383825719356537 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1272989958524704 - }, - "else": { - "operation": "boost", - "score": 0.14119473099708557 - } - }, - "else": { - "operation": "boost", - "score": 0.061411697417497635 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14783836901187897 - }, - "else": { - "operation": "boost", - "score": 0.09518353641033173 - } - }, - "else": { - "operation": "boost", - "score": 0.11676520854234695 - } - } - } + "operation": "boost", + "score": 0.1301153600215912 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1208525002002716 - }, - "else": { - "operation": "boost", - "score": -0.10213309526443481 - } - }, - "else": { - "operation": "boost", - "score": 0.05004209652543068 - } + "operation": "boost", + "score": 0.05935042351484299 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11776480078697205 - }, - "else": { - "operation": "boost", - "score": 0.11331719160079956 - } + "operation": "boost", + "score": 0.10081823915243149 } } }, "else": { "operation": "boost", - "score": 0.0971241146326065 + "score": 0.06218365952372551 } + }, + "else": { + "operation": "boost", + "score": 0.0960436686873436 } } + }, + "else": { + "operation": "boost", + "score": 0.04984699934720993 } - }, - "else": { - "operation": "boost", - "score": 0.05184529721736908 } - }, - "else": { - "operation": "boost", - "score": -0.05027764290571213 } }, "else": { + "operation": "boost", + "score": 0.036207396537065506 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008050616830587387 + } + }, + "else": { + "operation": "boost", + "score": -0.05306835472583771 + } + }, + "else": { + "operation": "boost", + "score": -0.055111877620220184 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.019790176302194595 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 3.3145453926408663e-05 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.02404729090631008 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.13506537675857544 + }, + "else": { + "operation": "boost", + "score": 0.1102452427148819 + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 27.5, + "threshold": 7.5, "then": { + "operation": "boost", + "score": -0.04517650976777077 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1049603521823883 + "score": 0.10254897177219391 }, "else": { "operation": "boost", - "score": 0.1388562023639679 + "score": 0.11664839833974838 } - }, - "else": { - "operation": "boost", - "score": 0.050685301423072815 } } }, "else": { - "operation": "boost", - "score": 0.011507133021950722 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08606085181236267 + "score": -0.1254243701696396 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, - "then": { - "operation": "boost", - "score": 0.11544781923294067 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.1450968235731125 - }, - "else": { - "operation": "boost", - "score": 0.2811008095741272 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09984401613473892 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.054825495928525925 - }, - "else": { - "operation": "boost", - "score": 0.12163694947957993 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1267453134059906 - } - }, - "else": { - "operation": "boost", - "score": 0.07870271056890488 - } - } + "operation": "boost", + "score": 0.12158970534801483 }, "else": { "operation": "boost", - "score": 0.06458310037851334 + "score": 0.11236882209777832 } } }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.05877939611673355 - }, - "else": { - "operation": "boost", - "score": 0.018970530480146408 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.028986256569623947 - }, "else": { "operation": "boost", - "score": -0.01111747045069933 + "score": -0.1075061485171318 } } }, "else": { "operation": "boost", - "score": -0.012005545198917389 + "score": 0.07467751950025558 } + }, + "else": { + "operation": "boost", + "score": 0.035841308534145355 } } }, "else": { - "operation": "boost", - "score": -0.004102766513824463 + "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.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.09206608682870865 + }, + "else": { + "operation": "boost", + "score": 0.15027253329753876 + } + }, + "else": { + "operation": "boost", + "score": 0.03234317898750305 + } + }, + "else": { + "operation": "boost", + "score": 0.046259574592113495 + } + }, + "else": { + "operation": "boost", + "score": -0.005275926552712917 + } } } }, "else": { - "operation": "boost", - "score": -0.04826424643397331 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5900.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5906.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.038227301090955734 - }, - "else": { - "operation": "boost", - "score": -0.14853477478027344 - } + "operation": "boost", + "score": 0.009607001207768917 }, "else": { "operation": "boost", - "score": 0.011424646712839603 + "score": -0.27010029554367065 } - }, - "else": { - "operation": "boost", - "score": 0.1323017030954361 } - }, - "else": { - "operation": "boost", - "score": 0.004993215668946505 } }, "else": { + "operation": "boost", + "score": -0.006826447322964668 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5864.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6676.0, + "threshold": 80755.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234860.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7560.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.08069165050983429 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7015.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11316180974245071 + "score": 0.1502445787191391 }, "else": { - "operation": "boost", - "score": 0.08970030397176743 + "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": "boost", - "score": 0.031553298234939575 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10886741429567337 + }, + "else": { + "operation": "boost", + "score": 0.05656884238123894 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6653.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.11530741304159164 + "score": 0.07846727222204208 }, "else": { - "operation": "boost", - "score": 0.0930355042219162 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 11.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1056964248418808 + "score": 0.009130963124334812 }, "else": { - "operation": "boost", - "score": 0.12145009636878967 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14972051978111267 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1173439621925354 + }, + "else": { + "operation": "boost", + "score": 0.2354399561882019 + } + } + }, + "else": { + "operation": "boost", + "score": -0.23184743523597717 + } } - }, - "else": { - "operation": "boost", - "score": 0.044845759868621826 } - }, - "else": { - "operation": "boost", - "score": 0.014015616849064827 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199.0, + "threshold": 1318535.0, "then": { "operation": "boost", - "score": 0.12066412717103958 + "score": -0.03934290632605553 }, "else": { - "operation": "boost", - "score": 0.059749308973550797 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4063.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14181.5, + "threshold": 188273.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 199646.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": 0.03231178596615791 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, "then": { "operation": "boost", - "score": 0.05321376025676727 + "score": -0.14236955344676971 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.18625633418560028 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170888.5, - "then": { - "operation": "boost", - "score": 0.02229405753314495 - }, - "else": { - "operation": "boost", - "score": -0.07706459611654282 - } - } + "operation": "boost", + "score": -0.016260303556919098 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98110.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.06124378740787506 + "score": 0.03322446346282959 }, "else": { "operation": "boost", - "score": 0.10551166534423828 + "score": 0.08562947809696198 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63436.0, - "then": { - "operation": "boost", - "score": -0.051801398396492004 - }, - "else": { - "operation": "boost", - "score": 0.09286347031593323 - } - }, - "else": { - "operation": "boost", - "score": -0.15691013634204865 - } + "operation": "boost", + "score": 0.10748407989740372 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "boost", - "score": 0.06732330471277237 - }, - "else": { - "operation": "boost", - "score": 0.09514456242322922 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11521922796964645 - }, - "else": { - "operation": "boost", - "score": -0.005364165175706148 - } - } + "operation": "boost", + "score": 0.07951805740594864 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.00753004988655448 }, "else": { "operation": "boost", - "score": 0.1133081391453743 + "score": 0.060492441058158875 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13381.5, + "threshold": 105661.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13666.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13944.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14006.0, - "then": { - "operation": "boost", - "score": 0.08900036662817001 - }, - "else": { - "operation": "boost", - "score": 0.10736700892448425 - } - }, - "else": { - "operation": "boost", - "score": -0.01635938510298729 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10917681455612183 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10168035328388214 - }, - "else": { - "operation": "boost", - "score": 0.11281610280275345 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13639.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10848936438560486 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12523037195205688 - }, - "else": { - "operation": "boost", - "score": 0.09435208141803741 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07289237529039383 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11558219790458679 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13541.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1334701031446457 - }, - "else": { - "operation": "boost", - "score": 0.07447351515293121 - } - }, - "else": { - "operation": "boost", - "score": 0.26778557896614075 - } - } - } - } + "operation": "boost", + "score": -0.03410477191209793 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4141.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 73859.5, "then": { - "operation": "boost", - "score": 0.015969784930348396 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 76763.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4163.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.002058087382465601 + "score": 0.15900665521621704 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.10639907419681549 - }, - "else": { - "operation": "boost", - "score": 0.12588882446289062 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11968.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "NumReferences", + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.12085232883691788 + "score": -0.33020707964897156 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12735.5, + "threshold": 98110.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13060.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07173795998096466 + "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.11070729792118073 + "score": 0.2564763128757477 } }, "else": { - "operation": "boost", - "score": -0.11204647272825241 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9472.0, - "then": { - "operation": "boost", - "score": -0.032647036015987396 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8848.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 90101.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11891016364097595 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10075236856937408 - }, - "else": { - "operation": "boost", - "score": -0.19044703245162964 - } - } + "operation": "boost", + "score": -0.04298752546310425 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11386687308549881 - }, - "else": { - "operation": "boost", - "score": 0.11971751600503922 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6867.5, + "threshold": 89516.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7013.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.0021424852311611176 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8187.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8440.0, - "then": { - "operation": "boost", - "score": -0.140500009059906 - }, - "else": { - "operation": "boost", - "score": 0.11272366344928741 - } - }, - "else": { - "operation": "boost", - "score": 0.06348814815282822 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6952.0, - "then": { - "operation": "boost", - "score": 0.11500813812017441 - }, - "else": { - "operation": "boost", - "score": -0.1111888736486435 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.10337310284376144 + "score": 0.08724740147590637 }, "else": { "operation": "boost", - "score": 0.15793806314468384 + "score": 0.1129375696182251 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08400432020425797 }, "else": { "operation": "boost", - "score": 0.055337850004434586 + "score": -0.020717384293675423 } } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4122.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11182887107133865 - }, - "else": { - "operation": "boost", - "score": -0.23902998864650726 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.06735493242740631 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08335043489933014 - }, - "else": { - "operation": "boost", - "score": 0.11484313756227493 - } - } - }, - "else": { - "operation": "boost", - "score": -0.16567987203598022 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6416.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6708.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.005143065471202135 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11440.5, - "then": { - "operation": "boost", - "score": 0.013399026356637478 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11253.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.4136950373649597 - }, - "else": { - "operation": "boost", - "score": 0.1168358251452446 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7467.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7486.5, - "then": { - "operation": "boost", - "score": 0.09843036532402039 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.06977487355470657 - }, - "else": { - "operation": "boost", - "score": 0.13075405359268188 - } - }, - "else": { - "operation": "boost", - "score": 0.023080604150891304 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03928333520889282 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6738.5, - "then": { - "operation": "boost", - "score": 0.05561615899205208 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.07890181988477707 - }, - "else": { - "operation": "boost", - "score": 0.12640917301177979 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02782542072236538 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03986111655831337 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ @@ -133381,2895 +132346,2867 @@ ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.13617907464504242 + "score": 0.01025224570184946 }, "else": { "operation": "boost", - "score": 0.12304933369159698 + "score": 0.10807869583368301 } }, - "else": { - "operation": "boost", - "score": 0.17697754502296448 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11155714839696884 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6593.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02108469232916832 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11989141255617142 - }, - "else": { - "operation": "boost", - "score": 0.10265397280454636 - } - } + "operation": "boost", + "score": 0.13931474089622498 }, "else": { "operation": "boost", - "score": 0.006242822855710983 + "score": 0.10315650701522827 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16386277973651886 + "score": 0.09927108138799667 }, "else": { "operation": "boost", - "score": 0.11750268191099167 + "score": 0.021332358941435814 } - }, - "else": { - "operation": "boost", - "score": 0.09548238664865494 } } - } - }, - "else": { - "operation": "boost", - "score": 0.017483344301581383 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 226.5, - "then": { - "operation": "boost", - "score": 0.13884079456329346 - }, - "else": { - "operation": "boost", - "score": 0.11321356892585754 - } }, "else": { "operation": "boost", - "score": 0.14854806661605835 + "score": 0.01451033167541027 } }, "else": { "operation": "boost", - "score": 0.08795224875211716 + "score": 0.12113964557647705 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 47293.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08394470810890198 - }, - "else": { - "operation": "boost", - "score": 0.12781141698360443 - } - }, - "else": { - "operation": "boost", - "score": -0.0021880471613258123 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 311.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.054508257657289505 + "score": -0.08909487724304199 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11742265522480011 + "score": 0.10064955800771713 }, "else": { - "operation": "boost", - "score": 0.0646212249994278 + "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.026398925110697746 + "score": -0.018146628513932228 } }, "else": { "operation": "boost", - "score": -0.04337790608406067 + "score": 0.002317418809980154 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01720859482884407 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.03313013166189194 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00644686259329319 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 482.5, + "operation": "boost", + "score": 0.13516804575920105 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 663.0, + "threshold": 45617.0, "then": { - "operation": "boost", - "score": 0.056014493107795715 - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 617.0, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.11908821761608124 + "score": 0.1052374541759491 }, "else": { - "operation": "boost", - "score": 0.10882829874753952 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10164807736873627 + }, + "else": { + "operation": "boost", + "score": 0.12746873497962952 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 528.0, - "then": { - "operation": "boost", - "score": -0.15502917766571045 - }, - "else": { - "operation": "boost", - "score": 0.10301477462053299 - } + "operation": "boost", + "score": 0.14341099560260773 } }, "else": { "operation": "boost", - "score": 0.0748995691537857 + "score": -0.015070863999426365 } + }, + "else": { + "operation": "boost", + "score": -0.03201291337609291 } }, "else": { "operation": "boost", - "score": 0.07134193181991577 + "score": 0.009811025112867355 } - }, - "else": { - "operation": "boost", - "score": -0.007575653027743101 } } } - }, - "else": { - "operation": "boost", - "score": 0.020746611058712006 } } } + }, + "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.0018824012950062752 + "score": 0.014944098889827728 } } + }, + "else": { + "operation": "boost", + "score": -0.0011838588397949934 } - }, - "else": { - "operation": "boost", - "score": -0.0008946247398853302 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_Symbol" + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5942.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.008678754791617393 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.019813355058431625 + "score": -0.5304908156394958 }, "else": { "operation": "boost", - "score": -0.15347939729690552 + "score": 0.017910737544298172 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43376.0, + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.0897989422082901 - }, - "else": { - "operation": "boost", - "score": 0.1416066288948059 - } - }, - "else": { - "operation": "boost", - "score": 0.05329648777842522 - } + "operation": "boost", + "score": 0.08834793418645859 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31005.5, + "threshold": 56.5, "then": { - "operation": "boost", - "score": -0.009056524373590946 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30903.0, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09967061132192612 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 3069.0, "then": { - "operation": "boost", - "score": 0.10885461419820786 + "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.10471146553754807 + "score": -0.09508325904607773 } + }, + "else": { + "operation": "boost", + "score": 0.06595055013895035 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28021.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.01050643716007471 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28296.5, + "threshold": 57.5, "then": { "operation": "boost", - "score": 0.0436483696103096 + "score": 0.021150192245841026 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28239.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11136145144701004 - }, - "else": { - "operation": "boost", - "score": 0.11672936379909515 - } + "operation": "boost", + "score": 0.07112187147140503 }, "else": { "operation": "boost", - "score": 0.12233179807662964 + "score": 0.12451893091201782 } }, "else": { - "operation": "boost", - "score": 0.11947109550237656 + "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.05163430795073509 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.14729313552379608 - } - }, - "else": { - "operation": "boost", - "score": 0.01231541857123375 - } - }, - "else": { - "operation": "boost", - "score": 0.004776254761964083 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5864.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7560.0, - "then": { - "operation": "boost", - "score": 0.07875900715589523 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7015.5, - "then": { - "operation": "boost", - "score": 0.11249398440122604 }, "else": { "operation": "boost", - "score": 0.08822615444660187 + "score": -0.004237275570631027 } } - }, - "else": { - "operation": "boost", - "score": 0.03013504482805729 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6653.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.1142214834690094 + "score": 0.0099426144734025 }, "else": { "operation": "boost", - "score": 0.08822224289178848 + "score": -0.026188138872385025 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1215.5, - "then": { - "operation": "boost", - "score": -0.006861215457320213 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.0754554495215416 - }, - "else": { - "operation": "boost", - "score": 0.11190950870513916 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 909.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.09087040275335312 - }, - "else": { - "operation": "boost", - "score": 0.06699230521917343 - } - }, - "else": { - "operation": "boost", - "score": 0.03911527618765831 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31515.0, + "threshold": 21461.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32026.0, + "threshold": 72713.0, "then": { "operation": "boost", - "score": 0.011715330183506012 + "score": 0.048527900129556656 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.03493569418787956 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30421.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.0500250905752182 + "score": -0.16132022440433502 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10013594478368759 - }, - "else": { - "operation": "boost", - "score": 0.10938062518835068 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09580210596323013 - }, - "else": { - "operation": "boost", - "score": 0.13262784481048584 - } - } + "operation": "boost", + "score": 0.08942023664712906 } }, "else": { "operation": "boost", - "score": -0.37482473254203796 + "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": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 26.5, "then": { - "operation": "boost", - "score": -0.1414232701063156 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.0, + "then": { + "operation": "boost", + "score": 0.10553444921970367 + }, + "else": { + "operation": "boost", + "score": -0.007320157717913389 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09559629112482071 + "score": 0.11916961520910263 }, "else": { "operation": "boost", - "score": 0.0723724365234375 + "score": -0.11106916517019272 } } } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09396366029977798 + }, + "else": { + "operation": "boost", + "score": -0.08268748223781586 + } + } + } + }, + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "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": "SymbolScopeDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 960.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.11973792314529419 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09658576548099518 + }, + "else": { + "operation": "boost", + "score": -1.071420431137085 + } }, "else": { "operation": "boost", - "score": 0.031440358608961105 + "score": 0.09879297018051147 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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_Statement", - "CCC_Type" + "CCC_ClassStructUnion" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.04687489569187164 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.13824430108070374 - }, - "else": { - "operation": "boost", - "score": 0.0789186879992485 - } - } + "operation": "boost", + "score": 0.07941049337387085 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252.0, - "then": { - "operation": "boost", - "score": -0.014510671608150005 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05869356170296669 - }, - "else": { - "operation": "boost", - "score": 0.2157248556613922 - } - } + "operation": "boost", + "score": 0.05159281566739082 } - }, - "else": { - "operation": "boost", - "score": -0.03163629770278931 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4141.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24995.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26864.5, - "then": { - "operation": "boost", - "score": -0.005167490802705288 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26281.0, - "then": { - "operation": "boost", - "score": 0.1035066470503807 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.1899276226758957 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25286.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1437762975692749 - }, - "else": { - "operation": "boost", - "score": -0.1503315269947052 - } - }, - "else": { - "operation": "boost", - "score": 0.07338171452283859 - } - } - }, - "else": { - "operation": "boost", - "score": 0.021313617005944252 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.23713360726833344 - } - }, - "else": { - "operation": "boost", - "score": -0.30527403950691223 - } - }, - "else": { - "operation": "boost", - "score": -0.1185837909579277 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18305.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04679619520902634 - }, - "else": { - "operation": "boost", - "score": 0.10464606434106827 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": -0.10080592334270477 - }, - "else": { - "operation": "boost", - "score": 0.10731808096170425 - } - }, - "else": { - "operation": "boost", - "score": 0.034971896559000015 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23639.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23935.5, - "then": { - "operation": "boost", - "score": 0.0653444305062294 - }, - "else": { - "operation": "boost", - "score": 0.1028788611292839 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.011873658746480942 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12431.0, - "then": { - "operation": "boost", - "score": -0.13524207472801208 - }, - "else": { - "operation": "boost", - "score": 0.11217950284481049 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4188.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003718466032296419 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5878.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09963501989841461 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20081.5, - "then": { - "operation": "boost", - "score": 0.08532906323671341 - }, - "else": { - "operation": "boost", - "score": 0.11754899471998215 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07001152634620667 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06718120723962784 - } - }, - "else": { - "operation": "boost", - "score": 0.12459645420312881 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.045175936073064804 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9135.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9195.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13643.0, - "then": { - "operation": "boost", - "score": 0.07414056360721588 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11145.0, - "then": { - "operation": "boost", - "score": 0.11756928265094757 - }, - "else": { - "operation": "boost", - "score": 0.11357542872428894 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11882123351097107 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9252.5, - "then": { - "operation": "boost", - "score": 0.04524921625852585 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9213.5, - "then": { - "operation": "boost", - "score": 0.13507145643234253 - }, - "else": { - "operation": "boost", - "score": -0.10291220247745514 - } - }, - "else": { - "operation": "boost", - "score": 0.08895283192396164 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12412551790475845 - } - }, - "else": { - "operation": "boost", - "score": 0.029258931055665016 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11467.0, - "then": { - "operation": "boost", - "score": -0.014811149798333645 - }, - "else": { - "operation": "boost", - "score": 0.05242583900690079 - } - }, - "else": { - "operation": "boost", - "score": -0.1656966656446457 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.029155904427170753 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11247905343770981 - } - }, - "else": { - "operation": "boost", - "score": 0.016749586910009384 - } + "operation": "boost", + "score": 0.005624039098620415 }, "else": { "operation": "boost", - "score": 0.0022875263821333647 + "score": -0.05851195752620697 } } } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 297177.5, + "then": { + "operation": "boost", + "score": -0.03752823919057846 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.014452102594077587 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1273079812526703 + }, + "else": { + "operation": "boost", + "score": 0.039283908903598785 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.2828960716724396 - }, - "else": { - "operation": "boost", - "score": 0.030866745859384537 - } + "operation": "boost", + "score": -0.027552206069231033 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.12276966869831085 - }, - "else": { - "operation": "boost", - "score": 0.0016459213802590966 - } + "operation": "boost", + "score": -0.09002165496349335 }, "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 601.5, - "then": { - "operation": "boost", - "score": 0.08573058247566223 - }, - "else": { - "operation": "boost", - "score": 0.11566105484962463 - } - }, - "else": { - "operation": "boost", - "score": 0.08321242034435272 - } - }, - "else": { - "operation": "boost", - "score": -0.0817982405424118 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.029000602662563324 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 403.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 539.0, - "then": { - "operation": "boost", - "score": 0.1738109588623047 - }, - "else": { - "operation": "boost", - "score": -0.13031302392482758 - } - }, - "else": { - "operation": "boost", - "score": 0.12583908438682556 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.5, - "then": { - "operation": "boost", - "score": 0.017225848510861397 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 332.0, - "then": { - "operation": "boost", - "score": 0.1430181860923767 - }, - "else": { - "operation": "boost", - "score": 0.0028279104735702276 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06429130584001541 - } - } + "operation": "boost", + "score": -0.00015861920837778598 }, "else": { "operation": "boost", - "score": 0.04602909833192825 + "score": 0.015504053793847561 } } } }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22761854529380798 + }, + "else": { + "operation": "boost", + "score": -0.10628781467676163 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.030163820832967758 + }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ArrowMemberAccess" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "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, "then": { + "operation": "boost", + "score": 0.002371270675212145 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15696.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.2616861164569855 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 309.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.06494950503110886 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 325.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 873.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.03736630827188492 + "score": 0.057200320065021515 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 544.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 607.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 819.5, - "then": { - "operation": "boost", - "score": 0.1115310937166214 - }, - "else": { - "operation": "boost", - "score": 0.04143255203962326 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 590.5, - "then": { - "operation": "boost", - "score": 0.12107045948505402 - }, - "else": { - "operation": "boost", - "score": 0.15069721639156342 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.0012083698529750109 - }, - "else": { - "operation": "boost", - "score": 0.10304644703865051 - } - } + "operation": "boost", + "score": -0.02554505132138729 } }, "else": { "operation": "boost", - "score": 0.10553732514381409 + "score": -0.06003289297223091 } - }, - "else": { - "operation": "boost", - "score": 0.018471213057637215 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0017400904325768352 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 616.5, + "threshold": 153.0, "then": { "operation": "boost", - "score": -0.022003021091222763 + "score": 0.0650709718465805 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 471.0, + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.11044977605342865 + "score": -0.11484456062316895 }, "else": { "operation": "boost", - "score": 0.06175927445292473 + "score": -0.0061611514538526535 } } } } - }, - "else": { - "operation": "boost", - "score": -0.003584585152566433 } + }, + "else": { + "operation": "boost", + "score": -0.04770897701382637 } + }, + "else": { + "operation": "boost", + "score": -0.01043697725981474 } - }, - "else": { - "operation": "boost", - "score": -0.009628118015825748 } } } }, "else": { - "operation": "boost", - "score": -0.0008844449184834957 - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.062270160764455795 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0082086818292737 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.0749879777431488 + "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 + } + } }, "else": { "operation": "boost", - "score": -0.04148983210325241 + "score": 0.007489174138754606 } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.04986315220594406 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004043429158627987 + "score": -0.14262613654136658 }, "else": { "operation": "boost", - "score": 0.018687106668949127 + "score": 0.12667100131511688 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.02566063031554222 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.17119348049163818 + "score": 0.022976195439696312 }, "else": { "operation": "boost", - "score": -0.10079196840524673 + "score": 0.0561443492770195 } + }, + "else": { + "operation": "boost", + "score": 0.0188297126442194 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.0002477607049513608 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12040850520133972 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { + "operation": "boost", + "score": 0.09266972541809082 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type", - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": 0.09849417954683304 + "score": 0.06985417753458023 }, "else": { "operation": "boost", - "score": -0.00671906815841794 + "score": 0.03464723378419876 } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.008665910921990871 + "score": 0.022306784987449646 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.114262156188488 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.036706484854221344 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10132033377885818 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06840565800666809 + }, + "else": { + "operation": "boost", + "score": 0.11154881119728088 + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.12612484395503998 + "score": 0.08093204349279404 }, "else": { "operation": "boost", - "score": 0.06504089385271072 + "score": 0.10727059096097946 } } - }, - "else": { - "operation": "boost", - "score": 0.04017152264714241 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" + "operation": "boost", + "score": 0.019596168771386147 + } + }, + "else": { + "operation": "boost", + "score": -0.06560280919075012 + } + } + }, + "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 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.08740631490945816 + }, + "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_Statement", + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.12436699122190475 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.012675615027546883 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11068055033683777 + }, + "else": { + "operation": "boost", + "score": 0.06000305712223053 + } + } }, "else": { "operation": "boost", - "score": 0.06208692118525505 + "score": 0.00272904010489583 } + }, + "else": { + "operation": "boost", + "score": 0.04760001227259636 } }, "else": { - "operation": "boost", - "score": 0.043652500957250595 + "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_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.2024592161178589 + }, + "else": { + "operation": "boost", + "score": -0.002564674010500312 + } + } } } } + }, + "else": { + "operation": "boost", + "score": -0.031110500916838646 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 33856.0, - "then": { - "operation": "boost", - "score": 0.013416964560747147 - }, - "else": { - "operation": "boost", - "score": -0.2008877694606781 - } + "operation": "boost", + "score": -0.016748741269111633 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "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": 2.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10395526140928268 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.0, + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.10628369450569153 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -1.333760380744934 + }, + "else": { + "operation": "boost", + "score": 0.12371722608804703 + } }, "else": { "operation": "boost", - "score": 0.11517953872680664 + "score": -0.2757401466369629 } - }, - "else": { - "operation": "boost", - "score": 0.1515420377254486 } }, "else": { "operation": "boost", - "score": 0.18174949288368225 + "score": -0.16148239374160767 } }, "else": { "operation": "boost", - "score": -0.01473301462829113 + "score": -0.02804029919207096 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.040551476180553436 + }, + "else": { + "operation": "boost", + "score": 0.07452519983053207 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 418.0, "then": { "operation": "boost", - "score": 0.13878923654556274 + "score": 0.1355711966753006 }, "else": { "operation": "boost", - "score": 0.013093777932226658 + "score": 0.08710604161024094 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12686362862586975 - }, - "else": { - "operation": "boost", - "score": 0.1287800669670105 - } + "operation": "boost", + "score": 0.0673171654343605 } }, "else": { "operation": "boost", - "score": -0.1279754787683487 + "score": -0.00481588626280427 } - }, - "else": { - "operation": "boost", - "score": 0.052149128168821335 } + }, + "else": { + "operation": "boost", + "score": 0.010701197199523449 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.013505439274013042 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.0, + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.08128886669874191 + "score": 0.04810183867812157 }, "else": { - "operation": "boost", - "score": 0.060310304164886475 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0990072637796402 + }, + "else": { + "operation": "boost", + "score": 0.12248013913631439 + } + }, + "else": { + "operation": "boost", + "score": 0.08767136931419373 + } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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" + ], "then": { - "operation": "boost", - "score": -0.9219446182250977 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06295142322778702 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.08383184671401978 + }, + "else": { + "operation": "boost", + "score": 0.09883067011833191 + } + } }, "else": { "operation": "boost", - "score": 0.04735357686877251 + "score": 0.10705088078975677 } } - }, - "else": { - "operation": "boost", - "score": -0.270495742559433 } - }, - "else": { - "operation": "boost", - "score": 0.08099003881216049 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 383039.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.8426592350006104 - }, - "else": { - "operation": "boost", - "score": -0.03655434027314186 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.020957479253411293 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.028019191697239876 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 73.5, "then": { "operation": "boost", - "score": 0.009802358224987984 + "score": 0.096028171479702 }, "else": { + "operation": "boost", + "score": 0.06931784749031067 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.14134304225444794 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.08378738909959793 + "score": -0.15410853922367096 }, "else": { "operation": "boost", - "score": 0.06366406381130219 + "score": 0.10142505168914795 } + }, + "else": { + "operation": "boost", + "score": 0.09625398367643356 } - }, - "else": { - "operation": "boost", - "score": 0.035406045615673065 } } }, "else": { "operation": "boost", - "score": 0.017888832837343216 + "score": 0.029832351952791214 } + }, + "else": { + "operation": "boost", + "score": 0.004738321993499994 } } }, "else": { + "operation": "boost", + "score": 0.0059476131573319435 + } + }, + "else": { + "operation": "boost", + "score": 0.0031713033095002174 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6159.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.12115075439214706 + "score": -0.04354948177933693 }, "else": { + "operation": "boost", + "score": 0.10643021017313004 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19923.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 88678.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 107411.0, "then": { "operation": "boost", - "score": 0.02014242298901081 + "score": 0.02678319625556469 + }, + "else": { + "operation": "boost", + "score": 0.08656540513038635 + } + }, + "else": { + "operation": "boost", + "score": -0.009146607480943203 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18783.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.1142609640955925 + }, + "else": { + "operation": "boost", + "score": 0.07038013637065887 + } }, "else": { "operation": "boost", - "score": 0.10567252337932587 + "score": 0.11351481825113297 } }, "else": { "operation": "boost", - "score": 0.02248067781329155 + "score": 0.04707762971520424 } } } }, "else": { "operation": "boost", - "score": -0.0491342693567276 + "score": 0.008702443912625313 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82461.5, "then": { - "operation": "boost", - "score": -0.10211582481861115 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 98110.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "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_Expression" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.09706765413284302 + "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.05204072222113609 + "score": -0.20245350897312164 } - }, - "else": { - "operation": "boost", - "score": -0.003318347269669175 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" ], "then": { - "operation": "boost", - "score": -0.03494006767868996 - }, - "else": { - "operation": "boost", - "score": -0.040209800004959106 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026549002155661583 - }, - "else": { - "operation": "boost", - "score": 0.09450306743383408 - } - }, - "else": { - "operation": "boost", - "score": 0.02255052514374256 - } - }, - "else": { - "operation": "boost", - "score": -0.030364161357283592 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.06924150139093399 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0343722365796566 + "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.003475832287222147 + "score": -0.2312234342098236 } } }, - "else": { - "operation": "boost", - "score": 0.027761118486523628 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02488611452281475 - }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Variable", + "Function" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.008944706991314888 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 79531.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03795943781733513 - }, - "else": { - "operation": "boost", - "score": -0.03203709423542023 - } + "operation": "boost", + "score": 0.13992132246494293 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "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": 2.5, + "feature": "NumReferences", + "threshold": 71571.5, "then": { - "operation": "boost", - "score": 0.04055871069431305 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07287251949310303 + "score": 0.05117286369204521 }, "else": { "operation": "boost", - "score": 0.039673589169979095 + "score": 0.09813521057367325 } - } - }, - "else": { - "operation": "boost", - "score": 0.09996017068624496 - } - } - } - }, - "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_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09159303456544876 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30340.5, "then": { - "operation": "boost", - "score": 0.041603583842515945 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 32515.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 37521.0, "then": { "operation": "boost", - "score": 0.091443732380867 + "score": 0.02398206666111946 }, "else": { - "operation": "boost", - "score": 0.11649435013532639 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.16735132038593292 + }, + "else": { + "operation": "boost", + "score": 0.12367649376392365 + } + }, + "else": { + "operation": "boost", + "score": 0.1301296353340149 + } } }, "else": { "operation": "boost", - "score": 0.1320624202489853 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01714501716196537 - }, - "else": { - "operation": "boost", - "score": 0.07369837164878845 + "score": -0.1938331574201584 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20118.5, "then": { - "operation": "boost", - "score": 0.0575508289039135 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.12577566504478455 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09872758388519287 + }, + "else": { + "operation": "boost", + "score": 0.06600432097911835 + } + } }, "else": { "operation": "boost", - "score": 0.17685872316360474 + "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.006071857176721096 + "score": -0.028839172795414925 } + }, + "else": { + "operation": "boost", + "score": 0.10228690505027771 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "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": 3.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.41641122102737427 + "score": 0.09130210429430008 }, "else": { "operation": "boost", - "score": -0.13562333583831787 + "score": 0.10931986570358276 } }, "else": { "operation": "boost", - "score": 0.009700333699584007 + "score": -0.22697025537490845 } - }, - "else": { - "operation": "boost", - "score": -0.07756151258945465 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.04899056255817413 + "score": 0.08751511573791504 }, "else": { - "operation": "boost", - "score": 0.01726975478231907 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { "operation": "boost", - "score": -0.11080960184335709 + "score": 0.1295280009508133 }, "else": { "operation": "boost", - "score": -0.13001158833503723 + "score": 0.08055882900953293 } - }, - "else": { - "operation": "boost", - "score": -0.11698500066995621 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.006038505118340254 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.046070948243141174 - }, - "else": { - "operation": "boost", - "score": 0.14970380067825317 } }, - "else": { - "operation": "boost", - "score": 0.042918626219034195 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.04411211609840393 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 40920.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.18197880685329437 + "score": -0.14996181428432465 }, "else": { "operation": "boost", - "score": 0.11847155541181564 + "score": 0.09649540483951569 } }, "else": { "operation": "boost", - "score": -0.010698712430894375 + "score": 0.00930460263043642 } }, "else": { "operation": "boost", - "score": 0.03314286470413208 + "score": 0.021277381107211113 } } + }, + "else": { + "operation": "boost", + "score": 0.006634552031755447 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + } + } + }, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.008564210496842861 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04841678962111473 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10286078602075577 - }, - "else": { - "operation": "boost", - "score": 0.007374194450676441 - } - } - } + "operation": "boost", + "score": -0.14798423647880554 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "boost", - "score": -0.10642211139202118 + "score": 0.07082708179950714 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.05749661102890968 + "score": 0.07649628818035126 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0013481463538482785 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1009039580821991 + "score": 0.05332639813423157 }, "else": { - "operation": "boost", - "score": -0.2562820613384247 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": -0.07135550677776337 + }, + "else": { + "operation": "boost", + "score": -0.16118626296520233 + } } - }, - "else": { - "operation": "boost", - "score": -0.004045449197292328 } } } }, "else": { - "operation": "boost", - "score": -0.04293106496334076 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13823.0, - "then": { - "operation": "boost", - "score": -0.06239911541342735 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13744.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12146544456481934 - }, - "else": { - "operation": "boost", - "score": 0.09135686606168747 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.16460104286670685 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 304083.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.0, + "operation": "boost", + "score": -0.07426483184099197 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.6463339924812317 + "score": 0.13200262188911438 }, "else": { "operation": "boost", - "score": 0.13608647882938385 + "score": 0.11529261618852615 } - }, - "else": { - "operation": "boost", - "score": -0.060346197336912155 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "boost", + "score": -0.018912298604846 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "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": 48.0, + "threshold": 296854.0, "then": { "operation": "boost", - "score": 0.10517560690641403 + "score": -0.0816153809428215 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.21681305766105652 + }, + "else": { + "operation": "boost", + "score": 0.00020157913968432695 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03592398017644882 + } + } + } + }, + "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": 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.02519700676202774 + "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": 11.5, + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.11664151400327682 + "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.03376206010580063 + "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.05695989355444908 + "score": 0.029803194105625153 } } - }, - "else": { - "operation": "boost", - "score": 0.018373049795627594 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.004137498326599598 - }, - "else": { - "operation": "boost", - "score": -0.060373302549123764 - } + "operation": "boost", + "score": 0.11871505528688431 } }, "else": { "operation": "boost", - "score": -0.007655429188162088 + "score": -0.1710136979818344 } + }, + "else": { + "operation": "boost", + "score": 0.006384469568729401 } } } @@ -136277,1291 +135214,1754 @@ }, "else": { "operation": "boost", - "score": -0.006434833165258169 + "score": -0.046534985303878784 } + }, + "else": { + "operation": "boost", + "score": 0.01856193318963051 } + }, + "else": { + "operation": "boost", + "score": -0.0009289681329391897 } } } }, { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2020.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.0930405780673027 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5312.0, "then": { - "operation": "boost", - "score": -0.01171809621155262 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16714.5, + "then": { + "operation": "boost", + "score": 0.03534606844186783 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15737.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10880772024393082 + }, + "else": { + "operation": "boost", + "score": 0.12048683315515518 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8266.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": -0.002046253066509962 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6246.0, + "then": { + "operation": "boost", + "score": 0.1066913828253746 + }, + "else": { + "operation": "boost", + "score": 0.05898597091436386 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.008960643783211708 + } + }, + "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 + } + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.005391577258706093 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.009667092934250832 + "score": 0.05589936301112175 }, "else": { "operation": "boost", - "score": -0.1265392154455185 + "score": 0.10926511883735657 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.14062203466892242 + "score": 0.06518982350826263 }, "else": { "operation": "boost", - "score": 0.07061797380447388 + "score": 0.10438089072704315 } }, "else": { "operation": "boost", - "score": 0.03917215019464493 + "score": 0.06700523942708969 } }, "else": { + "operation": "boost", + "score": -0.0046730306930840015 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25183.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 44699.0, "then": { "operation": "boost", - "score": -0.03708736225962639 + "score": 0.011893359012901783 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31541.5, "then": { - "operation": "boost", - "score": 0.014981848187744617 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33449.0, + "then": { + "operation": "boost", + "score": 0.06436483561992645 + }, + "else": { + "operation": "boost", + "score": -0.016408536583185196 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10224281251430511 + }, + "else": { + "operation": "boost", + "score": 0.08177301287651062 + } + } }, "else": { "operation": "boost", - "score": 0.09650696069002151 + "score": 0.01810896024107933 } } + }, + "else": { + "operation": "boost", + "score": -0.22555093467235565 } + }, + "else": { + "operation": "boost", + "score": -0.013260744512081146 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18672.5, "then": { - "operation": "boost", - "score": -0.008799485862255096 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19203.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.04532046243548393 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "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.3698595464229584 + "score": -0.1023048609495163 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.1115834191441536 + "score": 0.10220872610807419 }, "else": { "operation": "boost", - "score": 0.09062855690717697 + "score": 0.108202263712883 } } - }, - "else": { - "operation": "boost", - "score": 0.026252975687384605 } + }, + "else": { + "operation": "boost", + "score": 0.029018374159932137 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19035.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "boost", + "score": 0.12029501795768738 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.014416547492146492 + "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 + } }, "else": { "operation": "boost", - "score": 0.1284303367137909 + "score": 0.02706941030919552 } - }, - "else": { - "operation": "boost", - "score": -0.02325904369354248 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.03815349191427231 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.0487816147506237 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 5170.5, "then": { - "operation": "boost", - "score": -0.01896749995648861 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 114453.5, + "threshold": 5204.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 10863.0, "then": { - "operation": "boost", - "score": 0.0749962255358696 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1179298609495163 + "score": -0.12272772938013077 }, "else": { - "operation": "boost", - "score": 0.053454045206308365 + "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.3324629068374634 + "score": 0.03372582793235779 } }, "else": { - "operation": "boost", - "score": 0.03267773613333702 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.14520186185836792 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.04721817746758461 + "score": 0.09645993262529373 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 684.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 931.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06211898475885391 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3571.0, - "then": { - "operation": "boost", - "score": 0.1440361738204956 - }, - "else": { - "operation": "boost", - "score": 0.1418260931968689 - } - } - }, - "else": { - "operation": "boost", - "score": -0.31469637155532837 - } - }, - "else": { - "operation": "boost", - "score": 0.1021094024181366 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 916.5, - "then": { - "operation": "boost", - "score": 0.05449936166405678 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 870.0, - "then": { - "operation": "boost", - "score": 0.11099915951490402 - }, - "else": { - "operation": "boost", - "score": 0.09376110136508942 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.13246653974056244 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.5, - "then": { - "operation": "boost", - "score": 0.10486368089914322 - }, - "else": { - "operation": "boost", - "score": 0.1078767403960228 - } - }, - "else": { - "operation": "boost", - "score": -0.35971319675445557 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.20373262465000153 - }, - "else": { - "operation": "boost", - "score": 0.13123394548892975 - } - }, - "else": { - "operation": "boost", - "score": 0.24404755234718323 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09801153093576431 - } - }, - "else": { - "operation": "boost", - "score": 0.035177864134311676 - } - } - }, - "else": { - "operation": "boost", - "score": 0.059637174010276794 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09393222630023956 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10967918485403061 - }, - "else": { - "operation": "boost", - "score": 0.1231963187456131 - } - }, - "else": { - "operation": "boost", - "score": 0.02932695858180523 - } - } - } + "operation": "boost", + "score": 0.15530863404273987 } }, "else": { "operation": "boost", - "score": -0.014381482265889645 + "score": 0.1454029679298401 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + } + } + }, + "else": { + "operation": "boost", + "score": 0.0020612869411706924 + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.038522932678461075 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15708.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1419605165719986 - }, - "else": { - "operation": "boost", - "score": 0.06481035053730011 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04201677069067955 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 281.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06408880650997162 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10327795147895813 - }, - "else": { - "operation": "boost", - "score": 0.11466836929321289 - } - }, - "else": { - "operation": "boost", - "score": -0.15485741198062897 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09640558063983917 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0406656488776207 - } + "operation": "boost", + "score": 0.11140982806682587 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3206.5, - "then": { - "operation": "boost", - "score": 0.03587130829691887 - }, - "else": { - "operation": "boost", - "score": 0.01058752927929163 - } + "operation": "boost", + "score": 0.06906077265739441 } + }, + "else": { + "operation": "boost", + "score": 0.02688354067504406 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 13278.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13941.0, "then": { + "operation": "boost", + "score": 0.01585688628256321 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1303030103445053 - }, - "else": { - "operation": "boost", - "score": 0.1425807625055313 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0964164286851883 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06992252916097641 - }, - "else": { - "operation": "boost", - "score": 0.11327408999204636 - } - } - } + "operation": "boost", + "score": 0.10873042047023773 }, "else": { "operation": "boost", - "score": -0.013020060956478119 + "score": 0.1527901142835617 } - }, - "else": { - "operation": "boost", - "score": 0.051748961210250854 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Statement" ], "then": { "operation": "boost", - "score": 0.04844072833657265 + "score": 0.09252890199422836 }, "else": { "operation": "boost", - "score": 0.015646779909729958 + "score": 0.07876740396022797 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 662.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 723.0, + "threshold": 12433.0, "then": { - "operation": "boost", - "score": 0.05163460224866867 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12945.0, + "then": { + "operation": "boost", + "score": 0.09396158158779144 + }, + "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": "boost", + "score": 0.11087366938591003 + }, + "else": { + "operation": "boost", + "score": -0.10412328690290451 + } + } }, "else": { - "operation": "boost", - "score": 0.10947781801223755 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2068.0, + "then": { + "operation": "boost", + "score": 0.05138365551829338 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.11161234974861145 + }, + "else": { + "operation": "boost", + "score": 0.11899462342262268 + } + } } }, "else": { "operation": "boost", - "score": -0.03505032882094383 + "score": -0.020358938723802567 } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1430446356534958 + } + } + } + } + } + }, + "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 + } + } + }, + "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": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 676.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 793.0, + "then": { + "operation": "boost", + "score": 0.05903429538011551 }, "else": { "operation": "boost", - "score": -0.13792568445205688 + "score": 0.10580356419086456 } + }, + "else": { + "operation": "boost", + "score": 0.05831661447882652 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04063059762120247 + }, + "else": { + "operation": "boost", + "score": 0.009865050204098225 } } }, "else": { - "operation": "boost", - "score": 0.012868949212133884 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.055333785712718964 + }, + "else": { + "operation": "boost", + "score": -0.0031936331652104855 + } } }, "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.008595473133027554 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 173.5, "then": { + "operation": "boost", + "score": -0.009598449803888798 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.008071853779256344 + "score": 0.056051578372716904 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95.0, "then": { "operation": "boost", - "score": 0.11186090111732483 + "score": 0.04829929396510124 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06971453130245209 - }, - "else": { - "operation": "boost", - "score": 0.013401416130363941 - } + "operation": "boost", + "score": 0.13251127302646637 } }, "else": { - "operation": "boost", - "score": 0.04043295606970787 + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.03848855197429657 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.05341760814189911 + }, + "else": { + "operation": "boost", + "score": 0.106477752327919 + } }, "else": { + "operation": "boost", + "score": -0.19046631455421448 + } + } + }, + "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 + } + }, + "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": 2.5, + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.030924219638109207 + "score": 0.12217466533184052 }, "else": { "operation": "boost", - "score": 0.0012555536814033985 + "score": -0.04929902032017708 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.08941136300563812 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06029397249221802 + "score": 0.11885473877191544 }, "else": { "operation": "boost", - "score": 0.038312070071697235 + "score": -0.12304666638374329 } - }, - "else": { - "operation": "boost", - "score": 0.04133836179971695 } } + }, + "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.025226624682545662 + "score": 0.014232191257178783 } } }, "else": { "operation": "boost", - "score": -0.010621519759297371 + "score": -0.002696667332202196 } } + } + }, + "else": { + "operation": "boost", + "score": -0.07939160615205765 + } + }, + "else": { + "operation": "boost", + "score": -0.00014951032062526792 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.052502017468214035 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": 0.02694077603518963 + }, + "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": "boost", + "score": 0.10395882278680801 + }, + "else": { + "operation": "boost", + "score": -0.13395079970359802 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.015802696347236633 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Constructor", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 366.5, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.04165883734822273 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11672227084636688 + }, + "else": { + "operation": "boost", + "score": 0.07774948328733444 + } }, "else": { "operation": "boost", - "score": 0.06173845753073692 + "score": 0.056305862963199615 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.052283599972724915 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0073177143931388855 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07331792265176773 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.033377617597579956 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.12577101588249207 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12301968038082123 - }, - "else": { - "operation": "boost", - "score": 0.2172504961490631 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1346299797296524 - }, - "else": { - "operation": "boost", - "score": 0.12285201996564865 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.1329488307237625 - }, - "else": { - "operation": "boost", - "score": 0.11304538697004318 - } - }, - "else": { - "operation": "boost", - "score": 0.11538835614919662 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.14480425417423248 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.12672103941440582 - }, - "else": { - "operation": "boost", - "score": 0.09789398312568665 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02378685586154461 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.07635492086410522 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1414378434419632 - }, - "else": { - "operation": "boost", - "score": 0.09061635285615921 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11078786849975586 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11871002614498138 - } - } - } + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007788688410073519 + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.011781160719692707 + }, + "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.023651864379644394 + }, + "else": { + "operation": "boost", + "score": -0.00495989341288805 + } + }, + "else": { + "operation": "boost", + "score": -0.013597841374576092 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 627.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 723.0, + "then": { + "operation": "boost", + "score": 0.032701525837183 + }, + "else": { + "operation": "boost", + "score": 0.12791068851947784 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.009162032045423985 + }, + "else": { + "operation": "boost", + "score": -0.02833806723356247 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005041930824518204 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.1498555690050125 + }, + "else": { + "operation": "boost", + "score": -0.07752253115177155 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21461.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 368430.5, + "then": { + "operation": "boost", + "score": -0.0010953607270494103 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24318.0, + "then": { + "operation": "boost", + "score": 0.0898384377360344 + }, + "else": { + "operation": "boost", + "score": 0.12108432501554489 + } + }, + "else": { + "operation": "boost", + "score": 0.04943685606122017 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": -0.004621441010385752 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "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 + } + }, + "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_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.014121624641120434 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04182250052690506 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.028216714039444923 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10705297440290451 - }, - "else": { - "operation": "boost", - "score": 0.09808050841093063 - } - } - } - } + "operation": "boost", + "score": 0.07529710233211517 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.09767887741327286 - }, - "else": { - "operation": "boost", - "score": 0.04516161233186722 - } + "operation": "boost", + "score": 0.014673135243356228 } } }, "else": { "operation": "boost", - "score": -0.08951549232006073 + "score": -0.04833535850048065 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.05646781623363495 - }, - "else": { - "operation": "boost", - "score": 0.05197596177458763 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03981565311551094 - }, - "else": { - "operation": "boost", - "score": 0.039636336266994476 - } - } + "operation": "boost", + "score": -0.07259299606084824 } } } } }, "else": { - "operation": "boost", - "score": -0.006877149920910597 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1205.0, + "then": { + "operation": "boost", + "score": 0.09017197042703629 + }, + "else": { + "operation": "boost", + "score": -0.05470952019095421 + } } - }, - "else": { - "operation": "boost", - "score": -0.014162949286401272 } } } @@ -137569,1016 +136969,1135 @@ } }, "else": { - "operation": "boost", - "score": -0.08890460431575775 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Other" + ], "then": { + "operation": "boost", + "score": 0.025972774252295494 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4142.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, + "operation": "boost", + "score": -0.01579728163778782 + }, + "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" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25663.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "operation": "boost", + "score": 0.003916068933904171 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12534137070178986 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02208235114812851 + }, + "else": { + "operation": "boost", + "score": 0.058722663670778275 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.11845360696315765 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3080.0, + "then": { + "operation": "boost", + "score": -0.05853123590350151 + }, + "else": { + "operation": "boost", + "score": 0.06063510850071907 + } + }, + "else": { + "operation": "boost", + "score": 0.14442895352840424 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01409140508621931 + } + }, + "else": { + "operation": "boost", + "score": -0.05294749513268471 + } + } + } + }, + "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": "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.0888441652059555 + "score": 0.04286905378103256 }, "else": { + "operation": "boost", + "score": -0.026337696239352226 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25940.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.13571247458457947 + }, + "else": { + "operation": "boost", + "score": 0.11981692910194397 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10142052173614502 + }, + "else": { + "operation": "boost", + "score": -0.29213473200798035 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09547986090183258 + } + }, + "else": { + "operation": "boost", + "score": -0.04353566840291023 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.00720797386020422 + }, + "else": { + "operation": "boost", + "score": 0.06309337913990021 + } + }, + "else": { + "operation": "boost", + "score": -0.06047673895955086 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.13933788239955902 + }, + "else": { + "operation": "boost", + "score": 0.049170807003974915 + } + }, + "else": { + "operation": "boost", + "score": 0.10966711491346359 + } + } + }, + "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": 35729.5, + "threshold": 236336.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.03227389603853226 + "score": 0.13774359226226807 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09340731799602509 + "score": 0.015617492608726025 }, "else": { "operation": "boost", - "score": -0.052491676062345505 + "score": 0.10891387611627579 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30660.5, + "threshold": 199646.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.17457814514636993 + "score": 0.07498978078365326 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.09535752981901169 + "score": 0.10693497210741043 }, "else": { "operation": "boost", - "score": 0.052558306604623795 + "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": 32083.5, + "threshold": 200884.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10489995777606964 + "score": 0.11868129670619965 }, "else": { "operation": "boost", - "score": 0.0897207260131836 + "score": 0.0838421955704689 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10640706866979599 - }, - "else": { - "operation": "boost", - "score": 0.08389858156442642 - } + "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.025349756702780724 + "score": -0.0001448967377655208 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33949.0, + "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": 47293.0, + "threshold": 141422.5, "then": { "operation": "boost", - "score": 0.01301130373030901 + "score": -0.17104406654834747 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44616.0, + "threshold": 105803.0, "then": { + "operation": "boost", + "score": 0.04191618412733078 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45623.5, + "threshold": 103549.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11253034323453903 - }, - "else": { - "operation": "boost", - "score": 0.1000114381313324 - } - }, - "else": { - "operation": "boost", - "score": 0.07142730057239532 - } + "operation": "boost", + "score": 0.09996771812438965 }, "else": { "operation": "boost", - "score": 0.05221866816282272 + "score": 0.003855479648336768 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.11152523756027222 + "score": -0.05745209753513336 }, "else": { "operation": "boost", - "score": 0.12393059581518173 + "score": 0.07532041519880295 } }, "else": { "operation": "boost", - "score": 0.10773760080337524 + "score": -0.12222806364297867 } } - }, - "else": { - "operation": "boost", - "score": 0.047755997627973557 } }, "else": { "operation": "boost", - "score": 0.007373186759650707 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10642629116773605 - }, - "else": { - "operation": "boost", - "score": 0.10201427340507507 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1344665288925171 - }, - "else": { - "operation": "boost", - "score": 0.09830480068922043 + "score": 0.040358226746320724 } } } }, "else": { "operation": "boost", - "score": -0.034998852759599686 + "score": 0.012542271986603737 } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -7.155397179303691e-05 + } + }, + "else": { + "operation": "boost", + "score": -0.0044729867950081825 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06625720113515854 + }, + "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.03152317553758621 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03932579606771469 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38926.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44699.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09846588224172592 - }, - "else": { - "operation": "boost", - "score": -0.06000903993844986 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62405.5, - "then": { - "operation": "boost", - "score": -0.005044626537710428 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47423.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.017351165413856506 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.06864641606807709 - }, - "else": { - "operation": "boost", - "score": 0.11451918631792068 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56208.0, - "then": { - "operation": "boost", - "score": 0.11132719367742538 - }, - "else": { - "operation": "boost", - "score": -0.22372445464134216 - } - }, - "else": { - "operation": "boost", - "score": -0.1446870118379593 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48493.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58696.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10952214896678925 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10163851082324982 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1345704346895218 - }, - "else": { - "operation": "boost", - "score": 0.13749144971370697 - } - }, - "else": { - "operation": "boost", - "score": 0.11929921060800552 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.29569607973098755 - } - }, - "else": { - "operation": "boost", - "score": -0.09251802414655685 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.12378726899623871 - }, - "else": { - "operation": "boost", - "score": 0.11988614499568939 - } - }, - "else": { - "operation": "boost", - "score": 0.12048063427209854 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1553201526403427 - } - } - } + "operation": "boost", + "score": 0.34317854046821594 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.05942101404070854 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.36976104974746704 - }, - "else": { - "operation": "boost", - "score": 0.09978801012039185 - } - } + "operation": "boost", + "score": 0.05905607342720032 } }, "else": { "operation": "boost", - "score": -0.05778122693300247 + "score": -0.01956467516720295 } }, - "else": { - "operation": "boost", - "score": -0.07519681006669998 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.04172343760728836 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187158.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04388134554028511 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.0845155119895935 + }, + "else": { + "operation": "boost", + "score": 0.056478265672922134 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153907.0, + "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": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.29398900270462036 + "score": 0.2570885717868805 }, "else": { "operation": "boost", - "score": -0.8986448049545288 + "score": 0.11692235618829727 } }, "else": { "operation": "boost", - "score": 0.014847133308649063 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10403471440076828 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.08187933266162872 - }, - "else": { - "operation": "boost", - "score": -0.14342154562473297 + "score": -0.2318306267261505 } } - }, - "else": { - "operation": "boost", - "score": -0.050502270460128784 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10785587131977081 - }, - "else": { - "operation": "boost", - "score": 0.10609164834022522 - } - }, - "else": { - "operation": "boost", - "score": -0.07928845286369324 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, - "then": { - "operation": "boost", - "score": -0.3358474671840668 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16624556481838226 - }, - "else": { - "operation": "boost", - "score": 0.0657442957162857 - } - }, - "else": { - "operation": "boost", - "score": -0.15954254567623138 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0193962249904871 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.04130691662430763 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6067.0, + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10529.5, + "threshold": 11.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.10497711598873138 + "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.10400514304637909 + "score": 0.08095571398735046 } }, "else": { + "operation": "boost", + "score": 0.13134460151195526 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11813880503177643 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.138564795255661 + "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.10872367024421692 + "score": 0.08145890384912491 } + }, + "else": { + "operation": "boost", + "score": 0.14259478449821472 } + }, + "else": { + "operation": "boost", + "score": 0.039481088519096375 } - }, - "else": { - "operation": "boost", - "score": -0.14721275866031647 } - }, - "else": { - "operation": "boost", - "score": 0.06904225051403046 } + }, + "else": { + "operation": "boost", + "score": 0.08249277621507645 } }, + "else": { + "operation": "boost", + "score": -0.004570034332573414 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009708650410175323 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82461.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98110.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.05083240941166878 + }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 239122.0, "then": { "operation": "boost", - "score": 0.1009008064866066 + "score": 0.007845095358788967 }, "else": { "operation": "boost", - "score": 0.01703585311770439 + "score": 0.04644278064370155 } } }, "else": { - "operation": "boost", - "score": 0.03164363652467728 + "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.06714117527008057 + }, + "else": { + "operation": "boost", + "score": -0.20342952013015747 + } } }, "else": { "operation": "boost", - "score": -0.007380561903119087 + "score": -0.0778931975364685 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" + "Variable", + "Function" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.13584855198860168 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" + "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": 25.5, - "then": { - "operation": "boost", - "score": 0.11241855472326279 - }, - "else": { - "operation": "boost", - "score": 0.06895714998245239 - } - }, - "else": { - "operation": "boost", - "score": -0.03522416204214096 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4252.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 71571.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10395728051662445 + "score": 0.04594188928604126 }, "else": { "operation": "boost", - "score": -0.01736118271946907 + "score": 0.09180352836847305 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9214.5, + "threshold": 30340.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32515.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22623.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.1005871593952179 + "score": 0.01562989316880703 }, "else": { - "operation": "boost", - "score": 0.09880270808935165 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37092.0, + "then": { + "operation": "boost", + "score": 0.07734917849302292 + }, + "else": { + "operation": "boost", + "score": 0.12344493716955185 + } } }, "else": { "operation": "boost", - "score": -0.007115740329027176 + "score": -0.17930996417999268 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8384.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1186157837510109 - }, - "else": { - "operation": "boost", - "score": 0.0314675010740757 - } + "operation": "boost", + "score": 0.09820074588060379 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6799.0, + "threshold": 20118.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7565.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.06544650346040726 + "score": 0.12920553982257843 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7475.5, - "then": { - "operation": "boost", - "score": 0.1278514415025711 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7250.0, - "then": { - "operation": "boost", - "score": -0.5036468505859375 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7123.0, - "then": { - "operation": "boost", - "score": 0.13868822157382965 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14184650778770447 - }, - "else": { - "operation": "boost", - "score": 0.009950786828994751 - } - } - } - } + "operation": "boost", + "score": 0.057704564183950424 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5355.0, - "then": { - "operation": "boost", - "score": -0.1650419980287552 - }, - "else": { - "operation": "boost", - "score": 0.12625178694725037 - } - }, - "else": { - "operation": "boost", - "score": 0.07074809074401855 - } + "operation": "boost", + "score": -0.07205896824598312 } } } @@ -138586,4397 +138105,3563 @@ }, "else": { "operation": "boost", - "score": 0.11131089180707932 + "score": -0.2286827117204666 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04675327241420746 + "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": "NumReferences", - "threshold": 4286.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.5759063959121704 + "score": 0.0921211689710617 }, "else": { + "operation": "boost", + "score": 0.10802551358938217 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.009456451050937176 + "score": 0.08861587941646576 }, "else": { "operation": "boost", - "score": 0.14067597687244415 + "score": 0.10807225108146667 } + }, + "else": { + "operation": "boost", + "score": -0.208570659160614 } - }, - "else": { - "operation": "boost", - "score": 0.02290741167962551 } } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6075.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6101.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.08466757088899612 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.04473406821489334 + "score": 0.12814059853553772 }, "else": { "operation": "boost", - "score": 0.12328151613473892 + "score": 0.07794244587421417 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.0, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.13757339119911194 + "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.024648567661643028 + "score": 0.007944093085825443 } + }, + "else": { + "operation": "boost", + "score": 0.013468941673636436 } - }, - "else": { - "operation": "boost", - "score": 0.02972416579723358 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.005579971242696047 - }, - "else": { - "operation": "boost", - "score": -0.2287994772195816 - } + "operation": "boost", + "score": 0.007161872927099466 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11160243302583694 }, "else": { - "operation": "boost", - "score": 0.12198571115732193 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1170579120516777 - }, - "else": { - "operation": "boost", - "score": -0.10130965709686279 - } - }, - "else": { - "operation": "boost", - "score": 0.009774080477654934 - } - }, - "else": { - "operation": "boost", - "score": 0.052065350115299225 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18305.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18474.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.06759960949420929 - }, - "else": { - "operation": "boost", - "score": 0.02230989933013916 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2864125967025757 - }, - "else": { - "operation": "boost", - "score": 0.11015661805868149 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10213100910186768 - }, - "else": { - "operation": "boost", - "score": 0.12191637605428696 - } - }, - "else": { - "operation": "boost", - "score": -0.2815113961696625 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.002517214510589838 - } - }, - "else": { - "operation": "boost", - "score": -0.005948456469923258 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0007755893748253584 - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06486084312200546 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0802687406539917 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10715752840042114 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 24308.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 29053.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 56138.5, "then": { + "operation": "boost", + "score": -0.028690198436379433 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.011073976755142212 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10385629534721375 + }, + "else": { + "operation": "boost", + "score": 0.11009593307971954 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11042403429746628 - }, - "else": { - "operation": "boost", - "score": 0.11574175208806992 - } + "operation": "boost", + "score": 0.021364666521549225 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 43376.0, "then": { - "operation": "boost", - "score": 0.20119313895702362 + "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": "boost", - "score": 0.25091636180877686 + "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": "boost", - "score": -0.19018784165382385 + "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": "boost", - "score": -0.019912265241146088 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28839.0, + "then": { + "operation": "boost", + "score": -0.40433546900749207 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "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": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "boost", + "score": -0.030450092628598213 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 28239.0, "then": { "operation": "boost", - "score": 0.058607347309589386 + "score": 0.07835857570171356 }, "else": { "operation": "boost", - "score": 0.04856600612401962 + "score": 0.10755644738674164 } }, "else": { "operation": "boost", - "score": -0.010867052711546421 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.011484705843031406 - }, - "else": { - "operation": "boost", - "score": 0.03681108355522156 + "score": 0.04356779530644417 } } }, + "else": { + "operation": "boost", + "score": -0.1450883001089096 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19220.5, + "then": { + "operation": "boost", + "score": 0.07090120017528534 + }, + "else": { + "operation": "boost", + "score": 0.1087355986237526 + } + }, + "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": 443558.5, + "threshold": 23872.5, "then": { "operation": "boost", - "score": -0.0919908657670021 + "score": 0.02815033495426178 }, "else": { "operation": "boost", - "score": 0.010629731230437756 + "score": 0.09535340964794159 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.15975475311279297 }, "else": { - "operation": "boost", - "score": -0.06712454557418823 + "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 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": -0.021023863926529884 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 298482.5, "then": { - "operation": "boost", - "score": 0.006325760390609503 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 549246.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.039311494678258896 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.046227846294641495 + "score": 0.09602778404951096 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.024810614064335823 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.09160743653774261 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11814437806606293 - }, - "else": { - "operation": "boost", - "score": 0.15232086181640625 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.18867625296115875 - }, - "else": { - "operation": "boost", - "score": 0.12627552449703217 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.16772882640361786 - } - }, - "else": { - "operation": "boost", - "score": -0.09426487237215042 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12217728793621063 - }, - "else": { - "operation": "boost", - "score": 0.13486632704734802 - } - }, - "else": { - "operation": "boost", - "score": 0.07880733907222748 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.13052499294281006 - }, - "else": { - "operation": "boost", - "score": -0.007296039257198572 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12697669863700867 - }, - "else": { - "operation": "boost", - "score": 0.05260071903467178 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.08387304097414017 - } - }, - "else": { - "operation": "boost", - "score": -0.07363740354776382 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11639902740716934 - }, - "else": { - "operation": "boost", - "score": -0.04284031689167023 - } - }, - "else": { - "operation": "boost", - "score": 0.005644419230520725 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10560327023267746 - }, - "else": { - "operation": "boost", - "score": 0.02644399367272854 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09761634469032288 - } + "operation": "boost", + "score": -0.015393403358757496 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.02349097654223442 + } + }, + "else": { + "operation": "boost", + "score": -0.05902828276157379 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05924098566174507 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.1619233936071396 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 24.5, + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.15637436509132385 + "score": 0.12869073450565338 }, "else": { "operation": "boost", - "score": 0.09979769587516785 + "score": 0.13333705067634583 } }, "else": { "operation": "boost", - "score": 0.025563834235072136 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.07418418675661087 - }, - "else": { - "operation": "boost", - "score": -0.297029048204422 + "score": 0.11527804285287857 } } }, "else": { "operation": "boost", - "score": -0.0642484501004219 + "score": 0.07199988514184952 } + }, + "else": { + "operation": "boost", + "score": 0.10144755244255066 } - }, - "else": { - "operation": "boost", - "score": 0.010671859607100487 } }, "else": { + "operation": "boost", + "score": -0.0638386681675911 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 62267.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.002557526109740138 + "score": -0.10469603538513184 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09718944877386093 - }, - "else": { - "operation": "boost", - "score": 0.026891976594924927 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1250964105129242 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10130462795495987 - }, - "else": { - "operation": "boost", - "score": -0.2314697951078415 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09231250733137131 - }, - "else": { - "operation": "boost", - "score": 0.027361860498785973 - } - } + "operation": "boost", + "score": 0.1482323706150055 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.08061598986387253 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0382186621427536 - }, - "else": { - "operation": "boost", - "score": 0.08523933589458466 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.004569028038531542 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07201649248600006 - }, - "else": { - "operation": "boost", - "score": -0.026876961812376976 - } - } - } + "operation": "boost", + "score": -0.34476831555366516 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19795.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { - "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_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "boost", - "score": -0.29038918018341064 + "score": -0.14643965661525726 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.0, + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.12217387557029724 + "score": 0.10001213103532791 }, "else": { "operation": "boost", - "score": 0.09563601016998291 + "score": 0.08884187042713165 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33449.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 138283.5, "then": { "operation": "boost", - "score": 0.2407744824886322 + "score": -0.2910914421081543 }, "else": { - "operation": "boost", - "score": 0.11188812553882599 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 16.0, "then": { - "operation": "boost", - "score": 0.132680743932724 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1724221110343933 + }, + "else": { + "operation": "boost", + "score": 0.123024582862854 + } }, "else": { - "operation": "boost", - "score": -0.14403128623962402 + "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.14675834774971008 } + }, + "else": { + "operation": "boost", + "score": -0.20625366270542145 } }, "else": { "operation": "boost", - "score": 0.017693376168608665 + "score": 0.0031867406796664 } } }, "else": { - "operation": "boost", - "score": 0.022863252088427544 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06174768507480621 - }, - "else": { - "operation": "boost", - "score": 0.0596911683678627 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08109725266695023 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008502586744725704 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03091428615152836 - }, - "else": { - "operation": "boost", - "score": -0.01424804050475359 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06163435056805611 - }, - "else": { - "operation": "boost", - "score": -0.014158109202980995 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.059986863285303116 + "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": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.06540795415639877 + "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.04994508996605873 + "score": -0.2310979813337326 } } - }, - "else": { - "operation": "boost", - "score": 0.008810581639409065 } + }, + "else": { + "operation": "boost", + "score": 0.018799014389514923 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.003419453278183937 }, "else": { "operation": "boost", - "score": -0.11253554373979568 + "score": -0.14066019654273987 } + }, + "else": { + "operation": "boost", + "score": 0.010842700488865376 } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04593776911497116 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08440802246332169 + }, + "else": { + "operation": "boost", + "score": 0.09035299718379974 + } + }, + "else": { + "operation": "boost", + "score": 0.024709295481443405 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.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.11869043111801147 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 319997.5, "then": { "operation": "boost", - "score": 0.0006820652051828802 + "score": -0.35492002964019775 }, "else": { - "operation": "boost", - "score": -0.05159952864050865 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 296854.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010522334836423397 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.040029268711805344 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.07174667716026306 - }, - "else": { - "operation": "boost", - "score": -0.23412711918354034 - } - }, - "else": { - "operation": "boost", - "score": -0.020487478002905846 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, - "then": { - "operation": "boost", - "score": -0.12754283845424652 - }, - "else": { - "operation": "boost", - "score": 0.11371111869812012 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.13952217996120453 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06637606769800186 - }, - "else": { - "operation": "boost", - "score": 0.0947447419166565 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02366558276116848 - } + "operation": "boost", + "score": -0.2082132250070572 }, "else": { "operation": "boost", - "score": -0.0002453812339808792 + "score": 0.11374856531620026 } }, "else": { "operation": "boost", - "score": -0.03910546749830246 + "score": -0.018823981285095215 } + }, + "else": { + "operation": "boost", + "score": -0.15738345682621002 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0036502915900200605 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "boost", + "score": -0.2496727555990219 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0723169595003128 + "score": 0.02818835899233818 }, "else": { "operation": "boost", - "score": 0.03582147881388664 + "score": 0.1011669784784317 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.01527039147913456 + "score": 0.04209334775805473 }, "else": { "operation": "boost", - "score": -0.0023956014774739742 + "score": 0.06501712650060654 } } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07721816003322601 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "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": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13786865770816803 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03441893309354782 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.12655244767665863 + "score": 0.07785113155841827 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08999218791723251 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.01692499779164791 - }, - "else": { - "operation": "boost", - "score": 0.11390675604343414 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1199016198515892 - } + "operation": "boost", + "score": 0.11605633050203323 } + }, + "else": { + "operation": "boost", + "score": 0.018690209835767746 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 23.0, "then": { + "operation": "boost", + "score": 0.1062864437699318 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03231511265039444 + "score": -0.06773534417152405 }, "else": { "operation": "boost", - "score": -0.0020266827195882797 + "score": 0.028809456154704094 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.025268198922276497 - }, - "else": { - "operation": "boost", - "score": 0.07495173066854477 - } + "operation": "boost", + "score": -0.06634462624788284 } - }, - "else": { - "operation": "boost", - "score": 0.02659422717988491 } } }, "else": { "operation": "boost", - "score": -0.09305178374052048 - } - }, - "else": { - "operation": "boost", - "score": 0.01013103872537613 - } - }, - "else": { - "operation": "boost", - "score": -0.0027863732539117336 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.10465951263904572 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00497855618596077 - }, - "else": { - "operation": "boost", - "score": -0.08566499501466751 + "score": 0.021495457738637924 } - }, - "else": { - "operation": "boost", - "score": -0.01473674550652504 } } } + }, + "else": { + "operation": "boost", + "score": -0.0011864107800647616 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 398.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.058125562965869904 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4142.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03792057931423187 + }, + "else": { + "operation": "boost", + "score": -0.019522352144122124 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25663.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47123.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09874320775270462 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.017621086910367012 + "score": -0.07878647744655609 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07294369488954544 - }, - "else": { - "operation": "boost", - "score": 0.10916049778461456 - } - }, - "else": { - "operation": "boost", - "score": -0.11520809680223465 - } - }, - "else": { - "operation": "boost", - "score": 0.0579318068921566 - } - }, - "else": { - "operation": "boost", - "score": 0.03709425404667854 - } + "operation": "boost", + "score": 0.0603717565536499 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "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": "FilterLength", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05818326398730278 + "score": 0.024385154247283936 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, - "then": { - "operation": "boost", - "score": -0.005117463879287243 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003382061142474413 - }, - "else": { - "operation": "boost", - "score": -1.1033509969711304 - } - } + "operation": "boost", + "score": 0.09301890432834625 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 432212.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07113905996084213 - }, - "else": { - "operation": "boost", - "score": -0.6622655987739563 - } - }, - "else": { - "operation": "boost", - "score": -0.058399099856615067 - } + "operation": "boost", + "score": 0.09668228775262833 } } }, "else": { "operation": "boost", - "score": 0.015091036446392536 + "score": 0.09268385916948318 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46801.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.1237991601228714 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31292.5, + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.05393330752849579 + "score": 0.02510892041027546 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10071829706430435 - }, - "else": { - "operation": "boost", - "score": 0.061401985585689545 - } - }, - "else": { - "operation": "boost", - "score": 0.10482848435640335 - } + "operation": "boost", + "score": 0.0943087711930275 }, "else": { "operation": "boost", - "score": 0.08436189591884613 + "score": 0.0703771561384201 } } }, "else": { - "operation": "boost", - "score": 0.007202291861176491 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25940.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "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": 3.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11322563141584396 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 202702.5, - "then": { - "operation": "boost", - "score": -0.6756157875061035 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54953.0, - "then": { - "operation": "boost", - "score": 0.09730681031942368 - }, - "else": { - "operation": "boost", - "score": 0.08037775754928589 - } - } - } + "operation": "boost", + "score": -0.14526525139808655 }, "else": { "operation": "boost", - "score": -0.006536504253745079 + "score": 0.10166443139314651 } }, "else": { - "operation": "boost", - "score": 0.023625453934073448 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10848125070333481 + }, + "else": { + "operation": "boost", + "score": 0.07324222475290298 + } } - }, - "else": { - "operation": "boost", - "score": 0.027088120579719543 } - }, - "else": { - "operation": "boost", - "score": 0.003951369319111109 } }, "else": { "operation": "boost", - "score": -0.019146628677845 + "score": 0.027561094611883163 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10674725472927094 - }, - "else": { - "operation": "boost", - "score": 0.10418841987848282 - } - }, - "else": { - "operation": "boost", - "score": -0.11693952977657318 - } + "operation": "boost", + "score": 0.003062926232814789 } } }, "else": { "operation": "boost", - "score": -0.08106813579797745 + "score": 0.007082744967192411 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.021916579455137253 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12595774233341217 - }, - "else": { - "operation": "boost", - "score": -0.003010104177519679 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 1326.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6055.5, + "threshold": 5676.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6249.0, + "threshold": 16714.5, "then": { + "operation": "boost", + "score": 0.034006621688604355 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19436.5, + "threshold": 6404.5, "then": { "operation": "boost", - "score": -0.2527123987674713 + "score": 0.07071349024772644 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18842.0, + "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.1169806495308876 + "score": -0.25037792325019836 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11157.5, + "threshold": 1639.0, "then": { - "operation": "boost", - "score": -0.00571984238922596 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10940.5, + "threshold": 1961.5, "then": { "operation": "boost", - "score": 0.1309751272201538 + "score": 0.10090307891368866 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6508.5, - "then": { - "operation": "boost", - "score": 0.08325421810150146 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6447.0, - "then": { - "operation": "boost", - "score": 0.13427062332630157 - }, - "else": { - "operation": "boost", - "score": -0.5975710153579712 - } - } + "operation": "boost", + "score": 0.11899376660585403 } + }, + "else": { + "operation": "boost", + "score": -0.10528569668531418 } } } }, "else": { "operation": "boost", - "score": 0.09864182025194168 + "score": 0.004056120291352272 } - }, - "else": { - "operation": "boost", - "score": -0.17964698374271393 } }, "else": { "operation": "boost", - "score": -0.07660409808158875 + "score": -0.007612803019583225 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.0418480783700943 + } + }, + "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": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.025089401751756668 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9251.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.22281327843666077 + "score": 0.06482543796300888 }, "else": { + "operation": "boost", + "score": -0.012197661213576794 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7509.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.11974545568227768 + "score": -0.0674576461315155 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5240.0, + "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.18041642010211945 + "score": 0.07147342711687088 }, "else": { "operation": "boost", - "score": 0.12010202556848526 + "score": -0.030569706112146378 } } + }, + "else": { + "operation": "boost", + "score": 0.03216920793056488 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4826.0, + } + }, + "else": { + "operation": "boost", + "score": 0.02802443690598011 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.03888939321041107 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8348.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.022342557087540627 + "score": 0.031302209943532944 }, "else": { "operation": "boost", - "score": 0.2790577709674835 + "score": 0.11191870272159576 } + }, + "else": { + "operation": "boost", + "score": 0.05112353339791298 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4288.5, + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.07897057384252548 + "score": 0.06414017826318741 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 78.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14301.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1563824713230133 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13599.5, + "threshold": 153.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11357481777667999 - }, - "else": { - "operation": "boost", - "score": 0.13601019978523254 - } - }, - "else": { - "operation": "boost", - "score": 0.0022379839792847633 - } + "operation": "boost", + "score": 0.133169025182724 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7361.5, - "then": { - "operation": "boost", - "score": -0.25019586086273193 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.045531466603279114 - }, - "else": { - "operation": "boost", - "score": 0.12702782452106476 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5492.5, - "then": { - "operation": "boost", - "score": 0.1189943179488182 - }, - "else": { - "operation": "boost", - "score": 0.08476424962282181 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09665223211050034 - } - }, - "else": { - "operation": "boost", - "score": 0.12353052943944931 - } + "operation": "boost", + "score": -0.09485418349504471 } + }, + "else": { + "operation": "boost", + "score": 0.01752832904458046 } }, "else": { "operation": "boost", - "score": -0.11552315205335617 + "score": 0.119319848716259 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.1310478001832962 + "score": -0.01198350265622139 }, "else": { - "operation": "boost", - "score": -0.25765684247016907 + "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.40655359625816345 + "score": -0.031219016760587692 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13808396458625793 - }, - "else": { - "operation": "boost", - "score": 0.13258124887943268 - } + "operation": "boost", + "score": 0.02096213959157467 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006549580488353968 + } + }, + "else": { + "operation": "boost", + "score": -0.04231291636824608 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "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.035918813198804855 + }, + "else": { + "operation": "boost", + "score": 0.10556893050670624 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.027472611516714096 + }, + "else": { + "operation": "boost", + "score": 0.11329609900712967 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10881628841161728 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": -0.04005490615963936 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.22272859513759613 + "score": 0.02349686250090599 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.041581910103559494 + "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": "boost", - "score": 0.10514076054096222 + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0576932318508625 + "score": 0.050562236458063126 }, "else": { - "operation": "boost", - "score": 0.10604695230722427 + "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.02599644660949707 + "score": 0.0019125292310491204 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.15380461513996124 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.12524938583374023 + } + } + }, + "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", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.12785930931568146 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16098.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20608.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.6288476586341858 + "score": 0.10434582829475403 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.024795671924948692 + } + }, + "else": { + "operation": "boost", + "score": -0.008023513481020927 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027097651734948158 + } + }, + "else": { + "operation": "boost", + "score": -0.02876734547317028 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1283421367406845 + }, + "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_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.022898536175489426 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.3885495960712433 + }, + "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, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.05759584531188011 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 20.5, "then": { + "operation": "boost", + "score": 0.11285216361284256 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16587.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.049395851790905 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.09583474695682526 + "score": -0.47973594069480896 }, "else": { "operation": "boost", - "score": 0.10549957305192947 + "score": 0.09895900636911392 } + }, + "else": { + "operation": "boost", + "score": -0.026104167103767395 } }, - "else": { - "operation": "boost", - "score": -0.22102394700050354 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.030714498832821846 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20206.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.06275861710309982 - }, - "else": { - "operation": "boost", - "score": 0.10764174163341522 - } + "operation": "boost", + "score": 0.10961701720952988 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16301.5, - "then": { - "operation": "boost", - "score": -0.1263478547334671 - }, - "else": { - "operation": "boost", - "score": 0.10912902653217316 - } + "operation": "boost", + "score": 0.09296421706676483 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.039893828332424164 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7128.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7821.0, - "then": { - "operation": "boost", - "score": -0.0034966147504746914 - }, - "else": { - "operation": "boost", - "score": 0.11731687933206558 - } - }, - "else": { - "operation": "boost", - "score": -0.1443590521812439 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5742.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5775.0, - "then": { - "operation": "boost", - "score": 0.06347102671861649 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.11043279618024826 + "score": -0.03216436132788658 }, "else": { - "operation": "boost", - "score": -0.11514197289943695 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.012662292458117008 + }, + "else": { + "operation": "boost", + "score": 0.13134203851222992 + } } } }, "else": { - "operation": "boost", - "score": -0.02106190100312233 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22180.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1012146845459938 - }, - "else": { - "operation": "boost", - "score": 0.15208476781845093 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.017784005030989647 + "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": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13434.5, + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18526.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.1422775536775589 + "score": -0.2122068852186203 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10639240592718124 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1092129796743393 - }, - "else": { - "operation": "boost", - "score": 0.15973390638828278 - } - } + "operation": "boost", + "score": 0.2039068043231964 } }, "else": { "operation": "boost", - "score": 0.10611999779939651 + "score": 0.1486824005842209 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5822.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6759.0, - "then": { - "operation": "boost", - "score": 0.12620434165000916 - }, - "else": { - "operation": "boost", - "score": 0.16589400172233582 - } - }, - "else": { - "operation": "boost", - "score": 0.03562844172120094 - } + "operation": "boost", + "score": -0.13848648965358734 } } } }, "else": { "operation": "boost", - "score": 0.033917561173439026 + "score": -0.00722834188491106 } }, "else": { - "operation": "boost", - "score": -0.1359713077545166 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.004689754452556372 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10653312504291534 + }, + "else": { + "operation": "boost", + "score": 0.08131766319274902 + } + } } } + }, + "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 + } } } } } } }, - "else": { - "operation": "boost", - "score": 0.03266444057226181 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11086468398571014 - }, - "else": { - "operation": "boost", - "score": 0.11869537830352783 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11584223806858063 - }, - "else": { - "operation": "boost", - "score": -0.10115772485733032 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.009238014928996563 - }, - "else": { - "operation": "boost", - "score": 0.04290503263473511 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5900.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.054365504533052444 - }, - "else": { - "operation": "boost", - "score": 0.11093602329492569 - } - }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.06496118754148483 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0021702470257878304 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03835008665919304 + }, + "else": { + "operation": "boost", + "score": -0.010568060912191868 + } + } }, "else": { "operation": "boost", - "score": 0.01827620528638363 + "score": 0.02001996710896492 } } - }, - "else": { - "operation": "boost", - "score": 0.011440375819802284 } + } + } + }, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.006455685012042522 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 664.0, - "then": { - "operation": "boost", - "score": 0.05135750770568848 - }, - "else": { - "operation": "boost", - "score": 0.09789944440126419 - } - } + "operation": "boost", + "score": 0.004917247220873833 } }, "else": { - "operation": "boost", - "score": -0.005849084351211786 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Operator", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.0004231093334965408 + }, + "else": { + "operation": "boost", + "score": -0.11286461353302002 + } } } - }, - "else": { - "operation": "boost", - "score": -0.0007600668468512595 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44315.0, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.059132590889930725 + }, + "else": { + "operation": "boost", + "score": 0.07599984854459763 + } + }, + "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": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.060512106865644455 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.19620658457279205 + }, + "else": { + "operation": "boost", + "score": 0.2096516638994217 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 11146.5, "then": { + "operation": "boost", + "score": 0.08417563140392303 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287036.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04404792934656143 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 666974.0, - "then": { - "operation": "boost", - "score": -0.9709954261779785 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.08626506477594376 - }, - "else": { - "operation": "boost", - "score": 0.11595714837312698 - } - }, - "else": { - "operation": "boost", - "score": 0.08142346888780594 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.015820393338799477 - } - }, - "else": { - "operation": "boost", - "score": -0.11066814512014389 - } + "operation": "boost", + "score": -0.0370052307844162 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.020439350977540016 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 247203.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.04299737140536308 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10397428274154663 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, - "then": { - "operation": "boost", - "score": -0.026329146698117256 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.12423869967460632 - }, - "else": { - "operation": "boost", - "score": 0.028931543231010437 - } - }, - "else": { - "operation": "boost", - "score": 0.0322708897292614 - } - }, - "else": { - "operation": "boost", - "score": -0.1356024444103241 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.4812179207801819 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.006319805048406124 - }, - "else": { - "operation": "boost", - "score": 0.06379695236682892 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.07551009207963943 - }, - "else": { - "operation": "boost", - "score": -0.6256058812141418 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08746129274368286 - }, - "else": { - "operation": "boost", - "score": -0.748176634311676 - } - }, - "else": { - "operation": "boost", - "score": 0.09741516411304474 - } - }, - "else": { - "operation": "boost", - "score": -0.014774711802601814 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.040552668273448944 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 203783.5, + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 44.0, "then": { "operation": "boost", - "score": 0.05385952815413475 + "score": 0.11991830915212631 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.009311872534453869 + "score": 0.1328524947166443 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0413501039147377 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.08853184431791306 - }, - "else": { - "operation": "boost", - "score": 0.05098527669906616 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.08303874731063843 - }, - "else": { - "operation": "boost", - "score": -0.5110356211662292 - } - }, - "else": { - "operation": "boost", - "score": 0.07523102313280106 - } - } - } + "operation": "boost", + "score": 0.32141992449760437 } } }, "else": { "operation": "boost", - "score": -0.2526511549949646 + "score": 0.08186691254377365 } - }, - "else": { - "operation": "boost", - "score": 0.03434370085597038 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.17690499126911163 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 129672.5, + "threshold": 35.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 68.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06833620369434357 - }, - "else": { - "operation": "boost", - "score": 0.13804593682289124 - } - }, - "else": { - "operation": "boost", - "score": 0.04560469463467598 - } + "operation": "boost", + "score": 0.08614420145750046 }, "else": { "operation": "boost", - "score": 0.051225531846284866 + "score": 0.11579592525959015 } }, "else": { - "operation": "boost", - "score": 0.009875260293483734 + "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 } } - }, - "else": { - "operation": "boost", - "score": -0.1931607574224472 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14588046073913574 - }, - "else": { - "operation": "boost", - "score": 0.3418608009815216 - } + "operation": "boost", + "score": -0.19159355759620667 } - }, - "else": { - "operation": "boost", - "score": -0.1323612779378891 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0013157717185094953 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1946006864309311 + }, + "else": { + "operation": "boost", + "score": -0.04804547503590584 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": -0.07831739634275436 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.04011461138725281 + "score": 0.09125234931707382 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "boost", - "score": 0.1286897361278534 - }, - "else": { - "operation": "boost", - "score": -0.11145806312561035 - } + "operation": "boost", + "score": -0.10699521750211716 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.09173606336116791 - }, - "else": { - "operation": "boost", - "score": 0.13190189003944397 - } - }, - "else": { - "operation": "boost", - "score": 0.16413766145706177 - } + "operation": "boost", + "score": 0.015267196111381054 } }, "else": { - "operation": "boost", - "score": -0.5763974785804749 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.03206348791718483 + }, + "else": { + "operation": "boost", + "score": 0.018332235515117645 + } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.005651253275573254 }, "else": { "operation": "boost", - "score": 0.044184233993291855 + "score": -0.012624423950910568 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12513908743858337 - }, - "else": { - "operation": "boost", - "score": 0.21314474940299988 - } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.08765193819999695 - }, - "else": { - "operation": "boost", - "score": 0.012584456242620945 - } - }, - "else": { - "operation": "boost", - "score": -0.038188617676496506 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace", "Keyword", - "Macro", - "Function" + "Variable", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19986.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24945.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32115.5, + "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_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08546226471662521 - }, - "else": { - "operation": "boost", - "score": 0.041334230452775955 - } + "operation": "boost", + "score": -0.008438258431851864 }, "else": { "operation": "boost", - "score": -0.00012287443678360432 + "score": -0.2590908408164978 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07152043282985687 + "score": 0.041616689413785934 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.13280722498893738 + "score": 0.10589256137609482 }, "else": { "operation": "boost", - "score": 0.32098644971847534 + "score": 0.050153303891420364 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23667.0, - "then": { - "operation": "boost", - "score": -0.20297908782958984 - }, - "else": { - "operation": "boost", - "score": 0.09585189074277878 - } + "operation": "boost", + "score": 0.028491264209151268 } } }, "else": { + "operation": "boost", + "score": -0.11603259295225143 + } + }, + "else": { + "operation": "boost", + "score": -0.04412158206105232 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03715747967362404 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "GlobalScope" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.04998055100440979 + }, + "else": { + "operation": "boost", + "score": 0.06778787076473236 + } + }, + "else": { + "operation": "boost", + "score": 0.12215733528137207 + } + }, + "else": { + "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_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195.0, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13599.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14268.5, + "threshold": 6729.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": -0.022723637521266937 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 758.0, "then": { - "operation": "boost", - "score": 0.09166370332241058 + "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": "boost", - "score": -0.002396339550614357 + "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.17355331778526306 } }, "else": { "operation": "boost", - "score": 0.053849346935749054 + "score": -0.004843577276915312 } }, "else": { + "operation": "boost", + "score": -0.10926590114831924 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 189.0, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.12151970714330673 + "score": 0.10809878259897232 + }, + "else": { + "operation": "boost", + "score": -0.1667409986257553 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "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_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 + } + }, + "else": { + "operation": "boost", + "score": 0.08922497928142548 + } }, "else": { "operation": "boost", - "score": 0.06874828040599823 + "score": -0.0782509595155716 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.14170636236667633 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 311.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 832.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 519.0, + "threshold": 72307.5, "then": { "operation": "boost", - "score": -0.005161526147276163 + "score": 0.021205324679613113 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 442.0, + "threshold": 20233.5, "then": { "operation": "boost", - "score": 0.11938928812742233 + "score": 0.0966353714466095 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.1160564124584198 - }, - "else": { - "operation": "boost", - "score": -0.11448244750499725 - } + "operation": "boost", + "score": 0.06290004402399063 } } }, "else": { + "operation": "boost", + "score": -0.046179525554180145 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2875.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { + "operation": "boost", + "score": -0.007147527765482664 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 376.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6616.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10224597156047821 + "score": -0.3206042945384979 }, "else": { "operation": "boost", - "score": -0.12129288911819458 + "score": 0.10412620007991791 } }, "else": { "operation": "boost", - "score": 0.05701776593923569 + "score": 0.1231277585029602 } - }, - "else": { - "operation": "boost", - "score": -0.026976488530635834 } + }, + "else": { + "operation": "boost", + "score": -0.024436306208372116 } } }, "else": { "operation": "boost", - "score": 0.022758273407816887 + "score": -0.12375829368829727 } - }, - "else": { - "operation": "boost", - "score": -0.022381046786904335 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.08438946306705475 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 4556.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 5015.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.02155785821378231 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4794.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06353357434272766 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.01739105023443699 + "score": 0.108506940305233 }, "else": { - "operation": "boost", - "score": -0.022271141409873962 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.053192753344774246 + "score": 0.12602843344211578 }, "else": { "operation": "boost", - "score": 0.036341361701488495 + "score": 0.12789525091648102 } - }, - "else": { - "operation": "boost", - "score": 0.01314858254045248 } + }, + "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": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04151739552617073 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10897254198789597 - }, - "else": { - "operation": "boost", - "score": 0.10241243988275528 - } - }, - "else": { - "operation": "boost", - "score": 0.0 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10283181071281433 - }, - "else": { - "operation": "boost", - "score": 0.12658628821372986 - } - }, - "else": { - "operation": "boost", - "score": 0.02521974965929985 - } - } + "operation": "boost", + "score": 0.11414606124162674 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08750686794519424 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.025189897045493126 - }, - "else": { - "operation": "boost", - "score": 0.0033157740253955126 - } - } + "operation": "boost", + "score": -0.11600305885076523 } }, "else": { "operation": "boost", - "score": -0.017730051651597023 + "score": 0.1235121637582779 } } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.3110228478908539 + "score": 0.056046903133392334 }, "else": { - "operation": "boost", - "score": -4.231271304888651e-05 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.0030086683109402657 - }, - "else": { - "operation": "boost", - "score": -0.030535899102687836 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.019614996388554573 + "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.005650571547448635 + "score": 0.00562353665009141 } } - }, - "else": { - "operation": "boost", - "score": 0.005350506864488125 } + }, + "else": { + "operation": "boost", + "score": 0.008678211830556393 } - }, - "else": { - "operation": "boost", - "score": -0.3367502987384796 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9171.5, - "then": { - "operation": "boost", - "score": -0.07668229192495346 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.12200096249580383 - }, - "else": { - "operation": "boost", - "score": 0.03669054061174393 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 226.5, "then": { - "operation": "boost", - "score": -0.1490398496389389 + "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 + } + } }, "else": { - "operation": "boost", - "score": 0.07704579830169678 + "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 + } + } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.009333369322121143 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.02238650433719158 - }, - "else": { - "operation": "boost", - "score": 0.018452679738402367 - } - }, - "else": { - "operation": "boost", - "score": -0.03078104555606842 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01044568419456482 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.06088051572442055 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6616.0, + "threshold": 286067.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6708.0, + "threshold": 297177.5, "then": { "operation": "boost", - "score": 0.03848249465227127 + "score": -0.01036047749221325 }, "else": { - "operation": "boost", - "score": 0.11360812932252884 + "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": "boost", - "score": 0.03128647804260254 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03573726862668991 - } - }, - "else": { - "operation": "boost", - "score": 0.025366604328155518 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.043675485998392105 - }, - "else": { - "operation": "boost", - "score": 0.008267896249890327 - } - }, - "else": { - "operation": "boost", - "score": 0.008977756835520267 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0008126692846417427 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.14003251492977142 - }, - "else": { - "operation": "boost", - "score": 0.10391721874475479 - } - }, - "else": { - "operation": "boost", - "score": 0.11518003046512604 - } - }, - "else": { - "operation": "boost", - "score": 0.04248644784092903 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.14568954706192017 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.0365842767059803 - }, - "else": { - "operation": "boost", - "score": 0.10787853598594666 - } - } - }, - "else": { - "operation": "boost", - "score": -0.010075095109641552 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.049072157591581345 - }, - "else": { - "operation": "boost", - "score": 0.02981431968510151 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.03022489696741104 - }, - "else": { - "operation": "boost", - "score": -0.005925773177295923 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05247104540467262 - }, - "else": { - "operation": "boost", - "score": 0.06254138052463531 - } - }, - "else": { - "operation": "boost", - "score": 0.039356082677841187 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6097.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6106.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55726.0, + "threshold": 135000.5, "then": { + "operation": "boost", + "score": -0.16039152443408966 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69581.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 101593.5, + "threshold": 71954.5, "then": { - "operation": "boost", - "score": -0.020914815366268158 + "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.05085868760943413 + "score": 0.023000987246632576 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64139.5, + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -3.7085723876953125 + "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.13665522634983063 + "score": -0.18354587256908417 } - }, - "else": { - "operation": "boost", - "score": -0.03216608613729477 } } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07166557013988495 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54378.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16116051375865936 + "score": -0.6579122543334961 }, "else": { "operation": "boost", - "score": 0.10502717643976212 + "score": 0.14575417339801788 } }, "else": { "operation": "boost", - "score": 0.04496125876903534 + "score": -0.11161887645721436 } } }, "else": { "operation": "boost", - "score": -0.13173003494739532 + "score": -0.025402335450053215 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Operator", + "Constructor", + "Function" + ], "then": { - "operation": "boost", - "score": 0.09026839584112167 + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11397112905979156 + }, + "else": { + "operation": "boost", + "score": 0.16330155730247498 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.08574696630239487 + }, + "else": { + "operation": "boost", + "score": -0.06161653995513916 + } + }, + "else": { + "operation": "boost", + "score": 0.1063987985253334 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04533325880765915 + } + }, + "else": { + "operation": "boost", + "score": 0.02904873713850975 + } + } }, "else": { - "operation": "boost", - "score": 0.13245251774787903 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.02869286946952343 + }, + "else": { + "operation": "boost", + "score": -0.17292429506778717 + } } } }, @@ -142984,120 +141669,70 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Keyword", + "Variable", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10234560072422028 + "score": 0.04908469691872597 }, "else": { "operation": "boost", - "score": -0.3338088095188141 + "score": 0.0411078967154026 } }, "else": { - "operation": "boost", - "score": 0.06050323694944382 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01061689481139183 + }, + "else": { + "operation": "boost", + "score": -0.04379050061106682 + } } }, "else": { "operation": "boost", - "score": 0.11543063819408417 + "score": -0.0027786889113485813 } }, "else": { "operation": "boost", - "score": 0.011412284336984158 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0019076541066169739 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0034062403719872236 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 980.0, - "then": { - "operation": "boost", - "score": 0.05711374804377556 - }, - "else": { - "operation": "boost", - "score": 0.1184680312871933 + "score": -0.00914754904806614 } - }, - "else": { - "operation": "boost", - "score": -0.007877306081354618 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.04760141298174858 - }, - "else": { - "operation": "boost", - "score": -0.30030590295791626 } } } @@ -143105,2219 +141740,2484 @@ } }, "else": { + "operation": "boost", + "score": -0.0021486016921699047 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2127.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 2130.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.1194077730178833 - }, - "else": { - "operation": "boost", - "score": 0.05710313841700554 - } + "operation": "boost", + "score": 0.046243034303188324 }, "else": { - "operation": "boost", - "score": -0.03530915454030037 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 59476.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.04480644688010216 - }, - "else": { - "operation": "boost", - "score": 0.046047814190387726 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 61155.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61318.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.040681347250938416 + "score": 0.016510747373104095 }, "else": { "operation": "boost", - "score": 0.004820105619728565 + "score": -0.016935251653194427 } }, "else": { "operation": "boost", - "score": -0.12380414456129074 + "score": 0.108639195561409 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 8.622721361462027e-05 + "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 + } }, "else": { - "operation": "boost", - "score": 0.036713857203722 + "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.08865491300821304 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.27576884627342224 + }, + "else": { + "operation": "boost", + "score": -0.0144036915153265 + } + } } } - } - }, - "else": { - "operation": "boost", - "score": 0.004673052113503218 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.15650761127471924 - }, - "else": { - "operation": "boost", - "score": -0.06058477982878685 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08631720393896103 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.0051482985727488995 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 2191.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6416.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6418.5, "then": { - "operation": "boost", - "score": -0.10690797865390778 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "boost", - "score": 0.037800878286361694 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 7166.5, "then": { - "operation": "boost", - "score": 0.020798075944185257 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 20039.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "CCC_ClassStructUnion" ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28345.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40203.5, + "then": { + "operation": "boost", + "score": 0.0831514298915863 + }, + "else": { + "operation": "boost", + "score": 0.10691935569047928 + } + }, + "else": { + "operation": "boost", + "score": -0.0861520916223526 + } + }, + "else": { + "operation": "boost", + "score": -0.02139846608042717 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18672.5, + "then": { + "operation": "boost", + "score": 0.1023545116186142 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 11532.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.11696724593639374 - }, - "else": { - "operation": "boost", - "score": -0.1628730595111847 - } - }, - "else": { - "operation": "boost", - "score": 0.11729001998901367 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.13099898397922516 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11296658962965012 - }, - "else": { - "operation": "boost", - "score": 0.16045966744422913 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.06668543070554733 - }, - "else": { - "operation": "boost", - "score": 0.13188257813453674 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.041374169290065765 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13095703721046448 - }, - "else": { - "operation": "boost", - "score": 0.06437502801418304 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "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_TopLevel" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, + "feature": "NumReferences", + "threshold": 9135.0, "then": { - "operation": "boost", - "score": 0.13628336787223816 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "NumReferences", + "threshold": 9669.0, "then": { "operation": "boost", - "score": -0.10826901346445084 + "score": 0.19095195829868317 }, "else": { "operation": "boost", - "score": 0.12433557957410812 + "score": 0.21430489420890808 } + }, + "else": { + "operation": "boost", + "score": 0.11316104233264923 } }, "else": { "operation": "boost", - "score": 0.05601309984922409 + "score": 0.0960787683725357 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11838290095329285 - }, - "else": { - "operation": "boost", - "score": 0.046414345502853394 - } + "operation": "boost", + "score": -0.0013777143321931362 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.019832415506243706 - }, - "else": { - "operation": "boost", - "score": 0.1049586832523346 - } } - }, - "else": { - "operation": "boost", - "score": -0.12344164401292801 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11846832931041718 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11456228047609329 - }, - "else": { - "operation": "boost", - "score": -0.0354573093354702 - } - }, - "else": { - "operation": "boost", - "score": -0.004320270381867886 - } + "operation": "boost", + "score": -0.1655595898628235 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1263173669576645 - }, - "else": { - "operation": "boost", - "score": 0.1026950255036354 - } - }, - "else": { - "operation": "boost", - "score": 0.08879191428422928 - } - }, - "else": { - "operation": "boost", - "score": 0.007004625629633665 - } + "operation": "boost", + "score": 0.1012040376663208 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "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_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 55801.5, "then": { "operation": "boost", - "score": 0.09556010365486145 + "score": -0.08492956310510635 }, "else": { "operation": "boost", - "score": -0.02114446461200714 + "score": 0.102473683655262 } }, "else": { - "operation": "boost", - "score": 0.10380442440509796 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57410.0, + "then": { + "operation": "boost", + "score": 0.09630706906318665 + }, + "else": { + "operation": "boost", + "score": -0.0806415006518364 + } } }, "else": { "operation": "boost", - "score": 0.08583994954824448 + "score": 0.1251550167798996 } + }, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_SymbolOrNewName", + "CCC_Namespace" ], "then": { - "operation": "boost", - "score": 0.04600831866264343 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4906.0, + "then": { + "operation": "boost", + "score": -0.13976331055164337 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.11015762388706207 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2871.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4667.0, + "then": { + "operation": "boost", + "score": 0.14402572810649872 + }, + "else": { + "operation": "boost", + "score": 0.046414852142333984 + } + }, + "else": { + "operation": "boost", + "score": 0.12250781059265137 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2470.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4035.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4083.5, + "then": { + "operation": "boost", + "score": 0.07719963788986206 + }, + "else": { + "operation": "boost", + "score": 0.11895076930522919 + } + }, + "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 + } + } + } + } + } }, "else": { "operation": "boost", - "score": -0.05977516621351242 + "score": 0.021815961226820946 } } }, "else": { - "operation": "boost", - "score": 0.013191867619752884 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2152.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13700160384178162 + }, + "else": { + "operation": "boost", + "score": 0.12280648946762085 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08360258489847183 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 5170.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5204.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.002058755373582244 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 13619.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", - "CCC_Statement" + "CCC_TopLevel", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": 0.1060093343257904 + "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": "boost", - "score": 0.0296923890709877 + "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_TopLevel" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 10339.5, "then": { - "operation": "boost", - "score": 0.04659420996904373 + "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.12402036041021347 + "score": 0.07340879738330841 } }, "else": { "operation": "boost", - "score": 0.01923173852264881 + "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_DotMemberAccess", - "CCC_SymbolOrNewName", "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", + "CCC_EnumTag", "CCC_UnionTag", - "CCC_Other" + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 33380.5, "then": { - "operation": "boost", - "score": -0.06655023992061615 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 48070.0, "then": { "operation": "boost", - "score": 0.0373697429895401 + "score": -0.03426699340343475 }, "else": { "operation": "boost", - "score": 0.081032395362854 + "score": 0.07422259449958801 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0009308824082836509 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 24945.5, "then": { "operation": "boost", - "score": -0.0725817084312439 + "score": -0.056997403502464294 }, "else": { - "operation": "boost", - "score": -0.0318203903734684 + "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": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03932011127471924 + "score": -0.13818100094795227 }, "else": { - "operation": "boost", - "score": 0.06544437259435654 + "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 + } + } } } }, "else": { "operation": "boost", - "score": 0.007584542501717806 + "score": 0.0012076976709067822 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.005779123865067959 }, "else": { - "operation": "boost", - "score": -0.11124280095100403 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { - "operation": "boost", - "score": 0.008282598108053207 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.04215722158551216 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "boost", + "score": -0.0062019401229918 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, "then": { - "operation": "boost", - "score": 0.06146110221743584 + "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 + } + } }, "else": { "operation": "boost", - "score": -0.21257536113262177 + "score": -0.14871132373809814 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "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 + } + } } }, "else": { "operation": "boost", - "score": -0.019139455631375313 + "score": -0.2117966264486313 } } - } - }, - "else": { - "operation": "boost", - "score": -0.031552646309137344 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.018705569207668304 }, "else": { - "operation": "boost", - "score": 0.009956215508282185 + "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 + } } - }, - "else": { - "operation": "boost", - "score": -0.0028962939977645874 } } } + }, + "else": { + "operation": "boost", + "score": -0.004263578914105892 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Other" + "CCC_TopLevel" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "boost", + "score": 0.3837612569332123 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10798432677984238 + }, + "else": { + "operation": "boost", + "score": -0.10578509420156479 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "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": "IsInstanceMember", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.046560849994421005 + "score": 0.04057788848876953 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00958166178315878 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.015291120857000351 - }, - "else": { - "operation": "boost", - "score": 0.0682944804430008 - } - } - }, - "else": { - "operation": "boost", - "score": 0.022075165063142776 - } + "operation": "boost", + "score": 0.04880533367395401 }, "else": { "operation": "boost", - "score": -0.07277175039052963 + "score": -0.0021343333646655083 } } }, "else": { "operation": "boost", - "score": -0.026699651032686234 + "score": -0.028117772191762924 } }, - "else": { - "operation": "boost", - "score": -0.0019967237021774054 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": -0.020704837515950203 - }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.07781128585338593 + "score": 0.02434486895799637 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.01318001002073288 - }, - "else": { - "operation": "boost", - "score": -0.1247021034359932 - } + "operation": "boost", + "score": -0.006481718737632036 } } + }, + "else": { + "operation": "boost", + "score": -0.08294682204723358 } + }, + "else": { + "operation": "boost", + "score": -0.00020123773720115423 } + }, + "else": { + "operation": "boost", + "score": 0.005317645613104105 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09555252641439438 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Variable", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.02911611646413803 - }, - "else": { - "operation": "boost", - "score": -0.004159147851169109 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.05094810947775841 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.009543854743242264 + "score": 0.08074268698692322 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.03677532449364662 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.08445317298173904 - }, - "else": { - "operation": "boost", - "score": 0.048069972544908524 - } + "operation": "boost", + "score": 0.12424824386835098 }, "else": { "operation": "boost", - "score": 0.06455649435520172 + "score": 0.0849018469452858 } + }, + "else": { + "operation": "boost", + "score": 0.1325892210006714 } } - } - }, - "else": { - "operation": "boost", - "score": 0.037904880940914154 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006468469277024269 - } - }, - "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": 45000.0, - "then": { - "operation": "boost", - "score": 0.0020861891098320484 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "boost", - "score": 0.12706886231899261 }, "else": { - "operation": "boost", - "score": -0.10967622697353363 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129.5, + "then": { + "operation": "boost", + "score": 0.09789404273033142 + }, + "else": { + "operation": "boost", + "score": 0.05701494961977005 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08459031581878662 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "then": { + "operation": "boost", + "score": 0.061720408499240875 + }, + "else": { + "operation": "boost", + "score": 0.011659188196063042 + } }, "else": { - "operation": "boost", - "score": 0.12619183957576752 - } - }, - "else": { - "operation": "boost", - "score": 0.1299068033695221 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03891891613602638 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12681645154953003 - }, - "else": { - "operation": "boost", - "score": 0.19404688477516174 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011522257700562477 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09706994891166687 - }, - "else": { - "operation": "boost", - "score": -0.10483065992593765 - } - }, - "else": { - "operation": "boost", - "score": -0.03816445544362068 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05687754601240158 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "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": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.10188252478837967 + "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 + } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 1.2380902767181396 + "score": 0.1303512156009674 }, "else": { "operation": "boost", - "score": 0.9985376596450806 + "score": 0.07952980697154999 } }, "else": { "operation": "boost", - "score": 0.10950841009616852 + "score": 0.07122772932052612 } } }, "else": { - "operation": "boost", - "score": 0.08477042615413666 - } - }, - "else": { - "operation": "boost", - "score": 0.04886048659682274 - } - }, - "else": { - "operation": "boost", - "score": 0.00026467524003237486 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": -0.10344678908586502 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01735566556453705 - }, - "else": { - "operation": "boost", - "score": 0.03673998638987541 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.07486497610807419 + "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.0056477137841284275 + "score": 0.05914967507123947 } }, "else": { - "operation": "boost", - "score": -0.13731808960437775 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.024071792140603065 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.04673461243510246 - }, - "else": { - "operation": "boost", - "score": -0.048009324818849564 + "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 + } } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11912.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "boost", - "score": 0.01691959612071514 + "score": -0.15075655281543732 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0967293530702591 - }, - "else": { - "operation": "boost", - "score": 0.03073098510503769 - } + "operation": "boost", + "score": 0.04443143680691719 } }, "else": { - "operation": "boost", - "score": 0.015549126081168652 - } - }, - "else": { - "operation": "boost", - "score": -0.02222970686852932 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": -0.27696582674980164 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.010678659193217754 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 86.5, "then": { - "operation": "boost", - "score": 0.11476189643144608 + "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.06983580440282822 + "score": 0.04404567554593086 } - }, - "else": { - "operation": "boost", - "score": 0.02245892770588398 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08064046502113342 - }, - "else": { - "operation": "boost", - "score": 0.04815097898244858 } } - }, - "else": { - "operation": "boost", - "score": 0.008781918324530125 } - }, - "else": { - "operation": "boost", - "score": -0.01973043754696846 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.0757051482796669 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.03392374888062477 - }, - "else": { - "operation": "boost", - "score": -0.0412135012447834 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04575357586145401 - }, - "else": { - "operation": "boost", - "score": -0.30323469638824463 - } - }, - "else": { - "operation": "boost", - "score": 0.022185668349266052 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1074.5, "then": { - "operation": "boost", - "score": -0.004226556979119778 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1082.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 1603.5, "then": { "operation": "boost", - "score": 0.07556039839982986 + "score": 0.020040906965732574 }, "else": { "operation": "boost", - "score": 0.08746176213026047 + "score": 0.11309792101383209 } }, "else": { - "operation": "boost", - "score": 0.01560981199145317 + "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 + } + } + } } }, "else": { "operation": "boost", - "score": -0.029718415811657906 + "score": 0.04123164713382721 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1076.5, "then": { "operation": "boost", - "score": 0.03757758438587189 + "score": 0.12197224050760269 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0610039122402668 - }, - "else": { - "operation": "boost", - "score": 0.0766204372048378 - } - }, - "else": { - "operation": "boost", - "score": 0.03290687873959541 - } + "operation": "boost", + "score": 0.10303439944982529 } } - } - }, - "else": { - "operation": "boost", - "score": 0.003970691468566656 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.005733644124120474 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03215673938393593 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0740925744175911 + "score": -0.001569500076584518 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "NumReferences", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.013327161781489849 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.10226305574178696 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.015338664874434471 + "score": 0.041398659348487854 }, "else": { - "operation": "boost", - "score": 0.11272110790014267 + "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 + } + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.059885166585445404 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12875093519687653 + "score": 0.06289323419332504 }, "else": { - "operation": "boost", - "score": 0.15125711262226105 + "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.04555847495794296 + "score": 0.05667519569396973 } }, "else": { "operation": "boost", - "score": 0.045935239642858505 + "score": -0.09438508003950119 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.20994678139686584 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.08040517568588257 + "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.09731429070234299 + "score": 0.09114436060190201 } + }, + "else": { + "operation": "boost", + "score": 0.009810473769903183 } }, "else": { - "operation": "boost", - "score": 0.011097297072410583 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03210882097482681 - }, - "else": { - "operation": "boost", - "score": 0.11579761654138565 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0583181269466877 - } - } - }, - "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1122167780995369 + }, + "else": { + "operation": "boost", + "score": -0.06252571940422058 + } + }, + "else": { + "operation": "boost", + "score": 0.12636888027191162 + } + }, + "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 + } + } + } + } + } + } + } + } + }, + "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": "FileProximityDistance", - "threshold": 8.5, + "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": "NumReferences", - "threshold": 1617.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.030399944633245468 + "score": 0.11392500251531601 }, "else": { + "operation": "boost", + "score": 0.013872805051505566 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3739.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.02680116519331932 + "score": 0.10142143815755844 }, "else": { - "operation": "boost", - "score": 0.12107257544994354 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09332653880119324 + }, + "else": { + "operation": "boost", + "score": 0.15910173952579498 + } } + }, + "else": { + "operation": "boost", + "score": -0.008191796019673347 } - }, - "else": { - "operation": "boost", - "score": -0.017552262172102928 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.00863591581583023 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_Statement", + "CCC_TopLevel" ], "then": { - "operation": "boost", - "score": 0.028401289135217667 + "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.001993914134800434 + "score": 0.05257877707481384 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 501.0, + "then": { + "operation": "boost", + "score": 0.10929498076438904 + }, + "else": { + "operation": "boost", + "score": -0.05049615353345871 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 310.5, + "then": { + "operation": "boost", + "score": -0.47908294200897217 }, "else": { "operation": "boost", - "score": -0.16780303418636322 + "score": 0.10409659892320633 } + }, + "else": { + "operation": "boost", + "score": -0.003388351295143366 } + } + } + }, + "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.04852826148271561 + }, + "else": { + "operation": "boost", + "score": -0.33518022298812866 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.05385706573724747 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8460.0, + "then": { + "operation": "boost", + "score": 0.041583046317100525 }, "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.023294156417250633 + } + } + }, + "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": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.005187667906284332 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.028840146958827972 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.034956205636262894 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05925852805376053 + "score": 0.07518229633569717 }, "else": { "operation": "boost", - "score": -0.10078582912683487 + "score": 0.1295635998249054 } - }, - "else": { - "operation": "boost", - "score": 0.1034853458404541 } }, "else": { + "operation": "boost", + "score": 0.020142626017332077 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Function" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "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": "NumReferences", - "threshold": 150.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.11923921853303909 + "score": 0.042461100965738297 }, "else": { "operation": "boost", - "score": 0.08883972465991974 + "score": 0.11461324244737625 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.5, - "then": { - "operation": "boost", - "score": -0.3161899149417877 - }, - "else": { - "operation": "boost", - "score": 0.08786309510469437 - } + "operation": "boost", + "score": 0.07912632077932358 }, "else": { "operation": "boost", - "score": -0.07206346839666367 + "score": -0.15709197521209717 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08838299661874771 - }, - "else": { - "operation": "boost", - "score": -1.2319607734680176 - } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.5, - "then": { - "operation": "boost", - "score": 0.0605398453772068 - }, - "else": { - "operation": "boost", - "score": -0.058603160083293915 - } + "operation": "boost", + "score": 0.14656488597393036 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29.5, + "threshold": 10.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12449005246162415 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.035198502242565155 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.11562659591436386 - }, - "else": { - "operation": "boost", - "score": 0.07236324995756149 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06615352630615234 - } + "operation": "boost", + "score": 0.10201218724250793 }, "else": { "operation": "boost", - "score": -0.0673561617732048 + "score": -0.0451643243432045 } } - }, - "else": { - "operation": "boost", - "score": -0.04333296790719032 } - }, - "else": { - "operation": "boost", - "score": -0.10292511433362961 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008764275349676609 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08693426847457886 - }, - "else": { - "operation": "boost", - "score": 0.12851980328559875 } }, "else": { "operation": "boost", - "score": 0.04828158766031265 + "score": 0.08883478492498398 } - }, - "else": { - "operation": "boost", - "score": -0.001964583992958069 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 234860.0, "then": { "operation": "boost", - "score": -0.04134364798665047 + "score": -0.01868957281112671 }, "else": { "operation": "boost", - "score": 0.06575041264295578 + "score": 0.11087167263031006 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.015764929354190826 + "score": -0.012932147830724716 }, "else": { "operation": "boost", - "score": -0.04528569430112839 + "score": 0.04917636513710022 } } }, "else": { "operation": "boost", - "score": -0.01387112494558096 + "score": 0.02308523841202259 } } }, @@ -145325,821 +144225,497 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.1455017477273941 - }, - "else": { - "operation": "boost", - "score": 0.04339952394366264 - } - }, - "else": { - "operation": "boost", - "score": -0.17529183626174927 - } + "operation": "boost", + "score": 0.010446936823427677 }, "else": { "operation": "boost", - "score": 0.0038501403760164976 + "score": -0.01763959601521492 } } + }, + "else": { + "operation": "boost", + "score": 0.005133422091603279 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.003591548651456833 + }, + "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 + } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3341.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029902594164013863 + }, + "else": { + "operation": "boost", + "score": 0.012890883721411228 + } }, "else": { "operation": "boost", - "score": -0.004862325731664896 + "score": 0.003410970326513052 } } + }, + "else": { + "operation": "boost", + "score": -0.08620188385248184 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 422.5, + "threshold": 188273.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4142.0, + "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24308.0, + "threshold": 276057.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25183.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47123.5, + "threshold": 276350.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.09810155630111694 - }, - "else": { - "operation": "boost", - "score": 0.011866334825754166 - } + "operation": "boost", + "score": -0.10188305377960205 }, "else": { + "operation": "boost", + "score": 0.252142071723938 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46801.5, + "threshold": 306389.0, "then": { - "operation": "boost", - "score": 0.12261221557855606 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.10252464562654495 + }, + "else": { + "operation": "boost", + "score": 0.03159073740243912 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.02735278569161892 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39111.0, - "then": { - "operation": "boost", - "score": -0.062169041484594345 - }, - "else": { - "operation": "boost", - "score": 0.11345246434211731 - } - }, - "else": { - "operation": "boost", - "score": 0.0707719549536705 - } - } + "operation": "boost", + "score": 0.08474238961935043 }, "else": { "operation": "boost", - "score": 0.015996525064110756 + "score": -0.5742807388305664 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.09457431733608246 + }, + "else": { + "operation": "boost", + "score": 0.06295417249202728 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09968584030866623 + "score": 0.12063923478126526 }, "else": { "operation": "boost", - "score": 0.060092292726039886 + "score": 0.1116829663515091 } }, "else": { "operation": "boost", - "score": 0.10415153950452805 + "score": -0.10391581803560257 } }, "else": { "operation": "boost", - "score": 0.07918161898851395 + "score": 0.02179361693561077 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.11495418846607208 + }, + "else": { + "operation": "boost", + "score": -0.42937013506889343 } } - }, - "else": { - "operation": "boost", - "score": 0.007647118531167507 } } - } - }, - "else": { - "operation": "boost", - "score": -0.1708163321018219 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61387.0, + "threshold": 820317.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.010065220296382904 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1318535.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07544101774692535 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101752.5, - "then": { - "operation": "boost", - "score": 0.11739902198314667 - }, - "else": { - "operation": "boost", - "score": 0.11131923645734787 - } - } + "operation": "boost", + "score": -0.2322947382926941 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101752.5, - "then": { - "operation": "boost", - "score": -0.5894190669059753 - }, - "else": { - "operation": "boost", - "score": 0.10440164059400558 - } + "operation": "boost", + "score": 0.0985206812620163 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12481492757797241 - }, - "else": { - "operation": "boost", - "score": 0.11337112635374069 - } + "operation": "boost", + "score": 0.11032824218273163 }, "else": { "operation": "boost", - "score": 0.05714501440525055 + "score": 0.01851225085556507 } } - }, - "else": { - "operation": "boost", - "score": 0.036969855427742004 } }, "else": { "operation": "boost", - "score": 0.005474167410284281 + "score": 0.012423806823790073 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.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.09653224796056747 }, "else": { "operation": "boost", - "score": 0.0019347459310665727 + "score": -0.8602725267410278 } }, "else": { "operation": "boost", - "score": -0.024570593610405922 + "score": 0.1258837729692459 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "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", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.02134012244641781 + "score": 0.04789825528860092 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 24.5, + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12239241600036621 - }, - "else": { - "operation": "boost", - "score": 0.002671500202268362 - } + "operation": "boost", + "score": 0.13680638372898102 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 220295.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.059167567640542984 + "score": -0.39547955989837646 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.025920357555150986 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.14116454124450684 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8428.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9813.0, - "then": { - "operation": "boost", - "score": 0.06310107558965683 - }, - "else": { - "operation": "boost", - "score": 0.11875302344560623 - } - }, - "else": { - "operation": "boost", - "score": -0.14632529020309448 - } - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4826.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.010990913957357407 + "score": 0.11697910726070404 }, "else": { "operation": "boost", - "score": 0.3363988995552063 + "score": 0.06177927553653717 } + }, + "else": { + "operation": "boost", + "score": 0.1079002171754837 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.21804580092430115 + "score": 0.005017453338950872 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.037659984081983566 - }, - "else": { - "operation": "boost", - "score": 0.10455603152513504 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09509000927209854 - }, - "else": { - "operation": "boost", - "score": 0.02538273297250271 - } - } + "operation": "boost", + "score": 0.08511008322238922 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + } + } + }, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 16098.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20562.0, - "then": { - "operation": "boost", - "score": -0.26894184947013855 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.054035983979701996 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16587.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.04656649008393288 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0942147746682167 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18593.5, - "then": { - "operation": "boost", - "score": 0.10116063058376312 - }, - "else": { - "operation": "boost", - "score": 0.1221330389380455 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.17871400713920593 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.013656577095389366 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20206.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.059043604880571365 - }, - "else": { - "operation": "boost", - "score": 0.10591273009777069 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16301.5, - "then": { - "operation": "boost", - "score": -0.1241333857178688 - }, - "else": { - "operation": "boost", - "score": 0.09795403480529785 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.033519528806209564 - } - } + "operation": "boost", + "score": 0.12239545583724976 }, "else": { "operation": "boost", - "score": 0.055383339524269104 + "score": 0.12576936185359955 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.21796223521232605 - }, - "else": { - "operation": "boost", - "score": 0.1054735779762268 - } - }, - "else": { - "operation": "boost", - "score": 0.11393242329359055 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22180.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1011556088924408 - }, - "else": { - "operation": "boost", - "score": 0.1526975780725479 - } - }, - "else": { - "operation": "boost", - "score": 0.09205169975757599 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4409.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.0351884588599205 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7991.0, - "then": { - "operation": "boost", - "score": 0.024511436000466347 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6079.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6368.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6801.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6864.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7347.5, - "then": { - "operation": "boost", - "score": 0.10252860933542252 - }, - "else": { - "operation": "boost", - "score": -0.12846054136753082 - } - }, - "else": { - "operation": "boost", - "score": 0.10022102296352386 - } - }, - "else": { - "operation": "boost", - "score": -0.16272544860839844 - } - }, - "else": { - "operation": "boost", - "score": 0.11228654533624649 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4992.0, - "then": { - "operation": "boost", - "score": -0.1501045674085617 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4933.0, - "then": { - "operation": "boost", - "score": 0.11976933479309082 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4742.5, - "then": { - "operation": "boost", - "score": 0.11932213604450226 - }, - "else": { - "operation": "boost", - "score": 0.11079414933919907 - } - }, - "else": { - "operation": "boost", - "score": -0.004491431172937155 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017215382307767868 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03227204084396362 - }, - "else": { - "operation": "boost", - "score": 0.1314300000667572 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09691966325044632 - } + "operation": "boost", + "score": -0.1188344657421112 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4286.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.34098705649375916 }, "else": { "operation": "boost", - "score": 0.12915809452533722 + "score": -0.31475841999053955 } }, "else": { "operation": "boost", - "score": 0.055919498205184937 + "score": 0.0605517253279686 } } } @@ -146149,3819 +144725,3428 @@ "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6075.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.2070373296737671 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6694.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.006376872304826975 + "score": 0.12235153466463089 }, "else": { "operation": "boost", - "score": 0.035673681646585464 + "score": 0.10824315994977951 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6615.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1245693787932396 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10834555327892303 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.134266197681427 - }, - "else": { - "operation": "boost", - "score": 0.12913382053375244 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.2944006025791168 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11138495057821274 - }, - "else": { - "operation": "boost", - "score": 0.10850077122449875 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6101.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6392.5, - "then": { - "operation": "boost", - "score": -0.056661445647478104 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6287.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11237926781177521 - }, - "else": { - "operation": "boost", - "score": 0.12067091464996338 - } - }, - "else": { - "operation": "boost", - "score": -0.1980958729982376 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02983400970697403 - }, - "else": { - "operation": "boost", - "score": 0.1743326336145401 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07985872030258179 - }, - "else": { - "operation": "boost", - "score": 0.13785652816295624 - } - }, - "else": { - "operation": "boost", - "score": 0.023236790671944618 - } - } - } + "operation": "boost", + "score": -0.1100250706076622 } - }, - "else": { - "operation": "boost", - "score": 0.019284622743725777 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7123.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11704050749540329 - }, - "else": { - "operation": "boost", - "score": 0.02205168642103672 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6709.5, - "then": { - "operation": "boost", - "score": -0.6003878116607666 - }, - "else": { - "operation": "boost", - "score": 0.09348136186599731 - } - } + "operation": "boost", + "score": 0.07879224419593811 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10866610705852509 }, "else": { "operation": "boost", - "score": 0.11714787036180496 + "score": -0.11219514161348343 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11493421345949173 - }, - "else": { - "operation": "boost", - "score": -0.1010543704032898 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.007988215424120426 - }, - "else": { - "operation": "boost", - "score": 0.04568250849843025 - } - } + "operation": "boost", + "score": -0.0034813794773072004 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_SymbolOrNewName", "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18305.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18474.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.06272605061531067 - }, - "else": { - "operation": "boost", - "score": 0.020091403275728226 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.22467918694019318 - }, - "else": { - "operation": "boost", - "score": 0.10662224888801575 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09693458676338196 + "score": 0.05702663213014603 }, "else": { "operation": "boost", - "score": 0.11878207325935364 + "score": 0.09519558399915695 } }, "else": { "operation": "boost", - "score": -0.22176170349121094 + "score": 0.03549456596374512 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09832008928060532 + }, + "else": { + "operation": "boost", + "score": 0.08102285861968994 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3083.0, + "threshold": 200884.5, "then": { + "operation": "boost", + "score": -0.11117464303970337 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.029191499575972557 + "score": 0.0647084191441536 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7110.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09832470864057541 + "score": 0.08539526164531708 }, "else": { "operation": "boost", - "score": 0.09385371208190918 + "score": 0.12486748397350311 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.09079630672931671 + "score": 0.04213697090744972 }, "else": { - "operation": "boost", - "score": -0.05993582680821419 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.003003341844305396 + }, + "else": { + "operation": "boost", + "score": 0.06302149593830109 + } } + }, + "else": { + "operation": "boost", + "score": 0.028491321951150894 } - }, - "else": { + } + } + }, + "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": "NumReferences", - "threshold": 1000.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.01646484062075615 + "score": -0.009715267457067966 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 825.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 851.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05967246741056442 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "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": "boost", - "score": 0.15215981006622314 + "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.03908896818757057 + "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.00024089435464702547 + "score": 0.05402511730790138 } + }, + "else": { + "operation": "boost", + "score": -0.14019393920898438 } - }, - "else": { - "operation": "boost", - "score": -0.005674891639500856 } } }, "else": { - "operation": "boost", - "score": -0.0006930494564585388 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 132310.5, "then": { + "operation": "boost", + "score": -0.22941994667053223 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 123410.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01964142732322216 + "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": 22.5, + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.009003370068967342 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.03958594426512718 + "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": "boost", - "score": -0.1170966774225235 + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 730.5, + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 827.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.03954070806503296 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 810.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11935669928789139 + "score": -0.3833959400653839 }, "else": { "operation": "boost", - "score": 0.04483785107731819 + "score": 0.018568027764558792 } + }, + "else": { + "operation": "boost", + "score": -0.096590057015419 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.016848675906658173 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 12.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.15161867439746857 - }, - "else": { - "operation": "boost", - "score": -0.15450072288513184 - } + "operation": "boost", + "score": -0.10952768474817276 }, "else": { "operation": "boost", - "score": 0.11633189767599106 + "score": 0.10763800889253616 } }, "else": { "operation": "boost", - "score": 0.05303623527288437 + "score": -0.07967275381088257 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.08837078511714935 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.42889928817749023 + "score": -0.04134251922369003 }, "else": { - "operation": "boost", - "score": 0.11238259077072144 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1335010528564453 + }, + "else": { + "operation": "boost", + "score": -0.16454166173934937 + } } - }, - "else": { - "operation": "boost", - "score": -0.15568430721759796 } }, - "else": { - "operation": "boost", - "score": 0.11106467247009277 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.11839364469051361 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 2.0, + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.13421006500720978 - }, - "else": { - "operation": "boost", - "score": 0.0677797719836235 - } - }, - "else": { - "operation": "boost", - "score": -0.05321964621543884 - } - }, - "else": { - "operation": "boost", - "score": -0.006278121378272772 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11008761078119278 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200.5, - "then": { - "operation": "boost", - "score": -0.015003823675215244 + "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 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 194.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.12860217690467834 + "score": 0.03547518700361252 }, "else": { - "operation": "boost", - "score": 0.03357555344700813 - } - } - }, - "else": { - "operation": "boost", - "score": -0.14354099333286285 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.11046049743890762 + "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.11876095831394196 + "score": -0.10260824859142303 } }, "else": { "operation": "boost", - "score": 0.10470907390117645 + "score": 0.05720401927828789 } - }, - "else": { - "operation": "boost", - "score": 0.002695538802072406 } - }, - "else": { - "operation": "boost", - "score": 0.11354734003543854 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.03226352483034134 + "score": -0.12727296352386475 }, "else": { - "operation": "boost", - "score": 0.12020592391490936 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13165420293807983 + }, + "else": { + "operation": "boost", + "score": 0.08428172767162323 + } } }, "else": { "operation": "boost", - "score": 0.0051290239207446575 + "score": -0.02250647358596325 } } } } }, "else": { - "operation": "boost", - "score": -0.031070737168192863 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.013256033882498741 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.0018544404301792383 - }, - "else": { - "operation": "boost", - "score": -0.07305742800235748 - } - }, - "else": { - "operation": "boost", - "score": 0.023163560777902603 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.024580830708146095 - }, - "else": { - "operation": "boost", - "score": 4.101831291336566e-05 - } - }, - "else": { - "operation": "boost", - "score": -0.0006144273211248219 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.021103203296661377 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.03343823552131653 - }, - "else": { - "operation": "boost", - "score": 0.004214481916278601 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12317.5, - "then": { - "operation": "boost", - "score": 0.14112097024917603 - }, - "else": { - "operation": "boost", - "score": -0.08961937576532364 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.01747339405119419 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.049042366445064545 + "score": -0.13342837989330292 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08083424717187881 - }, - "else": { - "operation": "boost", - "score": 0.0046379053965210915 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0018180276965722442 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": -0.0018341218819841743 + "score": 0.1274372637271881 }, "else": { "operation": "boost", - "score": -0.2700214385986328 + "score": -0.09796152263879776 } }, "else": { "operation": "boost", - "score": 0.13187238574028015 + "score": 0.01704433746635914 } - }, - "else": { - "operation": "boost", - "score": -0.13926011323928833 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.117327019572258 + "score": 0.10432092100381851 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0553063228726387 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09657828509807587 - }, - "else": { - "operation": "boost", - "score": 0.11416613310575485 - } - } + "operation": "boost", + "score": -0.07132728397846222 } }, "else": { "operation": "boost", - "score": 0.03892190009355545 + "score": 0.11027254164218903 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, - "then": { - "operation": "boost", - "score": 0.011369713582098484 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.30611521005630493 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.35205844044685364 - }, - "else": { - "operation": "boost", - "score": 0.10873588174581528 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.030842991545796394 - } - }, - "else": { - "operation": "boost", - "score": -0.028097040951251984 - } + "operation": "boost", + "score": -0.04073021188378334 } + }, + "else": { + "operation": "boost", + "score": 0.05628621205687523 } } } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.09557165205478668 + "score": 0.021079471334815025 }, "else": { - "operation": "boost", - "score": 0.0 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13538798689842224 + }, + "else": { + "operation": "boost", + "score": -0.15541763603687286 + } + }, + "else": { + "operation": "boost", + "score": -0.1993517428636551 + } } }, - "else": { - "operation": "boost", - "score": 0.032132022082805634 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.019134854897856712 - }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.10220466554164886 + "score": -0.1143481507897377 }, "else": { "operation": "boost", - "score": -0.20265379548072815 + "score": -0.01304757222533226 } } + }, + "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 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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": 73859.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14403.0, + "threshold": 79923.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 342801.0, - "then": { - "operation": "boost", - "score": -0.07986865192651749 - }, - "else": { - "operation": "boost", - "score": 0.10499352961778641 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": -0.01807408407330513 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07780008018016815 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "boost", - "score": 0.11847095936536789 - }, - "else": { - "operation": "boost", - "score": 0.132655069231987 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18069.5, - "then": { - "operation": "boost", - "score": 0.09219422936439514 - }, - "else": { - "operation": "boost", - "score": 0.17706182599067688 - } - } - } - } - } + "operation": "boost", + "score": 0.01769060268998146 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 79531.5, "then": { + "operation": "boost", + "score": 0.14666397869586945 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName" ], - "then": { - "operation": "boost", - "score": -0.04202987626194954 - }, - "else": { - "operation": "boost", - "score": -0.23003634810447693 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Function" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 77386.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1005038395524025 - }, - "else": { - "operation": "boost", - "score": 0.09750872850418091 - } + "operation": "boost", + "score": -1.251798391342163 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.008604270406067371 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro" - ], - "then": { - "operation": "boost", - "score": 0.003070045029744506 - }, - "else": { - "operation": "boost", - "score": -0.03524286672472954 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.014342959970235825 - }, - "else": { - "operation": "boost", - "score": -0.010556209832429886 - } - } - } + "operation": "boost", + "score": 0.07852393388748169 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.08917178958654404 + "score": 0.0031175604090094566 }, "else": { "operation": "boost", - "score": 0.13103127479553223 + "score": 0.09716090559959412 } }, "else": { "operation": "boost", - "score": 0.1096140667796135 + "score": 0.10549017786979675 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.05900292471051216 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.0667666494846344 + "score": -0.19789764285087585 }, "else": { "operation": "boost", - "score": -0.3104546368122101 + "score": 0.08444316685199738 } + }, + "else": { + "operation": "boost", + "score": -0.19007530808448792 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01824496127665043 - }, - "else": { - "operation": "boost", - "score": -0.006377010140568018 - } + "operation": "boost", + "score": 0.022406887263059616 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "boost", - "score": 0.054686833173036575 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 64139.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.005402326583862305 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 66036.0, "then": { "operation": "boost", - "score": 0.042664166539907455 + "score": -0.007814529351890087 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.13607878983020782 + "score": 0.11538844555616379 }, "else": { "operation": "boost", - "score": 0.04872605577111244 + "score": -0.8626901507377625 } } + }, + "else": { + "operation": "boost", + "score": -0.04871062934398651 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "boost", + "score": -0.0012357158120721579 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12451539188623428 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.009014285169541836 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.059238795191049576 + "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.06545387208461761 + "score": -0.15265709161758423 } }, "else": { "operation": "boost", - "score": -0.06122865900397301 + "score": -0.07946711778640747 } + }, + "else": { + "operation": "boost", + "score": -0.0006043873145245016 } + }, + "else": { + "operation": "boost", + "score": -0.017426103353500366 } - }, - "else": { - "operation": "boost", - "score": 0.000607839145231992 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "Variable" ], "then": { + "operation": "boost", + "score": 0.1331397294998169 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.009477255865931511 + "score": -0.11876823753118515 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 177.5, + "threshold": 72713.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 228.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0047930884175002575 + "score": -0.04599607735872269 }, "else": { "operation": "boost", - "score": 0.10219801217317581 + "score": 0.12132339924573898 } }, "else": { "operation": "boost", - "score": -0.38394516706466675 + "score": 0.07628295570611954 } }, "else": { - "operation": "boost", - "score": 0.10640936344861984 + "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 + } + } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.029445869848132133 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { + "operation": "boost", + "score": -0.1384427398443222 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.01736743003129959 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.09983789175748825 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.10658056288957596 - }, - "else": { - "operation": "boost", - "score": 0.01593809574842453 - } - }, - "else": { - "operation": "boost", - "score": 0.10330264270305634 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.08299616724252701 + "score": 0.11070398986339569 }, "else": { "operation": "boost", - "score": -0.06760644912719727 + "score": 0.24473735690116882 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": -0.6346828937530518 }, "else": { "operation": "boost", - "score": 0.002805237891152501 + "score": -0.11020471155643463 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.22069011628627777 - }, - "else": { - "operation": "boost", - "score": -0.06970298290252686 - } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "boost", + "score": 0.008147881366312504 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.014744274318218231 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04143640771508217 + "score": -0.15308377146720886 }, "else": { - "operation": "boost", - "score": -0.13866496086120605 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0017893556505441666 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.016909951344132423 + "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 + }, + "else": { + "operation": "boost", + "score": -0.09612645208835602 + } + } + } + } + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010976692661643028 - }, - "else": { - "operation": "boost", - "score": -0.03610849753022194 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 820317.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": -0.23426400125026703 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.0782063752412796 + }, + "else": { + "operation": "boost", + "score": 0.10036206245422363 + } + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 1318535.0, "then": { - "operation": "boost", - "score": -0.10950784385204315 - }, - "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.02296489290893078 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.048614032566547394 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.5, - "then": { - "operation": "boost", - "score": 0.036056436598300934 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 122.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1039910539984703 - }, - "else": { - "operation": "boost", - "score": 0.0835186317563057 - } - }, - "else": { - "operation": "boost", - "score": 0.10709952563047409 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "boost", - "score": 0.045288749039173126 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, - "then": { - "operation": "boost", - "score": 0.11449135094881058 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, - "then": { - "operation": "boost", - "score": -0.05371240898966789 - }, - "else": { - "operation": "boost", - "score": 0.10726486891508102 - } - }, - "else": { - "operation": "boost", - "score": -0.13081425428390503 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01975446753203869 - } - }, - "else": { - "operation": "boost", - "score": 0.04746982455253601 - } + "operation": "boost", + "score": -0.20640332996845245 }, "else": { "operation": "boost", - "score": -0.1097671389579773 + "score": 0.09291860461235046 } + }, + "else": { + "operation": "boost", + "score": 0.1141527071595192 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2989.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.03269487991929054 + "score": 0.08218076080083847 }, "else": { "operation": "boost", - "score": 0.11258655786514282 + "score": 0.009928634390234947 } - }, - "else": { - "operation": "boost", - "score": -0.00021745967387687415 } + }, + "else": { + "operation": "boost", + "score": -0.16658300161361694 } }, "else": { "operation": "boost", - "score": 0.0027728495188057423 + "score": 0.08255819976329803 } }, + "else": { + "operation": "boost", + "score": 0.10855557769536972 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "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 + }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.05655486509203911 + }, + "else": { + "operation": "boost", + "score": -0.6296876668930054 + } + }, + "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, + "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": 20.5, + "then": { + "operation": "boost", + "score": 0.09917286038398743 + }, + "else": { + "operation": "boost", + "score": 0.06387092173099518 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10494117438793182 + }, + "else": { + "operation": "boost", + "score": 0.09917844831943512 + } + } + }, + "else": { + "operation": "boost", + "score": 0.048628486692905426 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13821.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19625.0, + "then": { + "operation": "boost", + "score": -0.005782031454145908 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, "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": 30340.5, + "threshold": 16649.0, "then": { "operation": "boost", - "score": -0.07337040454149246 + "score": 0.009184540249407291 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 233.0, + "threshold": 14114.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 269.0, + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10445758700370789 + }, + "else": { + "operation": "boost", + "score": -0.34471866488456726 + } + }, + "else": { + "operation": "boost", + "score": 0.11752846837043762 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0653110221028328 + }, + "else": { + "operation": "boost", + "score": 0.10595739632844925 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 14667.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5500.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.0765078216791153 + "score": 0.10988235473632812 }, "else": { "operation": "boost", - "score": 0.023482684046030045 + "score": 0.13506537675857544 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 547.0, - "then": { - "operation": "boost", - "score": 0.05531037598848343 - }, - "else": { - "operation": "boost", - "score": 0.11204415559768677 - } - }, - "else": { - "operation": "boost", - "score": 0.05087978392839432 - } - }, - "else": { - "operation": "boost", - "score": 0.03995848819613457 - } + "operation": "boost", + "score": 0.07295110076665878 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 15475.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0924859493970871 - }, - "else": { - "operation": "boost", - "score": 0.1487026959657669 - } + "operation": "boost", + "score": -0.40139591693878174 }, "else": { "operation": "boost", - "score": -0.16092436015605927 + "score": 0.11205584555864334 } } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.024355309084057808 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05343931168317795 }, "else": { "operation": "boost", - "score": 0.008603214286267757 + "score": 0.0804581344127655 } + } + }, + "else": { + "operation": "boost", + "score": 0.009329966269433498 + } + }, + "else": { + "operation": "boost", + "score": -0.02655532956123352 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.00623049633577466 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.03168920427560806 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6249.0, + "threshold": 37.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.054532554000616074 + "score": 0.05059683695435524 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28537.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.17109069228172302 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 218.0, "then": { + "operation": "boost", + "score": -0.2207106351852417 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20297.5, + "threshold": 139.5, "then": { "operation": "boost", - "score": -0.13723327219486237 + "score": 0.12852397561073303 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13599.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15643.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0890159010887146 - }, - "else": { - "operation": "boost", - "score": 0.1237424910068512 - } - }, - "else": { - "operation": "boost", - "score": 0.15606606006622314 - } + "operation": "boost", + "score": 0.003606262383982539 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7345.0, - "then": { - "operation": "boost", - "score": -0.19150806963443756 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06637603789567947 - }, - "else": { - "operation": "boost", - "score": 0.15227173268795013 - } - } + "operation": "boost", + "score": 0.10859335958957672 } } - }, - "else": { - "operation": "boost", - "score": 0.10052753984928131 } + }, + "else": { + "operation": "boost", + "score": -0.09526936709880829 } } }, "else": { + "operation": "boost", + "score": -0.12504494190216064 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.1413373202085495 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 217.5, + "feature": "FilterLength", + "threshold": 6.0, "then": { "operation": "boost", - "score": -0.2726578116416931 + "score": 0.05154416710138321 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.12431886047124863 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1211668998003006 + }, + "else": { + "operation": "boost", + "score": 0.11794767528772354 + } }, "else": { "operation": "boost", - "score": 0.2725687026977539 + "score": 0.12263872474431992 } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09928228706121445 + }, + "else": { + "operation": "boost", + "score": 0.002574129495769739 + } } + }, + "else": { + "operation": "boost", + "score": -0.04691549018025398 } - }, - "else": { - "operation": "boost", - "score": -0.07530299574136734 } + }, + "else": { + "operation": "boost", + "score": 0.000416527152992785 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2234954833984375 + "score": -0.09067855030298233 }, "else": { "operation": "boost", - "score": 0.11862820386886597 + "score": 0.058742549270391464 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3947.5, - "then": { - "operation": "boost", - "score": -0.018844567239284515 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2398.5, + "threshold": 10390.0, "then": { + "operation": "boost", + "score": -0.07160011678934097 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2403.0, + "threshold": 7369.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2414.5, + "threshold": 7522.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 8890.0, "then": { - "operation": "boost", - "score": 0.06849567592144012 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 9017.5, "then": { - "operation": "boost", - "score": -0.14712689816951752 + "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.1036573275923729 + "score": 0.11597266048192978 } + }, + "else": { + "operation": "boost", + "score": -0.03824267163872719 } }, "else": { - "operation": "boost", - "score": 0.028051961213350296 - } - }, - "else": { - "operation": "boost", - "score": 0.11849907040596008 - } - }, - "else": { - "operation": "boost", - "score": 0.10905184596776962 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.029380962252616882 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.038079213351011276 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 495.5, - "then": { - "operation": "boost", - "score": -0.028988348320126534 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 438.5, - "then": { - "operation": "boost", - "score": 0.10717524588108063 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.14120464026927948 - }, - "else": { - "operation": "boost", - "score": 0.031162627041339874 - } - } - } + "operation": "boost", + "score": 0.06855101883411407 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.12232425063848495 - }, - "else": { - "operation": "boost", - "score": -0.10630753636360168 - } + "operation": "boost", + "score": 0.09756802022457123 } }, "else": { "operation": "boost", - "score": -0.0013850410468876362 + "score": -0.33932971954345703 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1301344782114029 }, "else": { "operation": "boost", - "score": -0.020691614598035812 + "score": 0.11240744590759277 } } + }, + "else": { + "operation": "boost", + "score": -0.001508801244199276 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.020001668483018875 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9969.5, "then": { - "operation": "boost", - "score": 0.11882497370243073 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.26747438311576843 + }, + "else": { + "operation": "boost", + "score": 0.10714308172464371 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13648.0, + "then": { + "operation": "boost", + "score": -0.482233464717865 + }, + "else": { + "operation": "boost", + "score": 0.06901571154594421 + } + } }, "else": { "operation": "boost", - "score": -0.11682456731796265 + "score": 0.016281381249427795 } }, "else": { - "operation": "boost", - "score": -0.03919879347085953 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.006387209054082632 + } } } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0010125640546903014 + } + } + }, + { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05403263121843338 + }, + "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": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12344242632389069 + }, + "else": { + "operation": "boost", + "score": 0.015036865137517452 + } + }, + "else": { + "operation": "boost", + "score": 0.0015454816166311502 + } }, "else": { - "operation": "boost", - "score": -0.07606064528226852 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.02095988392829895 + }, + "else": { + "operation": "boost", + "score": 0.0077834222465753555 + } } }, "else": { "operation": "boost", - "score": -2.0646886696340516e-05 + "score": -0.0063942852430045605 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 44220.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.014611350372433662 + }, + "else": { + "operation": "boost", + "score": -0.00528799369931221 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { + "operation": "boost", + "score": 0.08772274106740952 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.03244177997112274 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.114902563393116 + "score": 0.10181237757205963 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.5, - "then": { - "operation": "boost", - "score": 0.10849471390247345 - }, - "else": { - "operation": "boost", - "score": 0.16375719010829926 - } - }, - "else": { - "operation": "boost", - "score": -0.2763788104057312 - } + "operation": "boost", + "score": 0.03379111364483833 } }, + "else": { + "operation": "boost", + "score": -0.010456474497914314 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.023499606177210808 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.004954122006893158 + "score": -0.11566118896007538 }, "else": { "operation": "boost", - "score": -0.048149473965168 + "score": -0.04567265510559082 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 31541.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 37.5, + "threshold": 32026.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11517453193664551 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188.5, - "then": { - "operation": "boost", - "score": 0.14266277849674225 - }, - "else": { - "operation": "boost", - "score": 0.12085039168596268 - } - }, - "else": { - "operation": "boost", - "score": -0.1053236648440361 - } - }, - "else": { - "operation": "boost", - "score": 0.07733111083507538 - } - } + "operation": "boost", + "score": 0.07308954000473022 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4139.0, - "then": { - "operation": "boost", - "score": 0.14247660338878632 - }, - "else": { - "operation": "boost", - "score": 0.10630720108747482 - } + "operation": "boost", + "score": -0.2380194365978241 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": 0.12817257642745972 - }, - "else": { - "operation": "boost", - "score": 0.0913764089345932 - } + "operation": "boost", + "score": 0.09699947386980057 }, "else": { "operation": "boost", - "score": -0.26743167638778687 + "score": 0.10771755874156952 } } }, "else": { - "operation": "boost", - "score": 0.12037523090839386 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 122.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.05124205723404884 + "score": 0.006132943090051413 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.17596910893917084 - }, - "else": { - "operation": "boost", - "score": 0.39969977736473083 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.1845036745071411 - }, - "else": { - "operation": "boost", - "score": 0.3058221936225891 - } - }, - "else": { - "operation": "boost", - "score": -0.05775032564997673 - } - } + "operation": "boost", + "score": 0.0034265476278960705 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0076484279707074165 }, "else": { "operation": "boost", - "score": 0.0398113913834095 + "score": -0.03336598351597786 } } }, "else": { "operation": "boost", - "score": 0.05060039833188057 + "score": 0.014329912140965462 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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" + ], "then": { - "operation": "boost", - "score": -0.015184263698756695 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "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": 1.5, + "then": { + "operation": "boost", + "score": 0.012154833413660526 + }, + "else": { + "operation": "boost", + "score": -0.03529350087046623 + } + }, + "else": { + "operation": "boost", + "score": -0.1355845332145691 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_SymbolOrNewName", "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.083086758852005 + "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.11384690552949905 + "score": 0.006992613431066275 } }, "else": { - "operation": "boost", - "score": 0.10604092478752136 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 56.5, + "threshold": 622.0, "then": { - "operation": "boost", - "score": 0.03324894979596138 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 717.0, + "then": { + "operation": "boost", + "score": -0.013808679766952991 + }, + "else": { + "operation": "boost", + "score": 0.15308640897274017 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Other" + ], "then": { - "operation": "boost", - "score": -0.033533573150634766 + "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 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.12265348434448242 + "score": -0.01851538009941578 } }, "else": { - "operation": "boost", - "score": 0.05020403861999512 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03427404910326004 + }, + "else": { + "operation": "boost", + "score": -0.46303850412368774 + } + }, + "else": { + "operation": "boost", + "score": -0.019519802182912827 + } } } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.039664167910814285 }, "else": { - "operation": "boost", - "score": -0.0065429480746388435 + "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 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.012176604941487312 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11395640671253204 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.008499128744006157 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9807.5, - "then": { - "operation": "boost", - "score": 0.08837292343378067 - }, - "else": { - "operation": "boost", - "score": -0.052378397434949875 - } - }, - "else": { - "operation": "boost", - "score": 0.07491276413202286 - } - } - }, - "else": { - "operation": "boost", - "score": 0.021782532334327698 - } - }, - "else": { - "operation": "boost", - "score": 0.0073649100959300995 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004407039377838373 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.004096269141882658 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07996921986341476 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0020958504173904657 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11341399699449539 - }, - "else": { - "operation": "boost", - "score": -0.5238431096076965 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.7742748856544495 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.08067341893911362 + "score": -0.03707956150174141 }, "else": { "operation": "boost", - "score": 0.1137913390994072 + "score": 0.0385587215423584 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04173292592167854 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.009851786307990551 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4142.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22973.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08268865197896957 }, "else": { - "operation": "boost", - "score": 0.11061781644821167 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06514474004507065 + }, + "else": { + "operation": "boost", + "score": -0.22044311463832855 + } } - }, - "else": { - "operation": "boost", - "score": 0.06753874570131302 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108163.5, + "threshold": 153.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.018454428762197495 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.016948822885751724 + "score": 0.11588671058416367 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12169133126735687 - }, - "else": { - "operation": "boost", - "score": 0.08411859720945358 - } + "operation": "boost", + "score": 0.03214200586080551 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.06940819323062897 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11938705295324326 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10848581790924072 + }, + "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 + } + } + } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09872189164161682 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.07650510966777802 + }, + "else": { + "operation": "boost", + "score": -0.02085653692483902 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 193.0, "then": { - "operation": "boost", - "score": 0.11476829648017883 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 303.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 554.0, + "then": { + "operation": "boost", + "score": 0.023664403706789017 + }, + "else": { + "operation": "boost", + "score": 0.1317494660615921 + } + }, + "else": { + "operation": "boost", + "score": -0.09577084332704544 + } }, "else": { "operation": "boost", - "score": 0.08750567585229874 + "score": 0.16377362608909607 } } } }, "else": { "operation": "boost", - "score": 0.10561062395572662 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.08050744980573654 - }, - "else": { - "operation": "boost", - "score": 0.03813476487994194 + "score": -0.11398661136627197 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "boost", - "score": 0.09723560512065887 - }, - "else": { - "operation": "boost", - "score": 0.005091988481581211 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61387.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11278096586465836 + "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.0567585825920105 + "score": 0.008571074344217777 } }, "else": { "operation": "boost", - "score": -0.031655024737119675 + "score": -0.14697137475013733 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.07090127468109131 + "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.11724122613668442 + "score": -0.015973152592778206 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.12297601252794266 + "score": 0.047615960240364075 }, "else": { - "operation": "boost", - "score": 0.11373347789049149 + "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.053482700139284134 + "score": -0.1681453287601471 } } }, - "else": { - "operation": "boost", - "score": 0.034902095794677734 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36014.0, - "then": { - "operation": "boost", - "score": -0.034358687698841095 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30720.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.9039984345436096 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.10438466817140579 + "score": 0.07623527944087982 }, "else": { "operation": "boost", - "score": -0.09982775896787643 + "score": -0.03740733861923218 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10312971472740173 }, "else": { - "operation": "boost", - "score": 0.06821343302726746 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0012878127163276076 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.016829166561365128 - }, - "else": { - "operation": "boost", - "score": -0.18527862429618835 - } - }, - "else": { - "operation": "boost", - "score": -0.012254176661372185 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22681.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.19872695207595825 - }, - "else": { - "operation": "boost", - "score": 0.1010749489068985 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.01795312389731407 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11788056045770645 - }, - "else": { - "operation": "boost", - "score": 0.014339129440486431 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18870.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19436.5, + "threshold": 26.0, "then": { "operation": "boost", - "score": -0.1554637849330902 + "score": 0.1349276602268219 }, "else": { - "operation": "boost", - "score": 0.11602090299129486 + "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": "boost", - "score": 0.04829789698123932 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.13534089922904968 + "score": -0.004625359084457159 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8428.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9813.0, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.060892730951309204 + "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.11729642748832703 + "score": 0.09516153484582901 } }, "else": { - "operation": "boost", - "score": -0.08359099179506302 + "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 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4826.0, - "then": { - "operation": "boost", - "score": 0.01570771262049675 - }, - "else": { - "operation": "boost", - "score": 0.354979932308197 - } } } }, "else": { "operation": "boost", - "score": 0.051012903451919556 + "score": 0.003760918276384473 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20233.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.017374740913510323 + }, + "else": { + "operation": "boost", + "score": 0.12631113827228546 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015151089057326317 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4286.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Function" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.2564994692802429 - }, - "else": { - "operation": "boost", - "score": 0.12559430301189423 - } + "operation": "boost", + "score": 0.03039623610675335 }, "else": { "operation": "boost", - "score": 0.05121724307537079 + "score": -0.023875288665294647 } } + }, + "else": { + "operation": "boost", + "score": -0.031018264591693878 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6075.0, + "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": "NumReferences", - "threshold": 6694.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.011972049251198769 + "score": 0.12245729565620422 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14181.5, + "threshold": 69.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { - "operation": "boost", - "score": 0.044550515711307526 - }, - "else": { - "operation": "boost", - "score": -0.05153746157884598 - } + "operation": "boost", + "score": 0.09287429600954056 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14068.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10448167473077774 - }, - "else": { - "operation": "boost", - "score": 0.1173836961388588 - } - }, - "else": { - "operation": "boost", - "score": 0.0020239492878317833 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12990.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13589.0, - "then": { - "operation": "boost", - "score": 0.11687633395195007 - }, - "else": { - "operation": "boost", - "score": 0.1313498169183731 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13063.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10356098413467407 - }, - "else": { - "operation": "boost", - "score": 0.054440297186374664 - } - }, - "else": { - "operation": "boost", - "score": 0.12401875108480453 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04616338014602661 - } - } + "operation": "boost", + "score": -0.15366512537002563 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6615.0, + "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": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12234462052583694 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10780724883079529 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13455617427825928 - }, - "else": { - "operation": "boost", - "score": 0.1269310861825943 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1052064523100853 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10891976207494736 - }, - "else": { - "operation": "boost", - "score": 0.12196149677038193 - } - } + "operation": "boost", + "score": -0.0612543523311615 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6101.5, + "threshold": 14422.0, "then": { "operation": "boost", - "score": 0.054573945701122284 + "score": 0.08320096135139465 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.13375145196914673 - }, - "else": { - "operation": "boost", - "score": 0.04362785443663597 - } + "operation": "boost", + "score": -0.11523876339197159 } } } - }, - "else": { - "operation": "boost", - "score": 0.020891845226287842 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 960.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7222.0, + "threshold": 1315.0, "then": { "operation": "boost", - "score": 0.08254891633987427 + "score": 0.0002386351698078215 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4794.0, - "then": { - "operation": "boost", - "score": -0.2055264115333557 - }, - "else": { - "operation": "boost", - "score": 0.09322960674762726 - } + "operation": "boost", + "score": 0.10509020835161209 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": -0.003950942773371935 + "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.15835323929786682 + "score": -0.017162611708045006 } } } @@ -149970,3856 +148155,3936 @@ } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10824655741453171 - }, - "else": { - "operation": "boost", - "score": 0.1156885176897049 - } + "operation": "boost", + "score": -0.003150621661916375 } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + } + } + } + }, + { + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11193981021642685 - }, - "else": { - "operation": "boost", - "score": -0.1009417474269867 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 15.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.05902184545993805 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.12915179133415222 + "score": 0.11538258194923401 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3234.0, + "threshold": 84.5, "then": { "operation": "boost", - "score": 0.10036996006965637 + "score": 0.04333626106381416 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 80.0, "then": { "operation": "boost", - "score": 0.04262692108750343 + "score": 0.12128722667694092 }, "else": { - "operation": "boost", - "score": -0.2166316658258438 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "boost", + "score": -0.23131859302520752 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.13173462450504303 + }, + "else": { + "operation": "boost", + "score": -0.13457639515399933 + } + } } } } - }, - "else": { - "operation": "boost", - "score": -0.015248425304889679 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3201.5, + "threshold": 94.0, + "then": { + "operation": "boost", + "score": -0.041396696120500565 + }, + "else": { + "operation": "boost", + "score": 0.11310163140296936 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6653.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3536.0, + "threshold": 6934.0, "then": { "operation": "boost", - "score": 0.062357306480407715 + "score": 0.047953490167856216 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.02294127084314823 - }, - "else": { - "operation": "boost", - "score": 0.1204322800040245 - } + "operation": "boost", + "score": 0.1264542192220688 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": -0.009049820713698864 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.09731343388557434 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 128.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 3016.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11409802734851837 + "score": 0.10843657702207565 }, "else": { "operation": "boost", - "score": 0.11527402698993683 + "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": 431.0, + "threshold": 360.0, "then": { "operation": "boost", - "score": 0.05546077340841293 + "score": 0.12319473177194595 }, "else": { "operation": "boost", - "score": 0.11030831933021545 + "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": "NumReferences", - "threshold": 708.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Variable", + "Type" ], "then": { - "operation": "boost", - "score": 0.17913296818733215 - }, - "else": { - "operation": "boost", - "score": 0.022213732823729515 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 705.5, - "then": { - "operation": "boost", - "score": 0.11874555796384811 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 126.0, "then": { "operation": "boost", - "score": 0.07258779555559158 + "score": 0.11126367002725601 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 592.5, + "threshold": 117.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 608.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.2593362629413605 + "score": 0.08795364201068878 }, "else": { "operation": "boost", - "score": 0.1025790199637413 + "score": 0.1180589348077774 } }, "else": { "operation": "boost", - "score": 0.05909004062414169 + "score": 0.045995794236660004 } } }, "else": { "operation": "boost", - "score": -0.012337777763605118 + "score": 0.118137426674366 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1610.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1806.5, - "then": { - "operation": "boost", - "score": -0.06980399042367935 }, "else": { "operation": "boost", - "score": 0.13492237031459808 + "score": 0.09114079177379608 } }, "else": { - "operation": "boost", - "score": 0.1591009795665741 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10944022983312607 + "score": 0.11189619451761246 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1804.5, + "feature": "FilterLength", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1849.5, - "then": { - "operation": "boost", - "score": 0.10281551629304886 - }, - "else": { - "operation": "boost", - "score": 0.13755877315998077 - } + "operation": "boost", + "score": 0.10870536416769028 }, "else": { "operation": "boost", - "score": 0.07264932245016098 + "score": 0.09749031811952591 } } - }, - "else": { - "operation": "boost", - "score": 0.050853367894887924 } } - }, - "else": { - "operation": "boost", - "score": 0.011685768142342567 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.5, - "then": { - "operation": "boost", - "score": 0.03879072889685631 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "boost", - "score": 0.12422060966491699 }, "else": { "operation": "boost", - "score": -0.08390116691589355 + "score": 0.01220737025141716 } } } + }, + "else": { + "operation": "boost", + "score": 0.024797143414616585 } + }, + "else": { + "operation": "boost", + "score": 0.027731457725167274 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.0006151639390736818 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18305.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18474.5, + "threshold": 4673.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 4906.0, "then": { "operation": "boost", - "score": -0.061383675783872604 - }, - "else": { - "operation": "boost", - "score": 0.0194255281239748 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.20233561098575592 - }, - "else": { - "operation": "boost", - "score": 0.10355819016695023 - } + "score": 0.029450125992298126 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4889.0, "then": { - "operation": "boost", - "score": 0.1150582805275917 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12576310336589813 + }, + "else": { + "operation": "boost", + "score": 0.11044172197580338 + } }, "else": { "operation": "boost", - "score": -0.11815197765827179 + "score": 0.07971300184726715 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.003058134810999036 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 664.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.03260723873972893 + "score": 0.012774044647812843 }, "else": { - "operation": "boost", - "score": 0.09606000781059265 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004769252613186836 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0006808597827330232 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4142.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25663.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25940.5, + "threshold": 412.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 523.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61155.5, + "threshold": 1121.5, "then": { "operation": "boost", - "score": 0.023230304941534996 + "score": 0.020958280190825462 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.10157117247581482 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 749.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 807.5, "then": { "operation": "boost", - "score": 0.0959043875336647 + "score": 0.13657540082931519 }, "else": { "operation": "boost", - "score": -0.030727935954928398 + "score": 0.11611510068178177 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08763463795185089 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.997341513633728 - }, - "else": { - "operation": "boost", - "score": 0.04636625200510025 - } - } - }, - "else": { - "operation": "boost", - "score": -0.7167547941207886 - } + "operation": "boost", + "score": 0.04927382245659828 } + }, + "else": { + "operation": "boost", + "score": -0.25848814845085144 } } }, + "else": { + "operation": "boost", + "score": 0.01927989348769188 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 521.5, + "then": { + "operation": "boost", + "score": 0.13415813446044922 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31292.5, + "operation": "boost", + "score": 0.10128585994243622 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05794379115104675 + "score": -0.11478004604578018 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09787926077842712 - }, - "else": { - "operation": "boost", - "score": 0.05050536245107651 - } - }, - "else": { - "operation": "boost", - "score": 0.10169696062803268 - } + "operation": "boost", + "score": 0.11461571604013443 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26715.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.003762762760743499 + "score": 0.05603950098156929 }, "else": { - "operation": "boost", - "score": 0.10225151479244232 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.014572307467460632 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478.0, + "then": { + "operation": "boost", + "score": 0.11550191044807434 + }, + "else": { + "operation": "boost", + "score": 0.06090166047215462 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.00029336713487282395 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292981.5, + "threshold": 96.5, "then": { - "operation": "boost", - "score": 0.03745453804731369 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234371.5, + "threshold": 105.0, "then": { "operation": "boost", - "score": -0.09245730191469193 + "score": 0.09504850953817368 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "boost", - "score": 0.04662023112177849 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": -0.0477776862680912 - }, - "else": { - "operation": "boost", - "score": 0.012303988449275494 - } - } + "operation": "boost", + "score": 0.12858526408672333 } + }, + "else": { + "operation": "boost", + "score": -0.030843539163470268 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 40920.5, + "threshold": 119.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49656.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53585.5, + "threshold": 214.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327227.0, - "then": { - "operation": "boost", - "score": 0.05294600874185562 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08048463612794876 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.2164480835199356 - }, - "else": { - "operation": "boost", - "score": -0.05868912115693092 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187158.0, - "then": { - "operation": "boost", - "score": 0.04621698707342148 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153907.0, - "then": { - "operation": "boost", - "score": -0.5352580547332764 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, - "then": { - "operation": "boost", - "score": 0.042862508445978165 - }, - "else": { - "operation": "boost", - "score": -0.04594039544463158 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "threshold": 219.0, "then": { "operation": "boost", - "score": 0.09549408406019211 + "score": 0.06920699030160904 }, "else": { "operation": "boost", - "score": 0.05031818524003029 + "score": 0.14864863455295563 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.10602226853370667 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.07257335633039474 - }, - "else": { - "operation": "boost", - "score": -2.549407482147217 - } + "operation": "boost", + "score": -0.0069372509606182575 } + }, + "else": { + "operation": "boost", + "score": 0.10018628090620041 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34626.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35026.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.09272105991840363 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10731690376996994 - }, - "else": { - "operation": "boost", - "score": 0.04831879958510399 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10743407905101776 - } + "operation": "boost", + "score": -0.016980228945612907 }, "else": { "operation": "boost", - "score": 0.010163111612200737 + "score": 0.11317528784275055 } } }, "else": { "operation": "boost", - "score": -0.05141274258494377 + "score": 0.021717682480812073 } } + }, + "else": { + "operation": "boost", + "score": 0.0025757020339369774 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004455015063285828 + } + } + } + }, + "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": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.0719507709145546 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.10744855552911758 + "score": 0.10905271023511887 }, "else": { "operation": "boost", - "score": 0.10228487104177475 + "score": 0.07007820159196854 } - }, - "else": { - "operation": "boost", - "score": -0.08264078199863434 } + }, + "else": { + "operation": "boost", + "score": 0.033059488981962204 } }, "else": { "operation": "boost", - "score": -0.0703543946146965 + "score": -0.07833348214626312 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.006834635976701975 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.009978161193430424 + "score": 0.06512820720672607 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8621.0, + "feature": "FileProximityDistance", + "threshold": 8.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12508.5, - "then": { - "operation": "boost", - "score": 0.10603135824203491 - }, - "else": { - "operation": "boost", - "score": 0.13700173795223236 - } + "operation": "boost", + "score": 0.10988131910562515 }, "else": { "operation": "boost", - "score": -0.1129859983921051 + "score": -0.14129507541656494 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18335.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20562.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.016747139394283295 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20410.5, + "threshold": 36.0, "then": { "operation": "boost", - "score": 0.10488632321357727 + "score": 0.11952745914459229 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.2353956252336502 + "score": 0.043844521045684814 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 21.0, "then": { "operation": "boost", - "score": -0.07118043303489685 + "score": 0.12872569262981415 }, "else": { - "operation": "boost", - "score": 0.09756777435541153 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.13870282471179962 + }, + "else": { + "operation": "boost", + "score": 0.08691719174385071 + } } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20206.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20410.5, + "threshold": 12.5, "then": { - "operation": "boost", - "score": 7.802116670063697e-06 + "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 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.045018140226602554 + "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.10234195739030838 + "score": 0.06821141391992569 } } }, "else": { "operation": "boost", - "score": -0.017929207533597946 + "score": 0.07716289162635803 } } + }, + "else": { + "operation": "boost", + "score": 0.08393609523773193 } }, "else": { + "operation": "boost", + "score": -0.024879157543182373 + } + }, + "else": { + "operation": "boost", + "score": 0.030475087463855743 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07067995518445969 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10496051609516144 + }, + "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": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.006292193196713924 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5964.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9583.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09333177655935287 + "score": -0.2719360888004303 }, "else": { - "operation": "boost", - "score": -0.10567639768123627 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5174.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5255.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.18166087567806244 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11690637469291687 + "score": 0.07421503961086273 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5742.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5839.5, - "then": { - "operation": "boost", - "score": -0.1251380443572998 - }, - "else": { - "operation": "boost", - "score": 0.10845750570297241 - } - }, - "else": { - "operation": "boost", - "score": -0.049643147736787796 - } + "operation": "boost", + "score": 0.10109574347734451 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.059680432081222534 + } + }, + "else": { + "operation": "boost", + "score": -0.20699025690555573 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00020567956380546093 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.08187226206064224 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.04336726665496826 + }, + "else": { + "operation": "boost", + "score": 0.006036481354385614 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.02437194623053074 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "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": "boost", + "score": -0.007171624340116978 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09697990864515305 + "score": 0.037862733006477356 }, "else": { "operation": "boost", - "score": 0.11632303148508072 + "score": 0.061730463057756424 } } }, "else": { "operation": "boost", - "score": -0.05542761832475662 + "score": -0.01999022625386715 } + }, + "else": { + "operation": "boost", + "score": -0.0013855349970981479 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.054980289191007614 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10054.0, - "then": { - "operation": "boost", - "score": -0.18024958670139313 - }, - "else": { - "operation": "boost", - "score": 0.12315302342176437 - } - }, - "else": { - "operation": "boost", - "score": 0.04337606579065323 - } - }, - "else": { - "operation": "boost", - "score": -0.271213173866272 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7049.0, - "then": { - "operation": "boost", - "score": -0.187072291970253 - }, - "else": { - "operation": "boost", - "score": 0.11140916496515274 - } - }, - "else": { - "operation": "boost", - "score": -0.18519841134548187 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11627782881259918 + "score": 0.0188948642462492 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9251.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.0804811641573906 + "score": -0.01678524911403656 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6974.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.11186450719833374 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4438.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.18128137290477753 + "score": -0.03035913035273552 }, "else": { "operation": "boost", - "score": 0.11346251517534256 + "score": 0.07455472648143768 } + }, + "else": { + "operation": "boost", + "score": 0.047558125108480453 } } } + }, + "else": { + "operation": "boost", + "score": 0.030532974749803543 } + }, + "else": { + "operation": "boost", + "score": 0.0070784566923975945 } }, "else": { "operation": "boost", - "score": 0.047496385872364044 + "score": 0.01534357201308012 } + }, + "else": { + "operation": "boost", + "score": 0.00035164266591891646 } } - }, - "else": { + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07311305403709412 + } + }, + "else": { + "operation": "boost", + "score": -0.006456674076616764 + } + } + } + }, + { + "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.004104897379875183 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "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": 9948.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19643.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 107411.0, "then": { "operation": "boost", - "score": 0.03995298221707344 + "score": 0.024667711928486824 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7142.0, - "then": { - "operation": "boost", - "score": 0.14057978987693787 - }, - "else": { - "operation": "boost", - "score": 0.04979684203863144 - } + "operation": "boost", + "score": 0.08088917285203934 } + }, + "else": { + "operation": "boost", + "score": -0.452093243598938 } + }, + "else": { + "operation": "boost", + "score": -0.01232527568936348 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4290.5, + "threshold": 18783.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.17189674079418182 + "score": 0.10511960834264755 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.0830383151769638 - }, - "else": { - "operation": "boost", - "score": 0.10149315744638443 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09332295507192612 - }, - "else": { - "operation": "boost", - "score": 0.054225075989961624 - } - } + "operation": "boost", + "score": 0.06300561130046844 + } + }, + "else": { + "operation": "boost", + "score": 0.10833635181188583 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.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": 19362.0, + "threshold": 35.5, "then": { "operation": "boost", - "score": -0.212712362408638 + "score": -0.009069147519767284 }, "else": { + "operation": "boost", + "score": 0.13379478454589844 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.02741134725511074 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19035.0, + "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.1152312383055687 + "score": 0.13460467755794525 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1055559515953064 + "score": 0.1304931491613388 }, "else": { "operation": "boost", - "score": 0.09486942738294601 + "score": -0.010000121779739857 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14599.5, - "then": { - "operation": "boost", - "score": -0.09509056061506271 - }, - "else": { - "operation": "boost", - "score": 0.05024717375636101 - } + "operation": "boost", + "score": 0.0885487049818039 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4271.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.19420522451400757 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.1287451982498169 - }, - "else": { - "operation": "boost", - "score": 0.1242118552327156 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4166.5, - "then": { - "operation": "boost", - "score": -0.11971448361873627 - }, - "else": { - "operation": "boost", - "score": 0.11470235139131546 - } - }, - "else": { - "operation": "boost", - "score": -0.2184421569108963 + "operation": "boost", + "score": 0.05538333207368851 } } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02851122058928013 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10861871391534805 - }, - "else": { - "operation": "boost", - "score": 0.11418367177248001 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1104494258761406 - }, - "else": { - "operation": "boost", - "score": -0.10085964947938919 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.011616296134889126 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10175460577011108 - }, - "else": { - "operation": "boost", - "score": 0.0141983050853014 - } }, "else": { "operation": "boost", - "score": -0.055837079882621765 + "score": 0.010602716356515884 } - }, - "else": { - "operation": "boost", - "score": 0.016707489266991615 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.5, - "then": { - "operation": "boost", - "score": 0.03590633347630501 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "boost", - "score": 0.12079942971467972 - }, - "else": { - "operation": "boost", - "score": -0.07408378273248672 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5900.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", "Variable", - "Function" + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.05099934712052345 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.05435190349817276 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6281.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.01915617287158966 + "score": -0.05417567864060402 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6046.5, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.016999714076519012 - }, - "else": { - "operation": "boost", - "score": 0.18644241988658905 - } + "operation": "boost", + "score": 0.09154658764600754 }, "else": { "operation": "boost", - "score": 0.06469376385211945 + "score": -0.23107755184173584 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7359.0, - "then": { - "operation": "boost", - "score": 0.12125185877084732 }, "else": { - "operation": "boost", - "score": 0.15452292561531067 - } - }, - "else": { - "operation": "boost", - "score": 0.04840682074427605 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12883920967578888 - } - }, - "else": { - "operation": "boost", - "score": 0.00985521450638771 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.006158349569886923 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 664.0, - "then": { - "operation": "boost", - "score": 0.04654007777571678 - }, - "else": { - "operation": "boost", - "score": 0.09407106786966324 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004580311011523008 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0006653484888374805 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.06851308792829514 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07288559526205063 + "score": -0.06763017177581787 }, "else": { "operation": "boost", - "score": 0.04929809644818306 + "score": 0.0962611734867096 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.47759929299354553 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05005718022584915 + "score": 0.11239052563905716 }, "else": { "operation": "boost", - "score": -0.028615577146410942 + "score": 0.10782850533723831 } + }, + "else": { + "operation": "boost", + "score": -0.1765878051519394 } } - } - }, - "else": { - "operation": "boost", - "score": -0.2955299913883209 - } - }, - "else": { - "operation": "boost", - "score": 0.015538063831627369 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05188461393117905 }, "else": { - "operation": "boost", - "score": -0.4039524793624878 + "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 + } } - }, - "else": { - "operation": "boost", - "score": 0.07373996078968048 } }, "else": { "operation": "boost", - "score": -0.004614636301994324 + "score": -0.00605006655678153 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12844203412532806 }, "else": { "operation": "boost", - "score": 0.2296874076128006 + "score": 0.03631755709648132 } } }, "else": { - "operation": "boost", - "score": -0.11735957860946655 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 359.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1160680279135704 - }, - "else": { - "operation": "boost", - "score": -0.17192643880844116 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "boost", - "score": 0.12344448268413544 - }, - "else": { - "operation": "boost", - "score": -0.10842249542474747 - } - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.07596495002508163 - }, - "else": { - "operation": "boost", - "score": 0.12067021429538727 - } + "operation": "boost", + "score": 0.08172906190156937 }, "else": { "operation": "boost", - "score": 0.11076046526432037 + "score": -1.9493842124938965 } - } - }, - "else": { - "operation": "boost", - "score": 0.03495502471923828 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "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.10004366189241409 }, "else": { "operation": "boost", - "score": 0.14738915860652924 + "score": -0.1264275461435318 } - }, - "else": { - "operation": "boost", - "score": 0.15778501331806183 } }, "else": { "operation": "boost", - "score": -0.4710069000720978 + "score": 0.006944065447896719 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.08556190878152847 - }, - "else": { - "operation": "boost", - "score": 0.010693510062992573 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09583064913749695 - }, - "else": { - "operation": "boost", - "score": -0.10389894992113113 - } - }, - "else": { - "operation": "boost", - "score": -0.03023103065788746 - } - } + "operation": "boost", + "score": -0.005826101638376713 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44220.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_TopLevel", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47293.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 188273.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22423.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1077362671494484 + "score": -0.059355732053518295 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 315.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0003750793694052845 - }, - "else": { - "operation": "boost", - "score": 0.10301145911216736 - } - }, - "else": { - "operation": "boost", - "score": 0.00043358744005672634 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": -0.10974178463220596 - }, - "else": { - "operation": "boost", - "score": -0.013662912882864475 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006754267029464245 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61.5, + "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 65.5, + "threshold": 292981.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 296854.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198.0, - "then": { - "operation": "boost", - "score": 0.007510566618293524 - }, - "else": { - "operation": "boost", - "score": 0.10811742395162582 - } - }, - "else": { - "operation": "boost", - "score": -0.11560244858264923 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11528057605028152 - }, - "else": { - "operation": "boost", - "score": -0.2004825919866562 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12774458527565002 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0589141882956028 - }, - "else": { - "operation": "boost", - "score": -0.013031634502112865 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.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": 12.5, - "then": { - "operation": "boost", - "score": -0.02065642923116684 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.19148246943950653 - }, - "else": { - "operation": "boost", - "score": 0.4935104250907898 - } - }, - "else": { - "operation": "boost", - "score": -0.002065922599285841 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1496894657611847 - }, - "else": { - "operation": "boost", - "score": 0.10229483991861343 - } - } + "score": -0.01689852774143219 }, "else": { "operation": "boost", - "score": 0.0027768327854573727 + "score": 0.027164394035935402 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.10771029442548752 - }, - "else": { - "operation": "boost", - "score": 0.050194937735795975 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.056464824825525284 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.03177375718951225 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16857.5, - "then": { - "operation": "boost", - "score": -0.03572709858417511 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10569202899932861 + "score": -0.024779390543699265 }, "else": { - "operation": "boost", - "score": -0.1441674530506134 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10940.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.06173112615942955 + "score": 0.030236467719078064 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14437.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15737.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.025598766282200813 + "score": 0.2818364202976227 }, "else": { "operation": "boost", - "score": 0.10961578786373138 + "score": 0.08528729528188705 } }, "else": { "operation": "boost", - "score": 0.10883428901433945 + "score": 0.09760476648807526 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.2193191796541214 + "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": "boost", - "score": 0.15254047513008118 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05155542865395546 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.021133271977305412 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.043682560324668884 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07319876551628113 + "score": 0.032101623713970184 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.11971175670623779 + "score": -0.11418171972036362 }, "else": { - "operation": "boost", - "score": 0.11381884664297104 + "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": "boost", - "score": 0.04271163418889046 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.08869510143995285 + }, + "else": { + "operation": "boost", + "score": 0.008233723230659962 + } }, "else": { - "operation": "boost", - "score": 0.02909509837627411 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.038949307054281235 + }, + "else": { + "operation": "boost", + "score": -0.07830388844013214 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.12225186079740524 } }, "else": { - "operation": "boost", - "score": 0.014747637324035168 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.13179799914360046 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1121.5, + "threshold": 234850.0, "then": { + "operation": "boost", + "score": -0.1664157211780548 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1136.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02449718490242958 + "score": 0.07019782811403275 }, "else": { - "operation": "boost", - "score": 0.10362952947616577 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1043812483549118 + }, + "else": { + "operation": "boost", + "score": 0.029594380408525467 + } } - }, - "else": { - "operation": "boost", - "score": -0.05043572932481766 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01173244696110487 + "score": -0.07126330584287643 }, "else": { + "operation": "boost", + "score": -0.6476038694381714 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.01271007303148508 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.008660633116960526 - }, - "else": { - "operation": "boost", - "score": 0.07437869161367416 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.05933687090873718 + "score": 0.1334635466337204 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.10694153606891632 + "score": 0.0750964805483818 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.1574748158454895 + "score": 0.07854059338569641 }, "else": { - "operation": "boost", - "score": 0.09718272089958191 + "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": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.028973691165447235 + "score": -0.017092343419790268 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { + "operation": "boost", + "score": 0.11962801963090897 + } + }, + "else": { + "operation": "boost", + "score": 0.15128906071186066 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "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": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { "operation": "boost", - "score": 0.10264923423528671 + "score": 0.12221740186214447 }, "else": { - "operation": "boost", - "score": 0.08868037909269333 + "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": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "boost", - "score": -0.08262842148542404 + "score": -0.1631462424993515 }, "else": { - "operation": "boost", - "score": 0.09128541499376297 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08388447016477585 + }, + "else": { + "operation": "boost", + "score": -1.3626515865325928 + } } } } + }, + "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_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 + } + }, + "else": { + "operation": "boost", + "score": 0.0546102300286293 + } } + }, + "else": { + "operation": "boost", + "score": -0.01087980903685093 } } } }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.032075949013233185 + }, + "else": { + "operation": "boost", + "score": 0.0932050570845604 + } + }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04296813905239105 + }, + "else": { + "operation": "boost", + "score": 0.06402237713336945 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01705847680568695 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": -0.2648533284664154 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.008460498414933681 + "score": 0.05556899681687355 }, "else": { "operation": "boost", - "score": 0.0670708417892456 + "score": 0.0967201516032219 } } }, "else": { "operation": "boost", - "score": -0.07819245755672455 + "score": 0.022186893969774246 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.18357034027576447 - } - }, - "else": { - "operation": "boost", - "score": -0.007920204661786556 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.0018993981648236513 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.01932903379201889 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 176731.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": -0.14977924525737762 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 167779.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.015201713889837265 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.00811433419585228 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 853.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 859.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12890960276126862 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.30531105399131775 - }, - "else": { - "operation": "boost", - "score": 0.1248529925942421 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3307.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17037749290466309 - }, - "else": { - "operation": "boost", - "score": 0.13034382462501526 - } - }, - "else": { - "operation": "boost", - "score": 0.06835749745368958 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05556676164269447 - } - }, - "else": { - "operation": "boost", - "score": 0.11310365051031113 - } - }, - "else": { - "operation": "boost", - "score": 0.053974948823451996 - } - }, - "else": { - "operation": "boost", - "score": 0.039567578583955765 - } - }, - "else": { - "operation": "boost", - "score": 0.03913752734661102 - } - }, - "else": { - "operation": "boost", - "score": 0.036001529544591904 - } - } - } + "operation": "boost", + "score": 0.13552266359329224 }, "else": { "operation": "boost", - "score": -0.11441449075937271 + "score": 0.0974324569106102 } }, "else": { "operation": "boost", - "score": 0.012793047353625298 + "score": 0.06104596331715584 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62405.5, "then": { - "operation": "boost", - "score": 0.017626797780394554 + "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": "boost", - "score": -0.02886507287621498 + "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.010020390152931213 + "score": 0.025847727432847023 } } } }, + "else": { + "operation": "boost", + "score": 0.005708937533199787 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "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": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.10439687967300415 + "score": 0.1875970959663391 }, "else": { "operation": "boost", - "score": -0.013207283802330494 + "score": 0.15103015303611755 } }, "else": { - "operation": "boost", - "score": -0.006564043462276459 + "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 + } } } }, "else": { - "operation": "boost", - "score": -0.006543174386024475 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1070670560002327 - }, - "else": { - "operation": "boost", - "score": 0.05782157927751541 - } + "operation": "boost", + "score": -0.5464823246002197 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, "then": { "operation": "boost", - "score": 0.09245165437459946 + "score": 0.09920673072338104 }, "else": { - "operation": "boost", - "score": 0.04887270927429199 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.19098018109798431 + }, + "else": { + "operation": "boost", + "score": 0.30967360734939575 + } } } - }, - "else": { - "operation": "boost", - "score": -0.020155709236860275 } }, "else": { "operation": "boost", - "score": -0.3761533200740814 + "score": 0.021995363757014275 } } + }, + "else": { + "operation": "boost", + "score": 0.004171603824943304 } + }, + "else": { + "operation": "boost", + "score": -0.0009391837520524859 } } }, { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 188273.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 63356.5, + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.10089026391506195 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "boost", - "score": -0.1367950141429901 + "score": -0.29301878809928894 }, "else": { + "operation": "boost", + "score": 0.01062485110014677 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46.5, + "threshold": 1074118.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.011173686012625694 + "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 + } }, "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 + } + } + } + } + }, + "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 220295.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.1213434636592865 + "score": 0.10344342887401581 }, "else": { "operation": "boost", - "score": 0.12843796610832214 + "score": 0.011081867851316929 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.010614890605211258 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.10847225785255432 - }, - "else": { - "operation": "boost", - "score": 0.12500634789466858 - } - } - }, - "else": { - "operation": "boost", - "score": 0.031451597809791565 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.028778865933418274 - }, - "else": { - "operation": "boost", - "score": 0.08645617961883545 - } - }, - "else": { - "operation": "boost", - "score": 0.07176924496889114 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01786506175994873 - } + "operation": "boost", + "score": 0.10651259869337082 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": -0.11927878856658936 + "score": 0.11625943332910538 }, "else": { "operation": "boost", - "score": 0.109782874584198 + "score": 0.05707468464970589 } } }, "else": { "operation": "boost", - "score": 0.06631950289011002 + "score": 0.07410643994808197 + } + } + }, + "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.11785241216421127 + }, + "else": { + "operation": "boost", + "score": -0.11537104099988937 + } + }, + "else": { + "operation": "boost", + "score": -0.2925950884819031 } + }, + "else": { + "operation": "boost", + "score": 0.05666393041610718 } } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.17318879067897797 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 387.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.20080755650997162 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.11758439987897873 + "score": 0.11732577532529831 }, "else": { "operation": "boost", - "score": 0.059647202491760254 + "score": 0.10775347799062729 } + }, + "else": { + "operation": "boost", + "score": -0.1082763597369194 } - }, - "else": { - "operation": "boost", - "score": -0.029441451653838158 } }, "else": { "operation": "boost", - "score": 0.06855136156082153 + "score": 0.043948907405138016 } } }, "else": { + "operation": "boost", + "score": -0.10493304580450058 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25329.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "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": 1.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.08035027235746384 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05856413021683693 + }, + "else": { + "operation": "boost", + "score": 0.09228751063346863 + } }, "else": { + "operation": "boost", + "score": 0.05464540421962738 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.0, + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.10204149782657623 + }, + "else": { + "operation": "boost", + "score": 0.08654134720563889 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "boost", - "score": 0.03379105404019356 + "score": 0.015415901318192482 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.20799462497234344 + "score": 0.08760230988264084 }, "else": { "operation": "boost", - "score": 0.15500596165657043 + "score": 0.05272065848112106 } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04530695825815201 }, "else": { - "operation": "boost", - "score": -0.34187084436416626 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0038949844893068075 + }, + "else": { + "operation": "boost", + "score": 0.05874117836356163 + } } }, "else": { - "operation": "boost", - "score": -0.026426466181874275 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "boost", + "score": -0.1068769097328186 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.017045272514224052 + }, + "else": { + "operation": "boost", + "score": 0.06828994303941727 + } + }, + "else": { + "operation": "boost", + "score": 0.11766556650400162 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01678081788122654 + } } } + }, + "else": { + "operation": "boost", + "score": -0.14514237642288208 } }, - "else": { - "operation": "boost", - "score": -0.008394048549234867 - } - }, - "else": { - "operation": "boost", - "score": -0.061195872724056244 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10452429950237274 - }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0026329730171710253 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204563.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.05092383176088333 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.06563864648342133 + }, + "else": { + "operation": "boost", + "score": 0.1253790408372879 + } + }, + "else": { + "operation": "boost", + "score": 0.07131265103816986 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.049539219588041306 + } + }, + "else": { + "operation": "boost", + "score": -0.1313246339559555 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "boost", + "score": -0.08650375157594681 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111169.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.06816107779741287 + }, + "else": { + "operation": "boost", + "score": 0.11169620603322983 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13395613431930542 + }, + "else": { + "operation": "boost", + "score": 0.060563825070858 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "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", + "Destructor", + "Operator", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.010965506546199322 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62324.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.037331365048885345 - }, - "else": { - "operation": "boost", - "score": 0.11347687244415283 - } + "operation": "boost", + "score": 0.07102817296981812 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.30935096740722656 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08707575500011444 - }, - "else": { - "operation": "boost", - "score": 0.1421063095331192 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.013266684487462044 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.12592749297618866 - }, - "else": { - "operation": "boost", - "score": 0.11505230516195297 - } - }, - "else": { - "operation": "boost", - "score": 0.011442248709499836 - } - } - } + "operation": "boost", + "score": -0.015647156164050102 }, "else": { "operation": "boost", - "score": -0.007258286699652672 + "score": -0.08926289528608322 } } - }, - "else": { - "operation": "boost", - "score": -0.034765586256980896 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 627.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 723.0, "then": { "operation": "boost", - "score": 0.0372757725417614 + "score": 0.03384258598089218 }, "else": { + "operation": "boost", + "score": 0.1423717439174652 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.02036410942673683 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SymbolScopeDistance", + "threshold": 15.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "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": 5.5, + "threshold": 7.5, "then": { + "operation": "boost", + "score": -0.012141813524067402 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "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": 25.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11609864234924316 + "score": 0.025639265775680542 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11497385054826736 - }, - "else": { - "operation": "boost", - "score": 0.08823183923959732 - } + "operation": "boost", + "score": 0.14450904726982117 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.15263955295085907 - }, - "else": { - "operation": "boost", - "score": 0.12875306606292725 - } + "operation": "boost", + "score": -0.16470052301883698 } }, "else": { - "operation": "boost", - "score": -0.07956802099943161 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11786417663097382 + "score": -0.03378999978303909 }, "else": { - "operation": "boost", - "score": 0.11914899945259094 + "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.16992229223251343 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.03839356452226639 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.11676782369613647 - }, - "else": { - "operation": "boost", - "score": 0.11085675656795502 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.11887376010417938 - }, - "else": { - "operation": "boost", - "score": 0.11563483625650406 } }, "else": { "operation": "boost", - "score": 0.06654521822929382 + "score": 0.06491345912218094 } - }, - "else": { - "operation": "boost", - "score": 0.0661197379231453 } } + } + }, + "else": { + "operation": "boost", + "score": 0.012268472462892532 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.016905928030610085 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 120.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11283492296934128 - }, - "else": { - "operation": "boost", - "score": 0.061338718980550766 - } - }, - "else": { - "operation": "boost", - "score": 0.015864532440900803 - } + "operation": "boost", + "score": -0.17400586605072021 }, "else": { "operation": "boost", - "score": 0.09139621257781982 + "score": -0.07319074869155884 } } + }, + "else": { + "operation": "boost", + "score": -0.013796835206449032 } }, "else": { "operation": "boost", - "score": 0.08509784936904907 + "score": -0.05127602815628052 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + } + } + } + }, + "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.041180528700351715 + "score": 0.10130751132965088 }, "else": { "operation": "boost", - "score": -0.05439373850822449 + "score": -0.08574552834033966 } + }, + "else": { + "operation": "boost", + "score": 0.12306182831525803 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 26.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { + "operation": "boost", + "score": -0.005177449434995651 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13252638280391693 + "score": 0.08423719555139542 }, "else": { "operation": "boost", - "score": -0.00023879499349277467 + "score": -0.0745190978050232 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0047856648452579975 - }, - "else": { - "operation": "boost", - "score": -0.12137547135353088 - } + "operation": "boost", + "score": 0.0974838063120842 }, "else": { - "operation": "boost", - "score": -0.009118064306676388 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.0135847432538867 + "score": 0.08431249111890793 }, "else": { "operation": "boost", - "score": -0.04092635586857796 + "score": -0.0013512055156752467 } + } + }, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.0, "then": { "operation": "boost", - "score": 0.017098071053624153 + "score": -0.24772772192955017 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 91.0, "then": { "operation": "boost", - "score": 0.014437985606491566 + "score": 0.11149752140045166 }, "else": { - "operation": "boost", - "score": -0.09408604353666306 + "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 + } + } } } } } } + } + } + } + } + } + } + } + }, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.06449993699789047 - }, - "else": { - "operation": "boost", - "score": 0.02097403071820736 - } - }, - "else": { - "operation": "boost", - "score": 0.006856408901512623 - } + "operation": "boost", + "score": 0.053067468106746674 } } }, "else": { "operation": "boost", - "score": 0.010109014809131622 + "score": 0.04927981272339821 } }, "else": { - "operation": "boost", - "score": 0.0025178089272230864 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07478447258472443 + }, + "else": { + "operation": "boost", + "score": 0.02655239962041378 + } + }, + "else": { + "operation": "boost", + "score": 0.0042839874513447285 + } } + }, + "else": { + "operation": "boost", + "score": 0.018107272684574127 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.029501480981707573 + "score": -0.023563191294670105 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 8.838659414323047e-05 + "score": -0.0013329193461686373 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "ClassScope", + "GlobalScope", + "FileScope" ], "then": { "operation": "boost", - "score": 0.03138871118426323 + "score": 0.0352114662528038 }, "else": { "operation": "boost", - "score": -0.031134290620684624 + "score": -0.14502909779548645 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.00629357760772109 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.2794002592563629 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.12132924050092697 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09853137284517288 + }, + "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13130.5, "then": { "operation": "boost", - "score": -0.07051664590835571 + "score": 0.004259220324456692 }, "else": { - "operation": "boost", - "score": 0.031619906425476074 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.09578441083431244 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10309398919343948 + }, + "else": { + "operation": "boost", + "score": 0.05963708087801933 + } + } } - }, - "else": { + } + } + }, + "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": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.013656574301421642 + "score": -0.01354050263762474 }, "else": { "operation": "boost", - "score": -0.002182289259508252 + "score": 0.10588925331830978 } + }, + "else": { + "operation": "boost", + "score": 0.06015996262431145 } } } @@ -153827,861 +152092,625 @@ } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "FunctionScope" + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "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" - ], + "CCC_ClassOrStructTag", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2650.5, "then": { - "operation": "boost", - "score": 0.0421304814517498 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3276.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 11280.0, "then": { "operation": "boost", - "score": 0.052044156938791275 + "score": 0.11357587575912476 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9157.0, "then": { "operation": "boost", - "score": -0.13916759192943573 + "score": 0.01763412170112133 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 8623.0, "then": { "operation": "boost", - "score": 0.08850956708192825 + "score": 0.1365666538476944 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10480989515781403 - }, - "else": { - "operation": "boost", - "score": 0.11193714290857315 - } + "operation": "boost", + "score": 0.09703976660966873 } } } }, - "else": { - "operation": "boost", - "score": 0.08305781334638596 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.027185173705220222 - }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3052.0, "then": { "operation": "boost", - "score": 0.017445307224988937 + "score": 0.11286861449480057 }, "else": { "operation": "boost", - "score": -0.013647153973579407 + "score": 0.08247756212949753 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 353.5, "then": { - "operation": "boost", - "score": 0.019972972571849823 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.034212201833724976 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "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.14419162273406982 - }, - "else": { - "operation": "boost", - "score": -0.24642878770828247 - } - }, - "else": { - "operation": "boost", - "score": 0.11711082607507706 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1362333595752716 - }, - "else": { - "operation": "boost", - "score": -0.013394168578088284 - } - } - } + "operation": "boost", + "score": 0.03538462147116661 }, "else": { "operation": "boost", - "score": 0.03213193267583847 + "score": 0.11973344534635544 } }, "else": { "operation": "boost", - "score": 0.06494508683681488 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08877399563789368 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1280103474855423 - }, - "else": { - "operation": "boost", - "score": 0.11108766496181488 + "score": -0.10689559578895569 } }, "else": { "operation": "boost", - "score": 0.06886796653270721 + "score": 0.06842711567878723 } - }, - "else": { - "operation": "boost", - "score": 0.0068593695759773254 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02041255310177803 - }, - "else": { - "operation": "boost", - "score": 0.005603534169495106 } - } - }, - "else": { - "operation": "boost", - "score": 0.002366376807913184 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.004700152203440666 - }, - "else": { - "operation": "boost", - "score": -0.01584363542497158 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.0904824361205101 - }, - "else": { - "operation": "boost", - "score": 0.0030783116817474365 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03913431614637375 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008440503850579262 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.10395366698503494 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006373174488544464 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1340460181236267 - }, - "else": { - "operation": "boost", - "score": -0.035408053547143936 - } - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4094.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23353.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.021250467747449875 - }, - "else": { - "operation": "boost", - "score": -0.0004947890993207693 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0145637271925807 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8621.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12508.5, - "then": { - "operation": "boost", - "score": 0.10495214909315109 - }, - "else": { - "operation": "boost", - "score": 0.13194753229618073 - } - }, - "else": { - "operation": "boost", - "score": -0.11202005296945572 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16227.0, + "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": 20708.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.13109558820724487 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.028996620327234268 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20410.5, + "threshold": 31.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 12149.0, "then": { "operation": "boost", - "score": 0.04107561707496643 + "score": -0.3908306658267975 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1072661355137825 - }, - "else": { - "operation": "boost", - "score": 0.26414981484413147 - } + "operation": "boost", + "score": 0.021371984854340553 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.05625530332326889 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18335.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": 0.10122110694646835 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 21.0, "then": { "operation": "boost", - "score": -0.06590637564659119 + "score": 0.09597093611955643 }, "else": { - "operation": "boost", - "score": 0.09575600177049637 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.11849658191204071 + }, + "else": { + "operation": "boost", + "score": 0.1169624775648117 + } } - }, - "else": { - "operation": "boost", - "score": 0.09591519832611084 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06622906774282455 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5964.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9583.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1294018030166626 - }, - "else": { - "operation": "boost", - "score": 0.06652777642011642 - } - }, - "else": { - "operation": "boost", - "score": -0.10428941249847412 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.12989237904548645 }, "else": { - "operation": "boost", - "score": 0.11338407546281815 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5742.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.07446306198835373 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5839.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.1246432289481163 + "score": 0.22660233080387115 }, "else": { "operation": "boost", - "score": 0.10452329367399216 + "score": 0.021849697455763817 } - }, - "else": { - "operation": "boost", - "score": 0.11358462274074554 } - }, - "else": { - "operation": "boost", - "score": 0.04451186954975128 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06419233232736588 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10654.0, + "threshold": 12306.5, "then": { - "operation": "boost", - "score": -0.07336284965276718 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.011394676752388477 + }, + "else": { + "operation": "boost", + "score": 0.11279448121786118 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6150.0, + "threshold": 570.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6592.0, + "threshold": 801.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 5734.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11210912466049194 - }, - "else": { - "operation": "boost", - "score": -0.16157284379005432 - } + "operation": "boost", + "score": 0.037133049219846725 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 4708.5, "then": { "operation": "boost", - "score": 0.008892516605556011 + "score": 0.13562436401844025 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.20621910691261292 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8774.0, - "then": { - "operation": "boost", - "score": 0.1122189313173294 - }, - "else": { - "operation": "boost", - "score": 0.11164672672748566 - } - } + "operation": "boost", + "score": 0.07590613514184952 } } }, + "else": { + "operation": "boost", + "score": 0.003754277480766177 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 747.5, + "then": { + "operation": "boost", + "score": 0.10376159101724625 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10415.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 643.0, "then": { "operation": "boost", - "score": -0.10549374669790268 + "score": 0.06116314232349396 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11462907493114471 + "score": 0.09013713151216507 }, "else": { "operation": "boost", - "score": 0.08561906218528748 + "score": 0.1162264421582222 } } }, "else": { "operation": "boost", - "score": 0.04933226853609085 + "score": -0.036423586308956146 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 274.5, + "then": { + "operation": "boost", + "score": -0.12383008003234863 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6435.0, - "then": { - "operation": "boost", - "score": 0.10385908931493759 - }, - "else": { - "operation": "boost", - "score": 0.04934420809149742 - } + "operation": "boost", + "score": -0.09548220783472061 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 79.5, "then": { - "operation": "boost", - "score": -0.034910544753074646 + "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.13240809738636017 + "score": 0.02775774896144867 } } } - }, - "else": { - "operation": "boost", - "score": 0.00946429930627346 } } } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.11852744966745377 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03545086085796356 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7142.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018791818991303444 + } + }, + "else": { "operation": "boost", - "score": 0.13875266909599304 + "score": 0.09065687656402588 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 835.0, + "then": { + "operation": "boost", + "score": -0.020585540682077408 + }, + "else": { + "operation": "boost", + "score": 0.11426651477813721 + } }, "else": { "operation": "boost", - "score": 0.06330163031816483 + "score": 0.01815449260175228 } } + }, + "else": { + "operation": "boost", + "score": -0.01166196446865797 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "boost", - "score": -0.17633482813835144 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19035.0, + "threshold": 198.0, "then": { + "operation": "boost", + "score": -0.23181003332138062 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 171.0, "then": { "operation": "boost", - "score": 0.11391901969909668 + "score": 0.09772448241710663 }, "else": { "operation": "boost", - "score": 0.08127114176750183 + "score": 0.030894450843334198 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 313.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 323.5, + "then": { + "operation": "boost", + "score": -0.022094568237662315 + }, + "else": { + "operation": "boost", + "score": 0.1195901483297348 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14572398364543915 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.057071834802627563 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.6602993011474609 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.3564896881580353 + "score": 0.0702851414680481 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10905.0, - "then": { - "operation": "boost", - "score": 0.12581785023212433 - }, - "else": { - "operation": "boost", - "score": -0.5276732444763184 - } + "operation": "boost", + "score": 0.13916151225566864 } - }, - "else": { - "operation": "boost", - "score": -0.06674273312091827 } + }, + "else": { + "operation": "boost", + "score": 0.006041351705789566 } } + }, + "else": { + "operation": "boost", + "score": -0.0908157154917717 } } } @@ -154689,2573 +152718,2600 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4286.0, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.1742802858352661 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.12552276253700256 - }, - "else": { - "operation": "boost", - "score": 0.12084072828292847 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4140.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.039231978356838226 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4138.5, + "threshold": 12557.0, "then": { - "operation": "boost", - "score": 0.10810945183038712 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12619.0, + "then": { + "operation": "boost", + "score": 0.35770490765571594 + }, + "else": { + "operation": "boost", + "score": 0.11768218874931335 + } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07364863157272339 + }, + "else": { + "operation": "boost", + "score": 0.025558246299624443 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 96.5, "then": { - "operation": "boost", - "score": 0.045672569423913956 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.0, + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11650656163692474 + "score": 0.1534224897623062 }, "else": { - "operation": "boost", - "score": 0.08177491277456284 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 300.0, + "then": { + "operation": "boost", + "score": 0.16106769442558289 + }, + "else": { + "operation": "boost", + "score": 0.40318959951400757 + } + }, + "else": { + "operation": "boost", + "score": 0.10469558835029602 + } + }, + "else": { + "operation": "boost", + "score": 0.6714432239532471 + } } }, "else": { "operation": "boost", - "score": -0.009684029035270214 + "score": 0.07340915501117706 } + }, + "else": { + "operation": "boost", + "score": 0.03225495666265488 } }, "else": { "operation": "boost", - "score": -0.10878464579582214 + "score": 0.020877448841929436 } - }, - "else": { - "operation": "boost", - "score": -0.006695076357573271 } } + }, + "else": { + "operation": "boost", + "score": 0.005980978719890118 } + }, + "else": { + "operation": "boost", + "score": -0.06014958769083023 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.03409666195511818 + } + }, + "else": { + "operation": "boost", + "score": -0.00029140725382603705 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21123.0, + "threshold": 7097.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7329.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22533.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10105996578931808 - }, - "else": { - "operation": "boost", - "score": 0.15193763375282288 - } - }, - "else": { - "operation": "boost", - "score": -0.02015080861747265 - } + "operation": "boost", + "score": 0.0538821667432785 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7178.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.03431803360581398 + "score": 0.09241697192192078 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.09167295694351196 - }, - "else": { - "operation": "boost", - "score": 0.109439916908741 - } + "operation": "boost", + "score": 0.11107797920703888 } }, "else": { "operation": "boost", - "score": -0.07071076333522797 + "score": -0.2130768597126007 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.003724399022758007 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22681.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10794834792613983 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0002349172136746347 - }, - "else": { - "operation": "boost", - "score": 0.08385511487722397 - } - } + "operation": "boost", + "score": 0.0487385131418705 }, "else": { "operation": "boost", - "score": 0.00542348762974143 + "score": 0.11092821508646011 } - }, - "else": { - "operation": "boost", - "score": -0.10105662047863007 } } } }, "else": { - "operation": "boost", - "score": 0.026760704815387726 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.0, - "then": { - "operation": "boost", - "score": 0.11062471568584442 - }, - "else": { - "operation": "boost", - "score": -0.10594694316387177 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.12637361884117126 + "score": 0.04367908835411072 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3234.0, - "then": { - "operation": "boost", - "score": 0.09907526522874832 - }, - "else": { - "operation": "boost", - "score": 0.013149888254702091 - } + "operation": "boost", + "score": 0.027295725420117378 } }, "else": { - "operation": "boost", - "score": -0.013151411898434162 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11247716099023819 - }, - "else": { - "operation": "boost", - "score": 0.11297903954982758 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2606.5, - "then": { - "operation": "boost", - "score": 0.1183701604604721 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 431.0, + "threshold": 44.5, "then": { "operation": "boost", - "score": 0.05947503075003624 + "score": -0.1653704047203064 }, "else": { - "operation": "boost", - "score": 0.10788695514202118 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.204900860786438 + }, + "else": { + "operation": "boost", + "score": 0.10946809500455856 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3201.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3536.0, - "then": { - "operation": "boost", - "score": 0.062537282705307 }, "else": { "operation": "boost", - "score": 0.10646426677703857 + "score": 0.024967852979898453 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 708.5, + "threshold": 145.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.1860356330871582 - }, - "else": { - "operation": "boost", - "score": 0.02069668471813202 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 705.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.11427578330039978 + "score": 0.06104641780257225 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Type" ], "then": { - "operation": "boost", - "score": 0.07794862240552902 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 671.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1054108738899231 + "score": 0.05658352002501488 }, "else": { - "operation": "boost", - "score": -0.1367049515247345 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2467.0, - "then": { - "operation": "boost", - "score": -1.3812698125839233 - }, - "else": { - "operation": "boost", - "score": 0.03773261979222298 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10141333192586899 - }, - "else": { - "operation": "boost", - "score": -0.01695086620748043 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 535.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_TopLevel" ], "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.12451596558094025 + }, + "else": { + "operation": "boost", + "score": 0.08803266286849976 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 955.0, + "threshold": 274.5, "then": { "operation": "boost", - "score": 0.04558918625116348 + "score": 0.09754334390163422 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 240.5, "then": { "operation": "boost", - "score": 0.15247760713100433 + "score": 0.12276605516672134 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 156.5, "then": { "operation": "boost", - "score": 0.14806115627288818 + "score": 0.050687164068222046 }, "else": { "operation": "boost", - "score": 0.11686429381370544 + "score": 0.15378323197364807 } } } - }, - "else": { - "operation": "boost", - "score": 0.08435212075710297 } - }, - "else": { - "operation": "boost", - "score": 0.11513415724039078 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 479.0, - "then": { - "operation": "boost", - "score": 0.12016773968935013 - }, - "else": { - "operation": "boost", - "score": 0.10443329066038132 - } - }, - "else": { - "operation": "boost", - "score": -0.3726433217525482 - } + "operation": "boost", + "score": 0.0891265794634819 } } + }, + "else": { + "operation": "boost", + "score": 0.07715199887752533 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.03702174127101898 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.08691652119159698 - }, - "else": { - "operation": "boost", - "score": 0.13354171812534332 - } - }, - "else": { - "operation": "boost", - "score": 0.13167141377925873 - } + "operation": "boost", + "score": 0.004917928017675877 }, "else": { "operation": "boost", - "score": 0.030539685860276222 + "score": -0.04948277026414871 } } - }, - "else": { - "operation": "boost", - "score": 0.007490229327231646 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.5, - "then": { - "operation": "boost", - "score": 0.03227405995130539 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "boost", - "score": 0.11839768290519714 - }, - "else": { - "operation": "boost", - "score": -0.06535833328962326 - } - } + "operation": "boost", + "score": 0.11044688522815704 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5900.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 32.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.03262138366699219 + "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.12715409696102142 + "score": 0.048506226390600204 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7543.0, + "threshold": 30.5, "then": { "operation": "boost", - "score": 0.051230769604444504 + "score": 0.10658054798841476 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6955.5, - "then": { - "operation": "boost", - "score": 0.13625580072402954 - }, - "else": { - "operation": "boost", - "score": -0.05636241286993027 - } + "operation": "boost", + "score": -0.1372603476047516 } } }, "else": { - "operation": "boost", - "score": 0.01068774051964283 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 524.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], "then": { "operation": "boost", - "score": 0.059089675545692444 + "score": 0.025349218398332596 }, "else": { "operation": "boost", - "score": 0.08884221315383911 + "score": 0.00981551967561245 } - }, - "else": { - "operation": "boost", - "score": -0.006124476436525583 } } }, "else": { - "operation": "boost", - "score": -0.003837714670225978 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.004455797374248505 + }, + "else": { + "operation": "boost", + "score": 0.008813892491161823 + } } } - }, - "else": { - "operation": "boost", - "score": -0.0006872172234579921 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 145.5, + "threshold": 820317.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_Symbol" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3207.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "boost", + "score": 0.033176589757204056 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.03019004687666893 + "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": "NumReferences", - "threshold": 3454.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.06493683159351349 + "score": 0.10126413404941559 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6947.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10172.5, - "then": { - "operation": "boost", - "score": 0.08747359365224838 - }, - "else": { - "operation": "boost", - "score": 0.11795708537101746 - } - }, - "else": { - "operation": "boost", - "score": 0.03563491627573967 - } + "operation": "boost", + "score": 0.06525640934705734 } }, "else": { "operation": "boost", - "score": 0.15847811102867126 + "score": 0.014660126529633999 } } - }, - "else": { - "operation": "boost", - "score": -0.12753498554229736 } }, "else": { "operation": "boost", - "score": 0.010716138407588005 + "score": -0.12035848200321198 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 146.5, + "threshold": 1318535.0, "then": { + "operation": "boost", + "score": -0.7106292843818665 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "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_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09343675523996353 - }, - "else": { - "operation": "boost", - "score": 0.010331034660339355 - } + "operation": "boost", + "score": -0.048481062054634094 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.053512368351221085 + "score": 0.07408168166875839 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.685397207736969 + "score": 0.08104458451271057 }, "else": { - "operation": "boost", - "score": 0.09577930718660355 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05206086114048958 + }, + "else": { + "operation": "boost", + "score": 0.11023791879415512 + } } }, "else": { - "operation": "boost", - "score": -0.0023798546753823757 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07580988854169846 + }, + "else": { + "operation": "boost", + "score": 0.10537099093198776 + } } } } }, "else": { - "operation": "boost", - "score": 0.004165172576904297 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "boost", - "score": -0.10303079336881638 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39401.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.024554820731282234 + "score": 0.003296775044873357 }, "else": { "operation": "boost", - "score": 0.10700645297765732 + "score": -0.02178242988884449 } }, "else": { - "operation": "boost", - "score": 0.022853940725326538 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.08726978302001953 + }, + "else": { + "operation": "boost", + "score": 0.017077088356018066 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.01952960714697838 + "score": 0.03437560796737671 }, "else": { "operation": "boost", - "score": -0.21556347608566284 + "score": 0.03360496461391449 } } }, "else": { + "operation": "boost", + "score": 0.004431404173374176 + } + } + }, + "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": "boost", + "score": 0.006491901818662882 + }, + "else": { + "operation": "boost", + "score": -0.066767618060112 + } + } + }, + "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": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18672.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 308.0, + "threshold": 22073.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0939425379037857 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "boost", + "score": 0.0064019509591162205 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.01860407181084156 + }, + "else": { + "operation": "boost", + "score": 0.08369462937116623 + } + }, + "else": { + "operation": "boost", + "score": 0.028570514172315598 + } + } }, "else": { "operation": "boost", - "score": -0.31065279245376587 + "score": 0.008774415589869022 } }, "else": { "operation": "boost", - "score": -0.05322522297501564 + "score": 0.07211173325777054 } + }, + "else": { + "operation": "boost", + "score": 0.0019041515188291669 } + }, + "else": { + "operation": "boost", + "score": -0.06691868603229523 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2889360785484314 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 503.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.04942836984992027 + "score": -0.04030613973736763 }, "else": { - "operation": "boost", - "score": 0.09507041424512863 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.023107165470719337 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.1063629612326622 + }, + "else": { + "operation": "boost", + "score": -0.032753318548202515 + } + } } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10217446833848953 - }, - "else": { - "operation": "boost", - "score": 0.11049690842628479 - } - }, - "else": { - "operation": "boost", - "score": -0.19842396676540375 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Expression" + "CCC_SymbolOrNewName", + "CCC_Other" ], "then": { - "operation": "boost", - "score": 0.18265298008918762 - }, - "else": { - "operation": "boost", - "score": -0.11889541894197464 - } - }, - "else": { - "operation": "boost", - "score": 0.0317806713283062 - } - }, - "else": { - "operation": "boost", - "score": 0.0023836663458496332 - } - } - }, - "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": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.02397395856678486 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02643582783639431 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.5, + "then": { + "operation": "boost", + "score": -0.13260450959205627 + }, + "else": { + "operation": "boost", + "score": 0.07636731117963791 + } + }, + "else": { + "operation": "boost", + "score": 0.03031376376748085 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09567521512508392 + "score": -0.1588355004787445 }, "else": { "operation": "boost", - "score": 0.12996521592140198 + "score": 0.0807809829711914 } }, "else": { "operation": "boost", - "score": -0.10678871721029282 + "score": 0.08451105654239655 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10124050080776215 - }, - "else": { - "operation": "boost", - "score": -0.05361919477581978 - } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor" ], "then": { + "operation": "boost", + "score": 0.00796998105943203 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 700.0, "then": { - "operation": "boost", - "score": -0.31230318546295166 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 17.5, + "threshold": 762.5, "then": { "operation": "boost", - "score": 0.004500705748796463 + "score": -0.006801556330174208 }, "else": { "operation": "boost", - "score": -0.08081173151731491 + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10150878131389618 + "score": 0.0055674174800515175 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10411331802606583 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 3835.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 69.0, + "threshold": 3931.0, "then": { "operation": "boost", - "score": 0.41834399104118347 + "score": 0.0781218409538269 }, "else": { "operation": "boost", - "score": 0.1301994025707245 + "score": 0.10180730372667313 } }, "else": { "operation": "boost", - "score": -0.032607175409793854 + "score": -0.009851234033703804 } }, - "else": { - "operation": "boost", - "score": 0.06651804596185684 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07355277240276337 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.145268976688385 + "score": 0.052207838743925095 }, "else": { - "operation": "boost", - "score": 0.13787737488746643 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.012049822136759758 - } - } - }, - "else": { - "operation": "boost", - "score": -0.16284126043319702 - } - }, - "else": { - "operation": "boost", - "score": 0.02780805714428425 - } - }, - "else": { - "operation": "boost", - "score": -0.06448359042406082 - } - }, - "else": { - "operation": "boost", - "score": -0.0015713309403508902 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.0481426976621151 + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 462.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 481.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.034864820539951324 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1419.5, + "then": { + "operation": "boost", + "score": 0.07487404346466064 + }, + "else": { + "operation": "boost", + "score": 0.11836866289377213 + } + } + }, + "else": { + "operation": "boost", + "score": 0.025570763275027275 + } + }, + "else": { + "operation": "boost", + "score": 0.12236981093883514 + } + }, + "else": { + "operation": "boost", + "score": 0.06224014610052109 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10866522043943405 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 351.5, "then": { - "operation": "boost", - "score": -0.13352571427822113 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21.0, + "threshold": 352.5, "then": { "operation": "boost", - "score": 0.10493486374616623 + "score": 0.04521864652633667 }, "else": { - "operation": "boost", - "score": 0.11158931255340576 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10222271829843521 + }, + "else": { + "operation": "boost", + "score": 0.12389284372329712 + } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0076081957668066025 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 125.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07490348070859909 + "score": -0.049301356077194214 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.23552459478378296 + "score": 0.04461628198623657 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.21674828231334686 + "score": -0.12040358781814575 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.616887092590332 + "score": 0.04898682236671448 }, "else": { "operation": "boost", - "score": 0.06628531962633133 + "score": 0.042672932147979736 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11713437736034393 - }, - "else": { - "operation": "boost", - "score": 0.2267863005399704 - } } + } + }, + "else": { + "operation": "boost", + "score": 0.002117577474564314 + } + }, + "else": { + "operation": "boost", + "score": -0.007446447387337685 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.058147333562374115 + }, + "else": { + "operation": "boost", + "score": 0.013722056522965431 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3341.0, + "then": { + "operation": "boost", + "score": 0.023558620363473892 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02822856418788433 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "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": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.044381044805049896 + "score": -0.11445274204015732 }, "else": { "operation": "boost", - "score": 0.14620926976203918 + "score": 0.02586863376200199 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1008208766579628 - }, - "else": { - "operation": "boost", - "score": -0.3531353771686554 - } + "operation": "boost", + "score": -0.131847083568573 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09037066996097565 + "score": 0.0171373151242733 }, "else": { "operation": "boost", - "score": -0.06320878863334656 + "score": -0.023590756580233574 } } + }, + "else": { + "operation": "boost", + "score": -0.01432056725025177 } - }, - "else": { - "operation": "boost", - "score": -0.05989817902445793 } } + }, + "else": { + "operation": "boost", + "score": -0.0289535541087389 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.11378437280654907 - }, - "else": { - "operation": "boost", - "score": 0.04934624955058098 - } - }, - "else": { - "operation": "boost", - "score": 0.053478728979825974 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.026640819385647774 - }, - "else": { - "operation": "boost", - "score": 0.0351141095161438 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 77.5, + "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 113.5, + "threshold": 60.0, "then": { - "operation": "boost", - "score": -0.11323428899049759 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.14700493216514587 + "score": -0.008419912308454514 }, "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09386852383613586 - }, - "else": { - "operation": "boost", - "score": -0.0036159607116132975 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17075230181217194 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1018630713224411 - }, - "else": { - "operation": "boost", - "score": -0.12362442165613174 - } - } - } + "operation": "boost", + "score": 0.0702512338757515 }, "else": { "operation": "boost", - "score": 0.011304355226457119 + "score": 0.10123966634273529 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "boost", + "score": 0.12260088324546814 + }, + "else": { + "operation": "boost", + "score": 0.08786381036043167 + } } }, "else": { "operation": "boost", - "score": 0.12826870381832123 + "score": -0.0642678439617157 } }, "else": { - "operation": "boost", - "score": 0.02276722900569439 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.13534995913505554 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1515735238790512 + }, + "else": { + "operation": "boost", + "score": -0.22943854331970215 + } + }, + "else": { + "operation": "boost", + "score": 0.07611840963363647 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04713740199804306 + } } }, "else": { + "operation": "boost", + "score": 0.050599001348018646 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 542.5, "then": { - "operation": "boost", - "score": 0.022589584812521935 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12096067517995834 + }, + "else": { + "operation": "boost", + "score": 0.07269325852394104 + } }, "else": { - "operation": "boost", - "score": -0.08682337403297424 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04673929512500763 + } } }, "else": { "operation": "boost", - "score": 0.007985895499587059 + "score": 0.11373381316661835 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0018128571100533009 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.03432682156562805 + "score": 0.1245064064860344 }, "else": { "operation": "boost", - "score": -0.10557202249765396 + "score": 0.08815103769302368 } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.015455747954547405 + }, + "else": { + "operation": "boost", + "score": 0.07651519775390625 + } + }, + "else": { + "operation": "boost", + "score": 0.0006743604899384081 + } } }, "else": { "operation": "boost", - "score": -0.019612520933151245 + "score": 0.0059097143821418285 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.08368232101202011 + } + } + }, + { + "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.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.19200602173805237 - }, - "else": { - "operation": "boost", - "score": 0.07811111211776733 - } + "operation": "boost", + "score": 0.0058842371217906475 }, "else": { "operation": "boost", - "score": -0.11989904940128326 + "score": 0.028064146637916565 } }, "else": { "operation": "boost", - "score": -0.05637986585497856 + "score": -9.784966096049175e-05 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.08121204376220703 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.10544083267450333 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.007863426581025124 + "score": 0.01717926561832428 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 359.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.01809586025774479 + "score": 0.07757803052663803 }, "else": { "operation": "boost", - "score": 0.0073074414394795895 + "score": -0.2535499334335327 } }, "else": { + "operation": "boost", + "score": -0.1903197318315506 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": -0.12504830956459045 + }, + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { - "operation": "boost", - "score": 0.004268393386155367 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, "then": { "operation": "boost", - "score": 0.03205565735697746 + "score": 0.11132701486349106 }, "else": { + "operation": "boost", + "score": -0.20468683540821075 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.049979399889707565 - }, - "else": { - "operation": "boost", - "score": -0.16864196956157684 - } + "operation": "boost", + "score": -0.028281722217798233 }, "else": { "operation": "boost", - "score": -0.025233544409275055 + "score": 0.07601949572563171 } + }, + "else": { + "operation": "boost", + "score": -0.25990962982177734 } } }, "else": { - "operation": "boost", - "score": -0.03047066368162632 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": -0.38791555166244507 + }, + "else": { + "operation": "boost", + "score": -0.14910481870174408 + } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", - "Constructor" + "Constructor", + "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.014427142217755318 + }, + "else": { + "operation": "boost", + "score": -0.11319008469581604 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 318692.5, "then": { + "operation": "boost", + "score": -0.1285344958305359 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.049401894211769104 + "score": 0.06386164575815201 }, "else": { "operation": "boost", - "score": 0.08045333623886108 + "score": 0.10732876509428024 } - }, - "else": { - "operation": "boost", - "score": 0.0361144095659256 } }, - "else": { - "operation": "boost", - "score": 0.0047444370575249195 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.007078582886606455 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11276739090681076 + "score": -0.8039416074752808 }, "else": { - "operation": "boost", - "score": 0.009552359580993652 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04040331393480301 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 247381.5, "then": { "operation": "boost", - "score": 0.12084515392780304 + "score": -0.2505616247653961 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11121612042188644 - }, - "else": { - "operation": "boost", - "score": 0.032676804810762405 - } - }, - "else": { - "operation": "boost", - "score": -0.20238597691059113 - } + "operation": "boost", + "score": 0.05256318673491478 } - }, - "else": { - "operation": "boost", - "score": 0.07950844615697861 } } }, "else": { "operation": "boost", - "score": 0.03389713540673256 + "score": -0.7563222050666809 } } }, "else": { "operation": "boost", - "score": -0.003934226930141449 + "score": -0.09183484315872192 } } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.005555439740419388 - } - } - } - }, - { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "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": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14046405255794525 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029323101043701172 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11949426680803299 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 203783.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.08528459072113037 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0865892767906189 + }, + "else": { + "operation": "boost", + "score": 0.07733647525310516 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.27877554297447205 + }, + "else": { + "operation": "boost", + "score": 0.05076202005147934 + } + } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.020203126594424248 + "score": -0.2998804450035095 }, "else": { "operation": "boost", - "score": 0.10762926191091537 + "score": 0.03497501462697983 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09458748996257782 - }, - "else": { - "operation": "boost", - "score": 0.1149306669831276 - } + "operation": "boost", + "score": 0.0013266172027215362 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02561279758810997 - }, - "else": { - "operation": "boost", - "score": -0.0005681586335413158 - } + "operation": "boost", + "score": 0.038543619215488434 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.018649470061063766 - }, - "else": { - "operation": "boost", - "score": 0.06408890336751938 - } + "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.018778741359710693 + "score": 0.008673684671521187 } - }, - "else": { - "operation": "boost", - "score": 0.00625722436234355 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Namespace" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.023206481710076332 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.03590448945760727 - }, - "else": { - "operation": "boost", - "score": -0.05905624106526375 - } + "operation": "boost", + "score": 0.08722574263811111 }, "else": { - "operation": "boost", - "score": -0.026596534997224808 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.020639749243855476 + "score": 0.12464483082294464 }, "else": { "operation": "boost", - "score": 0.052275337278842926 + "score": 0.08186306059360504 } }, "else": { "operation": "boost", - "score": 0.01148530375212431 + "score": 0.12947039306163788 } - }, - "else": { - "operation": "boost", - "score": -0.015240454114973545 } }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06463862210512161 + "score": -0.09528782218694687 }, "else": { "operation": "boost", - "score": 0.008175655268132687 + "score": 0.0944695770740509 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2001781463623047 }, "else": { "operation": "boost", - "score": -0.07195653021335602 + "score": 0.06029253453016281 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.008549202233552933 - }, - "else": { - "operation": "boost", - "score": -0.13642849028110504 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.017603034153580666 + "score": 0.02039957605302334 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 741.0, + "then": { + "operation": "boost", + "score": 0.08691812306642532 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.03232429549098015 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10237088799476624 + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 161.5, + "then": { + "operation": "boost", + "score": 0.0457441583275795 + }, + "else": { + "operation": "boost", + "score": 0.1129620149731636 + } }, "else": { "operation": "boost", - "score": 0.09954092651605606 + "score": -0.003968546167016029 } } }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.15151894092559814 + }, + "else": { + "operation": "boost", + "score": 0.09434956312179565 + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185.5, + "then": { + "operation": "boost", + "score": -0.5840075612068176 + }, "else": { "operation": "boost", - "score": 0.07480590790510178 + "score": 0.17112332582473755 } }, + "else": { + "operation": "boost", + "score": 0.028971469029784203 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.027242233976721764 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.07339786738157272 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.03278029337525368 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09629878401756287 - }, - "else": { - "operation": "boost", - "score": 0.1452239602804184 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13129979372024536 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 15.5, "then": { "operation": "boost", - "score": 0.10646186769008636 + "score": 0.0967206135392189 }, "else": { "operation": "boost", - "score": 0.23147575557231903 + "score": 0.002971793757751584 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.047940999269485474 - }, - "else": { - "operation": "boost", - "score": 0.0856543555855751 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 387.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.09656397253274918 + "score": 0.08462608605623245 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11516261845827103 + "score": 0.10348476469516754 }, "else": { "operation": "boost", - "score": -0.6208801865577698 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.01884947344660759 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.05889744684100151 - }, - "else": { - "operation": "boost", - "score": 0.12331275641918182 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.3314296305179596 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1288149207830429 - }, - "else": { - "operation": "boost", - "score": -0.17309442162513733 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01714315637946129 - }, - "else": { - "operation": "boost", - "score": 0.04899003729224205 - } + "score": 0.10722570866346359 } } } @@ -157263,680 +155319,716 @@ }, "else": { "operation": "boost", - "score": -0.06776288151741028 + "score": 0.006333892233669758 } + }, + "else": { + "operation": "boost", + "score": 0.05839492753148079 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + } + } + } + }, + "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": "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.10839780420064926 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.0017865264089778066 + }, + "else": { + "operation": "boost", + "score": -0.2189343273639679 + } }, "else": { "operation": "boost", - "score": 0.07426582276821136 + "score": -0.030233316123485565 } }, "else": { - "operation": "boost", - "score": -0.0036573726683855057 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.08183750510215759 + }, + "else": { + "operation": "boost", + "score": 0.11296091973781586 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11663958430290222 + }, + "else": { + "operation": "boost", + "score": -0.13605482876300812 + } + }, + "else": { + "operation": "boost", + "score": -0.03382200747728348 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16752755641937256 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], + "operation": "boost", + "score": -0.01602153666317463 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.024487314745783806 - }, - "else": { - "operation": "boost", - "score": -0.24687622487545013 - } + "operation": "boost", + "score": -0.03699526935815811 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.11891351640224457 + "score": 0.10823224484920502 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10165487229824066 - }, - "else": { - "operation": "boost", - "score": 0.10618536919355392 - } - }, - "else": { - "operation": "boost", - "score": 0.06503807008266449 - } - }, - "else": { - "operation": "boost", - "score": 0.07304146885871887 - } + "operation": "boost", + "score": 0.05839142948389053 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.054005030542612076 + "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.12941522896289825 + "score": -0.03999272361397743 } }, "else": { "operation": "boost", - "score": 0.02815825492143631 + "score": 0.10259576886892319 } }, "else": { "operation": "boost", - "score": -0.021090121939778328 + "score": -0.37892812490463257 } } } }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09994487464427948 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0726621150970459 - }, - "else": { - "operation": "boost", - "score": -0.0494844913482666 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06815805286169052 - }, "else": { "operation": "boost", - "score": 0.009522880427539349 + "score": -0.059933654963970184 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.02595805749297142 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10839461535215378 + "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": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.0219903364777565 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1275281012058258 + "score": 0.00036917137913405895 }, "else": { - "operation": "boost", - "score": 0.1183461993932724 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10975395888090134 + }, + "else": { + "operation": "boost", + "score": 0.12428901344537735 + } } }, "else": { - "operation": "boost", - "score": 0.07268883287906647 + "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 + } } - }, - "else": { - "operation": "boost", - "score": 0.003999317996203899 } } } } } + }, + "else": { + "operation": "boost", + "score": -0.001676475745625794 } + }, + "else": { + "operation": "boost", + "score": -0.025444669649004936 } - }, - "else": { - "operation": "boost", - "score": -0.0012059463188052177 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02037198469042778 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018199052661657333 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.12000320851802826 + }, + "else": { + "operation": "boost", + "score": 0.09605144709348679 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.07249245792627335 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3764133155345917 + }, + "else": { + "operation": "boost", + "score": -0.15574558079242706 + } + } + } + } }, "else": { "operation": "boost", - "score": -0.12175209075212479 + "score": -0.017543643712997437 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Statement", "CCC_Namespace", - "CCC_ClassOrStructTag" + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.028552722185850143 + "score": -0.004859523382037878 }, "else": { + "operation": "boost", + "score": -0.07208352535963058 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0018479072023183107 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87006.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": 241916.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": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.08902497589588165 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "boost", - "score": 0.021149976179003716 + "score": 0.06720120459794998 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 443558.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.027289563789963722 - }, - "else": { - "operation": "boost", - "score": -0.02652827464044094 - } + "operation": "boost", + "score": -0.21968968212604523 }, "else": { + "operation": "boost", + "score": -0.005449157208204269 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 337965.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1095.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.03037959896028042 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.4360460042953491 + }, + "else": { + "operation": "boost", + "score": 0.09541334211826324 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 986.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018520493060350418 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1018.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1025.5, - "then": { - "operation": "boost", - "score": 0.15473273396492004 - }, - "else": { - "operation": "boost", - "score": 0.24873796105384827 - } - }, - "else": { - "operation": "boost", - "score": -0.2954399883747101 - } - }, - "else": { - "operation": "boost", - "score": 0.11093293875455856 - } - } + "operation": "boost", + "score": 0.11601392179727554 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01279406063258648 - }, - "else": { - "operation": "boost", - "score": 0.11970856040716171 - } - }, - "else": { - "operation": "boost", - "score": -0.09459567070007324 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.13131864368915558 - }, - "else": { - "operation": "boost", - "score": -0.1359216719865799 - } - } - }, - "else": { - "operation": "boost", - "score": 0.017265019938349724 - } - }, - "else": { - "operation": "boost", - "score": -0.013027649372816086 - } + "operation": "boost", + "score": 0.07263907045125961 } } + }, + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", + "CCC_EnumTag", + "CCC_Statement", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.17067889869213104 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.0968577116727829 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.08116026967763901 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "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": "NumReferences", - "threshold": 30.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03405294194817543 + "score": 0.05359027162194252 }, "else": { "operation": "boost", - "score": 0.11828576773405075 + "score": -0.17357368767261505 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.05471596494317055 - }, - "else": { - "operation": "boost", - "score": 0.05635223910212517 - } + "operation": "boost", + "score": -0.5223464965820312 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.01532066985964775 }, "else": { "operation": "boost", - "score": -0.048134587705135345 + "score": -0.02531570754945278 } } - }, - "else": { + } + }, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04734271392226219 + "score": 0.057765062898397446 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.23503412306308746 - }, - "else": { - "operation": "boost", - "score": 0.11022733151912689 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.0, - "then": { - "operation": "boost", - "score": 0.11158730089664459 - }, - "else": { - "operation": "boost", - "score": -0.01147647574543953 - } - } + "operation": "boost", + "score": 0.12631365656852722 } + }, + "else": { + "operation": "boost", + "score": -0.1017947718501091 } - }, - "else": { - "operation": "boost", - "score": -0.0042550875805318356 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15918.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": -0.016131047159433365 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1046559289097786 }, "else": { "operation": "if_greater", @@ -157944,1288 +156036,924 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05814338102936745 + "score": 0.05158914625644684 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12970882654190063 - }, - "else": { - "operation": "boost", - "score": 0.11155012995004654 - } + "operation": "boost", + "score": -0.058912813663482666 }, "else": { "operation": "boost", - "score": 0.1251402348279953 + "score": 0.09753041714429855 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118314.0, - "then": { - "operation": "boost", - "score": -0.28663599491119385 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": 0.11391419917345047 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18069.5, - "then": { - "operation": "boost", - "score": 0.08102424442768097 - }, - "else": { - "operation": "boost", - "score": 0.17678877711296082 - } - } - } + "operation": "boost", + "score": 0.0645519569516182 } } } + }, + "else": { + "operation": "boost", + "score": -0.07494128495454788 } + } + }, + "else": { + "operation": "boost", + "score": -0.12916016578674316 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04612626135349274 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.094652459025383 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.19974781572818756 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.12854520976543427 + }, + "else": { + "operation": "boost", + "score": 0.09223441034555435 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.1146816611289978 + "score": 0.14596281945705414 }, "else": { "operation": "boost", - "score": -0.004293380305171013 + "score": -0.1417653113603592 } } - }, - "else": { - "operation": "boost", - "score": -0.03942570835351944 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005928733735345304 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16643927991390228 - }, - "else": { - "operation": "boost", - "score": -0.11417285352945328 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08472695201635361 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.033851660788059235 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.1973620057106018 - }, - "else": { - "operation": "boost", - "score": 0.06362210214138031 - } - }, - "else": { - "operation": "boost", - "score": 0.0766351968050003 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.37696900963783264 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.004381897393614054 }, "else": { "operation": "boost", - "score": -0.12773053348064423 + "score": -0.0651002749800682 } } }, "else": { - "operation": "boost", - "score": 0.015119384974241257 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.100050188601017 - }, - "else": { - "operation": "boost", - "score": -0.10892841964960098 - } - }, - "else": { "operation": "boost", - "score": 0.18502342700958252 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1111341342329979 - }, - "else": { - "operation": "boost", - "score": 0.2343982756137848 - } + "score": -0.37038150429725647 }, "else": { "operation": "boost", - "score": 0.03332582488656044 + "score": -0.1496889889240265 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.08360280096530914 }, "else": { - "operation": "boost", - "score": 0.00952711421996355 - } - }, - "else": { - "operation": "boost", - "score": -0.03732029348611832 - } - } - }, - "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": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 204563.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1984.0, + "threshold": 205637.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", + "CCC_ClassStructUnion", "CCC_Statement", + "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 212623.0, "then": { - "operation": "boost", - "score": 0.04335498809814453 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 236336.5, "then": { - "operation": "boost", - "score": 0.14210455119609833 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2571.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { + "operation": "boost", + "score": 0.12592624127864838 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.5180009603500366 + "score": -0.24703523516654968 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13599.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.06451418250799179 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 1.234650731086731 + "score": 0.0597439780831337 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.08277780562639236 + "score": 0.11779148131608963 }, "else": { "operation": "boost", - "score": 0.12542514503002167 + "score": -0.11376678198575974 } } - }, - "else": { - "operation": "boost", - "score": 0.08188578486442566 } } - }, - "else": { - "operation": "boost", - "score": -0.09934796392917633 } }, "else": { "operation": "boost", - "score": 0.11151640862226486 + "score": 0.028992824256420135 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20439.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { - "operation": "boost", - "score": 0.038417425006628036 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1303272694349289 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.14151550829410553 - }, - "else": { - "operation": "boost", - "score": 0.2990220785140991 - } - } + "operation": "boost", + "score": 0.09727024286985397 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.22535251080989838 - }, - "else": { - "operation": "boost", - "score": 0.09694370627403259 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3537.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 6261.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.021041264757514 + "score": 0.014109600335359573 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5352.5, - "then": { - "operation": "boost", - "score": 0.14737224578857422 - }, - "else": { - "operation": "boost", - "score": 0.06862131506204605 - } + "operation": "boost", + "score": 0.08757229149341583 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10196670889854431 - }, - "else": { - "operation": "boost", - "score": 0.07878807187080383 - } + "operation": "boost", + "score": -0.23994584381580353 } }, "else": { - "operation": "boost", - "score": -0.014192991890013218 - } - }, - "else": { - "operation": "boost", - "score": -0.07139729708433151 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2989.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3296.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "boost", + "score": -0.11200535297393799 + }, + "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": 15.5, - "then": { - "operation": "boost", - "score": 0.10081366449594498 - }, - "else": { - "operation": "boost", - "score": 0.12391935288906097 - } + "operation": "boost", + "score": -0.2057962715625763 }, "else": { "operation": "boost", - "score": 0.08210331946611404 + "score": -0.5412164330482483 } - }, - "else": { - "operation": "boost", - "score": 0.012397967278957367 } - }, - "else": { - "operation": "boost", - "score": 0.11916999518871307 } - }, - "else": { - "operation": "boost", - "score": 0.014659532345831394 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.06982045620679855 + }, + "else": { + "operation": "boost", + "score": -0.34024569392204285 + } } + }, + "else": { + "operation": "boost", + "score": -0.0016389169031754136 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025471525266766548 - }, - "else": { - "operation": "boost", - "score": -0.02710026316344738 - } - }, - "else": { - "operation": "boost", - "score": 0.005862342193722725 - } - }, - "else": { - "operation": "boost", - "score": -0.04166983813047409 - } + "operation": "boost", + "score": -0.018144046887755394 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.004797352012246847 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06331543624401093 - }, - "else": { - "operation": "boost", - "score": -0.020176948979496956 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, - "then": { - "operation": "boost", - "score": -2.2844946215627715e-05 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 321.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 841.5, - "then": { - "operation": "boost", - "score": 0.06370740383863449 - }, - "else": { - "operation": "boost", - "score": 0.10784042626619339 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06865393370389938 - }, - "else": { - "operation": "boost", - "score": -0.051531821489334106 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.12978145480155945 - }, - "else": { - "operation": "boost", - "score": -0.03502044454216957 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13602527976036072 - }, - "else": { - "operation": "boost", - "score": -0.5523766875267029 - } + "operation": "boost", + "score": 0.12104043364524841 }, "else": { "operation": "boost", - "score": 0.1204075962305069 + "score": 0.06413096934556961 } }, - "else": { - "operation": "boost", - "score": -0.07680588215589523 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10289177298545837 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.005071986932307482 + "score": 0.10146079957485199 }, "else": { - "operation": "boost", - "score": -0.16043998301029205 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.006047680042684078 - }, - "else": { - "operation": "boost", - "score": 0.17615723609924316 - } - }, - "else": { - "operation": "boost", - "score": -0.41927972435951233 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03366865962743759 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07076982408761978 - }, - "else": { - "operation": "boost", - "score": 0.1081639975309372 - } + "operation": "boost", + "score": 0.0834541916847229 }, "else": { "operation": "boost", - "score": 0.11634444445371628 + "score": 0.11873649805784225 } - }, - "else": { - "operation": "boost", - "score": 0.12632538378238678 } } }, "else": { "operation": "boost", - "score": 0.02941322885453701 + "score": 0.02464512176811695 } - }, - "else": { - "operation": "boost", - "score": 0.047911137342453 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.011503700166940689 }, "else": { "operation": "boost", - "score": -0.13256897032260895 + "score": -0.11286065727472305 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.008147544227540493 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 124731.0, "then": { + "operation": "boost", + "score": -0.02224287949502468 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.029905492439866066 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 107411.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 123410.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11533419787883759 - }, - "else": { - "operation": "boost", - "score": -0.8682343363761902 - } - }, - "else": { - "operation": "boost", - "score": 0.05929507687687874 - } + "operation": "boost", + "score": 0.11129455268383026 }, "else": { "operation": "boost", - "score": 0.011558571830391884 + "score": -0.1958032101392746 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 705.0, + "threshold": 92954.5, "then": { "operation": "boost", - "score": 0.15958765149116516 + "score": 0.061929695308208466 }, "else": { "operation": "boost", - "score": 0.06733550876379013 + "score": 0.13999700546264648 } }, "else": { - "operation": "boost", - "score": -0.0050606923177838326 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93017.5, + "then": { + "operation": "boost", + "score": 0.10489355772733688 + }, + "else": { + "operation": "boost", + "score": -0.11439347267150879 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2298.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2885.5, + "threshold": 89117.0, "then": { "operation": "boost", - "score": 0.07199132442474365 + "score": -0.050913408398628235 }, "else": { "operation": "boost", - "score": 0.1114518940448761 + "score": 0.14416183531284332 } }, "else": { + "operation": "boost", + "score": 0.07099207490682602 + } + }, + "else": { + "operation": "boost", + "score": 0.11880061775445938 + } + } + } + }, + "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.09706656634807587 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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": 2.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.09970977902412415 - }, - "else": { - "operation": "boost", - "score": -1.6745355129241943 - } + "operation": "boost", + "score": 0.09162356704473495 }, "else": { "operation": "boost", - "score": -0.25064682960510254 + "score": 0.09216956794261932 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03579896688461304 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.12350668013095856 + "score": -0.1063123345375061 }, "else": { - "operation": "boost", - "score": 0.12091023474931717 + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 104520.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.1417713612318039 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11645212024450302 + "score": 0.05321686714887619 }, "else": { "operation": "boost", - "score": -0.13747090101242065 + "score": 0.10408013314008713 } - }, - "else": { - "operation": "boost", - "score": 0.041345857083797455 } + }, + "else": { + "operation": "boost", + "score": 0.015834052115678787 } - }, - "else": { - "operation": "boost", - "score": 0.03840618580579758 } - } - }, - "else": { - "operation": "boost", - "score": -0.004565688781440258 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08872058242559433 - }, - "else": { - "operation": "boost", - "score": 0.13746486604213715 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.015594132244586945 + "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.06546047329902649 + }, + "else": { + "operation": "boost", + "score": -0.1857205480337143 + } + }, + "else": { + "operation": "boost", + "score": -0.0009094633278436959 + } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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": "NumReferences", - "threshold": 88.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0964381992816925 + "score": 0.04634026437997818 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.08442322164773941 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.10268668830394745 + "score": 0.08846881240606308 } } }, "else": { "operation": "boost", - "score": 0.02031002566218376 + "score": -0.05740068852901459 } } + } + } + }, + "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.031262319535017014 + "score": -0.2520313262939453 } }, "else": { "operation": "boost", - "score": -0.059280794113874435 + "score": -0.06185571849346161 } } }, "else": { - "operation": "boost", - "score": -0.09565550833940506 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25503.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27413.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.03294261917471886 + "score": -0.1342821717262268 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 92051.0, "then": { "operation": "boost", - "score": 0.1169680505990982 + "score": -0.03287314996123314 }, "else": { - "operation": "boost", - "score": 0.11404198408126831 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1068832129240036 + }, + "else": { + "operation": "boost", + "score": 0.10980738699436188 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.21157829463481903 + }, + "else": { + "operation": "boost", + "score": -0.24666623771190643 + } + }, + "else": { + "operation": "boost", + "score": 0.027038993313908577 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.019073346629738808 } } } @@ -159234,2946 +156962,3757 @@ }, "else": { "operation": "boost", - "score": -0.009232628159224987 + "score": -0.02322203479707241 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { + "operation": "boost", + "score": 0.016843924298882484 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 110939.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06033329665660858 - }, - "else": { - "operation": "boost", - "score": -0.023209216073155403 - } - }, - "else": { - "operation": "boost", - "score": 0.030163416638970375 - } - }, - "else": { - "operation": "boost", - "score": 0.030668169260025024 - } + "operation": "boost", + "score": 0.009677066467702389 }, "else": { "operation": "boost", - "score": 0.02211533486843109 + "score": -0.22609955072402954 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.6716023683547974 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03924911841750145 + "score": 0.07488028705120087 }, "else": { "operation": "boost", - "score": 0.009217340499162674 + "score": 0.06472869217395782 } - }, - "else": { - "operation": "boost", - "score": 0.007609397638589144 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49723.5, + "then": { + "operation": "boost", + "score": -0.0923863872885704 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, "then": { - "operation": "boost", - "score": 0.003565749619156122 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006124857347458601 - }, - "else": { - "operation": "boost", - "score": -0.03127295523881912 - } - }, - "else": { - "operation": "boost", - "score": -0.08244045078754425 - } + "operation": "boost", + "score": 0.11150621622800827 }, "else": { "operation": "boost", - "score": -0.010587195865809917 + "score": 0.06120527535676956 } + }, + "else": { + "operation": "boost", + "score": 0.004330262541770935 } } + }, + "else": { + "operation": "boost", + "score": -0.0008136239484883845 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 111.5, + "threshold": 820317.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_EnumTag", - "CCC_Symbol" + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3207.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.029983099550008774 + "score": 0.030133714899420738 }, "else": { - "operation": "boost", - "score": -0.1212221086025238 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { "operation": "boost", - "score": -0.10005678981542587 + "score": 0.09081719815731049 }, "else": { "operation": "boost", - "score": 0.10399732738733292 + "score": 0.10331472754478455 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1610.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1777.5, - "then": { - "operation": "boost", - "score": -0.1010839194059372 - }, - "else": { - "operation": "boost", - "score": 0.13051678240299225 - } - }, - "else": { - "operation": "boost", - "score": 0.09280191361904144 - } + "operation": "boost", + "score": 0.07479199022054672 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.0011817042250186205 + "score": 0.06656645238399506 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.11643507331609726 - }, - "else": { - "operation": "boost", - "score": 0.09415657073259354 - } + "operation": "boost", + "score": 0.0028658187948167324 } } } + } + }, + "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.007541078608483076 + "score": -0.20487385988235474 } + }, + "else": { + "operation": "boost", + "score": 0.0871398001909256 } - }, - "else": { - "operation": "boost", - "score": 0.003860732074826956 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "boost", + "score": -0.025341080501675606 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11008115857839584 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.16258953511714935 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11072416603565216 - }, - "else": { - "operation": "boost", - "score": 0.10347290337085724 - } - } - } + "operation": "boost", + "score": 0.036914221942424774 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10533502697944641 - }, - "else": { - "operation": "boost", - "score": 0.12212184816598892 - } - }, - "else": { - "operation": "boost", - "score": -0.12616489827632904 - } + "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": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07403313368558884 + }, + "else": { + "operation": "boost", + "score": -0.030524635687470436 + } + } + } + } + }, + "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": [ + "Keyword", + "Variable", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2067.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.06781518459320068 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 324.5, + "threshold": 48040.5, "then": { "operation": "boost", - "score": 0.06639542430639267 + "score": 0.11754170805215836 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.5, - "then": { - "operation": "boost", - "score": 0.11963359266519547 - }, - "else": { - "operation": "boost", - "score": -0.13865749537944794 - } + "operation": "boost", + "score": 0.0681162178516388 } - } - }, - "else": { - "operation": "boost", - "score": 0.040922943502664566 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12101756036281586 }, "else": { "operation": "boost", - "score": 0.1177653968334198 + "score": 0.0162896066904068 } }, "else": { - "operation": "boost", - "score": 0.06687703728675842 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03240152448415756 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1272.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5950.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.004492617677897215 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6653.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "boost", + "score": 0.013235291466116905 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.10900713503360748 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.013556082732975483 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18549659848213196 + } + } }, "else": { "operation": "boost", - "score": 0.11271964013576508 + "score": 0.049247000366449356 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0934576541185379 + "score": 0.08167044073343277 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.09145604819059372 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 200716.0, "then": { "operation": "boost", - "score": 0.18309982120990753 + "score": 0.10336281359195709 }, "else": { "operation": "boost", - "score": 0.1156255230307579 + "score": 0.190157949924469 } + }, + "else": { + "operation": "boost", + "score": 0.11495033651590347 } } + }, + "else": { + "operation": "boost", + "score": 0.0795573741197586 } } - }, - "else": { - "operation": "boost", - "score": -0.020746173337101936 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1261.0, + "threshold": 2236.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.114906907081604 - }, - "else": { - "operation": "boost", - "score": -0.09294173121452332 - } + "operation": "boost", + "score": -0.0016825146740302444 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.0559784360229969 - }, - "else": { - "operation": "boost", - "score": 0.03923832252621651 - } + "operation": "boost", + "score": 0.09719738364219666 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.031291939318180084 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "boost", - "score": -0.06498397886753082 - }, - "else": { - "operation": "boost", - "score": 0.1167244017124176 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0014275101711973548 - } - } - }, - "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": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04706200584769249 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, - "then": { - "operation": "boost", - "score": -0.07955995947122574 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11127103865146637 - }, - "else": { - "operation": "boost", - "score": 0.09330347180366516 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.21986259520053864 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "boost", + "score": 0.025617223232984543 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10335613042116165 + "score": -0.021195635199546814 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.022906480357050896 + "score": 0.09720201790332794 }, "else": { "operation": "boost", - "score": -0.650334894657135 + "score": -0.26468273997306824 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + } + }, + "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_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.08996809273958206 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.041676148772239685 + }, + "else": { + "operation": "boost", + "score": 0.04273722320795059 + } }, "else": { "operation": "boost", - "score": 0.10846321284770966 + "score": -0.06890305876731873 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.008062032051384449 + "score": 0.027091018855571747 }, "else": { "operation": "boost", - "score": 0.10592072457075119 + "score": 0.01110445149242878 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "operation": "boost", + "score": 0.13843730092048645 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.017435165122151375 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1098717674612999 + "score": 0.12300436943769455 }, "else": { "operation": "boost", - "score": 0.10183166712522507 + "score": 0.15924040973186493 } }, "else": { - "operation": "boost", - "score": -0.5487016439437866 + "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.20751897990703583 + "score": 0.05689803883433342 } } + }, + "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": "boost", + "score": 0.02366306632757187 + }, + "else": { + "operation": "boost", + "score": -0.014384492300450802 + } } - }, - "else": { - "operation": "boost", - "score": -0.05579518899321556 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10763639956712723 }, "else": { "operation": "boost", - "score": 0.012778612785041332 + "score": -0.017749695107340813 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.019338509067893028 - }, - "else": { - "operation": "boost", - "score": -0.05557849630713463 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.0035608054604381323 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "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.09210126101970673 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.02210543118417263 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { + "operation": "boost", + "score": 0.11450798809528351 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FileProximityDistance", "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06659799069166183 + }, + "else": { + "operation": "boost", + "score": 0.1068556010723114 + } + }, + "else": { + "operation": "boost", + "score": -0.4913688600063324 + } + }, + "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, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.0033166254870593548 + "score": -0.1170116513967514 }, "else": { "operation": "boost", - "score": 0.08878035098314285 + "score": 0.1130666509270668 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.10323374718427658 + "score": -0.06389165669679642 }, "else": { "operation": "boost", - "score": 0.1168120726943016 + "score": 0.06664413213729858 } } }, "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": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "Variable" ], "then": { "operation": "boost", - "score": 0.052278582006692886 + "score": 0.1127442717552185 }, "else": { - "operation": "boost", - "score": -4.985042095184326 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.11679618060588837 + }, + "else": { + "operation": "boost", + "score": -0.06271082907915115 + } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.14476445317268372 + "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 + } }, "else": { "operation": "boost", - "score": 0.12432316690683365 + "score": 0.14040090143680573 } }, "else": { - "operation": "boost", - "score": 0.16368968784809113 + "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 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.06874685734510422 } + }, + "else": { + "operation": "boost", + "score": 0.07722695171833038 } }, "else": { "operation": "boost", - "score": -0.04383937641978264 + "score": 0.006152387708425522 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.09273118525743484 - }, - "else": { - "operation": "boost", - "score": 0.11292118579149246 - } + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.033557191491127014 }, "else": { "operation": "boost", - "score": 0.1384124755859375 + "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": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.056671105325222015 - }, - "else": { - "operation": "boost", - "score": 0.1365232616662979 - } + "operation": "boost", + "score": 0.0031054047867655754 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "GlobalScope" ], "then": { - "operation": "boost", - "score": 0.09813866764307022 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020367048680782318 + }, + "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" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.14418353140354156 + } + } + }, + "else": { + "operation": "boost", + "score": 0.032055992633104324 + } }, "else": { "operation": "boost", - "score": -0.2239053100347519 + "score": 0.03742225840687752 } } } }, + "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_TopLevel", + "CCC_Statement", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": 0.10455875843763351 + "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" + ], + "then": { + "operation": "boost", + "score": -0.11919289082288742 + }, + "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": 11.5, + "then": { + "operation": "boost", + "score": -0.10678087174892426 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.027382833883166313 + }, + "else": { + "operation": "boost", + "score": 0.11318942904472351 + } + }, + "else": { + "operation": "boost", + "score": 0.04343970865011215 + } + }, + "else": { + "operation": "boost", + "score": -0.6717197299003601 + } + } }, "else": { "operation": "boost", - "score": -0.05826142802834511 + "score": -0.09943527728319168 } } } }, "else": { "operation": "boost", - "score": -0.05599990114569664 + "score": -0.002955490490421653 } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 291408.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 412896.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "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": 26.5, + "threshold": 1074118.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.08402487635612488 + "score": 0.09682799875736237 }, "else": { "operation": "boost", - "score": 0.07302487641572952 + "score": 0.06853078305721283 } }, "else": { "operation": "boost", - "score": 0.10929805785417557 + "score": 0.017161648720502853 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.08351768553256989 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2570604383945465 + }, + "else": { + "operation": "boost", + "score": -0.014967148192226887 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 375849.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" ], "then": { - "operation": "boost", - "score": 0.26810455322265625 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.08277123421430588 + }, + "else": { + "operation": "boost", + "score": 0.1071246862411499 + } }, "else": { "operation": "boost", - "score": -0.14491170644760132 + "score": -0.2548428177833557 } }, "else": { "operation": "boost", - "score": 0.03736716881394386 + "score": 0.011735408566892147 + } + }, + "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.025518380105495453 + }, + "else": { + "operation": "boost", + "score": -0.6029350161552429 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 296854.0, "then": { "operation": "boost", - "score": 0.12025128304958344 + "score": 0.027267057448625565 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16706117987632751 + "score": -0.06285233795642853 }, "else": { - "operation": "boost", - "score": 0.020572442561388016 + "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 + } } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.009782373905181885 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07402161508798599 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09895333647727966 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002461845986545086 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11163540929555893 + }, + "else": { + "operation": "boost", + "score": 0.09138273447751999 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.055528424680233 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06019655615091324 + }, + "else": { + "operation": "boost", + "score": 0.09294728934764862 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, "then": { + "operation": "boost", + "score": -0.3856939971446991 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "boost", + "score": 0.001285133883357048 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.12138023227453232 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.05888310819864273 + "score": -0.25231125950813293 }, "else": { "operation": "boost", - "score": 0.12652553617954254 + "score": 0.11371021717786789 } - } - }, - "else": { - "operation": "boost", - "score": -0.06536612659692764 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.11528079211711884 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10855481028556824 + "score": -0.2383783459663391 }, "else": { "operation": "boost", - "score": -0.11139155924320221 + "score": 0.08207014203071594 } - }, - "else": { - "operation": "boost", - "score": 0.1644286960363388 } } + }, + "else": { + "operation": "boost", + "score": 0.015019144862890244 } - }, - "else": { - "operation": "boost", - "score": 0.02077890746295452 } } }, "else": { - "operation": "boost", - "score": 0.04046851024031639 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "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.09572482854127884 + "score": 0.10317441821098328 }, "else": { + "operation": "boost", + "score": -0.12755027413368225 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.029476188123226166 + "score": -0.02778971567749977 }, "else": { "operation": "boost", - "score": 0.11028797924518585 + "score": 0.08190584182739258 } }, "else": { "operation": "boost", - "score": -0.1052437573671341 + "score": 0.013118487782776356 } + }, + "else": { + "operation": "boost", + "score": 0.045721907168626785 } - }, - "else": { - "operation": "boost", - "score": 0.019713792949914932 } - }, - "else": { - "operation": "boost", - "score": -0.020860692486166954 } + }, + "else": { + "operation": "boost", + "score": -0.13726706802845 } + }, + "else": { + "operation": "boost", + "score": -0.011273867450654507 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0064353072084486485 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06915168464183807 + }, + "else": { + "operation": "boost", + "score": -0.062332961708307266 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.048522576689720154 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10696935653686523 + }, + "else": { + "operation": "boost", + "score": 0.10500462353229523 + } + }, + "else": { + "operation": "boost", + "score": 0.08983970433473587 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3026442229747772 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "boost", - "score": 0.013457893393933773 + "score": 0.04489578679203987 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.7611635327339172 + "score": 0.03477137163281441 }, "else": { - "operation": "boost", - "score": -0.02124309539794922 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": -0.026957539841532707 + }, + "else": { + "operation": "boost", + "score": 0.10443763434886932 + } + }, + "else": { + "operation": "boost", + "score": 0.08438672870397568 + } + }, + "else": { + "operation": "boost", + "score": 0.06611701101064682 + } } } + } + } + }, + "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.03203394636511803 + "score": 0.10357656329870224 } + }, + "else": { + "operation": "boost", + "score": 0.03911077231168747 } - }, - "else": { - "operation": "boost", - "score": 0.004825448151677847 } + }, + "else": { + "operation": "boost", + "score": -0.05203079804778099 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": -0.07721345871686935 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.14226825535297394 + }, + "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_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.10026821494102478 + "score": 0.00654307845979929 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.15743033587932587 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.1269271969795227 + "score": -0.0005136454710736871 }, "else": { "operation": "boost", - "score": 0.06551168859004974 + "score": 0.08247751742601395 } }, "else": { "operation": "boost", - "score": 0.2334471493959427 + "score": 0.017264163121581078 } }, "else": { "operation": "boost", - "score": -0.13912160694599152 + "score": 0.004021233879029751 } + }, + "else": { + "operation": "boost", + "score": -0.0037201433442533016 } } }, "else": { - "operation": "boost", - "score": -0.05309301242232323 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0004041972279082984 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 578.5, - "then": { - "operation": "boost", - "score": 0.03505988046526909 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 561.5, - "then": { - "operation": "boost", - "score": 0.19752255082130432 - }, - "else": { - "operation": "boost", - "score": 0.06059594079852104 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.013285499997437 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4094.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23353.0, + "threshold": 39.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.0457727275788784 + "score": -0.0713634192943573 }, "else": { + "operation": "boost", + "score": -0.4396460950374603 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31515.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.08508092910051346 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 224557.0, + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 478260.0, + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.06590214371681213 + "score": 0.07403956353664398 }, "else": { "operation": "boost", - "score": -0.023232506588101387 + "score": 0.11229239404201508 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02821427956223488 - }, - "else": { - "operation": "boost", - "score": 0.059901513159275055 - } + "operation": "boost", + "score": -2.746586799621582 }, "else": { "operation": "boost", - "score": -0.08426959067583084 + "score": 0.1215401366353035 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141422.5, - "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": 1.5, - "then": { - "operation": "boost", - "score": 0.04264487326145172 - }, - "else": { - "operation": "boost", - "score": -0.1125391498208046 - } - }, - "else": { - "operation": "boost", - "score": 0.06198248639702797 - } - }, - "else": { - "operation": "boost", - "score": -0.21154430508613586 - } - }, - "else": { - "operation": "boost", - "score": 0.018715500831604004 - } + "operation": "boost", + "score": 0.008663039654493332 } } + } + }, + "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 + } + } + }, + "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": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Operator", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0022419202141463757 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 688.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 794.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09441978484392166 + }, + "else": { + "operation": "boost", + "score": -0.3516378402709961 + } + }, + "else": { + "operation": "boost", + "score": 0.11384545266628265 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.09703115373849869 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 152.5, "then": { "operation": "boost", - "score": 0.056133121252059937 + "score": -0.19536727666854858 }, "else": { - "operation": "boost", - "score": 0.10471709072589874 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 52.5, "then": { - "operation": "boost", - "score": -0.12705114483833313 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.13060174882411957 + "score": -0.03118104487657547 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09687751531600952 - }, - "else": { - "operation": "boost", - "score": 0.13011762499809265 - } + "operation": "boost", + "score": 0.07344110310077667 } + }, + "else": { + "operation": "boost", + "score": 0.13051164150238037 } }, "else": { - "operation": "boost", - "score": -0.07222960144281387 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 39.5, "then": { "operation": "boost", - "score": 0.0613536462187767 + "score": -0.07875999808311462 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11923251301050186 - }, - "else": { - "operation": "boost", - "score": 0.1394132673740387 - } + "operation": "boost", + "score": 0.17515027523040771 }, "else": { "operation": "boost", - "score": 0.06517505645751953 + "score": 0.08934111148118973 } } }, "else": { - "operation": "boost", - "score": -0.10880537331104279 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.6103721857070923 + }, + "else": { + "operation": "boost", + "score": -0.0659472644329071 + } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.16064460575580597 + } + }, + "else": { + "operation": "boost", + "score": 0.02530818246304989 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0008029698510654271 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17064695060253143 + }, + "else": { + "operation": "boost", + "score": -0.09306753426790237 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.023467110469937325 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.00967724621295929 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 31.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018338076770305634 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.1068190187215805 + }, + "else": { + "operation": "boost", + "score": 0.08230346441268921 + } + } + }, + "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.034730613231658936 + "score": -0.2027072161436081 }, "else": { "operation": "boost", - "score": -0.14882585406303406 + "score": 0.07874608784914017 } + }, + "else": { + "operation": "boost", + "score": 0.1105390191078186 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, "then": { + "operation": "boost", + "score": 0.12753848731517792 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.010550900362432003 + "score": -1.7857098579406738 }, "else": { "operation": "boost", - "score": 0.10678549855947495 + "score": -0.1514359712600708 } - }, - "else": { - "operation": "boost", - "score": -0.07570446282625198 } } + }, + "else": { + "operation": "boost", + "score": -0.01605822704732418 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11434727907180786 + }, + "else": { + "operation": "boost", + "score": 0.21037757396697998 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020910656079649925 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.019019780680537224 + }, + "else": { + "operation": "boost", + "score": 0.0060534849762916565 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00433315709233284 + } + } + } + } + }, + { + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06376885622739792 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09848681092262268 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "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, + "then": { + "operation": "boost", + "score": -0.022800562903285027 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 114.0, "then": { "operation": "boost", - "score": 0.10687439143657684 + "score": 0.12087096273899078 }, "else": { "operation": "boost", - "score": 0.09967973083257675 + "score": 0.08757530152797699 } }, "else": { - "operation": "boost", - "score": 0.10639474540948868 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.053797777742147446 + "score": -0.07367116957902908 } }, "else": { "operation": "boost", - "score": -0.15173958241939545 + "score": 0.05178854614496231 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.07026615738868713 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" + "Function" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.005716412793844938 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.004242975264787674 - }, - "else": { - "operation": "boost", - "score": 0.10753019154071808 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40203.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "boost", - "score": 0.11731769889593124 - }, - "else": { - "operation": "boost", - "score": 0.10469600558280945 - } - }, - "else": { - "operation": "boost", - "score": 0.10729922354221344 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.044462867081165314 - } + "operation": "boost", + "score": 0.11589568853378296 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06109713390469551 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34991.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39111.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18044430017471313 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.17346259951591492 - }, - "else": { - "operation": "boost", - "score": 0.12158465385437012 - } - }, - "else": { - "operation": "boost", - "score": 0.11555265635251999 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54378.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0301972683519125 - }, - "else": { - "operation": "boost", - "score": 0.1004558652639389 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54764.5, - "then": { - "operation": "boost", - "score": 0.03774164617061615 - }, - "else": { - "operation": "boost", - "score": 0.1198498085141182 - } - } - }, - "else": { - "operation": "boost", - "score": -0.010585004463791847 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43376.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10824824869632721 - }, - "else": { - "operation": "boost", - "score": 0.12178231030702591 - } - }, - "else": { - "operation": "boost", - "score": 0.10332250595092773 - } - }, - "else": { - "operation": "boost", - "score": -1.0346599817276 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40369.0, - "then": { - "operation": "boost", - "score": -0.13805976510047913 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.030191093683242798 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.16201820969581604 - }, - "else": { - "operation": "boost", - "score": 0.09249129146337509 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.17093732953071594 - } - }, - "else": { - "operation": "boost", - "score": -0.09683816879987717 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10515760630369186 - }, - "else": { - "operation": "boost", - "score": 0.0663137212395668 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34626.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34870.5, - "then": { - "operation": "boost", - "score": -0.32189083099365234 - }, - "else": { - "operation": "boost", - "score": 0.11645770072937012 - } - }, - "else": { - "operation": "boost", - "score": 0.0518227145075798 - } - }, - "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": 4.5, - "then": { - "operation": "boost", - "score": 0.08118107914924622 - }, - "else": { - "operation": "boost", - "score": 0.09984235465526581 - } - }, - "else": { - "operation": "boost", - "score": -0.1949201077222824 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33440.0, - "then": { - "operation": "boost", - "score": -0.004574206192046404 - }, - "else": { - "operation": "boost", - "score": 0.10583601146936417 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06735984236001968 - } - } + "operation": "boost", + "score": 0.0911215990781784 } + }, + "else": { + "operation": "boost", + "score": 0.05748164281249046 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.05767989903688431 - }, - "else": { - "operation": "boost", - "score": 0.10107004642486572 - } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.010236449539661407 + "score": 0.06926409155130386 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.0, + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.09299387037754059 - }, - "else": { - "operation": "boost", - "score": -0.004296240862458944 - } + "operation": "boost", + "score": 0.13569721579551697 }, "else": { "operation": "boost", - "score": 0.03897450864315033 + "score": -0.35043972730636597 } } }, "else": { - "operation": "boost", - "score": 0.08984749764204025 + "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 + } + } } }, "else": { "operation": "boost", - "score": -0.5834327936172485 + "score": -0.022033998742699623 } } } - }, - "else": { - "operation": "boost", - "score": -0.027531003579497337 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.0028372874949127436 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18335.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20562.0, + "threshold": 4673.5, "then": { - "operation": "boost", - "score": -0.005692336708307266 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 4906.0, "then": { + "operation": "boost", + "score": 0.02735866978764534 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18613.0, + "threshold": 4889.0, "then": { - "operation": "boost", - "score": 0.04642946645617485 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10866259038448334 + "score": 0.12461785227060318 }, "else": { "operation": "boost", - "score": 0.0368061400949955 + "score": 0.10784521698951721 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20206.5, - "then": { - "operation": "boost", - "score": 0.08706770837306976 }, "else": { "operation": "boost", - "score": 0.04897276312112808 + "score": 0.07269328832626343 } } + }, + "else": { + "operation": "boost", + "score": 0.013563672080636024 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.002030550269410014 - }, - "else": { - "operation": "boost", - "score": 0.061203647404909134 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.03245052322745323 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7142.0, - "then": { - "operation": "boost", - "score": 0.1364479959011078 - }, - "else": { - "operation": "boost", - "score": 0.058662693947553635 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9226.0, - "then": { - "operation": "boost", - "score": 0.11973687261343002 - }, - "else": { - "operation": "boost", - "score": -0.10511504113674164 - } - }, - "else": { - "operation": "boost", - "score": -0.10542520135641098 - } - }, - "else": { - "operation": "boost", - "score": 0.029664376750588417 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4286.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { "operation": "boost", - "score": 0.14657819271087646 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.12326130270957947 - }, - "else": { - "operation": "boost", - "score": 0.11907272040843964 - } + "score": 0.0045723142102360725 } }, "else": { "operation": "boost", - "score": 0.06323190778493881 + "score": -0.060662347823381424 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.017045004293322563 + } + }, + "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": "NumReferences", - "threshold": 21123.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.07666486501693726 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22533.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.057734712958335876 + "score": 0.013109708204865456 }, "else": { - "operation": "boost", - "score": 0.12155716866254807 + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.030791452154517174 + "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.10901335626840591 + "score": 0.07336004078388214 } }, "else": { - "operation": "boost", - "score": -0.04269258677959442 + "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 + } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Type" + "ClassScope" ], + "then": { + "operation": "boost", + "score": 0.08627358824014664 + }, + "else": { + "operation": "boost", + "score": -0.02703022211790085 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.014394101686775684 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08760426193475723 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12374946475028992 - }, - "else": { - "operation": "boost", - "score": 0.01251193042844534 - } - }, - "else": { - "operation": "boost", - "score": 0.11999936401844025 - } - } + "operation": "boost", + "score": -0.01922149956226349 }, "else": { "operation": "boost", - "score": -0.04742787405848503 + "score": -0.08199531584978104 } }, "else": { "operation": "boost", - "score": 0.026892531663179398 + "score": -0.011212768033146858 } } } }, "else": { "operation": "boost", - "score": 0.022163260728120804 + "score": 0.010111787356436253 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.0, - "then": { - "operation": "boost", - "score": 0.10964412987232208 }, "else": { "operation": "boost", - "score": -0.1053575649857521 + "score": 0.0004246726748533547 } }, "else": { + "operation": "boost", + "score": 0.0021232357248663902 + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.0013724868185818195 + "score": -0.042834147810935974 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.07403696328401566 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.10333442687988281 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 653.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1514.5, - "then": { - "operation": "boost", - "score": -0.1800125390291214 - }, - "else": { - "operation": "boost", - "score": 0.10952913761138916 - } + "operation": "boost", + "score": 0.07655324786901474 }, "else": { "operation": "boost", - "score": -0.18631073832511902 + "score": 0.10382474958896637 } - }, - "else": { - "operation": "boost", - "score": 0.026153381913900375 } + } + } + }, + "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": "NumReferences", - "threshold": 428.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11562146246433258 + "score": 0.042839791625738144 }, "else": { "operation": "boost", - "score": -0.2158813774585724 + "score": 0.014823627658188343 } } + }, + "else": { + "operation": "boost", + "score": 0.014294841326773167 } } - } - }, - "else": { - "operation": "boost", - "score": -0.004367019981145859 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005830934969708323 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32457.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.030593054369091988 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.22581076622009277 - }, - "else": { - "operation": "boost", - "score": 0.06099006533622742 - } }, "else": { "operation": "boost", - "score": 0.07229627668857574 + "score": -0.07034942507743835 } + }, + "else": { + "operation": "boost", + "score": 0.0032555803190916777 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 204563.0, + "threshold": 47907.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0077985962852835655 - }, - "else": { - "operation": "boost", - "score": 0.16374471783638 - } + "operation": "boost", + "score": 0.02277163229882717 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.05135786905884743 + "score": 0.07032786309719086 }, "else": { - "operation": "boost", - "score": 0.03270557150244713 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1251317411661148 + }, + "else": { + "operation": "boost", + "score": 0.18056900799274445 + } } } }, "else": { "operation": "boost", - "score": 0.006827620789408684 + "score": -0.042523618787527084 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12301668524742126 - }, - "else": { - "operation": "boost", - "score": 0.14710861444473267 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10871074348688126 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32671.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09618543833494186 + "score": -0.11348243057727814 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 42846.5, + "threshold": 98.0, "then": { - "operation": "boost", - "score": -0.24135100841522217 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "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", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.11335495859384537 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 242.5, + "then": { + "operation": "boost", + "score": 0.11695287376642227 + }, + "else": { + "operation": "boost", + "score": 1.642093539237976 + } + }, + "else": { + "operation": "boost", + "score": -0.10185080766677856 + } + } + } }, "else": { "operation": "boost", - "score": 0.011639942415058613 + "score": 0.06720764189958572 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43302.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45617.0, + "threshold": 68.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.014673622325062752 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47253.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.11997686326503754 + "score": -0.25836411118507385 }, "else": { "operation": "boost", - "score": 0.21784289181232452 + "score": 0.12068520486354828 } - }, - "else": { - "operation": "boost", - "score": 0.04654939845204353 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 30.5, "then": { - "operation": "boost", - "score": 0.04622894152998924 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11427227407693863 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.09140121191740036 + }, + "else": { + "operation": "boost", + "score": 0.627682626247406 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10377860814332962 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.07074904441833496 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.014663285575807095 + }, + "else": { + "operation": "boost", + "score": -2.5147597789764404 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.15063712000846863 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02121904492378235 + } }, "else": { "operation": "boost", - "score": 0.10735955089330673 + "score": 0.07193496823310852 } } } @@ -162181,1022 +160720,1505 @@ }, "else": { "operation": "boost", - "score": 0.052199747413396835 + "score": -0.037345144897699356 } } - }, - "else": { - "operation": "boost", - "score": 0.5829923748970032 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 70521.5, "then": { + "operation": "boost", + "score": 0.11865227669477463 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.11342642456293106 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09725932776927948 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.10339276492595673 + }, + "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 + } + } }, "else": { - "operation": "boost", - "score": 0.12953639030456543 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11881177127361298 + }, + "else": { + "operation": "boost", + "score": -0.010509354993700981 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04929221048951149 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09016381204128265 + }, + "else": { + "operation": "boost", + "score": 0.11306992918252945 + } + }, + "else": { + "operation": "boost", + "score": 0.03991539403796196 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.030142972245812416 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.0069194938987493515 } - }, - "else": { - "operation": "boost", - "score": 0.020337127149105072 } }, "else": { "operation": "boost", - "score": 0.02905496209859848 + "score": 0.010122710838913918 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "boost", - "score": -0.21847058832645416 }, "else": { - "operation": "boost", - "score": -0.034152425825595856 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.036035697907209396 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.09981288015842438 + }, + "else": { + "operation": "boost", + "score": -0.0995188057422638 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.0050608813762664795 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0090524572879076 - }, - "else": { - "operation": "boost", - "score": -0.03482815623283386 - } + "operation": "boost", + "score": -0.020896567031741142 } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1218.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 11.5, + "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", + "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type", - "Function" + "Function", + "Type" ], "then": { - "operation": "boost", - "score": -0.004352734889835119 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 212125.0, "then": { - "operation": "boost", - "score": -0.09968511015176773 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.042307689785957336 + }, + "else": { + "operation": "boost", + "score": 0.0006489047082141042 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 204563.0, "then": { "operation": "boost", - "score": 0.0060523683205246925 + "score": 0.03749065101146698 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50004.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10003787279129028 - }, - "else": { - "operation": "boost", - "score": -0.18067343533039093 - } - }, - "else": { - "operation": "boost", - "score": -0.08276484906673431 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.022089064121246338 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08918491005897522 - }, - "else": { - "operation": "boost", - "score": -0.16736385226249695 - } - }, - "else": { - "operation": "boost", - "score": 0.009697500616312027 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.006554882042109966 - }, - "else": { - "operation": "boost", - "score": 0.011114360764622688 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 2374.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "NumReferences", + "threshold": 2417.0, "then": { "operation": "boost", - "score": 0.0176234133541584 + "score": 0.04403729736804962 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.07386525720357895 - }, - "else": { - "operation": "boost", - "score": 0.12089399248361588 - } - }, - "else": { - "operation": "boost", - "score": 0.1218235120177269 - } - }, - "else": { - "operation": "boost", - "score": 0.05655953288078308 - } + "operation": "boost", + "score": 0.03851057589054108 }, "else": { "operation": "boost", - "score": -0.022211788222193718 + "score": 0.1136278435587883 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9626.0, - "then": { - "operation": "boost", - "score": -0.13399183750152588 - }, - "else": { - "operation": "boost", - "score": -0.01815957948565483 - } + "operation": "boost", + "score": 0.005952934268862009 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62087.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 74544.0, "then": { "operation": "boost", - "score": 0.03242751210927963 + "score": -0.010367942973971367 }, "else": { "operation": "boost", - "score": -0.006409304216504097 + "score": -0.07601060718297958 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.012324132025241852 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.0009850221686065197 - }, - "else": { - "operation": "boost", - "score": -0.1299009770154953 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05040246620774269 - } - }, - "else": { - "operation": "boost", - "score": -0.023718981072306633 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.032045524567365646 - }, - "else": { - "operation": "boost", - "score": -0.06718815118074417 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 5161.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 5204.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 23353.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 476.5, + "threshold": 32538.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 545.5, - "then": { - "operation": "boost", - "score": 0.036053743213415146 - }, - "else": { - "operation": "boost", - "score": 0.11385433375835419 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.5, + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.10726579278707504 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08661378920078278 + }, + "else": { + "operation": "boost", + "score": 0.12278103828430176 + } + }, + "else": { + "operation": "boost", + "score": 0.019714215770363808 + } + }, + "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 + } + } + } + } }, "else": { "operation": "boost", - "score": -0.018631484359502792 + "score": -0.05489268898963928 } }, "else": { - "operation": "boost", - "score": -0.0021144154015928507 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35650.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", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": -0.017008209601044655 + }, + "else": { + "operation": "boost", + "score": -0.13993413746356964 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35146.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04765400290489197 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12919901311397552 + }, + "else": { + "operation": "boost", + "score": 0.08272868394851685 + } + } + }, + "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 + } + } + } } + }, + "else": { + "operation": "boost", + "score": -0.035940416157245636 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 18672.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 19203.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 20039.5, "then": { - "operation": "boost", - "score": 0.11893528699874878 + "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 + } }, "else": { "operation": "boost", - "score": -0.5845550894737244 + "score": 0.10323023796081543 } }, "else": { "operation": "boost", - "score": 0.12071963399648666 + "score": 0.07177601009607315 } }, "else": { - "operation": "boost", - "score": -0.029358407482504845 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.013954248279333115 + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 19035.0, "then": { "operation": "boost", - "score": -0.14523860812187195 + "score": 0.12166270613670349 }, "else": { - "operation": "boost", - "score": 0.10372620820999146 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "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_greater", - "feature": "NumReferences", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.18380355834960938 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.14521703124046326 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "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 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 6708.0, "then": { - "operation": "boost", - "score": -0.012878634966909885 + "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": "boost", - "score": 0.12508201599121094 + "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 + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7842.0, + "then": { + "operation": "boost", + "score": -0.4016248881816864 }, "else": { "operation": "boost", - "score": -0.05484713613986969 + "score": 0.13847936689853668 } } + }, + "else": { + "operation": "boost", + "score": 0.024829713627696037 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5183.5, + "then": { + "operation": "boost", + "score": 0.13095353543758392 + }, + "else": { + "operation": "boost", + "score": 0.10011856257915497 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", + "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type", - "Function" + "Function", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.16090039908885956 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13528883457183838 + }, + "else": { + "operation": "boost", + "score": 0.11693571507930756 + } }, "else": { "operation": "boost", - "score": -0.1562764197587967 + "score": -0.1499626636505127 } - }, - "else": { - "operation": "boost", - "score": 0.00318877212703228 } } }, "else": { "operation": "boost", - "score": 0.0484963022172451 + "score": 0.009753653779625893 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20010.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.006062549073249102 + "score": 0.004524259362369776 }, "else": { "operation": "boost", - "score": 0.022377150133252144 + "score": 0.03243936598300934 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 122.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + }, + "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": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09402597695589066 - }, - "else": { - "operation": "boost", - "score": -1.575882911682129 - } + "operation": "boost", + "score": 0.11567599326372147 }, "else": { "operation": "boost", - "score": -0.1419612169265747 + "score": -0.28092533349990845 } + } + }, + "else": { + "operation": "boost", + "score": -0.012733710929751396 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0562780387699604 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": 0.016195302829146385 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "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": "boost", + "score": 0.02003094181418419 }, "else": { "operation": "boost", - "score": -0.041342128068208694 + "score": -0.10182526707649231 } + }, + "else": { + "operation": "boost", + "score": -0.04730561003088951 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 86186.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16362.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.11022662371397018 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30750.5, + "threshold": 94883.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31239.0, - "then": { - "operation": "boost", - "score": -0.0052169319242239 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11436625570058823 - }, - "else": { - "operation": "boost", - "score": 0.07726351171731949 - } - } + "operation": "boost", + "score": 0.02781890332698822 }, "else": { "operation": "boost", - "score": -0.049334775656461716 + "score": 0.09590713679790497 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12576.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.0011099730618298054 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1530.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15737.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.040765807032585144 - }, - "else": { - "operation": "boost", - "score": 0.08785849064588547 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 9090.0, "then": { - "operation": "boost", - "score": 0.11009278893470764 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13434.5, + "threshold": 59716.0, "then": { + "operation": "boost", + "score": -0.27792230248451233 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.1064324602484703 + "score": 0.09290187805891037 }, "else": { "operation": "boost", - "score": 0.09677658975124359 + "score": -0.052750058472156525 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2658.5, + "then": { + "operation": "boost", + "score": 0.11575573682785034 }, "else": { "operation": "boost", - "score": 0.006396608427166939 + "score": -0.5645287036895752 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13627.5, - "then": { - "operation": "boost", - "score": 0.01811901107430458 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13590.0, + "threshold": 57248.5, "then": { "operation": "boost", - "score": 0.11933550238609314 + "score": 0.14137254655361176 }, "else": { "operation": "boost", - "score": 0.1250379979610443 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.023717675358057022 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.06711358577013016 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": -0.12916241586208344 - }, - "else": { - "operation": "boost", - "score": 0.13242043554782867 - } - }, - "else": { - "operation": "boost", - "score": 0.09633016586303711 - } + "score": -0.008332254365086555 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 1305.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9552.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10647230595350266 - }, - "else": { - "operation": "boost", - "score": -0.12978734076023102 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9626.0, - "then": { - "operation": "boost", - "score": 0.06152055040001869 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.1115940660238266 - }, - "else": { - "operation": "boost", - "score": -0.033016737550497055 - } - } - } + "operation": "boost", + "score": 0.1331447958946228 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9519.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.006739948410540819 - }, - "else": { - "operation": "boost", - "score": -4.00343656539917 - } - }, - "else": { - "operation": "boost", - "score": 0.020961547270417213 - } - }, - "else": { - "operation": "boost", - "score": 0.04081150144338608 - } + "operation": "boost", + "score": 0.10915057361125946 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 293.5, - "then": { - "operation": "boost", - "score": 0.10784747451543808 - }, - "else": { - "operation": "boost", - "score": -0.07253158092498779 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "boost", - "score": -0.02179553546011448 - }, - "else": { - "operation": "boost", - "score": 0.1627868413925171 - } - }, - "else": { - "operation": "boost", - "score": -0.1683816760778427 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02285735309123993 - } - }, - "else": { - "operation": "boost", - "score": -0.016041044145822525 - } + "operation": "boost", + "score": -0.1261858344078064 } } } + }, + "else": { + "operation": "boost", + "score": 0.011177174746990204 } + } + }, + "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": "boost", + "score": 0.00523192435503006 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.02024376578629017 - }, - "else": { - "operation": "boost", - "score": 0.02212996780872345 - } + "operation": "boost", + "score": -0.40743541717529297 }, "else": { "operation": "boost", - "score": 0.005566077306866646 + "score": -0.07899052649736404 } }, "else": { "operation": "boost", - "score": -0.02047700248658657 + "score": 0.10878061503171921 } } } } } + } + }, + "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 + } + } }, "else": { "operation": "boost", - "score": -0.004903547931462526 + "score": -0.010147254914045334 } + }, + "else": { + "operation": "boost", + "score": 0.009199585765600204 } - }, - "else": { - "operation": "boost", - "score": -0.0008872926700860262 } + }, + "else": { + "operation": "boost", + "score": -0.0005637154681608081 } }, { @@ -163204,2593 +162226,3483 @@ "feature": "NumReferences", "threshold": 44220.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47293.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48488.5, + "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50563.0, + "threshold": 232885.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, + "operation": "boost", + "score": 0.007208246737718582 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.036886412650346756 + "score": 0.1078302413225174 }, "else": { "operation": "boost", - "score": 0.012580770067870617 + "score": -0.03276846185326576 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05359742045402527 - }, - "else": { - "operation": "boost", - "score": -0.4973537027835846 - } + "operation": "boost", + "score": 0.07374662160873413 }, "else": { "operation": "boost", - "score": -0.006991490256041288 + "score": 0.11059890687465668 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12244772166013718 - }, - "else": { - "operation": "boost", - "score": 0.12429866194725037 - } + "operation": "boost", + "score": 0.02673785388469696 } - }, - "else": { - "operation": "boost", - "score": -0.09929929673671722 } }, "else": { + "operation": "boost", + "score": 0.00509154237806797 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 47131.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11456988751888275 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.07040049135684967 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.17537479102611542 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.13848796486854553 - }, - "else": { - "operation": "boost", - "score": 0.1145465150475502 - } - } + "operation": "boost", + "score": 0.177943155169487 }, "else": { "operation": "boost", - "score": 0.13668324053287506 + "score": 0.1298864483833313 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01949448324739933 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11734221875667572 + "score": 0.05347271263599396 }, "else": { "operation": "boost", - "score": -0.10737299174070358 + "score": 0.12762442231178284 } + }, + "else": { + "operation": "boost", + "score": 0.18736298382282257 } + } + } + }, + "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": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.058143507689237595 + "score": 0.11563727259635925 }, "else": { "operation": "boost", - "score": 0.11368152499198914 + "score": 0.17628929018974304 } }, "else": { "operation": "boost", - "score": -0.0058389934711158276 + "score": 0.10542458295822144 } } + }, + "else": { + "operation": "boost", + "score": 0.04908359795808792 } - }, - "else": { - "operation": "boost", - "score": 0.02896200679242611 } + }, + "else": { + "operation": "boost", + "score": 0.018727563321590424 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.00367922754958272 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Keyword", + "Variable", + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31292.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 278454.0, + "threshold": 32026.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32515.5, + "then": { + "operation": "boost", + "score": 0.07133835554122925 + }, + "else": { + "operation": "boost", + "score": -0.1252259463071823 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08339529484510422 + "score": 0.01883263885974884 }, "else": { "operation": "boost", - "score": 0.13092848658561707 + "score": 0.10199138522148132 } }, "else": { "operation": "boost", - "score": -0.23713938891887665 + "score": 0.10792338848114014 } }, "else": { "operation": "boost", - "score": -0.18418551981449127 + "score": -0.10066234320402145 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.1007305458188057 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.051832590252161026 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.032941412180662155 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 131.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 141.5, "then": { - "operation": "boost", - "score": 0.13619683682918549 + "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.10947531461715698 + "score": 0.12274686992168427 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "boost", + "score": -0.012756812386214733 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123460.5, + "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.11340103298425674 + "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.11703675240278244 + "score": 0.017685966566205025 + } + } + }, + "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.3522753417491913 + "score": 0.05262317508459091 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.020173873752355576 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03750879317522049 + }, + "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 + } } } }, "else": { "operation": "boost", - "score": -0.7488036155700684 + "score": -0.022706588730216026 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03235805407166481 }, "else": { - "operation": "boost", - "score": 0.11901374906301498 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.02359459176659584 + } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11815665662288666 - }, - "else": { - "operation": "boost", - "score": 0.03598754107952118 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11336520314216614 }, "else": { "operation": "boost", - "score": 0.041419681161642075 + "score": -0.0015841034473851323 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.051551494747400284 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "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": "boost", - "score": 0.03877411037683487 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04106396436691284 + } } }, "else": { "operation": "boost", - "score": -0.3026961088180542 + "score": 0.02076449990272522 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18885.0, "then": { - "operation": "boost", - "score": 0.016466805711388588 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19474.5, + "then": { + "operation": "boost", + "score": 0.03868130221962929 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02188846468925476 + }, + "else": { + "operation": "boost", + "score": 0.12388382107019424 + } + } }, "else": { "operation": "boost", - "score": -0.2606103718280792 + "score": -0.023148639127612114 } } } }, "else": { "operation": "boost", - "score": 0.008476348593831062 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09486068040132523 - }, - "else": { - "operation": "boost", - "score": -0.10224313288927078 - } - }, - "else": { - "operation": "boost", - "score": -0.047841157764196396 + "score": 0.0013430019607767463 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 26.5, "then": { "operation": "boost", - "score": 0.1271846741437912 + "score": -0.01273490022867918 }, "else": { - "operation": "boost", - "score": 0.13524110615253448 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.3533896207809448 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.20411387085914612 + "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.13202834129333496 + "score": 0.027389662340283394 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.013682711869478226 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.11164644360542297 + }, + "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 + } + } + } + } + } + }, + "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.09911666065454483 + "score": -0.001827917993068695 }, "else": { "operation": "boost", - "score": 0.11866901814937592 + "score": -0.2939850091934204 } + }, + "else": { + "operation": "boost", + "score": -0.04737340286374092 } } - }, - "else": { - "operation": "boost", - "score": 0.35274600982666016 } } }, "else": { "operation": "boost", - "score": -0.17985273897647858 + "score": -0.008928303606808186 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.0008876027422957122 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.09751676768064499 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.005629847291857004 + "score": 0.043412238359451294 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50004.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10003138333559036 - }, - "else": { - "operation": "boost", - "score": -0.1674022227525711 - } + "operation": "boost", + "score": 0.03864603117108345 }, "else": { "operation": "boost", - "score": -0.08255994319915771 + "score": 0.02434244565665722 } } + }, + "else": { + "operation": "boost", + "score": 0.10747992992401123 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.025000395253300667 + }, + "else": { + "operation": "boost", + "score": -0.1420665681362152 + } + }, + "else": { + "operation": "boost", + "score": 0.005894300527870655 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.005568749736994505 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 239.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 251.0, + "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_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 511.0, - "then": { - "operation": "boost", - "score": -0.005520099774003029 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 463.0, - "then": { - "operation": "boost", - "score": 0.10540302097797394 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0009794651996344328 - }, - "else": { - "operation": "boost", - "score": 0.10348590463399887 - } - } - } + "operation": "boost", + "score": 0.03133440762758255 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.04889855906367302 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.03598569333553314 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 352.5, - "then": { - "operation": "boost", - "score": 0.10350418090820312 - }, - "else": { - "operation": "boost", - "score": 0.11859621852636337 - } - } - } + "operation": "boost", + "score": -0.00630435673519969 } }, "else": { "operation": "boost", - "score": 0.108018659055233 + "score": -0.049485862255096436 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.16781586408615112 + "score": 0.03658365458250046 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09262342005968094 - }, - "else": { - "operation": "boost", - "score": 0.09108853340148926 - } - }, - "else": { - "operation": "boost", - "score": -0.0823008194565773 - } - }, - "else": { - "operation": "boost", - "score": 0.1378597468137741 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.049112532287836075 + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope" + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026629135012626648 - }, - "else": { - "operation": "boost", - "score": -0.0015699438517913222 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.058814018964767456 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 79.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10415639728307724 + "score": -0.3684638440608978 }, "else": { "operation": "boost", - "score": 0.11464394629001617 + "score": 0.13623753190040588 } }, "else": { "operation": "boost", - "score": -0.0606771744787693 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.18390323221683502 - }, - "else": { - "operation": "boost", - "score": -0.8207494020462036 + "score": -0.06616085022687912 } } }, + "else": { + "operation": "boost", + "score": 0.05874788761138916 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12174052745103836 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09343982487916946 - }, - "else": { - "operation": "boost", - "score": -0.039742887020111084 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.25859707593917847 + "score": -0.04144708812236786 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12797316908836365 + "score": -0.0080293333157897 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.003161247819662094 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03780737891793251 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0037023830227553844 - }, - "else": { - "operation": "boost", - "score": 0.08945640176534653 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06410373747348785 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008790461346507072 - } + "operation": "boost", + "score": 0.09212172776460648 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.12722811102867126 - }, - "else": { - "operation": "boost", - "score": 0.00555383088067174 - } + "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 + } } } } - }, - "else": { - "operation": "boost", - "score": 0.013688973151147366 } }, "else": { "operation": "boost", - "score": -0.17019717395305634 + "score": -0.15780645608901978 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198.0, - "then": { - "operation": "boost", - "score": 0.002400181023404002 - }, - "else": { - "operation": "boost", - "score": 0.10526668280363083 - } - }, - "else": { - "operation": "boost", - "score": -0.08554143458604813 - } + "operation": "boost", + "score": 0.0405304953455925 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11349043250083923 - }, - "else": { - "operation": "boost", - "score": -0.15610620379447937 - } + "operation": "boost", + "score": 0.009785561822354794 } - }, - "else": { - "operation": "boost", - "score": 0.12057840824127197 } - }, - "else": { - "operation": "boost", - "score": 0.006672986317425966 } - }, - "else": { - "operation": "boost", - "score": 0.04577353969216347 } + }, + "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": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38757.0, - "then": { - "operation": "boost", - "score": -0.32374757528305054 - }, - "else": { - "operation": "boost", - "score": 0.002033710014075041 - } + "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": "NumReferences", - "threshold": 22914.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "boost", - "score": -0.29957038164138794 + "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": "NumReferences", - "threshold": 92.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": -0.004362533800303936 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 363.5, + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.003519435878843069 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.012924584560096264 - }, - "else": { - "operation": "boost", - "score": 0.20052334666252136 - } + "operation": "boost", + "score": 0.11391918361186981 }, "else": { "operation": "boost", - "score": -0.15011538565158844 + "score": -0.13350805640220642 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 194.5, + "threshold": 44.5, "then": { - "operation": "boost", - "score": 0.12956088781356812 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1200096532702446 + }, + "else": { + "operation": "boost", + "score": 0.11619845032691956 + } + }, + "else": { + "operation": "boost", + "score": 0.08877972513437271 + } + }, + "else": { + "operation": "boost", + "score": 0.05160817503929138 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.11437634378671646 + "score": 0.14634741842746735 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "boost", + "score": -0.062318556010723114 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.06631387025117874 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.10830903053283691 - }, - "else": { - "operation": "boost", - "score": 0.088614322245121 - } + "operation": "boost", + "score": 0.13337060809135437 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.0, - "then": { - "operation": "boost", - "score": 0.15247511863708496 - }, - "else": { - "operation": "boost", - "score": 0.03141024708747864 - } - }, - "else": { - "operation": "boost", - "score": 0.12210940569639206 - } + "operation": "boost", + "score": -0.37912628054618835 } }, "else": { "operation": "boost", - "score": -0.04792696610093117 + "score": 0.023044511675834656 } } - }, - "else": { - "operation": "boost", - "score": -0.16294941306114197 } } } }, "else": { + "operation": "boost", + "score": 0.03403455391526222 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 345.5, + "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.11299000680446625 + "score": -0.013218902051448822 }, "else": { "operation": "boost", - "score": 0.09565750509500504 + "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.019082216545939445 + "score": 0.028551191091537476 } + }, + "else": { + "operation": "boost", + "score": 0.0035606706514954567 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.04421554505825043 - }, - "else": { - "operation": "boost", - "score": 0.006546124815940857 - } + "operation": "boost", + "score": -0.12401048094034195 }, "else": { "operation": "boost", - "score": -0.012379021383821964 + "score": -0.03854561224579811 } } } }, "else": { - "operation": "boost", - "score": -0.0008462438127025962 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06754317879676819 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 562.0, - "then": { - "operation": "boost", - "score": 0.15636804699897766 - }, - "else": { - "operation": "boost", - "score": -0.34265485405921936 - } - }, - "else": { - "operation": "boost", - "score": -0.0062820883467793465 - } - }, - "else": { - "operation": "boost", - "score": 0.030371075496077538 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "boost", - "score": 0.06985407322645187 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10798278450965881 - }, - "else": { - "operation": "boost", - "score": 0.12220969051122665 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06099248677492142 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21761.0, - "then": { - "operation": "boost", - "score": 0.015813084319233894 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.022628318518400192 - }, - "else": { - "operation": "boost", - "score": 0.0017855506157502532 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, - "then": { - "operation": "boost", - "score": 0.010615631937980652 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11184857040643692 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10632985830307007 - }, - "else": { - "operation": "boost", - "score": -0.11736651510000229 - } - } - }, - "else": { - "operation": "boost", - "score": -0.16632573306560516 - } - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", + "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Function" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.14350394904613495 - }, - "else": { - "operation": "boost", - "score": 0.12241922318935394 - } - }, - "else": { - "operation": "boost", - "score": -0.21268881857395172 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, - "then": { - "operation": "boost", - "score": 0.09467022120952606 - }, - "else": { - "operation": "boost", - "score": 0.11183920502662659 - } - }, - "else": { - "operation": "boost", - "score": 0.10332094132900238 - } - }, - "else": { - "operation": "boost", - "score": 0.03907235339283943 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 610.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 29.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 889.5, + "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" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10726.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "boost", - "score": -0.3587232232093811 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.019043762236833572 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13825483620166779 + }, + "else": { + "operation": "boost", + "score": 0.13471311330795288 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08464450389146805 + }, + "else": { + "operation": "boost", + "score": 0.12299631536006927 + } + }, + "else": { + "operation": "boost", + "score": 0.1287168264389038 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.08195451647043228 + }, + "else": { + "operation": "boost", + "score": 0.10557664930820465 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21461.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.05403239279985428 + "score": 0.01157862413674593 }, "else": { - "operation": "boost", - "score": 0.10081563889980316 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.047046806663274765 + }, + "else": { + "operation": "boost", + "score": 0.08969153463840485 + } } } }, "else": { - "operation": "boost", - "score": -0.014851612038910389 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.06160049885511398 + }, + "else": { + "operation": "boost", + "score": 0.1280033141374588 + } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1209268793463707 - }, - "else": { - "operation": "boost", - "score": -0.004521152004599571 - } + "operation": "boost", + "score": -0.031949084252119064 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09505191445350647 - }, - "else": { - "operation": "boost", - "score": 0.10279379785060883 - } + "operation": "boost", + "score": 0.011656754650175571 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65729.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0947500467300415 + "score": -0.03956957161426544 }, "else": { "operation": "boost", - "score": -0.4714292287826538 + "score": 0.10013304650783539 } }, "else": { "operation": "boost", - "score": -1.2276049852371216 + "score": -0.13743169605731964 } } } - }, - "else": { - "operation": "boost", - "score": 0.03217685967683792 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + } + }, + "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": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 656.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10841704905033112 - }, - "else": { - "operation": "boost", - "score": -0.015173022635281086 - } - }, - "else": { - "operation": "boost", - "score": 0.17036832869052887 - } + "operation": "boost", + "score": 0.003777815494686365 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01686129905283451 + "score": -0.10452565550804138 }, "else": { - "operation": "boost", - "score": 0.11693555861711502 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07377087324857712 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.0993870422244072 + }, + "else": { + "operation": "boost", + "score": 0.07174193114042282 + } + } + } } } }, "else": { "operation": "boost", - "score": -0.3731021285057068 + "score": 0.06189781054854393 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.009333939291536808 + "score": 0.040446601808071136 }, "else": { "operation": "boost", - "score": -0.41610613465309143 + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008709805086255074 + } + }, + "else": { + "operation": "boost", + "score": -0.0011221299646422267 + } + }, + "else": { + "operation": "boost", + "score": 0.0014856281923130155 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "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.04423133283853531 + }, + "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": "NumReferences", - "threshold": 147.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10041563957929611 + "score": 0.10030637681484222 }, "else": { "operation": "boost", - "score": 0.11174564808607101 + "score": 0.10621928423643112 } }, "else": { + "operation": "boost", + "score": 0.10119357705116272 + } + } + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.0008772704168222845 + }, + "else": { + "operation": "boost", + "score": -0.029706981033086777 + } + }, + "else": { + "operation": "boost", + "score": 0.013061321340501308 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05466768145561218 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.07780595123767853 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.0, + "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": 107.0, - "then": { - "operation": "boost", - "score": 0.05314021185040474 - }, - "else": { - "operation": "boost", - "score": 0.12690331041812897 - } + "operation": "boost", + "score": 0.06480571627616882 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.16459716856479645 + "score": -0.05314752459526062 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.01986805535852909 - }, - "else": { - "operation": "boost", - "score": 0.2168102115392685 - } + "operation": "boost", + "score": 0.058441318571567535 } } }, "else": { "operation": "boost", - "score": -0.0005947191384620965 + "score": 0.046755533665418625 } + }, + "else": { + "operation": "boost", + "score": 0.031251393258571625 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4612.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12866318225860596 + "score": -0.039001934230327606 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 238.5, + "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.2505113184452057 + "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" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11956842988729477 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.7865473628044128 + "score": -0.012947706505656242 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08616090565919876 - }, - "else": { - "operation": "boost", - "score": -0.18144135177135468 - } - }, - "else": { - "operation": "boost", - "score": 0.09284394234418869 - } + "operation": "boost", + "score": 0.15549711883068085 } - }, - "else": { - "operation": "boost", - "score": 0.09596244245767593 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06737520545721054 - }, - "else": { - "operation": "boost", - "score": -0.2053089737892151 - } + "operation": "boost", + "score": 0.0010973496828228235 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.25283724069595337 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.408369779586792 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10840859264135361 + "score": -0.5843892693519592 }, "else": { "operation": "boost", - "score": 0.10726036131381989 + "score": 0.05898178368806839 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": 0.008242199197411537 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.012856477871537209 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SymbolScopeDistance", "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.0431731753051281 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.024205435067415237 + "score": 0.1183457300066948 }, "else": { "operation": "boost", - "score": 0.09326304495334625 + "score": 0.11161372065544128 } + } + }, + "else": { + "operation": "boost", + "score": -0.0032845884561538696 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07532640546560287 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.1771913766860962 + "score": -0.13605868816375732 }, "else": { "operation": "boost", - "score": 0.11046552658081055 + "score": 0.037131838500499725 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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": 7.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.13799148797988892 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03366093337535858 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1072768047451973 + }, + "else": { + "operation": "boost", + "score": 0.0483977384865284 + } + }, + "else": { + "operation": "boost", + "score": -0.1288345605134964 + } + }, + "else": { + "operation": "boost", + "score": 0.1306476593017578 + } + }, + "else": { + "operation": "boost", + "score": 0.11922219395637512 + } + }, + "else": { + "operation": "boost", + "score": 0.07263805717229843 + } + } }, "else": { "operation": "boost", - "score": 0.11387989670038223 + "score": 0.055070456117391586 } }, "else": { "operation": "boost", - "score": -0.1640496701002121 + "score": -0.30071479082107544 } } } - }, - "else": { - "operation": "boost", - "score": -0.38494163751602173 } - }, - "else": { - "operation": "boost", - "score": -0.005048682447522879 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.2950711250305176 - } - }, - "else": { - "operation": "boost", - "score": 0.0008166547049768269 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.26083844900131226 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.06439013034105301 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.00427972711622715 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.005439449567347765 + "score": 0.05946961045265198 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.04228338226675987 + "score": 0.10967832803726196 }, "else": { "operation": "boost", - "score": 0.10862134397029877 + "score": 0.022709861397743225 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 609.0, - "then": { - "operation": "boost", - "score": 0.11830902844667435 - }, - "else": { - "operation": "boost", - "score": 0.14773109555244446 - } - }, - "else": { - "operation": "boost", - "score": 0.09438326209783554 - } + "operation": "boost", + "score": 0.09661374241113663 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08297746628522873 + }, + "else": { + "operation": "boost", + "score": 0.0027640073094516993 + } } } }, "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": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.21558444201946259 + }, + "else": { + "operation": "boost", + "score": 0.10669198632240295 + } + }, + "else": { + "operation": "boost", + "score": 0.10274520516395569 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.014820035547018051 + "score": 0.09699983894824982 }, "else": { + "operation": "boost", + "score": 0.057102020829916 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08289521187543869 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.014280424453318119 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.7491044998168945 + }, + "else": { + "operation": "boost", + "score": -0.10753372311592102 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05900188535451889 + }, + "else": { + "operation": "boost", + "score": 0.09750599414110184 + } + }, + "else": { + "operation": "boost", + "score": -0.31483229994773865 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.05701398476958275 + "score": -0.30739331245422363 }, "else": { "operation": "boost", - "score": -0.16310736536979675 + "score": 0.019726762548089027 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11711103469133377 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.018884576857089996 + "score": -0.46891945600509644 }, "else": { - "operation": "boost", - "score": -0.08979460597038269 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.0023249133955687284 + }, + "else": { + "operation": "boost", + "score": 0.06882044672966003 + } } + }, + "else": { + "operation": "boost", + "score": -0.1080026850104332 } } } + }, + "else": { + "operation": "boost", + "score": -0.2309470921754837 } + }, + "else": { + "operation": "boost", + "score": 0.12025420367717743 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 47907.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10983582586050034 + }, + "else": { + "operation": "boost", + "score": -0.3112095594406128 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.1131991446018219 + "score": 0.06792907416820526 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12238924950361252 + }, + "else": { + "operation": "boost", + "score": 0.180546373128891 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02724071405827999 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19353531301021576 + }, + "else": { + "operation": "boost", + "score": -0.12792856991291046 + } }, "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 147.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.12116503715515137 + "score": -0.12976323068141937 }, "else": { "operation": "boost", - "score": 0.12476029992103577 + "score": 0.07968764007091522 } }, "else": { "operation": "boost", - "score": 0.05429191142320633 + "score": 0.1668335646390915 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 140.0, + "then": { + "operation": "boost", + "score": -0.2383345365524292 + }, + "else": { + "operation": "boost", + "score": 0.39715927839279175 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1148194670677185 + }, + "else": { + "operation": "boost", + "score": -0.10154004395008087 + } } } }, "else": { "operation": "boost", - "score": -0.15494009852409363 + "score": -0.060091521590948105 } }, "else": { - "operation": "boost", - "score": -0.03723417967557907 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.020673135295510292 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.022844547405838966 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11146.5, "then": { "operation": "boost", - "score": 0.10875526070594788 + "score": 0.08897928893566132 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.551651120185852 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.12791571021080017 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11201556026935577 + }, + "else": { + "operation": "boost", + "score": 0.05609806999564171 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.0, + "then": { + "operation": "boost", + "score": -0.011268915608525276 + }, + "else": { + "operation": "boost", + "score": 0.2239556908607483 + } + } }, "else": { "operation": "boost", - "score": -0.10523691773414612 + "score": 0.1046842485666275 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.1270914375782013 + "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.346008837223053 + "score": -0.18597392737865448 } } + }, + "else": { + "operation": "boost", + "score": 0.1125451996922493 } }, "else": { - "operation": "boost", - "score": 0.037277765572071075 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.04580110311508179 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "boost", + "score": 0.1126372218132019 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11038171499967575 - }, - "else": { - "operation": "boost", - "score": 0.2691322863101959 - } + "operation": "boost", + "score": 0.25306209921836853 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.19605202972888947 + "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.15068234503269196 + "score": -0.528736412525177 } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": 0.03597107157111168 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.04335399344563484 + "score": 0.02464677393436432 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09717770665884018 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.13300995528697968 + "score": 0.017842065542936325 }, "else": { - "operation": "boost", - "score": 0.23705506324768066 + "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 } }, "else": { "operation": "boost", - "score": 0.04809797182679176 + "score": -0.5372982621192932 } } }, "else": { - "operation": "boost", - "score": 0.14735311269760132 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1368601769208908 + }, + "else": { + "operation": "boost", + "score": 0.022077729925513268 + } } + }, + "else": { + "operation": "boost", + "score": -0.8048356771469116 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09002743661403656 + "score": 0.0465388223528862 }, "else": { "operation": "boost", - "score": 0.16160421073436737 + "score": 0.14105838537216187 } }, "else": { "operation": "boost", - "score": 0.10452531278133392 + "score": 0.008821586146950722 } }, "else": { - "operation": "boost", - "score": 0.09006766974925995 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.004661059007048607 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.19481852650642395 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07420816272497177 + }, + "else": { + "operation": "boost", + "score": 0.13491596281528473 + } + }, + "else": { + "operation": "boost", + "score": 0.13585436344146729 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.050544336438179016 + }, + "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 + } + } + } + } } } }, "else": { "operation": "boost", - "score": 0.04783995822072029 + "score": 0.09890950471162796 } - }, - "else": { - "operation": "boost", - "score": 0.015738215297460556 } }, "else": { "operation": "boost", - "score": -0.1513517051935196 + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07710374891757965 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05652303248643875 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.6690322160720825 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12327463924884796 + }, + "else": { + "operation": "boost", + "score": 0.1360194981098175 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.27110031247138977 + } } }, "else": { "operation": "boost", - "score": 0.022895310074090958 + "score": 0.0072152563370764256 } } } - }, - "else": { - "operation": "boost", - "score": 0.006052488926798105 } } }, "else": { "operation": "boost", - "score": -0.04115688055753708 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.12936438620090485 - }, - "else": { - "operation": "boost", - "score": -0.04999976232647896 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0003319096576888114 - } - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63356.5, - "then": { - "operation": "boost", - "score": 0.1003948375582695 - }, - "else": { - "operation": "boost", - "score": 0.030733969062566757 + "score": -0.029334690421819687 } }, "else": { @@ -165798,255 +165710,191 @@ "feature": "Scope", "set": [ "ClassScope", - "GlobalScope" + "GlobalScope", + "FileScope" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Keyword", - "Macro" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": -0.0072496491484344006 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018692877143621445 - }, - "else": { - "operation": "boost", - "score": 0.12697356939315796 - } - }, - "else": { - "operation": "boost", - "score": -0.05447278171777725 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, "then": { "operation": "boost", - "score": 0.13613922894001007 + "score": -0.011153320781886578 }, "else": { "operation": "boost", - "score": -0.164313405752182 + "score": 0.12716445326805115 } }, "else": { "operation": "boost", - "score": -0.07120858132839203 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.10385958850383759 - }, - "else": { - "operation": "boost", - "score": -0.08566869050264359 + "score": -0.02786865271627903 } }, "else": { "operation": "boost", - "score": 0.10111366212368011 + "score": 0.02651609666645527 } + }, + "else": { + "operation": "boost", + "score": -0.19301681220531464 } } }, "else": { - "operation": "boost", - "score": -0.05859017372131348 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.08255402743816376 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 27.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.0034563811495900154 + "score": 0.00013891924754716456 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.02003803849220276 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 475.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114453.5, + "operation": "boost", + "score": 0.08352558314800262 + }, + "else": { + "operation": "boost", + "score": 0.00347784161567688 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.22095943987369537 + }, + "else": { + "operation": "boost", + "score": 0.06822864711284637 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.04765641316771507 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06522183865308762 - }, - "else": { - "operation": "boost", - "score": 0.10017950087785721 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11316259950399399 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "boost", - "score": 0.03633188083767891 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11137203872203827 - }, - "else": { - "operation": "boost", - "score": 0.09787867218255997 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11235874891281128 - } - } + "operation": "boost", + "score": 0.09146406501531601 }, "else": { "operation": "boost", - "score": -0.23306286334991455 + "score": 0.09923706948757172 } + } + }, + "else": { + "operation": "boost", + "score": 0.06766404211521149 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.0216072928160429 }, "else": { "operation": "boost", - "score": -0.011729204095900059 + "score": 0.0862593874335289 } }, "else": { - "operation": "boost", - "score": 0.006089833099395037 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.1273273080587387 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.037248704582452774 + }, + "else": { + "operation": "boost", + "score": 0.11049573123455048 + } + } } }, "else": { @@ -166054,2595 +165902,1964 @@ "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "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": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 849.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 899.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.05759876221418381 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3160.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0764358788728714 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04537364840507507 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1422247588634491 - }, - "else": { - "operation": "boost", - "score": 0.11731663346290588 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0732998251914978 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11367285251617432 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06811057776212692 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 265.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.15738144516944885 - }, - "else": { - "operation": "boost", - "score": 0.042425643652677536 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.09132500737905502 - }, - "else": { - "operation": "boost", - "score": 0.13467583060264587 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.15561823546886444 - }, - "else": { - "operation": "boost", - "score": 0.11316688358783722 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.0, - "then": { - "operation": "boost", - "score": 0.08453090488910675 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "boost", - "score": 0.17050234973430634 - }, - "else": { - "operation": "boost", - "score": 0.10934916883707047 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1467493325471878 - } - }, - "else": { - "operation": "boost", - "score": 0.12323183566331863 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.4953461289405823 - }, - "else": { - "operation": "boost", - "score": 0.11725916713476181 - } - }, - "else": { - "operation": "boost", - "score": 0.09870214760303497 - } - }, - "else": { - "operation": "boost", - "score": 0.11133751273155212 - } - } - } - } - } + "operation": "boost", + "score": 0.10385872423648834 }, "else": { "operation": "boost", - "score": 0.05008234456181526 + "score": -0.10186967253684998 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 346.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.02069147117435932 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 413.5, - "then": { - "operation": "boost", - "score": 0.06638245284557343 - }, - "else": { - "operation": "boost", - "score": -0.04054584354162216 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.008743670769035816 - }, - "else": { - "operation": "boost", - "score": 0.12748266756534576 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 345.5, - "then": { - "operation": "boost", - "score": 0.12278175354003906 - }, - "else": { - "operation": "boost", - "score": 0.07000778615474701 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.019065679982304573 - } - }, - "else": { - "operation": "boost", - "score": -0.03172704949975014 - } + "operation": "boost", + "score": -0.008823536336421967 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0022073364816606045 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010089710354804993 + } + }, + "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.013657504692673683 + }, + "else": { + "operation": "boost", + "score": 0.10327266901731491 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07041535526514053 + }, + "else": { + "operation": "boost", + "score": 0.11251435428857803 + } + }, + "else": { + "operation": "boost", + "score": 0.10417942702770233 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13367033004760742 + } + }, + "else": { + "operation": "boost", + "score": 0.004314618185162544 + } + }, + "else": { + "operation": "boost", + "score": 0.02368789166212082 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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": 243.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": 179.5, + "threshold": 526.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.02411276288330555 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 687.0, - "then": { - "operation": "boost", - "score": 0.049275949597358704 - }, - "else": { - "operation": "boost", - "score": 0.10162012279033661 - } - } - }, - "else": { - "operation": "boost", - "score": 0.037706729024648666 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 244.0, - "then": { - "operation": "boost", - "score": 0.03886885941028595 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.5, - "then": { - "operation": "boost", - "score": 0.13093434274196625 - }, - "else": { - "operation": "boost", - "score": 0.09266948699951172 - } - } - } + "operation": "boost", + "score": 0.12511710822582245 }, "else": { "operation": "boost", - "score": 0.03138900548219681 + "score": 0.1025642454624176 } }, "else": { "operation": "boost", - "score": 0.019132032990455627 + "score": -0.13176950812339783 } + }, + "else": { + "operation": "boost", + "score": 0.06785409897565842 } }, + "else": { + "operation": "boost", + "score": 0.11214737594127655 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.021648483350872993 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3648.0, + "threshold": 119.5, "then": { "operation": "boost", - "score": 0.03530014678835869 + "score": 0.08449821174144745 }, "else": { "operation": "boost", - "score": 0.015443546697497368 + "score": 0.10439064353704453 } } } }, "else": { - "operation": "boost", - "score": 0.0032496440690010786 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "boost", + "score": 0.12551316618919373 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.06092708557844162 + }, + "else": { + "operation": "boost", + "score": 0.1030334010720253 + } + } } }, "else": { + "operation": "boost", + "score": 0.0613037534058094 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 2.4202965505537577e-05 + "score": 0.03771568462252617 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.019533243030309677 + "score": 0.12047471106052399 }, "else": { - "operation": "boost", - "score": 0.003103461116552353 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 165.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 531.5, + "then": { + "operation": "boost", + "score": 0.11782926321029663 + }, + "else": { + "operation": "boost", + "score": -0.022730126976966858 + } + }, + "else": { + "operation": "boost", + "score": 0.1211313009262085 + } } } }, "else": { + "operation": "boost", + "score": 0.06281587481498718 + } + }, + "else": { + "operation": "boost", + "score": 0.07025919109582901 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 442.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 714.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 808.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.05808211490511894 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 756.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.004236965905874968 + "score": 0.10228637605905533 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11889427155256271 - }, - "else": { - "operation": "boost", - "score": 0.05949656292796135 - } - }, - "else": { - "operation": "boost", - "score": 0.022698312997817993 - } - }, - "else": { - "operation": "boost", - "score": 0.0613207072019577 - } + "operation": "boost", + "score": 0.11970552057027817 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": -0.15403933823108673 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0022847920190542936 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 699.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07794809341430664 + }, + "else": { + "operation": "boost", + "score": 0.13463523983955383 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.03746005892753601 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 529.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 680.5, "then": { "operation": "boost", - "score": -0.015568980015814304 + "score": 0.10801044851541519 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "boost", + "score": -0.015266263857483864 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 522.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.1236434057354927 + }, + "else": { + "operation": "boost", + "score": 0.07530451565980911 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 509.0, "then": { "operation": "boost", - "score": 0.057347897440195084 + "score": -0.30431389808654785 }, "else": { - "operation": "boost", - "score": 0.11429207772016525 + "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.1139167919754982 + "score": -0.20733429491519928 } } } - }, - "else": { - "operation": "boost", - "score": -0.005728366784751415 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 117.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 363.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 378.5, + "threshold": 246.0, "then": { - "operation": "boost", - "score": 0.04955368489027023 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.11217302083969116 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11548911780118942 - }, - "else": { - "operation": "boost", - "score": 0.11411118507385254 - } - } + "operation": "boost", + "score": 0.05742013081908226 }, "else": { "operation": "boost", - "score": -0.10168713331222534 + "score": 0.15960188210010529 } + }, + "else": { + "operation": "boost", + "score": 0.07441180944442749 } }, "else": { "operation": "boost", - "score": -0.005567097570747137 + "score": 0.031155792996287346 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "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": "FileProximityDistance", - "threshold": 20.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsNameInContext", "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.008519728668034077 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06419621407985687 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.041287604719400406 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.12079707533121109 - }, - "else": { - "operation": "boost", - "score": -0.19843769073486328 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.1138964369893074 - }, - "else": { - "operation": "boost", - "score": 0.1258002072572708 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11172787845134735 - }, - "else": { - "operation": "boost", - "score": 0.130096435546875 - } - }, - "else": { - "operation": "boost", - "score": -0.08226561546325684 - } - }, - "else": { - "operation": "boost", - "score": 0.11562023311853409 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07592606544494629 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12456393241882324 - }, - "else": { - "operation": "boost", - "score": 0.08860722184181213 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11598047614097595 - }, - "else": { - "operation": "boost", - "score": 0.04811074957251549 - } - }, - "else": { - "operation": "boost", - "score": 0.0846494659781456 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09342871606349945 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.007232227828353643 + "score": -0.028974639251828194 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 73.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 100.0, "then": { "operation": "boost", - "score": 0.00220676907338202 + "score": -0.01280986424535513 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.026957720518112183 + "score": 0.10614784061908722 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.06210997700691223 - }, - "else": { - "operation": "boost", - "score": 0.09885347634553909 - } - }, - "else": { - "operation": "boost", - "score": 0.07374576479196548 - } + "operation": "boost", + "score": 0.06375163048505783 } } }, "else": { "operation": "boost", - "score": 0.04844943806529045 + "score": 0.11499449610710144 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 156.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.5, - "then": { - "operation": "boost", - "score": 0.100385881960392 - }, - "else": { - "operation": "boost", - "score": 0.0894005224108696 - } + "operation": "boost", + "score": 0.11333557218313217 }, "else": { "operation": "boost", - "score": -0.05297039821743965 + "score": 0.043844010680913925 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.04416149482131004 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 529.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 791.5, - "then": { - "operation": "boost", - "score": -0.00035879487404599786 - }, - "else": { - "operation": "boost", - "score": 0.14800825715065002 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 536.0, - "then": { - "operation": "boost", - "score": 0.024295279756188393 - }, - "else": { - "operation": "boost", - "score": 0.14031457901000977 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.048667117953300476 + "score": 0.1159631758928299 }, "else": { "operation": "boost", - "score": 0.028127960860729218 + "score": 0.014599831774830818 } + }, + "else": { + "operation": "boost", + "score": 0.10660149157047272 } } } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.038174472749233246 + }, + "else": { + "operation": "boost", + "score": -0.12939129769802094 + } } }, "else": { - "operation": "boost", - "score": -0.005531073082238436 - } - }, - "else": { - "operation": "boost", - "score": -0.011196260340511799 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0810469463467598 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 407.5, "then": { - "operation": "boost", - "score": 0.008123503066599369 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 430.0, "then": { "operation": "boost", - "score": 0.07796413451433182 + "score": -0.4787428379058838 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.09385167807340622 + "score": 0.11294212937355042 }, "else": { "operation": "boost", - "score": 0.08277484029531479 + "score": 0.05368529260158539 } } - } - }, - "else": { - "operation": "boost", - "score": 0.04466300457715988 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 375849.5, + "threshold": 278.5, "then": { "operation": "boost", - "score": 0.11545509845018387 + "score": 0.09435654431581497 }, "else": { "operation": "boost", - "score": 0.012380361557006836 + "score": 0.018672190606594086 } }, "else": { "operation": "boost", - "score": -0.06459947675466537 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297854.5, - "then": { - "operation": "boost", - "score": 0.01597612164914608 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0055144052021205425 - }, - "else": { - "operation": "boost", - "score": 0.10683973133563995 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.016816694289445877 - }, - "else": { - "operation": "boost", - "score": -0.405837744474411 - } - }, - "else": { - "operation": "boost", - "score": 0.1083776205778122 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0037210267037153244 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02715117670595646 - }, - "else": { - "operation": "boost", - "score": 0.12358171492815018 - } - }, - "else": { - "operation": "boost", - "score": 0.04092874005436897 - } - } - } - } + "score": -0.05383143573999405 } } }, "else": { "operation": "boost", - "score": -0.29228025674819946 + "score": 0.007436295039951801 } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.04454689100384712 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 256304.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": 0.011047044768929482 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012189654633402824 + }, + "else": { + "operation": "boost", + "score": 0.03060128539800644 + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.008187953382730484 + }, + "else": { + "operation": "boost", + "score": -0.07554813474416733 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.0027695607859641314 + }, + "else": { + "operation": "boost", + "score": -0.016267811879515648 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11939764767885208 + }, + "else": { + "operation": "boost", + "score": 0.04071556776762009 + } + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.1138385683298111 + "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.11088249087333679 + "score": -0.05312175676226616 } }, "else": { "operation": "boost", - "score": -0.12598226964473724 + "score": -0.18867696821689606 } - }, - "else": { - "operation": "boost", - "score": -0.2465052455663681 } }, "else": { + "operation": "boost", + "score": 0.02367999404668808 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.00952683761715889 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1541469544172287 - }, - "else": { - "operation": "boost", - "score": -0.004008747171610594 - } + "operation": "boost", + "score": -0.10391449928283691 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.16090433299541473 + "score": -0.12532950937747955 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "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.07175485789775848 + "score": 0.13435927033424377 }, "else": { "operation": "boost", - "score": -0.07716066390275955 + "score": -0.17525553703308105 } - }, - "else": { - "operation": "boost", - "score": 0.05184927582740784 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.06814349442720413 - }, - "else": { - "operation": "boost", - "score": -0.28557562828063965 - } + "operation": "boost", + "score": -0.07201103866100311 } } } - }, - "else": { - "operation": "boost", - "score": -0.01092443522065878 } + }, + "else": { + "operation": "boost", + "score": 0.021887045353651047 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.0062806191854178905 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.04824807494878769 + "score": 0.01220256369560957 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.03007330745458603 + "score": -0.08399244397878647 }, "else": { "operation": "boost", - "score": 0.05948161333799362 + "score": -0.022713622078299522 } } + }, + "else": { + "operation": "boost", + "score": 0.014795291237533092 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "boost", + "score": 0.024689285084605217 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.04785926640033722 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.005915036424994469 + "score": 0.02093617431819439 }, "else": { - "operation": "boost", - "score": 0.0925249457359314 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08369872719049454 + }, + "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 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.023589113727211952 } - }, - "else": { - "operation": "boost", - "score": 0.015900570899248123 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.004359783139079809 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62487.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.06405721604824066 - }, - "else": { - "operation": "boost", - "score": -0.9834610819816589 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188273.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06154000759124756 - }, - "else": { - "operation": "boost", - "score": 0.11627461016178131 - } + "score": 0.036644600331783295 }, "else": { - "operation": "boost", - "score": -0.14839056134223938 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.06733790785074234 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86164.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 89117.0, + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "boost", - "score": 0.10245227068662643 - }, - "else": { - "operation": "boost", - "score": 0.1171468198299408 - } - }, - "else": { - "operation": "boost", - "score": 0.08896894007921219 - } - }, - "else": { - "operation": "boost", - "score": -0.032901160418987274 - } + "operation": "boost", + "score": 0.11642182618379593 }, "else": { "operation": "boost", - "score": 0.09891004115343094 + "score": 0.501682460308075 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "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.3224180340766907 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.25738129019737244 + "score": 0.09922176599502563 }, "else": { "operation": "boost", - "score": 0.10235228389501572 + "score": 0.06242829188704491 } + }, + "else": { + "operation": "boost", + "score": -0.0557456910610199 } } - }, - "else": { - "operation": "boost", - "score": 0.0057429480366408825 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { "operation": "boost", - "score": -0.0151691734790802 + "score": -0.13248507678508759 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "boost", - "score": 0.163284033536911 + "score": 0.09993742406368256 }, "else": { - "operation": "boost", - "score": 0.1298818439245224 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06933823972940445 + }, + "else": { + "operation": "boost", + "score": 0.04978952929377556 + } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55726.0, + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.09407194703817368 + "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.013413242995738983 + }, + "else": { + "operation": "boost", + "score": -0.57021164894104 + } }, "else": { "operation": "boost", - "score": 0.12173563987016678 + "score": 0.015164351090788841 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.18938249349594116 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61054.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.13095436990261078 + "score": 0.034488387405872345 }, "else": { "operation": "boost", - "score": 0.06055384501814842 + "score": 0.09913968294858932 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53115.0, - "then": { - "operation": "boost", - "score": 0.043383415788412094 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1212162971496582 }, "else": { "operation": "boost", - "score": 0.11886115372180939 + "score": -0.03931058570742607 } + }, + "else": { + "operation": "boost", + "score": -0.19508744776248932 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.015930715948343277 }, "else": { - "operation": "boost", - "score": -0.02622266672551632 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.035306528210639954 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06771118938922882 - }, - "else": { - "operation": "boost", - "score": 0.12990084290504456 - } - }, - "else": { - "operation": "boost", - "score": 0.08355629444122314 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08434094488620758 - }, - "else": { - "operation": "boost", - "score": 0.12779274582862854 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.027804331853985786 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "boost", - "score": 0.11462718993425369 - }, - "else": { - "operation": "boost", - "score": -0.10648073256015778 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.1270001381635666 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.052710987627506256 - }, - "else": { - "operation": "boost", - "score": 0.09746646136045456 - } - } + "score": 0.008537189103662968 }, "else": { "operation": "boost", - "score": -0.012669222429394722 + "score": 0.03797664865851402 } } } - }, - "else": { - "operation": "boost", - "score": 0.026514479890465736 } } - }, - "else": { - "operation": "boost", - "score": 0.004081185907125473 } }, + "else": { + "operation": "boost", + "score": -0.007691659964621067 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.02389529161155224 + }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08267975598573685 + }, + "else": { + "operation": "boost", + "score": -0.0069737969897687435 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.08391185104846954 + "score": -0.11558487266302109 }, "else": { "operation": "boost", - "score": 0.09664853662252426 + "score": 0.09155163913965225 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.12918183207511902 + "score": 0.10619419813156128 }, "else": { "operation": "boost", - "score": 0.125321626663208 + "score": 0.07309644669294357 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1323665976524353 + "score": 0.06985469162464142 }, "else": { "operation": "boost", - "score": 0.20952501893043518 + "score": -0.03744393214583397 } } - }, - "else": { - "operation": "boost", - "score": -0.16441352665424347 } } }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "IsReservedName", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.048625435680150986 - }, - "else": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope" + "FunctionScope", + "GlobalScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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", + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassStructUnion" ], "then": { "operation": "boost", - "score": 0.05915965884923935 + "score": 0.09340789914131165 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.00450750021263957 - }, - "else": { - "operation": "boost", - "score": -0.025545744225382805 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08552315831184387 - }, - "else": { - "operation": "boost", - "score": 0.02858991175889969 - } - }, - "else": { - "operation": "boost", - "score": 0.01172240823507309 - } - }, - "else": { - "operation": "boost", - "score": -0.02093031257390976 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011823014356195927 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.04692383110523224 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028022510930895805 - }, - "else": { - "operation": "boost", - "score": 0.02824583649635315 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01591641642153263 + "score": 0.03939313441514969 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029602892696857452 - }, - "else": { - "operation": "boost", - "score": -0.022244710475206375 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.03733459860086441 - }, - "else": { - "operation": "boost", - "score": 0.07755802571773529 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.11866122484207153 + "score": -0.003076889319345355 }, "else": { - "operation": "boost", - "score": -0.12977007031440735 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02881650999188423 - }, - "else": { - "operation": "boost", - "score": 0.06117740273475647 - } - }, - "else": { - "operation": "boost", - "score": 0.06540018320083618 - } + "operation": "boost", + "score": 0.08105888217687607 }, "else": { "operation": "boost", - "score": 0.00915785226970911 + "score": 0.047512609511613846 } }, "else": { "operation": "boost", - "score": -0.04979797825217247 + "score": 0.046971965581178665 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.05495264008641243 + "score": 0.041850745677948 }, "else": { "operation": "boost", - "score": -0.0038915222976356745 + "score": 0.03457697853446007 } } - }, - "else": { - "operation": "boost", - "score": 0.003625190583989024 } } + }, + "else": { + "operation": "boost", + "score": -0.01977895386517048 } } + }, + "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_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.0051231081597507 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.027657946571707726 + "score": 0.0070789470337331295 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016642140224575996 + }, + "else": { + "operation": "boost", + "score": 0.11241426318883896 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03195730969309807 + "score": 0.003019941970705986 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0024459438864141703 + "score": 0.23484379053115845 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.0535971000790596 + "score": 0.21190407872200012 }, "else": { "operation": "boost", - "score": 0.10762840509414673 + "score": 0.21277908980846405 } } } }, "else": { "operation": "boost", - "score": -0.0562572106719017 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.009825807996094227 - }, - "else": { - "operation": "boost", - "score": -0.016061389818787575 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0075268796645104885 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0040571196004748344 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32457.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.02812405861914158 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04292118549346924 - }, - "else": { - "operation": "boost", - "score": 0.07246055454015732 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "boost", - "score": 0.007142963353544474 - }, - "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": 17.0, - "then": { - "operation": "boost", - "score": 0.04445810988545418 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07234994322061539 - }, - "else": { - "operation": "boost", - "score": 0.12459947913885117 - } - }, - "else": { - "operation": "boost", - "score": 0.07735076546669006 + "score": 0.07696270197629929 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07759760320186615 }, "else": { - "operation": "boost", - "score": 0.11846114695072174 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0045952629297971725 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32671.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43302.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.18660765886306763 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46801.5, - "then": { - "operation": "boost", - "score": 0.12325899302959442 - }, - "else": { - "operation": "boost", - "score": -0.017370762303471565 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08949686586856842 + "score": 0.04765865579247475 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.12449032068252563 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.10817670822143555 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.14332698285579681 + }, + "else": { + "operation": "boost", + "score": 0.1442285180091858 + } + }, + "else": { + "operation": "boost", + "score": 0.07631996273994446 + } }, "else": { "operation": "boost", - "score": -0.11166375875473022 + "score": 0.21851027011871338 } + }, + "else": { + "operation": "boost", + "score": 0.12000086158514023 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.056546639651060104 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.11383390426635742 - }, - "else": { - "operation": "boost", - "score": 0.1093723475933075 - } + "operation": "boost", + "score": 0.060571663081645966 }, "else": { "operation": "boost", - "score": 0.5017937421798706 + "score": 0.010004518553614616 } } }, "else": { "operation": "boost", - "score": 0.003025184851139784 + "score": -0.10815229266881943 } } }, "else": { - "operation": "boost", - "score": 0.19713792204856873 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.07831817865371704 + }, + "else": { + "operation": "boost", + "score": 0.001132429693825543 + } } }, "else": { - "operation": "boost", - "score": 0.0241587795317173 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.08151651173830032 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.003689018078148365 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 224557.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.22783520817756653 + "score": 0.015800995752215385 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_Statement", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01643211953341961 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName" + "Keyword", + "Variable", + "Operator", + "Unknown", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1229725331068039 - }, - "else": { - "operation": "boost", - "score": 0.13032318651676178 - } - }, - "else": { - "operation": "boost", - "score": 0.011606930755078793 - } + "operation": "boost", + "score": 0.02829454280436039 }, "else": { "operation": "boost", - "score": 0.0866444855928421 + "score": -0.15658728778362274 } + }, + "else": { + "operation": "boost", + "score": 0.0029067222494632006 } }, "else": { "operation": "boost", - "score": -0.10316739976406097 + "score": -0.003338867099955678 } } }, "else": { - "operation": "boost", - "score": -0.01136262807995081 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029834533110260963 + }, + "else": { + "operation": "boost", + "score": -0.05274703726172447 + } + }, + "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_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", @@ -168651,528 +167868,375 @@ ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.23656854033470154 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.05378349870443344 + "score": 0.06751847267150879 }, "else": { "operation": "boost", - "score": 0.11566497385501862 + "score": 0.0791878029704094 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.05152590572834015 }, "else": { "operation": "boost", - "score": 0.1081981211900711 + "score": 0.04206571727991104 } + }, + "else": { + "operation": "boost", + "score": 0.010977627709507942 } }, "else": { "operation": "boost", - "score": 0.06078901141881943 + "score": 0.023907802999019623 } }, "else": { "operation": "boost", - "score": -0.24722912907600403 + "score": 0.0045145731419324875 } } - }, - "else": { - "operation": "boost", - "score": 0.006205989047884941 } } - } - }, - "else": { - "operation": "boost", - "score": -0.03078381158411503 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.0034954806324094534 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09192093461751938 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 12.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.007571292109787464 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 50010.5, + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10002513229846954 - }, - "else": { - "operation": "boost", - "score": -0.14225061237812042 - } + "operation": "boost", + "score": 0.0013663654681295156 }, "else": { - "operation": "boost", - "score": -0.08195581287145615 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.006126089952886105 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 629.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 723.0, "then": { "operation": "boost", - "score": 0.026489224284887314 + "score": 0.00013861303159501404 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.12218885123729706 + "score": 0.1292324811220169 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.08756490796804428 - }, - "else": { - "operation": "boost", - "score": -0.22296197712421417 - } - }, - "else": { - "operation": "boost", - "score": 0.10355181246995926 - } + "operation": "boost", + "score": 0.10409152507781982 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": -2.06154727935791 + "score": -0.013871905393898487 }, "else": { - "operation": "boost", - "score": -0.1231057420372963 - } - }, - "else": { - "operation": "boost", - "score": 0.006442958489060402 - } - }, - "else": { - "operation": "boost", - "score": 0.07543613016605377 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04916173964738846 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.027457106858491898 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16857.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32157.0, - "then": { - "operation": "boost", - "score": 0.05617765709757805 - }, - "else": { - "operation": "boost", - "score": -0.06463023275136948 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10581992566585541 - }, - "else": { - "operation": "boost", - "score": -0.1152748391032219 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16362.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other" + ], "then": { "operation": "boost", - "score": 0.10324990004301071 + "score": 0.13522234559059143 }, "else": { "operation": "boost", - "score": -0.010216441936790943 + "score": -0.17107143998146057 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13189.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13627.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.07004314661026001 + "score": 0.05631513521075249 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10892541706562042 - }, - "else": { - "operation": "boost", - "score": 0.033688902854919434 - } + "operation": "boost", + "score": 0.12129152566194534 } }, "else": { - "operation": "boost", - "score": -0.019252199679613113 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03390796482563019 + }, + "else": { + "operation": "boost", + "score": -0.8755866289138794 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03851879760622978 + "score": -0.04719221591949463 }, "else": { - "operation": "boost", - "score": 0.14760753512382507 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.044473662972450256 + }, + "else": { + "operation": "boost", + "score": 0.13805744051933289 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.03948942944407463 + }, + "else": { + "operation": "boost", + "score": 0.14127756655216217 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.2629467248916626 + }, + "else": { + "operation": "boost", + "score": 0.06323469430208206 + } + } + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { - "operation": "boost", - "score": 0.06138027831912041 - }, - "else": { - "operation": "boost", - "score": 0.09467802196741104 - } + "operation": "boost", + "score": -0.057876937091350555 } } } }, "else": { "operation": "boost", - "score": 0.028117189183831215 + "score": 0.01129173394292593 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, - "then": { - "operation": "boost", - "score": -0.18802940845489502 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30750.5, + "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": "if_greater", "feature": "NumReferences", - "threshold": 31879.0, + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.016627345234155655 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": 0.11550357937812805 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.29495301842689514 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13257446885108948 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.038419365882873535 + "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": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10244087129831314 + "score": -0.09138701111078262 }, "else": { - "operation": "boost", - "score": 0.10153410583734512 + "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": "boost", - "score": 0.0579800009727478 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8375.5, - "then": { - "operation": "boost", - "score": -0.10662905126810074 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6404.5, + "threshold": 329.0, "then": { + "operation": "boost", + "score": 0.10365032404661179 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7991.0, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.09700439125299454 + "score": 0.025585994124412537 }, "else": { - "operation": "boost", - "score": -0.10825083404779434 + "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.11310521513223648 } }, "else": { "operation": "boost", - "score": -0.005849838722497225 + "score": -0.024192897602915764 } } }, @@ -169180,93 +168244,77 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "boost", - "score": -0.022983744740486145 - }, - "else": { - "operation": "boost", - "score": 0.1544065773487091 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.15600170195102692 - }, - "else": { - "operation": "boost", - "score": -0.13896077871322632 - } - } + "operation": "boost", + "score": -0.011955315247178078 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1230.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15082.5, - "then": { - "operation": "boost", - "score": 0.021799201145768166 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10812561213970184 - }, - "else": { - "operation": "boost", - "score": 0.12259556353092194 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009490326046943665 - } - }, - "else": { - "operation": "boost", - "score": 0.08369549363851547 - } + "operation": "boost", + "score": -0.03166820481419563 }, "else": { "operation": "boost", - "score": -0.06742538511753082 + "score": -0.0875082015991211 } } } }, "else": { "operation": "boost", - "score": -0.01764746382832527 + "score": -0.009225786663591862 + } + }, + "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": 3.5, + "then": { + "operation": "boost", + "score": 0.06667456775903702 + }, + "else": { + "operation": "boost", + "score": 0.10136393457651138 + } + }, + "else": { + "operation": "boost", + "score": 0.015119596384465694 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.6878109574317932 + }, + "else": { + "operation": "boost", + "score": -0.12603099644184113 + } } } } @@ -169274,5449 +168322,5506 @@ } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "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.01594984345138073 + }, + "else": { + "operation": "boost", + "score": -0.11719664931297302 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 132.5, "then": { - "operation": "boost", - "score": -0.040967751294374466 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.02404838241636753 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11389802396297455 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.5, + "then": { + "operation": "boost", + "score": -0.14481811225414276 + }, + "else": { + "operation": "boost", + "score": 0.11039972305297852 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "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": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10311231017112732 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05036347731947899 + }, + "else": { + "operation": "boost", + "score": 0.09376374632120132 + } + } + }, + "else": { + "operation": "boost", + "score": -0.022795360535383224 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.03594272583723068 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.004106019623577595 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.1258559376001358 + "score": -0.1362394243478775 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": -0.0019690748304128647 + "score": 0.08494244515895844 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.015102632343769073 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.020350389182567596 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.031241264194250107 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0882117971777916 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.08570568263530731 - }, - "else": { - "operation": "boost", - "score": 0.04963240772485733 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.058976054191589355 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10450724512338638 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1371631771326065 - }, - "else": { - "operation": "boost", - "score": 0.09197259694337845 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.025875352323055267 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09965762495994568 - }, - "else": { - "operation": "boost", - "score": 0.08449964970350266 - } - }, - "else": { - "operation": "boost", - "score": 0.025160646066069603 - } - } - } - } + "operation": "boost", + "score": 0.043627530336380005 } } }, "else": { "operation": "boost", - "score": 0.019995829090476036 + "score": 0.033613771200180054 } } - }, - "else": { - "operation": "boost", - "score": -0.0038514083717018366 } } }, - "else": { - "operation": "boost", - "score": -0.034820519387722015 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0008220425224862993 - }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.006626317277550697 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.11819307506084442 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "boost", + "score": -0.41323423385620117 + }, + "else": { + "operation": "boost", + "score": 0.10910850763320923 + } + }, + "else": { + "operation": "boost", + "score": 0.06427311152219772 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.5, + "then": { + "operation": "boost", + "score": -0.5822681784629822 + }, + "else": { + "operation": "boost", + "score": 0.009204646572470665 + } + } + }, + "else": { + "operation": "boost", + "score": -0.010871464386582375 + } + }, + "else": { + "operation": "boost", + "score": -0.0369434654712677 + } }, "else": { - "operation": "boost", - "score": -0.4082106649875641 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.00016591935127507895 + } } - }, - "else": { - "operation": "boost", - "score": 0.03758450970053673 } } } } + }, + "else": { + "operation": "boost", + "score": -0.002948935143649578 } - }, - "else": { - "operation": "boost", - "score": -0.0051004160195589066 } } - }, - "else": { - "operation": "boost", - "score": -0.0008115670643746853 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 422.5, + "threshold": 18618.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 11.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 578.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.030097493901848793 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 561.5, - "then": { - "operation": "boost", - "score": 0.13642336428165436 - }, - "else": { - "operation": "boost", - "score": 0.05419159680604935 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 89117.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3207.5, + "threshold": 97357.5, "then": { + "operation": "boost", + "score": 0.009505398571491241 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.02746429294347763 + "score": 0.12002420425415039 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3454.5, + "operation": "boost", + "score": 0.14087285101413727 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06017472967505455 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.12865585088729858 + }, + "else": { + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.05791811645030975 + "score": -0.23914828896522522 + }, + "else": { + "operation": "boost", + "score": 0.03419800475239754 + } + }, + "else": { + "operation": "boost", + "score": -0.20026522874832153 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "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": "NumReferences", - "threshold": 6947.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10172.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08241197466850281 + "score": 0.09560355544090271 }, "else": { "operation": "boost", - "score": 0.11404859274625778 + "score": 0.07678703218698502 } }, "else": { "operation": "boost", - "score": 0.020699750632047653 + "score": 0.10439599305391312 } } }, "else": { - "operation": "boost", - "score": 0.16511711478233337 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.004656864795833826 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05444567650556564 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23670.0, + "then": { + "operation": "boost", + "score": 0.06714744865894318 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23530.5, + "then": { + "operation": "boost", + "score": 0.11011823266744614 + }, + "else": { + "operation": "boost", + "score": 0.104581817984581 + } + } + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.010232037864625454 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 61294.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 424.5, + "threshold": 62580.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.10282232612371445 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.01858234405517578 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02026466839015484 + "score": -0.1035323217511177 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148872.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.04853149503469467 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 72713.0, "then": { - "operation": "boost", - "score": 0.024549338966608047 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.026126712560653687 + }, + "else": { + "operation": "boost", + "score": 0.12102095782756805 + } }, "else": { "operation": "boost", - "score": -0.7578920722007751 + "score": 0.1194237694144249 } - }, - "else": { - "operation": "boost", - "score": 0.08283162862062454 } } - }, - "else": { - "operation": "boost", - "score": -0.21570737659931183 } }, "else": { "operation": "boost", - "score": 0.003872538451105356 + "score": -0.07273460179567337 } + }, + "else": { + "operation": "boost", + "score": 0.012073070742189884 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.11722041666507721 + "score": 0.1238069161772728 }, "else": { "operation": "boost", - "score": -0.17589034140110016 + "score": 0.1116797924041748 } }, "else": { - "operation": "boost", - "score": -0.10526219755411148 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "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_greater", - "feature": "NumReferences", - "threshold": 1494.5, - "then": { - "operation": "boost", - "score": -0.004559560678899288 - }, - "else": { - "operation": "boost", - "score": 0.08514554053544998 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.13016842305660248 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4094.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23353.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.041846152395009995 - }, - "else": { - "operation": "boost", - "score": -0.0026579631958156824 - } - }, "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": 4288.5, + "threshold": 27682.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43744.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.06477037817239761 + }, + "else": { + "operation": "boost", + "score": -0.021119985729455948 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16227.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20708.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.12086769938468933 + "score": 0.12158134579658508 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "boost", + "score": 0.04020101577043533 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28523.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.026671187952160835 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20206.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0619380809366703 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20410.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10567180812358856 - }, - "else": { - "operation": "boost", - "score": 0.17215201258659363 - } - }, - "else": { - "operation": "boost", - "score": 0.04254397004842758 - } - }, - "else": { - "operation": "boost", - "score": -0.011717641726136208 - } - }, - "else": { - "operation": "boost", - "score": 0.10791706293821335 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1336260735988617 - } + "operation": "boost", + "score": 0.05797029659152031 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.07463422417640686 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18335.5, - "then": { - "operation": "boost", - "score": 0.09903448075056076 - }, - "else": { - "operation": "boost", - "score": 0.09562435746192932 - } - } + "operation": "boost", + "score": 0.11361493170261383 }, "else": { "operation": "boost", - "score": 0.02846723608672619 + "score": 0.03915403038263321 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.005585544742643833 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.14032405614852905 + "score": 0.0583963580429554 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07613622397184372 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.03368699178099632 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11385820806026459 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9251.0, - "then": { - "operation": "boost", - "score": -0.2369096279144287 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6425.0, - "then": { - "operation": "boost", - "score": 0.1132257878780365 - }, - "else": { - "operation": "boost", - "score": 0.0091697433963418 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.05138019472360611 - } + "operation": "boost", + "score": -0.005304524675011635 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03098493069410324 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7142.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.13189245760440826 + "score": 0.07451623678207397 }, "else": { "operation": "boost", - "score": 0.05226994678378105 + "score": 0.13529548048973083 } + }, + "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": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 20414.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9226.0, - "then": { - "operation": "boost", - "score": 0.11823324859142303 - }, - "else": { - "operation": "boost", - "score": -0.10450970381498337 - } - }, - "else": { - "operation": "boost", - "score": -0.10486952215433121 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.15372391045093536 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11358688026666641 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11264657229185104 - }, - "else": { - "operation": "boost", - "score": -0.10275890678167343 - } + "operation": "boost", + "score": 0.10894308984279633 }, "else": { "operation": "boost", - "score": -0.6454867124557495 + "score": 0.11612065136432648 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14599.5, - "then": { - "operation": "boost", - "score": -0.10158924758434296 }, "else": { "operation": "boost", - "score": 0.04307197034358978 + "score": 0.16439983248710632 } + }, + "else": { + "operation": "boost", + "score": 0.059115756303071976 } + }, + "else": { + "operation": "boost", + "score": 0.05035281553864479 } + }, + "else": { + "operation": "boost", + "score": -0.08106474578380585 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, + "then": { + "operation": "boost", + "score": -0.06821350753307343 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4286.0, + "threshold": 32519.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11557407677173615 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 33041.5, "then": { "operation": "boost", - "score": -0.1734788566827774 + "score": -0.0021671403665095568 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.20401886105537415 - }, - "else": { - "operation": "boost", - "score": 0.11762560904026031 - } + "operation": "boost", + "score": 0.12483098357915878 } + }, + "else": { + "operation": "boost", + "score": -0.00896223820745945 } }, "else": { + "operation": "boost", + "score": -0.04704482853412628 + } + } + } + } + } + } + }, + "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": "boost", + "score": 0.030461158603429794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25183.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4140.5, + "threshold": 25726.0, "then": { "operation": "boost", - "score": 0.029721802100539207 + "score": 0.024396678432822227 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.10724319517612457 + "score": 0.10218120366334915 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.09142908453941345 - }, - "else": { - "operation": "boost", - "score": -0.013204404152929783 - } + "operation": "boost", + "score": 0.014440156519412994 } } + }, + "else": { + "operation": "boost", + "score": -0.1464831680059433 } + }, + "else": { + "operation": "boost", + "score": -0.01610996574163437 } }, "else": { + "operation": "boost", + "score": 0.11484185606241226 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19176.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": 0.10741882771253586 + }, + "else": { + "operation": "boost", + "score": 0.10754286497831345 + } + }, + "else": { + "operation": "boost", + "score": 0.05749361962080002 + } + }, + "else": { + "operation": "boost", + "score": 0.08867527544498444 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.02886549010872841 + }, + "else": { + "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", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.06194213777780533 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19617.5, + "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19792.5, + "threshold": 286067.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 383039.5, "then": { - "operation": "boost", - "score": 0.09901595860719681 + "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_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.11113294214010239 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.118867889046669 + "score": -0.31616127490997314 }, "else": { - "operation": "boost", - "score": 0.1345231980085373 + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 187158.0, + "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": 11.5, + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.05191243067383766 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22681.0, + "threshold": 234850.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "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.09683194011449814 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.0, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10529522597789764 + "score": 0.10969401150941849 }, "else": { "operation": "boost", - "score": 0.047605425119400024 + "score": -0.11513693630695343 } + }, + "else": { + "operation": "boost", + "score": -0.27166351675987244 } }, "else": { "operation": "boost", - "score": 0.04763590916991234 + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.1380859613418579 + "score": 0.11294378340244293 }, "else": { "operation": "boost", - "score": -0.0548347532749176 + "score": 0.07727304100990295 } } + }, + "else": { + "operation": "boost", + "score": 0.031143270432949066 } - }, - "else": { - "operation": "boost", - "score": -0.126789391040802 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08924222737550735 - }, - "else": { - "operation": "boost", - "score": 0.10351375490427017 - } - } - }, - "else": { - "operation": "boost", - "score": -0.19520464539527893 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.09070945531129837 - }, - "else": { - "operation": "boost", - "score": -0.2460242658853531 - } - }, - "else": { - "operation": "boost", - "score": 0.12537607550621033 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15389.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16362.0, - "then": { - "operation": "boost", - "score": 0.0017322010826319456 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 105803.0, "then": { + "operation": "boost", + "score": 0.04125822335481644 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.08783268928527832 + "score": 0.10985764861106873 }, "else": { - "operation": "boost", - "score": 0.10550008714199066 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.07925869524478912 + }, + "else": { + "operation": "boost", + "score": 0.11917590349912643 + } } - }, - "else": { - "operation": "boost", - "score": 0.14756424725055695 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0727568119764328 - }, - "else": { - "operation": "boost", - "score": 0.07277923822402954 - } + "operation": "boost", + "score": -0.009420318529009819 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13357719779014587 - }, - "else": { - "operation": "boost", - "score": -0.09259357303380966 - } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.02523493394255638 - }, - "else": { - "operation": "boost", - "score": -0.15964928269386292 - } + "operation": "boost", + "score": -0.12185569852590561 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, "then": { + "operation": "boost", + "score": 0.005898073315620422 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6530.5, + "threshold": 108984.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6689.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.012928934767842293 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13034.5, - "then": { - "operation": "boost", - "score": 0.12314266711473465 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10561008006334305 - }, - "else": { - "operation": "boost", - "score": -0.2672669589519501 - } - } - } + "operation": "boost", + "score": 0.09585867077112198 }, "else": { "operation": "boost", - "score": -0.010259897448122501 + "score": 0.11302101612091064 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10726697742938995 + "score": -0.13184835016727448 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.1421714425086975 + "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.10999464988708496 + "score": 0.084864042699337 } }, "else": { - "operation": "boost", - "score": 0.12416967004537582 + "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 + } } } } }, "else": { "operation": "boost", - "score": 0.05207158997654915 + "score": 0.04528266564011574 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16141.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.01652495190501213 - }, - "else": { - "operation": "boost", - "score": 0.11638878285884857 - } + "operation": "boost", + "score": 0.04164939373731613 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7172.5, - "then": { - "operation": "boost", - "score": 0.04492727294564247 - }, - "else": { - "operation": "boost", - "score": 0.10394910722970963 - } + "operation": "boost", + "score": 0.08466066420078278 }, "else": { "operation": "boost", - "score": 0.06458446383476257 + "score": 0.10075443238019943 } } }, "else": { "operation": "boost", - "score": 0.0034836840350180864 + "score": 0.04029922932386398 } + }, + "else": { + "operation": "boost", + "score": -0.13779930770397186 } - }, - "else": { - "operation": "boost", - "score": 0.03324733301997185 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.0, - "then": { - "operation": "boost", - "score": 0.10731720924377441 }, "else": { - "operation": "boost", - "score": -0.10453618317842484 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.006125191226601601 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10052364319562912 - }, - "else": { - "operation": "boost", - "score": -0.04318780079483986 - } - }, - "else": { - "operation": "boost", - "score": -0.05953070893883705 - } + "operation": "boost", + "score": 0.09300102293491364 }, "else": { "operation": "boost", - "score": 0.010896706953644753 + "score": 0.12924714386463165 } + }, + "else": { + "operation": "boost", + "score": 0.04376630857586861 } - }, - "else": { + } + }, + "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": "NumReferences", - "threshold": 431.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 653.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1514.5, - "then": { - "operation": "boost", - "score": -0.16697175800800323 - }, - "else": { - "operation": "boost", - "score": 0.10657522827386856 - } - }, - "else": { - "operation": "boost", - "score": -0.19207382202148438 - } - }, - "else": { - "operation": "boost", - "score": 0.023582087829709053 - } + "operation": "boost", + "score": 0.06489533185958862 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "boost", - "score": 0.11311660706996918 - }, - "else": { - "operation": "boost", - "score": -0.09496040642261505 - } + "operation": "boost", + "score": 0.11795762926340103 } + }, + "else": { + "operation": "boost", + "score": 0.011501467786729336 } + }, + "else": { + "operation": "boost", + "score": -0.04417499154806137 } } - }, - "else": { - "operation": "boost", - "score": -0.0037430061493068933 } } + }, + "else": { + "operation": "boost", + "score": -0.005927770398557186 } }, "else": { "operation": "boost", - "score": -0.0005614448455162346 + "score": -0.0003603216027840972 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44220.5, + "threshold": 87006.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48488.5, + "threshold": 107411.0, "then": { + "operation": "boost", + "score": 0.005715334787964821 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.13169772922992706 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 93017.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.10676288604736328 + }, + "else": { + "operation": "boost", + "score": -0.013364232145249844 + } + } + }, + "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": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 89117.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0048746331594884396 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.07379874587059021 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09007204324007034 - }, - "else": { - "operation": "boost", - "score": 0.08013714104890823 - } - } - } + "operation": "boost", + "score": -0.039259228855371475 }, "else": { "operation": "boost", - "score": 0.040100958198308945 + "score": 0.1429954171180725 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.012006876058876514 - }, - "else": { - "operation": "boost", - "score": 0.06959036737680435 - } + "operation": "boost", + "score": 0.0668034702539444 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 256398.5, + "operation": "boost", + "score": 0.11663446575403214 + } + }, + "else": { + "operation": "boost", + "score": 0.09181050956249237 + } + } + } + }, + "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": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": -0.08772735297679901 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.10048903524875641 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { + "operation": "boost", + "score": -0.04050632193684578 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.01733359694480896 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 200884.5, "then": { - "operation": "boost", - "score": -0.12839622795581818 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.06588118523359299 + "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.06877530366182327 + "score": 0.14022020995616913 } }, "else": { "operation": "boost", - "score": 0.047166962176561356 + "score": 0.10772485285997391 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.06196364387869835 + "score": 0.07124831527471542 }, "else": { "operation": "boost", - "score": -0.16914783418178558 + "score": 0.10033934563398361 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.34331536293029785 + }, + "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 + } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.012343586422502995 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006167641840875149 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04468517750501633 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01205250434577465 - }, - "else": { - "operation": "boost", - "score": 0.05622510612010956 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.009089512750506401 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.5712351202964783 }, "else": { "operation": "boost", - "score": 0.08969125896692276 + "score": 0.0003297704679425806 } } }, "else": { "operation": "boost", - "score": 0.013362502679228783 + "score": -0.11431209743022919 } } + }, + "else": { + "operation": "boost", + "score": -0.04845842346549034 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62487.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.036674778908491135 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.06492990255355835 + "score": 0.05364092439413071 }, "else": { - "operation": "boost", - "score": 0.014283677563071251 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "feature": "FileProximityDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "boost", - "score": 0.12808158993721008 + "score": 0.0022033816203475 }, "else": { "operation": "boost", - "score": 0.11895735561847687 + "score": 0.10095072537660599 } }, "else": { - "operation": "boost", - "score": -0.12366202473640442 - } - }, - "else": { - "operation": "boost", - "score": 0.13480135798454285 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53115.0, - "then": { - "operation": "boost", - "score": 0.039680201560258865 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11760294437408447 - }, - "else": { - "operation": "boost", - "score": -0.034146059304475784 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.013837039470672607 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { - "operation": "boost", - "score": 0.01946667954325676 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.12009944021701813 - }, - "else": { - "operation": "boost", - "score": -0.22347332537174225 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85215.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.0885295569896698 + }, + "else": { + "operation": "boost", + "score": 0.11272784322500229 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, "then": { + "operation": "boost", + "score": -0.11763890832662582 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 95752.0, + "threshold": 148934.5, "then": { "operation": "boost", - "score": 0.09781060367822647 + "score": 0.10823021829128265 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12953075766563416 - }, - "else": { - "operation": "boost", - "score": 0.06000413000583649 - } + "operation": "boost", + "score": 0.07932901382446289 } - }, - "else": { - "operation": "boost", - "score": 0.11411992460489273 } - }, - "else": { - "operation": "boost", - "score": 0.05123294144868851 } - }, - "else": { - "operation": "boost", - "score": 0.0008926562150008976 } }, "else": { "operation": "boost", - "score": -0.04553575813770294 + "score": -0.7604097723960876 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.0406138114631176 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07019635289907455 - }, - "else": { - "operation": "boost", - "score": 0.1218501403927803 - } - }, - "else": { - "operation": "boost", - "score": 0.06999760121107101 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "boost", - "score": 0.07076084613800049 + "score": 0.024958185851573944 }, "else": { "operation": "boost", - "score": 0.11724170297384262 + "score": -0.11459717154502869 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.0009579219040460885 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "boost", - "score": 0.11015951633453369 - }, - "else": { - "operation": "boost", - "score": -0.1060851514339447 - } + "operation": "boost", + "score": 0.176448255777359 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13936172425746918 + "score": 0.12313332408666611 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 97095.5, "then": { "operation": "boost", - "score": 0.11870400607585907 + "score": -0.03821028769016266 }, "else": { "operation": "boost", - "score": 0.06849057972431183 + "score": 0.17742329835891724 } } }, "else": { "operation": "boost", - "score": 0.06652074307203293 + "score": 0.007463013753294945 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.08288279175758362 - }, - "else": { - "operation": "boost", - "score": -0.7107768654823303 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.31010502576828003 - }, - "else": { - "operation": "boost", - "score": 0.03658580407500267 - } - } + "operation": "boost", + "score": 0.10868129134178162 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 263421.0, "then": { - "operation": "boost", - "score": -0.0368228554725647 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.00844509620219469 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.019150977954268456 + }, + "else": { + "operation": "boost", + "score": 0.10915204137563705 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04617942124605179 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09167357534170151 + }, + "else": { + "operation": "boost", + "score": 0.09579815715551376 + } + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45617.0, + "threshold": 284274.5, "then": { "operation": "boost", - "score": 0.09091047942638397 + "score": 0.08491241931915283 }, "else": { "operation": "boost", - "score": 0.13834655284881592 + "score": -0.026341529563069344 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185218.0, + "then": { + "operation": "boost", + "score": -0.4370654225349426 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.1180669516324997 + }, + "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 + } + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.04732026904821396 } } }, "else": { - "operation": "boost", - "score": 0.023890020325779915 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07962196320295334 + "score": 0.03205430135130882 }, "else": { "operation": "boost", - "score": 0.12455105781555176 + "score": 0.12469664216041565 } }, "else": { "operation": "boost", - "score": -0.202947735786438 + "score": -0.054807811975479126 } - }, - "else": { - "operation": "boost", - "score": -0.17022167146205902 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.09972593933343887 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 276057.0, "then": { - "operation": "boost", - "score": -0.03207222372293472 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.026869997382164 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104520.5, + "threshold": 297854.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1318535.0, "then": { "operation": "boost", - "score": -0.5336445569992065 + "score": 0.020718201994895935 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.13807766139507294 - }, - "else": { - "operation": "boost", - "score": 0.10188853740692139 - } + "operation": "boost", + "score": -0.010413216426968575 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 123460.5, + "threshold": 398484.5, "then": { "operation": "boost", - "score": 0.10992426425218582 + "score": 0.06887318938970566 }, "else": { "operation": "boost", - "score": 0.11073103547096252 + "score": -0.2305002063512802 } }, "else": { "operation": "boost", - "score": 0.22672979533672333 + "score": -0.07975386828184128 } } } }, "else": { - "operation": "boost", - "score": 0.11174031347036362 + "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 + } } + }, + "else": { + "operation": "boost", + "score": 0.020413119345903397 } + }, + "else": { + "operation": "boost", + "score": -0.12491898983716965 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.116514652967453 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": -0.037086762487888336 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205376.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.12642624974250793 + "score": 0.04038716480135918 }, "else": { "operation": "boost", - "score": -0.003365512238815427 + "score": -0.23941729962825775 } }, "else": { "operation": "boost", - "score": 0.03196946159005165 + "score": -0.04312387853860855 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "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, + "then": { + "operation": "boost", + "score": -0.13444438576698303 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.11344127357006073 + "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 + } + } + }, + "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.03852882981300354 + "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.12491609156131744 + "score": 0.12740810215473175 } } }, "else": { "operation": "boost", - "score": 0.03340257331728935 + "score": 0.02094973251223564 } } - }, - "else": { - "operation": "boost", - "score": 0.13229864835739136 } } } } - }, - "else": { - "operation": "boost", - "score": 0.0014740756014361978 } } }, "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": 2.5, - "then": { - "operation": "boost", - "score": 0.09127359092235565 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12701722979545593 - }, - "else": { - "operation": "boost", - "score": 0.11985170096158981 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.12902799248695374 - }, - "else": { - "operation": "boost", - "score": 0.16689372062683105 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1506618708372116 - } + "operation": "boost", + "score": -0.000370038760593161 } }, "else": { + "operation": "boost", + "score": -0.00023079494712874293 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 298482.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.0021950651425868273 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.8691563010215759 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.03092978708446026 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.6293824911117554 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.1063307672739029 + }, + "else": { + "operation": "boost", + "score": 0.052333783358335495 + } }, "else": { - "operation": "boost", - "score": 0.04435732588171959 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10176944732666016 + }, + "else": { + "operation": "boost", + "score": 0.06321302801370621 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.4858342409133911 - }, - "else": { - "operation": "boost", - "score": 0.07474394887685776 - } + "operation": "boost", + "score": 0.08233146369457245 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.006734399124979973 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 1280205.5, "then": { "operation": "boost", - "score": -0.02179267257452011 + "score": 0.10125628858804703 }, "else": { "operation": "boost", - "score": 0.08810339123010635 + "score": -0.23059743642807007 } }, "else": { "operation": "boost", - "score": -0.023796144872903824 + "score": 0.008940257132053375 } } } + }, + "else": { + "operation": "boost", + "score": -0.0065467930398881435 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Constructor" + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.030935604125261307 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.08543384820222855 + "score": 0.09404709935188293 }, "else": { - "operation": "boost", - "score": 0.04246122017502785 - } - } - }, - "else": { - "operation": "boost", - "score": -0.028144720941781998 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.021026764065027237 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3326.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3879.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08116725832223892 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07095102220773697 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7028.5, - "then": { - "operation": "boost", - "score": 0.09390067309141159 - }, - "else": { - "operation": "boost", - "score": 0.13372308015823364 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.050329338759183884 - } - }, - "else": { - "operation": "boost", - "score": 0.1226600855588913 - } - }, - "else": { - "operation": "boost", - "score": 0.058448053896427155 - } - }, - "else": { - "operation": "boost", - "score": 0.03418899327516556 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.06977112591266632 - }, - "else": { - "operation": "boost", - "score": 0.010586253367364407 - } - } + "operation": "boost", + "score": 0.06053916737437248 }, "else": { "operation": "boost", - "score": 0.02489510178565979 + "score": -0.15938948094844818 } }, "else": { "operation": "boost", - "score": 0.015170786529779434 + "score": -0.15946055948734283 } - }, - "else": { - "operation": "boost", - "score": -0.08824484050273895 } - }, - "else": { - "operation": "boost", - "score": 0.011451109312474728 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.022682925686240196 + "score": 0.05403336137533188 }, "else": { "operation": "boost", - "score": -0.011432668194174767 + "score": 0.07732607424259186 } } }, "else": { "operation": "boost", - "score": -0.005376550368964672 + "score": 0.013454900123178959 } + }, + "else": { + "operation": "boost", + "score": 0.02157176099717617 } } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 578.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.03078443929553032 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 561.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.13199813663959503 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10832113027572632 + }, + "else": { + "operation": "boost", + "score": -0.14541539549827576 + } }, "else": { "operation": "boost", - "score": 0.05262605845928192 + "score": -0.05735429748892784 } + }, + "else": { + "operation": "boost", + "score": -0.10019996017217636 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3321.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.0276938509196043 + "score": 0.11800745129585266 }, "else": { - "operation": "boost", - "score": -0.12135527282953262 + "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 + } + } } }, "else": { - "operation": "boost", - "score": 0.00868837721645832 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0034775559324771166 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1494.5, - "then": { - "operation": "boost", - "score": -0.013805509544909 - }, - "else": { - "operation": "boost", - "score": 0.08324478566646576 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4094.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23353.0, + "threshold": 236336.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.03972666710615158 + "score": 0.12239577621221542 }, "else": { - "operation": "boost", - "score": -0.002727876417338848 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18618.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09776395559310913 + "score": -0.1870645433664322 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.00602019252255559 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.006100911647081375 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.0387493297457695 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.23119528591632843 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.07425475865602493 + "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.11184044182300568 + "score": 0.119465172290802 } }, "else": { "operation": "boost", - "score": -0.2696673572063446 + "score": -0.2928747236728668 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.13716498017311096 }, "else": { - "operation": "boost", - "score": 0.02060280181467533 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.07039657980203629 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.02748051844537258 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20608.0, - "then": { - "operation": "boost", - "score": -0.24128131568431854 - }, - "else": { - "operation": "boost", - "score": 0.09000397473573685 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21299.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12260397523641586 - }, - "else": { - "operation": "boost", - "score": 0.09877526015043259 - } - }, - "else": { - "operation": "boost", - "score": -0.21996773779392242 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09871004521846771 - }, - "else": { - "operation": "boost", - "score": 0.035224173218011856 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20296.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20349.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1268637478351593 - }, - "else": { - "operation": "boost", - "score": 0.14219948649406433 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22681.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06833009421825409 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11563699692487717 - }, - "else": { - "operation": "boost", - "score": 0.08832435309886932 - } - } - }, - "else": { - "operation": "boost", - "score": -0.6843850016593933 - } - }, - "else": { - "operation": "boost", - "score": 0.06160959228873253 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11093807220458984 - } - }, - "else": { - "operation": "boost", - "score": -0.03677058592438698 - } + "score": 0.06029871106147766 }, "else": { - "operation": "boost", - "score": -0.2358892560005188 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.105032779276371 - }, - "else": { - "operation": "boost", - "score": -0.1116890087723732 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.11297860741615295 - }, - "else": { - "operation": "boost", - "score": -0.9398372173309326 - } + "score": 0.10798834264278412 }, "else": { "operation": "boost", - "score": 0.04242868348956108 + "score": -0.11408363282680511 } } } } + } + }, + "else": { + "operation": "boost", + "score": 0.11275701224803925 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0027263257652521133 + }, + "else": { + "operation": "boost", + "score": 0.0943216010928154 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.05397256463766098 }, "else": { "operation": "boost", - "score": -0.2579379081726074 + "score": 0.09493647515773773 } + }, + "else": { + "operation": "boost", + "score": 0.03806673735380173 } - }, - "else": { - "operation": "boost", - "score": -0.0745161771774292 } + }, + "else": { + "operation": "boost", + "score": 0.005836401600390673 } + }, + "else": { + "operation": "boost", + "score": -0.09681340306997299 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03734789043664932 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06995072215795517 + }, + "else": { + "operation": "boost", + "score": 0.1056072935461998 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0394953228533268 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "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.11221860349178314 + }, + "else": { + "operation": "boost", + "score": 0.14864996075630188 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", + "threshold": 220925.5, + "then": { + "operation": "boost", + "score": 0.05477721244096756 + }, + "else": { + "operation": "boost", + "score": 0.11016172915697098 + } + }, + "else": { + "operation": "boost", + "score": -0.008774851448833942 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.04037921875715256 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.044319868087768555 + }, + "else": { + "operation": "boost", + "score": -0.14133009314537048 + } + }, + "else": { + "operation": "boost", + "score": 0.048541031777858734 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.049464281648397446 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14401264488697052 + }, + "else": { + "operation": "boost", + "score": 0.0576317124068737 + } + }, + "else": { "operation": "boost", - "score": -0.01043644081801176 + "score": -0.17546118795871735 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2673371136188507 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.01933145336806774 + }, + "else": { + "operation": "boost", + "score": 0.10777033120393753 + } + }, + "else": { + "operation": "boost", + "score": 0.050183385610580444 + } + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.08014608919620514 + }, + "else": { + "operation": "boost", + "score": 0.0359310582280159 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, "then": { + "operation": "boost", + "score": 0.10738912969827652 + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.04888268932700157 + "score": -0.01639365404844284 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0016220328398048878 + "score": 0.037565141916275024 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12398666888475418 + "score": 0.04945766553282738 }, "else": { - "operation": "boost", - "score": 0.14960089325904846 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11094.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11510.0, - "then": { - "operation": "boost", - "score": -0.1262698769569397 - }, - "else": { - "operation": "boost", - "score": 0.12068188935518265 - } - }, - "else": { - "operation": "boost", - "score": -0.0656687393784523 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11240247637033463 + "score": -0.04181099683046341 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8428.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10983.5, - "then": { - "operation": "boost", - "score": 0.29824182391166687 - }, - "else": { - "operation": "boost", - "score": 0.11193676292896271 - } - }, - "else": { - "operation": "boost", - "score": -0.10125312209129333 - } + "operation": "boost", + "score": 0.1381571739912033 } } + }, + "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": -0.5, + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.09460027515888214 - }, - "else": { - "operation": "boost", - "score": 0.0034262442495673895 - } - }, - "else": { - "operation": "boost", - "score": -0.9768743515014648 - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.1424202173948288 + "score": -0.09332259744405746 }, "else": { "operation": "boost", - "score": 0.13564683496952057 + "score": 0.12771810591220856 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7128.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7821.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.07842442393302917 + "score": 0.14038144052028656 }, "else": { "operation": "boost", - "score": 0.11109708994626999 + "score": 0.09909620881080627 } }, "else": { "operation": "boost", - "score": -0.19659285247325897 + "score": 0.08169324696063995 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5742.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.1396813988685608 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6592.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8005.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06230548024177551 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08416963368654251 - }, - "else": { - "operation": "boost", - "score": 0.10668743401765823 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06201832368969917 - } - }, - "else": { - "operation": "boost", - "score": -0.06663080304861069 - } + "operation": "boost", + "score": 0.012581050395965576 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6367.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6416.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.6416964530944824 - }, - "else": { - "operation": "boost", - "score": 0.11797100305557251 - } - }, - "else": { - "operation": "boost", - "score": 0.1220845878124237 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5839.5, - "then": { - "operation": "boost", - "score": -0.0020099030807614326 - }, - "else": { - "operation": "boost", - "score": 0.10184114426374435 - } - } + "operation": "boost", + "score": 0.1269398182630539 } - }, - "else": { - "operation": "boost", - "score": -0.025617552921175957 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12370272725820541 - }, - "else": { - "operation": "boost", - "score": -0.11933563649654388 - } + "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.01640687882900238 + "score": 0.09319140017032623 } } } + }, + "else": { + "operation": "boost", + "score": 0.040467519313097 } }, - "else": { - "operation": "boost", - "score": -0.051460664719343185 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4286.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.11369705200195312 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.16547837853431702 + "score": 0.050839539617300034 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.1371043473482132 + "score": -0.06991612166166306 }, "else": { - "operation": "boost", - "score": 0.11649542301893234 + "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_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.050132714211940765 + }, + "else": { + "operation": "boost", + "score": 0.11745324730873108 + } + }, + "else": { + "operation": "boost", + "score": -0.31235912442207336 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.03463761508464813 + }, + "else": { + "operation": "boost", + "score": -0.2155727744102478 + } + } } } } }, "else": { "operation": "boost", - "score": 0.056950218975543976 + "score": -0.009399202652275562 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14181.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" + "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.06142188981175423 + "score": -0.005264881066977978 }, "else": { + "operation": "boost", + "score": -0.05616479367017746 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16362.0, + "operation": "boost", + "score": 0.02572455070912838 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.05164068192243576 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15956.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.047670070081949234 + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08378534018993378 + "score": 0.008199135772883892 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08520276099443436 + "score": 0.1260286420583725 }, "else": { - "operation": "boost", - "score": 0.10806352645158768 + "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 + } } }, "else": { "operation": "boost", - "score": -0.15962420403957367 + "score": 0.04599998891353607 } } - }, - "else": { - "operation": "boost", - "score": 0.026482513174414635 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12354815751314163 }, "else": { "operation": "boost", - "score": -0.07880668342113495 + "score": 0.036251652985811234 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15930.0, - "then": { - "operation": "boost", - "score": 0.10621806234121323 }, "else": { - "operation": "boost", - "score": -0.00498578604310751 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14068.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08444084227085114 + "score": 0.039278965443372726 }, "else": { "operation": "boost", - "score": 0.11404415965080261 + "score": 0.007402205839753151 } - }, - "else": { - "operation": "boost", - "score": 0.01005437970161438 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10575908422470093 - }, - "else": { - "operation": "boost", - "score": 0.04301924630999565 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09004051983356476 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13192.0, - "then": { - "operation": "boost", - "score": 0.029324645176529884 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -0.012174089439213276 - }, - "else": { - "operation": "boost", - "score": 0.10320846736431122 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11053406447172165 - }, - "else": { - "operation": "boost", - "score": 0.07041455805301666 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13517.0, - "then": { - "operation": "boost", - "score": 0.12052944302558899 - }, - "else": { - "operation": "boost", - "score": 0.475651353597641 - } - }, - "else": { - "operation": "boost", - "score": -0.10277127474546432 - } - }, - "else": { - "operation": "boost", - "score": 0.0845913514494896 - } - } - }, - "else": { - "operation": "boost", - "score": 0.029605278745293617 - } - }, - "else": { - "operation": "boost", - "score": -0.029186174273490906 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12950079143047333 } } + }, + "else": { + "operation": "boost", + "score": 0.01130644790828228 } } } + }, + "else": { + "operation": "boost", + "score": -0.00877845287322998 } - }, - "else": { + } + } + } + } + } + }, + { + "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": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 272339.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 292981.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 618.0, + "threshold": 298482.5, "then": { - "operation": "boost", - "score": 0.1067577376961708 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.003463745815679431 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": -0.1614484041929245 + }, + "else": { + "operation": "boost", + "score": -0.012264951132237911 + } + } }, "else": { - "operation": "boost", - "score": -0.10401062667369843 - } - }, - "else": { - "operation": "boost", - "score": 0.001929007121361792 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.04974903166294098 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 457.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.06167306378483772 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 445.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.09917621314525604 + "score": 0.0858810544013977 }, "else": { "operation": "boost", - "score": 0.09731578081846237 + "score": 0.0827207863330841 } + }, + "else": { + "operation": "boost", + "score": -0.06118899583816528 } }, "else": { + "operation": "boost", + "score": -0.062384769320487976 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1486048698425293 + } + }, + "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.042756952345371246 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09860657900571823 - }, - "else": { - "operation": "boost", - "score": -0.2230958193540573 - } + "operation": "boost", + "score": 0.040983039885759354 }, "else": { "operation": "boost", - "score": 0.0018076059641316533 + "score": 0.10209627449512482 } + }, + "else": { + "operation": "boost", + "score": 0.08543886989355087 } - }, - "else": { - "operation": "boost", - "score": 0.011249666102230549 } }, "else": { - "operation": "boost", - "score": -0.030683886259794235 + "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 + } + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "boost", - "score": 0.1111547201871872 - }, - "else": { - "operation": "boost", - "score": -0.08845341950654984 - } + "operation": "boost", + "score": -0.03673452138900757 } } - } - }, - "else": { - "operation": "boost", - "score": -0.0032384623773396015 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005508164176717401 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.0198355782777071 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.14375025033950806 + "score": -0.1372712403535843 }, "else": { "operation": "boost", - "score": 0.008934332989156246 + "score": -0.045552391558885574 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03034304454922676 - }, - "else": { - "operation": "boost", - "score": -0.008520790375769138 - } - }, - "else": { - "operation": "boost", - "score": 0.009883636608719826 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 204563.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.10739168524742126 + "score": -0.023093337193131447 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09939804673194885 - }, - "else": { - "operation": "boost", - "score": -0.12800748646259308 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.018833253532648087 + "score": 0.07753787189722061 }, "else": { "operation": "boost", - "score": -0.021615054458379745 + "score": 0.009640056639909744 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.03249843418598175 + "score": 0.08859509974718094 }, "else": { "operation": "boost", - "score": -0.00576271815225482 + "score": -0.004798772279173136 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.055888582020998 - }, - "else": { - "operation": "boost", - "score": -0.01920946314930916 - } + "operation": "boost", + "score": -0.09847434610128403 } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02700217440724373 - }, - "else": { - "operation": "boost", - "score": -0.05355966463685036 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 124731.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 51.5, + "threshold": 168474.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": -0.05655677989125252 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.01956973597407341 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 418.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10877340286970139 - }, - "else": { - "operation": "boost", - "score": 0.04103883355855942 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 182949.0, "then": { "operation": "boost", - "score": -0.09048213809728622 + "score": -0.0035164623986929655 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11107900738716125 + "score": 0.012805439531803131 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 7.0, + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10310258716344833 + "score": 0.14392127096652985 }, "else": { "operation": "boost", - "score": 0.025605736300349236 + "score": 0.09144182503223419 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "boost", - "score": 0.017631512135267258 - }, - "else": { - "operation": "boost", - "score": -0.11917093396186829 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.10429935902357101 - }, - "else": { - "operation": "boost", - "score": -0.13820241391658783 - } }, "else": { "operation": "boost", - "score": 0.11184925585985184 + "score": -0.053440071642398834 } }, - "else": { - "operation": "boost", - "score": -0.0031918748281896114 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": -0.14380314946174622 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07405422627925873 + "score": 0.09693077951669693 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13745760917663574 - }, - "else": { - "operation": "boost", - "score": 0.09583008289337158 - } - }, - "else": { - "operation": "boost", - "score": 0.04396301507949829 - } + "operation": "boost", + "score": 0.013882085680961609 } } + }, + "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 } + } + }, + "else": { + "operation": "boost", + "score": -0.06117378547787666 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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": 38.5, + "threshold": 89117.0, "then": { "operation": "boost", - "score": -0.150526762008667 + "score": 0.041131243109703064 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { + "operation": "boost", + "score": 0.13991780579090118 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.09166257083415985 + "score": 0.07023420184850693 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "boost", + "score": 0.11126333475112915 + } + } + } + } + }, + "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.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.42444825172424316 + "score": 0.06615174561738968 }, "else": { "operation": "boost", - "score": 0.09399257600307465 + "score": -0.1780545711517334 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.030807454138994217 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.08223118633031845 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "boost", + "score": -0.10629978030920029 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.09180283546447754 + "score": 0.11059416085481644 }, "else": { "operation": "boost", - "score": -0.25775936245918274 + "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": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.12737511098384857 + "score": -0.23174560070037842 }, "else": { "operation": "boost", - "score": 0.03743172809481621 + "score": 0.11374002695083618 } }, "else": { "operation": "boost", - "score": 0.10930496454238892 + "score": 0.08959823846817017 } } - }, - "else": { - "operation": "boost", - "score": -0.07538866251707077 } - }, - "else": { + } + }, + "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": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "boost", - "score": -0.1060161367058754 + "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.11734342575073242 + "score": -0.010309705510735512 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.2282360941171646 }, "else": { "operation": "boost", - "score": 0.11041964590549469 + "score": 0.022255277261137962 } + }, + "else": { + "operation": "boost", + "score": -0.0864177718758583 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.009997289627790451 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "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": "boost", - "score": 0.0972934439778328 + "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.21461442112922668 + "score": -0.12780800461769104 } - }, - "else": { - "operation": "boost", - "score": 0.8382569551467896 } - }, - "else": { - "operation": "boost", - "score": -0.11982034891843796 } } - }, - "else": { - "operation": "boost", - "score": -0.007816297933459282 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0013310773065313697 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12719948589801788 + "score": 0.07963566482067108 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "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": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.480000764131546 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08409127593040466 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1256580352783203 - }, - "else": { - "operation": "boost", - "score": 0.08235657215118408 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.014056706801056862 - } + "operation": "boost", + "score": 0.1325787454843521 }, "else": { "operation": "boost", - "score": -0.10792288929224014 + "score": -0.25599539279937744 } } }, "else": { "operation": "boost", - "score": 0.00788854155689478 + "score": -0.0532340370118618 } } }, "else": { - "operation": "boost", - "score": 0.04013146832585335 - } - } - }, - "else": { - "operation": "boost", - "score": -0.039080552756786346 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "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 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49723.5, + "then": { + "operation": "boost", + "score": -0.06589698791503906 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 47253.0, "then": { "operation": "boost", - "score": -0.012067052535712719 + "score": -0.04833952710032463 }, "else": { "operation": "boost", - "score": 0.018265165388584137 + "score": 0.15121124684810638 } }, "else": { - "operation": "boost", - "score": 0.008021160960197449 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, + "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_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3166.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0401155985891819 - }, - "else": { - "operation": "boost", - "score": 0.09801264852285385 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10666459053754807 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03332816809415817 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1161455437541008 - }, - "else": { - "operation": "boost", - "score": 0.10659406334161758 - } - }, - "else": { - "operation": "boost", - "score": -0.7046548128128052 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 441.0, - "then": { - "operation": "boost", - "score": 0.09040959179401398 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "boost", - "score": -0.5730947852134705 - }, - "else": { - "operation": "boost", - "score": 0.06327063590288162 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10282658785581589 - } - }, - "else": { - "operation": "boost", - "score": -0.04388584569096565 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "threshold": 45940.0, "then": { "operation": "boost", - "score": 0.10959656536579132 + "score": 0.06795568764209747 }, "else": { "operation": "boost", - "score": -0.03469415009021759 + "score": 0.1266029179096222 } + }, + "else": { + "operation": "boost", + "score": -0.037532515823841095 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32342.0, + "then": { + "operation": "boost", + "score": -0.06292502582073212 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { + "operation": "boost", + "score": -0.18539579212665558 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.11155976355075836 + "score": 0.07882536202669144 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.10733664035797119 - }, - "else": { - "operation": "boost", - "score": 0.14495062828063965 - } + "operation": "boost", + "score": 0.09659086167812347 } }, "else": { "operation": "boost", - "score": 0.03823694586753845 + "score": -0.04536154493689537 } - }, - "else": { - "operation": "boost", - "score": 0.030442945659160614 } } }, "else": { - "operation": "boost", - "score": -0.015754787251353264 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "boost", + "score": 0.10951381176710129 + }, + "else": { + "operation": "boost", + "score": -0.1754973977804184 + } } } } + }, + "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": 23415.5, - "then": { - "operation": "boost", - "score": -0.16767771542072296 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30750.5, "then": { - "operation": "boost", - "score": -0.03084825910627842 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09668688476085663 + }, + "else": { + "operation": "boost", + "score": 0.05594823881983757 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10337287932634354 + }, + "else": { + "operation": "boost", + "score": 0.09820032864809036 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03928476199507713 + } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13821.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16649.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26223.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 27658.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.00735506322234869 + }, + "else": { + "operation": "boost", + "score": 0.07766643911600113 + } + }, + "else": { + "operation": "boost", + "score": -0.2111920565366745 + } + }, + "else": { + "operation": "boost", + "score": -0.30969271063804626 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25461.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.05946381762623787 + "score": 0.021541401743888855 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08830956369638443 + "score": 0.23504088819026947 }, "else": { "operation": "boost", - "score": 0.3587530851364136 + "score": 0.13551492989063263 } } }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23639.5, "then": { "operation": "boost", - "score": -0.13415396213531494 + "score": -0.309079647064209 }, "else": { "operation": "boost", - "score": 0.008486863225698471 + "score": 0.01965772546827793 } } - }, - "else": { - "operation": "boost", - "score": -0.015632331371307373 } }, "else": { - "operation": "boost", - "score": 0.011800835840404034 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.14337196946144104 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15173.0, + "then": { + "operation": "boost", + "score": -0.08533814549446106 + }, + "else": { + "operation": "boost", + "score": 0.10350564867258072 + } }, "else": { - "operation": "boost", - "score": 0.19903002679347992 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05877811834216118 + }, + "else": { + "operation": "boost", + "score": 0.09631536155939102 + } } }, "else": { - "operation": "boost", - "score": -0.0246063694357872 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17891636490821838 - }, - "else": { - "operation": "boost", - "score": -0.10752903670072556 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32457.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.0256551094353199 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.040089596062898636 - }, - "else": { - "operation": "boost", - "score": 0.07030260562896729 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "boost", - "score": 0.006262657698243856 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43302.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.07944557815790176 + "score": 0.10378947854042053 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06715299934148788 - }, - "else": { - "operation": "boost", - "score": 0.11249751597642899 - } + "operation": "boost", + "score": 0.10028422623872757 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.05802899971604347 - }, - "else": { - "operation": "boost", - "score": 0.09616399556398392 - } - }, - "else": { - "operation": "boost", - "score": 0.03141910582780838 - } + "operation": "boost", + "score": 0.0829041376709938 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.1312081515789032 + "score": 0.18910378217697144 }, "else": { "operation": "boost", - "score": 0.10828928649425507 + "score": 0.13165242969989777 } } }, "else": { - "operation": "boost", - "score": -0.001950387959368527 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32671.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.053558919578790665 + "score": 0.11302883923053741 }, "else": { "operation": "boost", - "score": 0.1952783614397049 + "score": 0.06563541293144226 } - }, - "else": { - "operation": "boost", - "score": 0.013550921343266964 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.004414156544953585 - } - }, - "else": { - "operation": "boost", - "score": -0.0006705716368742287 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.19110937416553497 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0021844985894858837 - }, - "else": { - "operation": "boost", - "score": 0.01542836707085371 - } }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "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.08702989667654037 + "score": 0.0059379031881690025 }, "else": { "operation": "boost", - "score": 0.005021220538765192 + "score": -0.005171888507902622 } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Unknown", - "Keyword", - "Macro" - ], - "then": { - "operation": "boost", - "score": -0.0058470857329666615 - }, - "else": { - "operation": "boost", - "score": -0.06388311833143234 - } } + }, + "else": { + "operation": "boost", + "score": -0.0007464553345926106 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 422.5, + "threshold": 18618.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 578.5, - "then": { - "operation": "boost", - "score": 0.029194898903369904 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 561.5, - "then": { - "operation": "boost", - "score": 0.12465815991163254 - }, - "else": { - "operation": "boost", - "score": 0.04105818644165993 - } - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Variable", + "Function" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30340.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03794994205236435 + "score": 0.12613099813461304 }, "else": { "operation": "boost", - "score": -0.05191471800208092 + "score": -0.3679846525192261 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 458.0, + "threshold": 32458.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10337623953819275 - }, - "else": { - "operation": "boost", - "score": 0.1260063350200653 - } - }, - "else": { - "operation": "boost", - "score": 0.050207410007715225 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11363928765058517 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3302.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.0283383559435606 - }, - "else": { - "operation": "boost", - "score": -0.1179160326719284 - } - }, - "else": { - "operation": "boost", - "score": 0.012452351860702038 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "boost", - "score": 0.005849998909980059 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "feature": "NumReferences", + "threshold": 34205.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.11578574776649475 + "score": 0.016183391213417053 }, "else": { "operation": "boost", - "score": 0.10804077982902527 + "score": 0.09735125303268433 } }, "else": { "operation": "boost", - "score": -0.10419923812150955 + "score": -0.014833031222224236 } }, "else": { - "operation": "boost", - "score": -0.12086669355630875 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07207862287759781 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4452.5, - "then": { - "operation": "boost", - "score": 0.055824581533670425 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 697.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.09400024265050888 + "score": -0.06035400927066803 }, "else": { "operation": "if_greater", @@ -174724,2128 +173829,1929 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.17254126071929932 + "score": 0.1646413803100586 }, "else": { "operation": "boost", - "score": 0.1360652595758438 + "score": 0.12830020487308502 } } }, - "else": { - "operation": "boost", - "score": 0.07408148795366287 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2259.0, - "then": { - "operation": "boost", - "score": 0.10388277471065521 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 32947.0, "then": { "operation": "boost", - "score": -0.014703805558383465 + "score": -0.13989073038101196 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1066683679819107 - }, - "else": { - "operation": "boost", - "score": 0.06435423344373703 - } + "operation": "boost", + "score": 0.2642424404621124 } } + }, + "else": { + "operation": "boost", + "score": -0.0838562473654747 } - }, - "else": { - "operation": "boost", - "score": 0.021089181303977966 } + }, + "else": { + "operation": "boost", + "score": -0.13097307085990906 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28239.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.02186611294746399 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.11623034626245499 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820.0, - "then": { - "operation": "boost", - "score": -0.005067873280495405 - }, - "else": { - "operation": "boost", - "score": 0.1404922604560852 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 342801.0, - "then": { - "operation": "boost", - "score": -0.27084657549858093 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78292.5, - "then": { - "operation": "boost", - "score": 0.10551806539297104 - }, - "else": { - "operation": "boost", - "score": 0.05699615553021431 - } - } - } + "operation": "boost", + "score": -0.09894262999296188 }, "else": { "operation": "boost", - "score": 0.0163971446454525 + "score": 0.13455964624881744 } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77386.0, + "then": { + "operation": "boost", + "score": -0.621349036693573 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 880.5, + "threshold": 70036.5, "then": { + "operation": "boost", + "score": 0.08734706044197083 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 912.5, + "threshold": 30909.0, "then": { + "operation": "boost", + "score": -0.12607945501804352 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1469.0, + "threshold": 23993.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06069446727633476 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24900.5, + "then": { + "operation": "boost", + "score": 0.07956889271736145 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1153712347149849 + }, + "else": { + "operation": "boost", + "score": 0.19341494143009186 + } + } }, "else": { "operation": "boost", - "score": 0.127473384141922 + "score": 0.0004012669378425926 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1347.0, - "then": { - "operation": "boost", - "score": 0.11345408856868744 - }, - "else": { - "operation": "boost", - "score": 0.018689880147576332 - } + "operation": "boost", + "score": 0.024326352402567863 } - }, - "else": { - "operation": "boost", - "score": 0.10363104194402695 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.04755853861570358 - }, - "else": { - "operation": "boost", - "score": -0.12639109790325165 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8327.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11360.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.0019462673226371408 + "score": 0.07512765377759933 }, "else": { "operation": "boost", - "score": 0.11950956284999847 + "score": 0.10340097546577454 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.02884877845644951 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24577.0, + "then": { + "operation": "boost", + "score": 0.046335335820913315 + }, + "else": { + "operation": "boost", + "score": 0.10994937270879745 + } }, "else": { - "operation": "boost", - "score": 0.07064501196146011 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0956185907125473 + }, + "else": { + "operation": "boost", + "score": 0.11661810427904129 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 613.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.39733830094337463 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 583.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.09311816096305847 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114271.5, + "then": { + "operation": "boost", + "score": 0.09598883986473083 + }, + "else": { + "operation": "boost", + "score": 0.1110357940196991 + } }, "else": { "operation": "boost", - "score": -0.29775968194007874 + "score": -0.08744924515485764 } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18715.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90948.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 47131.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 172808.5, + "threshold": 49823.5, "then": { "operation": "boost", - "score": -0.03054129146039486 + "score": 0.07110555469989777 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08606807887554169 + "score": 0.03287316486239433 }, "else": { "operation": "boost", - "score": 0.03043152019381523 + "score": 0.11881081014871597 } } }, "else": { "operation": "boost", - "score": -0.2227228283882141 + "score": -0.008645984344184399 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32329.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09153520315885544 + "score": 0.002374693052843213 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29288.0, + "threshold": 77386.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37521.0, - "then": { - "operation": "boost", - "score": 0.031198270618915558 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0706065446138382 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11602494865655899 - }, - "else": { - "operation": "boost", - "score": 0.12760381400585175 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09769340604543686 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09958401322364807 - } + "operation": "boost", + "score": 0.10396573692560196 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28539.5, + "threshold": 43945.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1289035826921463 - }, - "else": { - "operation": "boost", - "score": 0.05338967218995094 - } + "operation": "boost", + "score": 0.045861583203077316 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12120655179023743 - }, - "else": { - "operation": "boost", - "score": 0.13427594304084778 - } - }, - "else": { - "operation": "boost", - "score": 0.03881634399294853 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20118.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20934.5, - "then": { - "operation": "boost", - "score": -0.0945335328578949 - }, - "else": { - "operation": "boost", - "score": 0.10669656842947006 - } - }, - "else": { - "operation": "boost", - "score": -0.22401991486549377 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23486.5, - "then": { - "operation": "boost", - "score": -0.08041445165872574 - }, - "else": { - "operation": "boost", - "score": 0.058049898594617844 - } - } + "operation": "boost", + "score": 0.11032579839229584 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8847.0, - "then": { - "operation": "boost", - "score": -0.08584081381559372 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6577.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6778.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, - "then": { - "operation": "boost", - "score": 0.11703228205442429 - }, - "else": { - "operation": "boost", - "score": 0.07676929980516434 - } - }, - "else": { - "operation": "boost", - "score": 0.039287324994802475 - } + "operation": "boost", + "score": -0.13801966607570648 }, "else": { "operation": "boost", - "score": 0.1173953041434288 + "score": 0.09215538203716278 } }, "else": { "operation": "boost", - "score": -0.02695060707628727 + "score": -0.1405489146709442 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10296192020177841 + }, + "else": { + "operation": "boost", + "score": -0.18331879377365112 + } } }, "else": { "operation": "boost", - "score": -0.16375494003295898 + "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 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5523.5, + "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, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.056402456015348434 + }, + "else": { + "operation": "boost", + "score": -0.0553986020386219 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 20341.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.12246407568454742 + }, + "else": { + "operation": "boost", + "score": -0.30400151014328003 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27418.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44221.5, "then": { + "operation": "boost", + "score": 0.023428449407219887 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04794200137257576 + "score": 0.11145196855068207 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06488004326820374 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": 0.11014699190855026 - }, - "else": { - "operation": "boost", - "score": 0.11494098603725433 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.051220472902059555 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.014919326640665531 + "score": 0.051879629492759705 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6734.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15231.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.19939878582954407 - }, - "else": { - "operation": "boost", - "score": 0.0718488022685051 - } - }, - "else": { - "operation": "boost", - "score": -1.6686729192733765 - } - }, - "else": { - "operation": "boost", - "score": 0.13377825915813446 - } + "operation": "boost", + "score": 0.1261790692806244 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, - "then": { - "operation": "boost", - "score": -0.1674755960702896 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13599.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.039629191160202026 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1225859522819519 - }, - "else": { - "operation": "boost", - "score": 0.12190768122673035 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6407.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8132.5, - "then": { - "operation": "boost", - "score": 0.013472793623805046 - }, - "else": { - "operation": "boost", - "score": 0.13026028871536255 - } - }, - "else": { - "operation": "boost", - "score": -0.059264909476041794 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07339248061180115 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04737692326307297 - }, - "else": { - "operation": "boost", - "score": -0.2485593557357788 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.0862644836306572 + "score": 0.04894065111875534 }, "else": { "operation": "boost", - "score": 0.10199020057916641 + "score": 0.1058318167924881 } }, - "else": { - "operation": "boost", - "score": 0.1055254340171814 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.2145536094903946 - }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0620012991130352 + "score": 0.06583912670612335 }, "else": { "operation": "boost", - "score": 0.25677189230918884 + "score": 0.03914293274283409 } } } - }, - "else": { - "operation": "boost", - "score": 0.10001087933778763 } } - } - }, - "else": { - "operation": "boost", - "score": 0.048503328114748 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.0008940811385400593 - }, - "else": { - "operation": "boost", - "score": 0.10312382876873016 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1276.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8245.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8448.0, - "then": { - "operation": "boost", - "score": 0.006383528932929039 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08546606451272964 - }, - "else": { - "operation": "boost", - "score": 0.2642536461353302 - } - }, - "else": { - "operation": "boost", - "score": -0.12920832633972168 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04361455515027046 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1072.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1129.0, + "threshold": 22006.5, "then": { + "operation": "boost", + "score": -0.06415287405252457 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1140.5, + "threshold": 20414.5, "then": { - "operation": "boost", - "score": 0.045374829322099686 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20562.0, + "then": { + "operation": "boost", + "score": 0.1432102918624878 + }, + "else": { + "operation": "boost", + "score": 0.13490478694438934 + } }, "else": { "operation": "boost", - "score": 0.11288691312074661 + "score": -0.15328176319599152 } - }, - "else": { - "operation": "boost", - "score": -0.1133585274219513 } - }, - "else": { - "operation": "boost", - "score": 0.1109524667263031 } - }, - "else": { - "operation": "boost", - "score": 0.01954738050699234 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 449.5, - "then": { - "operation": "boost", - "score": -0.04322028532624245 - }, - "else": { - "operation": "boost", - "score": 0.09813264012336731 - } + "operation": "boost", + "score": 0.03386818990111351 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.10429880023002625 - }, - "else": { - "operation": "boost", - "score": 0.009242258965969086 - } - }, - "else": { - "operation": "boost", - "score": -0.012489511631429195 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": 0.10189851373434067 - }, - "else": { - "operation": "boost", - "score": -0.03609350323677063 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.10293645411729813 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2191.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.0981074869632721 + "score": 0.04801257699728012 }, "else": { "operation": "boost", - "score": 0.11326588690280914 + "score": 0.09533464163541794 } + }, + "else": { + "operation": "boost", + "score": 0.10958916693925858 } + }, + "else": { + "operation": "boost", + "score": 0.10285189002752304 } }, "else": { "operation": "boost", - "score": -0.022745298221707344 + "score": 0.01211974024772644 } + }, + "else": { + "operation": "boost", + "score": -0.0018047706689685583 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.0005296157905831933 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 578.5, - "then": { - "operation": "boost", - "score": 0.02816309593617916 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 561.5, - "then": { - "operation": "boost", - "score": 0.12174168974161148 - }, - "else": { - "operation": "boost", - "score": 0.04361257702112198 - } - } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_SymbolOrNewName", "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23395.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3321.0, + "threshold": 37723.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 40902.5, "then": { + "operation": "boost", + "score": 0.012243642471730709 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.025714032351970673 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06328050792217255 + "score": -0.08463254570960999 + }, + "else": { + "operation": "boost", + "score": 0.11357448995113373 + } + }, + "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.08260276168584824 + "score": -0.11064919084310532 } } - }, - "else": { - "operation": "boost", - "score": -0.11526668071746826 } }, "else": { "operation": "boost", - "score": 0.009306482039391994 + "score": -0.007594764232635498 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 428.5, + "threshold": 23281.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.003432636149227619 + "score": 0.10786789655685425 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1494.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.004068458918482065 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.11892315000295639 + }, + "else": { + "operation": "boost", + "score": -0.025653447955846786 + } }, "else": { - "operation": "boost", - "score": 0.07907160371541977 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.37086474895477295 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.10119323432445526 + }, + "else": { + "operation": "boost", + "score": 0.12438957393169403 + } + } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12379378080368042 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19901.0, "then": { + "operation": "boost", + "score": -0.0026261373423039913 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11433415114879608 + "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.1016603335738182 + "score": 0.10440721362829208 } - }, - "else": { - "operation": "boost", - "score": -0.1287737339735031 } + }, + "else": { + "operation": "boost", + "score": 0.05267957225441933 } } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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_TopLevel", - "CCC_Type" + "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": 286024.5, + "threshold": 17071.0, "then": { "operation": "boost", - "score": -0.0013973236782476306 + "score": -0.7472226619720459 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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.030773071572184563 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.06986018270254135 + "score": -0.1136716976761818 }, "else": { "operation": "boost", - "score": -0.9504845142364502 + "score": -0.005697611253708601 } - }, - "else": { - "operation": "boost", - "score": 0.10403607785701752 } }, "else": { "operation": "boost", - "score": 0.08532200753688812 + "score": -0.11682059615850449 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "NumReferences", - "threshold": 77231.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.20621174573898315 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7126.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9853.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.006463069934397936 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.011133076623082161 + "score": 0.059149209409952164 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15033.0, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15285.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11612851172685623 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11330637335777283 - }, - "else": { - "operation": "boost", - "score": 0.1152958944439888 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26603.0, - "then": { - "operation": "boost", - "score": 0.07315104454755783 - }, - "else": { - "operation": "boost", - "score": -0.08638730645179749 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16227.0, - "then": { - "operation": "boost", - "score": 0.07518549263477325 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08122152090072632 - }, - "else": { - "operation": "boost", - "score": 0.11296550929546356 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.047409866005182266 - }, - "else": { - "operation": "boost", - "score": 0.12356825172901154 - } - } + "operation": "boost", + "score": 0.056737978011369705 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11143.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12720.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10736838728189468 - }, - "else": { - "operation": "boost", - "score": -0.04963088408112526 - } - }, - "else": { - "operation": "boost", - "score": 0.11699943244457245 - } - }, - "else": { - "operation": "boost", - "score": -0.14885178208351135 - } - }, - "else": { - "operation": "boost", - "score": -0.028383532539010048 - } + "operation": "boost", + "score": 0.10126155614852905 } } + } + }, + "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.05318787321448326 }, "else": { + "operation": "boost", + "score": -0.17627766728401184 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018389597535133362 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.020787471905350685 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.027157362550497055 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.0008484895224682987 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241.0, + "then": { + "operation": "boost", + "score": 0.02341580018401146 + }, + "else": { + "operation": "boost", + "score": 0.10995641350746155 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.2064337432384491 + }, + "else": { + "operation": "boost", + "score": -0.025212887674570084 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.008332477882504463 + }, + "else": { + "operation": "boost", + "score": -0.04186754673719406 + } + }, + "else": { + "operation": "boost", + "score": 0.008232341147959232 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62087.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134893.5, + "then": { + "operation": "boost", + "score": -0.029133232310414314 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.07482513040304184 + "score": 0.04066962003707886 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": 0.05831657722592354 + "score": 0.05092005804181099 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9189.5, - "then": { - "operation": "boost", - "score": 0.12230323255062103 - }, - "else": { - "operation": "boost", - "score": 0.11567528545856476 - } + "operation": "boost", + "score": 0.10372002422809601 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3495.0, - "then": { - "operation": "boost", - "score": -0.09170207381248474 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3190.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.0902942344546318 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 459.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 692.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0855201855301857 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.11169532686471939 - }, - "else": { - "operation": "boost", - "score": 0.15019728243350983 - } - }, - "else": { - "operation": "boost", - "score": 0.0906262919306755 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02387670986354351 - } - }, - "else": { - "operation": "boost", - "score": 0.04178497940301895 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 532.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1236.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1934.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2762.5, - "then": { - "operation": "boost", - "score": -0.4948680102825165 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.07635403424501419 - }, - "else": { - "operation": "boost", - "score": -0.056175924837589264 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2985557019710541 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1183.0, - "then": { - "operation": "boost", - "score": 0.11912522464990616 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10966771095991135 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 880.5, - "then": { - "operation": "boost", - "score": 0.09305817633867264 - }, - "else": { - "operation": "boost", - "score": -0.10239512473344803 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0072531988844275475 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1360739767551422 - } - } + "operation": "boost", + "score": -0.6861299276351929 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 453.0, - "then": { - "operation": "boost", - "score": 0.09201155602931976 - }, - "else": { - "operation": "boost", - "score": -0.10166196525096893 - } - }, - "else": { - "operation": "boost", - "score": 0.12257159501314163 - } + "operation": "boost", + "score": 0.06164690479636192 } + }, + "else": { + "operation": "boost", + "score": 0.012480378150939941 } } + }, + "else": { + "operation": "boost", + "score": 0.10351094603538513 } + }, + "else": { + "operation": "boost", + "score": -0.015718236565589905 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": -0.05652599781751633 + "score": 0.009310307912528515 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24203.5, - "then": { - "operation": "boost", - "score": 0.3230772018432617 - }, - "else": { - "operation": "boost", - "score": 0.11388436704874039 - } - }, - "else": { - "operation": "boost", - "score": -0.3043893575668335 - } + "operation": "boost", + "score": 0.10642670840024948 }, "else": { "operation": "boost", - "score": -0.40436699986457825 + "score": -0.1389663815498352 } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10140012204647064 + }, + "else": { + "operation": "boost", + "score": -0.11613266915082932 + } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18715.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90948.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.019345086067914963 + "score": 0.021307360380887985 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2764.5, "then": { "operation": "boost", - "score": 0.08897994458675385 + "score": 0.09265170991420746 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29288.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37521.0, - "then": { - "operation": "boost", - "score": 0.02691444754600525 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06330016255378723 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11199992150068283 - }, - "else": { - "operation": "boost", - "score": 0.12246740609407425 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08602814376354218 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10315197706222534 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28539.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12526410818099976 - }, - "else": { - "operation": "boost", - "score": 0.05045358091592789 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12683987617492676 - }, - "else": { - "operation": "boost", - "score": 0.024819854646921158 - } - }, - "else": { - "operation": "boost", - "score": 0.03290915489196777 - } - }, - "else": { - "operation": "boost", - "score": 0.013930768705904484 - } - } - } + "operation": "boost", + "score": 0.11424470692873001 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9171.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.07736341655254364 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6404.5, + "threshold": 1782.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7609.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.00014499049575533718 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7473.5, + "threshold": 11423.5, "then": { "operation": "boost", - "score": 0.10027339309453964 + "score": 0.10351809114217758 }, "else": { "operation": "boost", - "score": 0.08250957727432251 + "score": -0.10870546847581863 } + }, + "else": { + "operation": "boost", + "score": 0.06600792706012726 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1412556916475296 + }, + "else": { + "operation": "boost", + "score": 0.11482374370098114 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41256.0, + "then": { + "operation": "boost", + "score": 0.10561399161815643 }, "else": { "operation": "boost", - "score": -0.02800885960459709 + "score": -0.0410333126783371 } } } }, "else": { "operation": "boost", - "score": -0.1400742530822754 + "score": 0.03849953040480614 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5523.5, + "threshold": 5170.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5204.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.04377713426947594 + "score": 0.07433861494064331 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { - "operation": "boost", - "score": 0.06290891021490097 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10817011445760727 + "score": 0.015908125787973404 }, "else": { - "operation": "boost", - "score": 0.11304721236228943 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04670043662190437 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33671.5, - "then": { - "operation": "boost", - "score": -0.17804129421710968 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7020.0, + "threshold": 5247.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20297.5, + "threshold": 6984.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 7076.0, "then": { - "operation": "boost", - "score": 0.12479649484157562 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.11215284466743469 + "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": "boost", - "score": 0.0626453310251236 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10722457617521286 + }, + "else": { + "operation": "boost", + "score": -0.10442070662975311 + } } + }, + "else": { + "operation": "boost", + "score": 0.13733001053333282 } }, "else": { "operation": "boost", - "score": -0.20883333683013916 + "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": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6388.5, "then": { - "operation": "boost", - "score": 0.060605309903621674 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11393396556377411 + }, + "else": { + "operation": "boost", + "score": 0.10923302918672562 + } }, "else": { "operation": "boost", - "score": 0.13212616741657257 + "score": 0.017252527177333832 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6407.0, + "threshold": 56138.5, "then": { + "operation": "boost", + "score": -0.10989776253700256 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.1385766565799713 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6962.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.055169858038425446 + "score": 0.08019688725471497 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.3480762839317322 + "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.11723353713750839 + "score": 0.03640285134315491 } } + }, + "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 + } } - }, - "else": { - "operation": "boost", - "score": -0.09746187180280685 } }, "else": { - "operation": "boost", - "score": 0.0819680467247963 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15231.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 25411.0, "then": { - "operation": "boost", - "score": -0.07192127406597137 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, - "then": { - "operation": "boost", - "score": 0.08729442209005356 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0909438356757164 }, "else": { "operation": "boost", - "score": 0.14387544989585876 + "score": -0.08607053756713867 + } + }, + "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 + } } } - }, - "else": { - "operation": "boost", - "score": -0.052129387855529785 } - }, - "else": { - "operation": "boost", - "score": -0.20729173719882965 } } } @@ -176853,4064 +175759,4700 @@ "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.0, + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.627169668674469 + }, + "else": { + "operation": "boost", + "score": 0.10945384204387665 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0390033982694149 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12839336693286896 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5183.5, + "then": { + "operation": "boost", + "score": 0.12948378920555115 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.07837703824043274 + }, + "else": { + "operation": "boost", + "score": 0.1161312460899353 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.006933867931365967 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20000.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11422505974769592 + }, + "else": { + "operation": "boost", + "score": -0.21957257390022278 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0215836763381958 + } + }, + "else": { + "operation": "boost", + "score": -0.013971316628158092 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5523.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09554312378168106 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10494459420442581 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015185941010713577 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.08204282820224762 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.14503760635852814 + }, + "else": { + "operation": "boost", + "score": 0.08908488601446152 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.002987888641655445 + }, + "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": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1906.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08444802463054657 - }, - "else": { - "operation": "boost", - "score": 0.1011284589767456 - } + "operation": "boost", + "score": 0.09406217932701111 }, "else": { "operation": "boost", - "score": 0.10509761422872543 + "score": 0.04427896440029144 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.1985740214586258 + "score": 0.06434668600559235 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0580495148897171 - }, - "else": { - "operation": "boost", - "score": 0.2350190430879593 - } + "operation": "boost", + "score": 0.11033707857131958 } } }, "else": { "operation": "boost", - "score": 0.10025934875011444 + "score": -0.06700169295072556 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 3.738961696624756 }, "else": { - "operation": "boost", - "score": 0.011033271439373493 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1315.0, + "then": { + "operation": "boost", + "score": 0.12583348155021667 + }, + "else": { + "operation": "boost", + "score": -0.04394848644733429 + } + } } } + } + }, + "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_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 505.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 625.0, + "threshold": 2767.5, "then": { "operation": "boost", - "score": 0.0009454791434109211 + "score": 0.11681945621967316 }, "else": { "operation": "boost", - "score": -0.2614132761955261 + "score": -0.01315764058381319 } }, + "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": 498.5, + "threshold": 1308.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "operation": "boost", + "score": 0.03169209882616997 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.11026404798030853 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1266.5, + "then": { + "operation": "boost", + "score": 0.11783777177333832 + }, + "else": { + "operation": "boost", + "score": 0.10606526583433151 + } }, "else": { "operation": "boost", - "score": -0.11091498285531998 + "score": 0.109754279255867 } - }, - "else": { - "operation": "boost", - "score": 0.011806025169789791 } } - }, - "else": { - "operation": "boost", - "score": 0.09702359884977341 } } + }, + "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.0021500661969184875 + "score": -0.02124478667974472 } } - }, - "else": { - "operation": "boost", - "score": -0.00025939042097888887 } + }, + "else": { + "operation": "boost", + "score": -0.008150143548846245 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02391325682401657 + }, + "else": { + "operation": "boost", + "score": 0.008386295288801193 } } }, "else": { "operation": "boost", - "score": -0.0005187165224924684 + "score": -0.0005164127796888351 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 44220.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 48488.5, "then": { + "operation": "boost", + "score": 0.011465990915894508 + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 562.0, - "then": { - "operation": "boost", - "score": 0.11899617314338684 - }, - "else": { - "operation": "boost", - "score": -0.324104368686676 - } + "operation": "boost", + "score": 0.107129767537117 }, "else": { "operation": "boost", - "score": 0.02644982561469078 + "score": 0.09539894014596939 } }, "else": { - "operation": "boost", - "score": 0.02891862392425537 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 68.5, + "threshold": 47903.5, "then": { - "operation": "boost", - "score": 0.06592218577861786 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03720647469162941 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": -0.10507209599018097 + }, + "else": { + "operation": "boost", + "score": 0.17009437084197998 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01425148919224739 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.009823665022850037 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12046452611684799 + }, + "else": { + "operation": "boost", + "score": 0.11126412451267242 + } }, "else": { "operation": "boost", - "score": 0.11901134252548218 + "score": 0.018183359876275063 } } - }, - "else": { - "operation": "boost", - "score": 0.056224972009658813 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 44315.0, "then": { + "operation": "boost", + "score": 0.010663012973964214 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.11408918350934982 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.09338217973709106 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.020754415541887283 + }, + "else": { + "operation": "boost", + "score": 0.09463182091712952 + } }, "else": { "operation": "boost", - "score": 0.11046934872865677 + "score": 0.10793446004390717 } - }, - "else": { - "operation": "boost", - "score": 0.09495437890291214 } - }, - "else": { - "operation": "boost", - "score": 0.03334911912679672 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "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": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 43.5, "then": { - "operation": "boost", - "score": -0.04087075591087341 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0261967945843935 + }, + "else": { + "operation": "boost", + "score": 0.061150841414928436 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.0, + "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.1035405769944191 + "score": 0.03945760056376457 }, "else": { "operation": "boost", - "score": -0.26647821068763733 + "score": -0.2455192357301712 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.16100579500198364 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.133414626121521 + "score": 0.1470232605934143 }, "else": { "operation": "boost", - "score": -0.17153631150722504 + "score": -0.08720636367797852 } + }, + "else": { + "operation": "boost", + "score": -0.1076115071773529 } }, "else": { - "operation": "boost", - "score": 0.05256906524300575 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03550538420677185 + }, + "else": { + "operation": "boost", + "score": 0.11717648804187775 + } } } }, "else": { + "operation": "boost", + "score": 0.017400206997990608 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21689.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.015918659046292305 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 41.5, "then": { + "operation": "boost", + "score": 0.10628848522901535 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3109.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0012754895724356174 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.07842322438955307 - }, - "else": { - "operation": "boost", - "score": 0.12118098139762878 - } - }, - "else": { - "operation": "boost", - "score": -0.10867397487163544 - } - } + "operation": "boost", + "score": -0.04055776819586754 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2989.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3079.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.031208720058202744 - }, - "else": { - "operation": "boost", - "score": 0.13413074612617493 - } - }, - "else": { - "operation": "boost", - "score": -0.5545586347579956 - } + "operation": "boost", + "score": -0.11089219897985458 }, "else": { "operation": "boost", - "score": 0.11689243465662003 + "score": 0.08581152558326721 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.03864170238375664 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.006303641013801098 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 410.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12202725559473038 - }, - "else": { - "operation": "boost", - "score": 0.06017868593335152 - } - }, - "else": { - "operation": "boost", - "score": -0.1226181834936142 - } + "operation": "boost", + "score": -0.013218323700129986 }, "else": { "operation": "boost", - "score": -0.07862556725740433 + "score": 0.09258375316858292 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10798797011375427 - }, - "else": { - "operation": "boost", - "score": 0.06080840155482292 - } + "operation": "boost", + "score": 0.0776682123541832 } }, "else": { + "operation": "boost", + "score": -0.06977544724941254 + } + }, + "else": { + "operation": "boost", + "score": 0.5694182515144348 + } + }, + "else": { + "operation": "boost", + "score": -0.003671912243589759 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.09436676651239395 + "score": 0.0935988575220108 }, "else": { "operation": "boost", - "score": 0.12043332308530807 + "score": 0.160080224275589 } + }, + "else": { + "operation": "boost", + "score": -0.1651700735092163 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1726.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.8279288411140442 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 59.5, + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.060769155621528625 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.005785372573882341 + "score": 0.13331051170825958 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 699.5, - "then": { - "operation": "boost", - "score": -0.04062192142009735 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 276.5, - "then": { - "operation": "boost", - "score": 0.11246193945407867 - }, - "else": { - "operation": "boost", - "score": 0.07262365520000458 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06022370606660843 - } - }, - "else": { - "operation": "boost", - "score": -0.13649332523345947 - } + "operation": "boost", + "score": -0.12663160264492035 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1245851218700409 }, "else": { "operation": "boost", - "score": 0.07831895351409912 + "score": 0.053144022822380066 } } } + }, + "else": { + "operation": "boost", + "score": 0.031002353876829147 } - }, - "else": { - "operation": "boost", - "score": -0.04925321042537689 } + }, + "else": { + "operation": "boost", + "score": -0.13371559977531433 } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.032131217420101166 + }, + "else": { + "operation": "boost", + "score": -0.12257131189107895 + } }, - "else": { - "operation": "boost", - "score": 0.011254201643168926 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.0, - "then": { - "operation": "boost", - "score": 0.06523360311985016 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.10759834945201874 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.024910826236009598 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.14024153351783752 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.035948898643255234 + } + }, + "else": { + "operation": "boost", + "score": 0.029523266479372978 + } }, "else": { "operation": "boost", - "score": -0.16199910640716553 + "score": 0.002007697941735387 } } - }, - "else": { - "operation": "boost", - "score": 0.004086083732545376 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", "Keyword", - "Macro", + "Destructor", "Constructor", - "Function" + "Namespace" ], - "then": { - "operation": "boost", - "score": 0.12554678320884705 - }, - "else": { - "operation": "boost", - "score": -0.13417395949363708 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52191.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { - "operation": "boost", - "score": 0.007127095479518175 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "boost", - "score": 0.11144132912158966 - }, - "else": { - "operation": "boost", - "score": -0.15522952377796173 - } - }, - "else": { - "operation": "boost", - "score": 0.11243844032287598 - } - } - }, - "else": { - "operation": "boost", - "score": -0.021432114765048027 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.016836702823638916 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.2270338237285614 + "score": -0.2685827314853668 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10748472809791565 - }, - "else": { - "operation": "boost", - "score": 0.036560166627168655 - } - }, - "else": { - "operation": "boost", - "score": 0.11756907403469086 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06296543031930923 - }, - "else": { - "operation": "boost", - "score": 0.1285703033208847 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11347741633653641 - }, - "else": { - "operation": "boost", - "score": -0.015093197114765644 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.025308769196271896 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.12544459104537964 - }, - "else": { - "operation": "boost", - "score": -0.4279361963272095 - } - } + "operation": "boost", + "score": -0.09361130744218826 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11767246574163437 - }, - "else": { - "operation": "boost", - "score": 0.24494066834449768 - } + "operation": "boost", + "score": 0.12472505867481232 } }, "else": { - "operation": "boost", - "score": 0.052293311804533005 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 265.0, + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.06398995220661163 + "score": 0.0015057780547067523 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 416.5, - "then": { - "operation": "boost", - "score": 0.07070121169090271 - }, - "else": { - "operation": "boost", - "score": 0.12968595325946808 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "boost", - "score": 0.054142653942108154 + "score": 0.1064232662320137 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1253822147846222 + "score": 0.13492532074451447 }, "else": { "operation": "boost", - "score": 0.06392253935337067 + "score": 0.07813960313796997 } }, "else": { - "operation": "boost", - "score": 0.017653314396739006 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.006489576306194067 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.14373822510242462 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.16408704221248627 + }, + "else": { + "operation": "boost", + "score": 0.09778846800327301 + } + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.10004140436649323 } + }, + "else": { + "operation": "boost", + "score": 0.11795090138912201 } - }, - "else": { - "operation": "boost", - "score": 0.082131028175354 } + }, + "else": { + "operation": "boost", + "score": 0.04914729297161102 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "operation": "boost", + "score": 0.026810036972165108 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1156492605805397 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.007613964378833771 + "score": 0.10029064118862152 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.06663548201322556 + "score": 0.10574504733085632 }, "else": { "operation": "boost", - "score": 0.10249348729848862 + "score": 0.12891529500484467 } } - }, - "else": { - "operation": "boost", - "score": -0.09849991649389267 } }, "else": { "operation": "boost", - "score": -0.021347779780626297 + "score": 0.012443636544048786 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.4799676537513733 - }, - "else": { - "operation": "boost", - "score": 0.1171640008687973 - } + "operation": "boost", + "score": 0.03839338198304176 } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "boost", - "score": -0.015682891011238098 - }, - "else": { - "operation": "boost", - "score": 0.149728462100029 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09431978315114975 - }, - "else": { - "operation": "boost", - "score": 0.06081654131412506 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.17519338428974152 - }, - "else": { - "operation": "boost", - "score": -0.10819678008556366 - } - } + "operation": "boost", + "score": 0.08478694409132004 }, "else": { "operation": "boost", - "score": 0.03842870146036148 + "score": -0.025132164359092712 } + }, + "else": { + "operation": "boost", + "score": 0.06785530596971512 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.029282527044415474 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { + "operation": "boost", + "score": -0.027410294860601425 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 515.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.6719618439674377 + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 136.0, + "threshold": 29.5, "then": { "operation": "boost", - "score": 0.101694256067276 + "score": 0.09625256061553955 }, "else": { "operation": "boost", - "score": -0.0005371720180846751 + "score": 0.0251061599701643 } }, "else": { - "operation": "boost", - "score": -0.04885375127196312 + "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": { + "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": 31.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.2740961015224457 + }, + "else": { + "operation": "boost", + "score": -0.47926053404808044 + } + }, + "else": { + "operation": "boost", + "score": 0.12426140904426575 + } + }, + "else": { + "operation": "boost", + "score": -0.049420252442359924 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11044507473707199 + }, + "else": { + "operation": "boost", + "score": -0.17285862565040588 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.2906073331832886 + } + }, + "else": { + "operation": "boost", + "score": 0.08639699220657349 + } } } }, "else": { - "operation": "boost", - "score": -0.2220541387796402 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 140.0, + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.055100515484809875 + "score": 0.004054448567330837 }, "else": { "operation": "boost", - "score": 0.11475139856338501 + "score": 0.1480541080236435 } }, "else": { - "operation": "boost", - "score": 0.0426882803440094 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.09687129408121109 + }, + "else": { + "operation": "boost", + "score": -0.06949274241924286 + } } - }, - "else": { - "operation": "boost", - "score": -0.03539931774139404 } + }, + "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 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", + "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 794.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.03387465700507164 + "score": 0.012633887119591236 }, "else": { - "operation": "boost", - "score": 0.10996387898921967 - } - }, - "else": { - "operation": "boost", - "score": -0.2802620232105255 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 847.5, - "then": { - "operation": "boost", - "score": 0.18695664405822754 - }, - "else": { - "operation": "boost", - "score": 0.13025091588497162 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.0634496882557869 + "score": 0.15519477427005768 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.0, - "then": { - "operation": "boost", - "score": 0.10688423365354538 - }, - "else": { - "operation": "boost", - "score": 0.024149969220161438 - } + "operation": "boost", + "score": 0.06841137260198593 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.14315165579319 }, "else": { "operation": "boost", - "score": -0.14533081650733948 + "score": -0.12523336708545685 } - }, - "else": { - "operation": "boost", - "score": 0.04960355907678604 } }, "else": { + "operation": "boost", + "score": 0.01827516034245491 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "boost", - "score": 0.08076919615268707 - }, - "else": { - "operation": "boost", - "score": -0.17453865706920624 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.0, - "then": { - "operation": "boost", - "score": 0.11319868266582489 - }, - "else": { - "operation": "boost", - "score": 0.09362612664699554 - } - } + "operation": "boost", + "score": 0.07406735420227051 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10397769510746002 + "score": -0.11241787672042847 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, - "then": { - "operation": "boost", - "score": 2.2256617546081543 - }, - "else": { - "operation": "boost", - "score": 0.12830495834350586 - } + "operation": "boost", + "score": 0.12342202663421631 } }, "else": { - "operation": "boost", - "score": -0.025683147832751274 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09639039635658264 + }, + "else": { + "operation": "boost", + "score": -0.07352160662412643 + } } }, "else": { "operation": "boost", - "score": -0.048048872500658035 + "score": 0.03416925296187401 } } + }, + "else": { + "operation": "boost", + "score": 0.03179262951016426 } } }, "else": { - "operation": "boost", - "score": 0.029680605977773666 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.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", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04204960912466049 + }, + "else": { + "operation": "boost", + "score": -0.12676404416561127 + } + }, + "else": { + "operation": "boost", + "score": 0.007585149724036455 + } } } + }, + "else": { + "operation": "boost", + "score": 0.010482413694262505 } - }, - "else": { - "operation": "boost", - "score": -0.00562318554148078 } } + }, + "else": { + "operation": "boost", + "score": -0.006784456316381693 } } - }, - "else": { - "operation": "boost", - "score": -0.0006542285555042326 } }, { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44220.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45000.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 45617.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.12687742710113525 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 46094.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 371.5, + "operation": "boost", + "score": 0.014301563613116741 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.21631696820259094 + "score": 0.1016545221209526 }, "else": { - "operation": "boost", - "score": -0.15142489969730377 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 169.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.3580908179283142 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.10909327119588852 + }, + "else": { + "operation": "boost", + "score": 0.04642779007554054 + } }, "else": { "operation": "boost", - "score": -0.10101263225078583 + "score": 0.14196032285690308 } - }, - "else": { - "operation": "boost", - "score": 0.04341316595673561 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.11504365503787994 - }, - "else": { - "operation": "boost", - "score": 0.10560827702283859 } }, "else": { "operation": "boost", - "score": 0.07092122733592987 + "score": 0.09927480667829514 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13728.5, - "then": { - "operation": "boost", - "score": 0.7555099129676819 - }, - "else": { - "operation": "boost", - "score": -0.15784329175949097 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05148335546255112 + "score": 0.12375987321138382 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.030120903626084328 - }, - "else": { - "operation": "boost", - "score": -0.13525988161563873 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09175896644592285 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185.5, - "then": { - "operation": "boost", - "score": 0.11199607700109482 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.03504197672009468 + "score": -0.18479949235916138 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.11442870646715164 - }, - "else": { - "operation": "boost", - "score": 0.019935667514801025 - } + "operation": "boost", + "score": 0.22408905625343323 } }, "else": { - "operation": "boost", - "score": -0.1049419641494751 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.09971998631954193 - }, - "else": { - "operation": "boost", - "score": 0.10679606348276138 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1109619215130806 - }, - "else": { - "operation": "boost", - "score": -0.11178679764270782 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": 0.22279925644397736 - }, - "else": { - "operation": "boost", - "score": -0.018120385706424713 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10137522965669632 - }, - "else": { - "operation": "boost", - "score": 0.053097814321517944 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.18593893945217133 - }, - "else": { - "operation": "boost", - "score": 0.05228661745786667 - } - } - } + "operation": "boost", + "score": 0.04314926266670227 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.11608055233955383 + "score": 0.11152675002813339 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.1355617493391037 - }, - "else": { - "operation": "boost", - "score": -0.13111406564712524 - } + "operation": "boost", + "score": 0.08852169662714005 } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.2498885989189148 - }, - "else": { - "operation": "boost", - "score": -0.008599309250712395 - } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 234860.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": -0.006951607298105955 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07197187095880508 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.11871284246444702 + "score": 0.013501527719199657 }, "else": { - "operation": "boost", - "score": 0.12314452230930328 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72713.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.10423284024000168 - }, - "else": { - "operation": "boost", - "score": 0.11813768744468689 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 174254.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.11656906455755234 + "score": 0.08175888657569885 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.15861476957798004 + "score": 0.1037616953253746 }, "else": { "operation": "boost", - "score": 0.1362101435661316 + "score": 0.040629126131534576 } } }, "else": { "operation": "boost", - "score": 0.18152834475040436 + "score": 0.05925723910331726 } + }, + "else": { + "operation": "boost", + "score": -0.17661897838115692 } }, "else": { - "operation": "boost", - "score": 0.2875460684299469 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.2218596339225769 + "score": -0.1311616748571396 }, "else": { - "operation": "boost", - "score": -0.10843496769666672 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11291225254535675 + }, + "else": { + "operation": "boost", + "score": -0.10717799514532089 + } } - }, - "else": { - "operation": "boost", - "score": 0.0664721354842186 } } } - }, - "else": { - "operation": "boost", - "score": 0.07059307396411896 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46485.0, + "then": { + "operation": "boost", + "score": 0.00873592495918274 + }, + "else": { + "operation": "boost", + "score": -0.1458313763141632 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0768849179148674 - }, - "else": { - "operation": "boost", - "score": 0.01142896804958582 - } + "operation": "boost", + "score": -0.06541159749031067 } + }, + "else": { + "operation": "boost", + "score": -0.0812164917588234 } }, - "else": { - "operation": "boost", - "score": -0.011155406944453716 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.006760315969586372 - }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.03430202603340149 + "score": 0.08439411222934723 }, "else": { - "operation": "boost", - "score": 0.11609815806150436 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10109641402959824 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11204490065574646 + }, + "else": { + "operation": "boost", + "score": 0.09665334969758987 + } + } } }, "else": { "operation": "boost", - "score": -0.10834752023220062 + "score": 0.08693580329418182 } }, "else": { - "operation": "boost", - "score": -0.1337442398071289 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11271099746227264 + }, + "else": { + "operation": "boost", + "score": 0.05622564256191254 + } } }, "else": { "operation": "boost", - "score": -0.10947832465171814 + "score": 0.11072154343128204 } }, "else": { - "operation": "boost", - "score": -0.060704223811626434 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.01594519056379795 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, + "feature": "NumReferences", + "threshold": 44693.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.008759177289903164 + "score": 0.1893777698278427 }, "else": { "operation": "boost", - "score": -0.08807259798049927 + "score": 0.11830539256334305 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 44315.0, "then": { + "operation": "boost", + "score": -0.18654920160770416 + }, + "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 17.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.02059129998087883 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.14780592918395996 - }, - "else": { - "operation": "boost", - "score": -0.1687013953924179 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0899520218372345 - }, - "else": { - "operation": "boost", - "score": 0.23205356299877167 - } - }, - "else": { - "operation": "boost", - "score": 0.12146696448326111 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.12673479318618774 - } + "operation": "boost", + "score": -0.5837963223457336 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.11473461240530014 - } + "operation": "boost", + "score": 0.11956530064344406 } }, "else": { + "operation": "boost", + "score": 0.08023542165756226 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0030753971077501774 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18783.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19625.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 730.5, + "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 827.5, - "then": { - "operation": "boost", - "score": 0.03777175024151802 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 810.5, - "then": { - "operation": "boost", - "score": 0.11355095356702805 - }, - "else": { - "operation": "boost", - "score": 0.04037066176533699 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "threshold": 26223.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0042418926022946835 + "score": -0.2182459533214569 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 30750.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03831841051578522 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.10260240733623505 - }, - "else": { - "operation": "boost", - "score": 0.10315638035535812 - } - }, - "else": { - "operation": "boost", - "score": 0.0759938582777977 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.026054110378026962 + "score": 0.09895258396863937 }, "else": { "operation": "boost", - "score": 0.16638942062854767 + "score": 0.08775895833969116 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": -0.16418389976024628 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.0988975465297699 - }, - "else": { - "operation": "boost", - "score": 0.0029528173618018627 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.10369981825351715 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "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.0968320444226265 + "score": 0.04880162328481674 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.21674956381320953 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10765203833580017 - }, - "else": { - "operation": "boost", - "score": 0.09779035300016403 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0008533797808922827 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "boost", - "score": -0.09056416898965836 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.15199433267116547 - }, - "else": { - "operation": "boost", - "score": 0.058211009949445724 - } + "score": -0.38653722405433655 } } + }, + "else": { + "operation": "boost", + "score": -0.007531364448368549 } - }, - "else": { - "operation": "boost", - "score": -0.039122335612773895 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, - "then": { - "operation": "boost", - "score": -0.11748712509870529 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5220.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6515.5, - "then": { - "operation": "boost", - "score": 0.031339626759290695 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.07722849398851395 + "score": 0.13680772483348846 }, "else": { "operation": "boost", - "score": 0.11032357066869736 + "score": 0.12574049830436707 } } }, "else": { "operation": "boost", - "score": -0.01774510368704796 + "score": -0.008690974675118923 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0766739472746849 + }, + "else": { + "operation": "boost", + "score": 0.11401360481977463 } } + }, + "else": { + "operation": "boost", + "score": -0.06278415769338608 } } + }, + "else": { + "operation": "boost", + "score": -0.10024245083332062 } }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15173.0, "then": { "operation": "boost", - "score": 0.018981454893946648 + "score": -0.07842633128166199 }, "else": { "operation": "boost", - "score": -0.012317758053541183 + "score": 0.1013917326927185 } }, "else": { "operation": "boost", - "score": -0.18430712819099426 + "score": 0.09205907583236694 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.0023595797829329967 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.04874896630644798 + "score": 0.1016656830906868 }, "else": { "operation": "boost", - "score": -0.013755915686488152 + "score": 0.10057190805673599 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0555570162832737 - }, - "else": { - "operation": "boost", - "score": -0.5118436813354492 - } - }, - "else": { - "operation": "boost", - "score": -0.07614833861589432 - } + "operation": "boost", + "score": 0.06790991872549057 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.19513648748397827 + }, + "else": { + "operation": "boost", + "score": 0.13201573491096497 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.012253057211637497 + "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, + "then": { + "operation": "boost", + "score": -0.2660566568374634 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05803685262799263 + "score": 0.018747596070170403 }, "else": { - "operation": "boost", - "score": 0.11515966802835464 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04770367220044136 + }, + "else": { + "operation": "boost", + "score": 0.07546931505203247 + } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0022636938374489546 - }, - "else": { - "operation": "boost", - "score": 0.07705476135015488 - } + "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": "NumReferences", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 158.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.07168416678905487 + "score": 0.015089508146047592 }, "else": { - "operation": "boost", - "score": -0.20306774973869324 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.012873885221779346 + }, + "else": { + "operation": "boost", + "score": -4.06507682800293 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.12276067584753036 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14968883991241455 + "score": -0.016040923073887825 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.029868334531784058 - }, - "else": { - "operation": "boost", - "score": -1.492549180984497 - } + "operation": "boost", + "score": 0.06250505149364471 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.07163400948047638 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.024498380720615387 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07002592831850052 - }, - "else": { - "operation": "boost", - "score": 0.06473477184772491 - } - } - } + "operation": "boost", + "score": -0.0008285543881356716 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02915956638753414 + }, + "else": { + "operation": "boost", + "score": -0.015479793772101402 + } } } + }, + "else": { + "operation": "boost", + "score": 0.008343550376594067 } - }, - "else": { - "operation": "boost", - "score": 0.020158324390649796 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005472616758197546 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31592.0, - "then": { - "operation": "boost", - "score": -0.34077566862106323 - }, - "else": { - "operation": "boost", - "score": -0.011071151122450829 - } - }, - "else": { - "operation": "boost", - "score": 0.002478665905073285 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00011824759712908417 - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.005813043098896742 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.032993800938129425 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010513086803257465 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.07339675724506378 - }, - "else": { - "operation": "boost", - "score": -0.17300820350646973 - } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.1267005205154419 + "score": -0.04945468530058861 }, "else": { "operation": "boost", - "score": 0.11389584839344025 + "score": -0.008871777914464474 } }, "else": { - "operation": "boost", - "score": -0.027297668159008026 + "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_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.5295704007148743 + }, + "else": { + "operation": "boost", + "score": -0.3594520390033722 + } + }, + "else": { + "operation": "boost", + "score": 0.0719277411699295 + } + }, + "else": { + "operation": "boost", + "score": -0.022036153823137283 + } } } }, - "else": { - "operation": "boost", - "score": 0.014263533055782318 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.12202905118465424 - }, - "else": { - "operation": "boost", - "score": -0.10104323923587799 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.046932023018598557 - }, - "else": { - "operation": "boost", - "score": -0.05746087431907654 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32457.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.023545533418655396 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03843007981777191 - }, - "else": { - "operation": "boost", - "score": 0.06932631134986877 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { - "operation": "boost", - "score": 0.004152299836277962 - }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43302.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 73.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45940.0, + "threshold": 237.5, "then": { "operation": "boost", - "score": -0.021460095420479774 + "score": 0.018350273370742798 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 231.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10692566633224487 + "score": 0.10699772834777832 }, "else": { "operation": "boost", - "score": -0.10527566075325012 + "score": 0.11569450050592422 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.10713246464729309 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172.5, + "then": { + "operation": "boost", + "score": 0.08444467186927795 + }, + "else": { + "operation": "boost", + "score": 0.12248381972312927 + } + }, + "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.25685736536979675 + "score": 0.040789514780044556 } }, - "else": { - "operation": "boost", - "score": 0.07077052444219589 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09493310004472733 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0031380143482238054 - }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 180.5, "then": { - "operation": "boost", - "score": -0.14998948574066162 + "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": 14.5, + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53478.0, + "threshold": 106.5, "then": { - "operation": "boost", - "score": 0.1736874282360077 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 114.0, "then": { - "operation": "boost", - "score": 0.09049973636865616 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.23089967668056488 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160.5, + "then": { + "operation": "boost", + "score": -0.11836748570203781 + }, + "else": { + "operation": "boost", + "score": 0.11144914478063583 + } + } }, "else": { "operation": "boost", - "score": 0.11602161824703217 + "score": 0.1394404023885727 } + }, + "else": { + "operation": "boost", + "score": -0.16436487436294556 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.08153365552425385 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.09966466575860977 + "score": 0.07417742908000946 } } } } } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.02632301114499569 + }, + "else": { + "operation": "boost", + "score": -1.5383135080337524 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005086042452603579 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3191.5, + "then": { + "operation": "boost", + "score": -0.16186389327049255 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50563.0, + "threshold": 3146.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04810597375035286 - }, - "else": { - "operation": "boost", - "score": 0.13880117237567902 - } + "operation": "boost", + "score": 0.14711160957813263 + }, + "else": { + "operation": "boost", + "score": 0.05218896269798279 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13864538073539734 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10447019338607788 }, "else": { "operation": "boost", - "score": -0.28885507583618164 + "score": 0.03488518297672272 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.12719760835170746 + "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.10516535490751266 + "score": -0.12389856576919556 } } - }, - "else": { - "operation": "boost", - "score": 0.0029166401363909245 } }, "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55483.0, + "threshold": 38.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15601709485054016 - }, - "else": { - "operation": "boost", - "score": 0.12952041625976562 - } + "operation": "boost", + "score": 0.04505009576678276 }, "else": { "operation": "boost", - "score": 0.17663885653018951 + "score": 0.0249615665525198 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.00275834696367383 + "score": -0.017184924334287643 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06339655816555023 - }, - "else": { - "operation": "boost", - "score": 0.14649012684822083 - } + "operation": "boost", + "score": 0.03825343772768974 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33437.5, - "then": { - "operation": "boost", - "score": 0.2240389734506607 - }, - "else": { - "operation": "boost", - "score": -0.000618619320448488 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10646301507949829 - }, - "else": { - "operation": "boost", - "score": 0.1730743646621704 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01846354268491268 - } + "operation": "boost", + "score": 0.015173152089118958 } } } + }, + "else": { + "operation": "boost", + "score": -0.005300991237163544 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.006162160541862249 + "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": "NumReferences", - "threshold": 292981.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.029070768505334854 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09813422709703445 + "score": -0.10411252826452255 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.04523766413331032 + "score": -0.0773678570985794 }, "else": { "operation": "boost", - "score": -0.12782889604568481 + "score": 0.046292442828416824 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.007469294127076864 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.09232289344072342 + "score": 0.19137047231197357 }, "else": { "operation": "boost", - "score": -0.004030757583677769 + "score": -0.055477458983659744 } + }, + "else": { + "operation": "boost", + "score": 0.05554017424583435 } }, - "else": { - "operation": "boost", - "score": -1.932682752609253 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.5558566451072693 - }, - "else": { - "operation": "boost", - "score": 0.02154051885008812 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.013482986018061638 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.05863702669739723 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.10556799173355103 - }, - "else": { - "operation": "boost", - "score": -0.22056785225868225 - } - } - }, + "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 + } + } + } + } + } + }, "else": { - "operation": "boost", - "score": -0.20645229518413544 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.057172100991010666 + "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 + } }, "else": { "operation": "boost", - "score": 0.11236691474914551 + "score": 0.06994058936834335 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0396646223962307 + }, + "else": { + "operation": "boost", + "score": -0.03189030662178993 + } + } + }, + "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": 2.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.06844453513622284 + "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.09756103903055191 + "score": -0.13407059013843536 } } + }, + "else": { + "operation": "boost", + "score": -0.03254048526287079 } } } } }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.02559307962656021 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.007024771999567747 + }, + "else": { + "operation": "boost", + "score": -0.03257538378238678 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.030797917395830154 + }, + "else": { + "operation": "boost", + "score": -0.008938190527260303 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0007021354977041483 + } + } + }, + "else": { + "operation": "boost", + "score": -0.053343579173088074 + } + }, + "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, + "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.030029427260160446 + "score": -0.044711172580718994 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06841184943914413 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07287311553955078 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10143256932497025 + }, + "else": { + "operation": "boost", + "score": 0.09868999570608139 + } + } + } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "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", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.022472510114312172 + "score": 0.03174600005149841 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.05885745584964752 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11193743348121643 + "score": 0.11977539211511612 }, "else": { + "operation": "boost", + "score": 0.1741107553243637 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03713218867778778 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08490142971277237 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 147.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.05354832857847214 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 425.0, "then": { "operation": "boost", - "score": 0.016430234536528587 + "score": 0.11207885295152664 }, "else": { "operation": "boost", - "score": 0.11750687658786774 + "score": 0.6284003853797913 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.13152876496315002 }, "else": { "operation": "boost", - "score": -0.12845221161842346 + "score": -0.1439039260149002 } - }, - "else": { - "operation": "boost", - "score": 0.043350446969270706 } + }, + "else": { + "operation": "boost", + "score": 0.07644256204366684 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.01937801204621792 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.03883954510092735 + "score": -0.2303636521100998 }, "else": { "operation": "boost", - "score": 0.119122214615345 + "score": 0.11511901766061783 } - }, - "else": { - "operation": "boost", - "score": 0.040994446724653244 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 263945.0, + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04729510098695755 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09687122702598572 - }, - "else": { - "operation": "boost", - "score": 0.04254727438092232 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10578178614377975 - }, - "else": { - "operation": "boost", - "score": 0.08587061613798141 - } - } + "operation": "boost", + "score": 0.10910559445619583 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.10116253793239594 - }, - "else": { - "operation": "boost", - "score": 0.04140082374215126 - } + "operation": "boost", + "score": 0.039951618760824203 }, "else": { "operation": "boost", - "score": 0.09373671561479568 + "score": 0.13702543079853058 } } }, "else": { "operation": "boost", - "score": 0.0008227055659517646 + "score": 0.1588079333305359 } }, "else": { - "operation": "boost", - "score": -0.14041024446487427 - } - }, - "else": { - "operation": "boost", - "score": -0.13383124768733978 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 206450.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.032381411641836166 + "score": 0.06420429050922394 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.10718543082475662 + "score": -0.17376291751861572 }, "else": { "operation": "boost", - "score": 0.07203181833028793 + "score": 0.13402986526489258 } }, "else": { + "operation": "boost", + "score": -0.01689411886036396 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015837883576750755 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07312171161174774 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.5772590637207031 + "score": 0.059449851512908936 }, "else": { - "operation": "boost", - "score": 0.05639614909887314 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12768417596817017 + }, + "else": { + "operation": "boost", + "score": -0.12551608681678772 + } } + }, + "else": { + "operation": "boost", + "score": 0.06316065788269043 } } }, "else": { "operation": "boost", - "score": -0.10314735770225525 + "score": 0.0855269581079483 } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -1.863906741142273 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02300512231886387 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "boost", + "score": -0.1457962691783905 }, "else": { "operation": "boost", - "score": 0.005569632165133953 + "score": 0.10013727098703384 } }, + "else": { + "operation": "boost", + "score": 0.013816497288644314 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70521.5, + "then": { + "operation": "boost", + "score": 0.12161555141210556 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0280531607568264 + }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.1061154380440712 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1098184585571289 + }, + "else": { + "operation": "boost", + "score": 0.057077743113040924 + } }, "else": { - "operation": "boost", - "score": 0.000960495846811682 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.14541581273078918 + }, + "else": { + "operation": "boost", + "score": 0.0915154218673706 + } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 24.0, "then": { - "operation": "boost", - "score": 0.021854469552636147 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.0, + "then": { + "operation": "boost", + "score": 0.093729667365551 + }, + "else": { + "operation": "boost", + "score": 0.13635294139385223 + } }, "else": { - "operation": "boost", - "score": 0.10647568106651306 + "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": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 54.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10532784461975098 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09829980134963989 - }, - "else": { - "operation": "boost", - "score": 0.11715400964021683 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10017569363117218 - } + "operation": "boost", + "score": -0.27463284134864807 }, "else": { "operation": "boost", - "score": 0.16269966959953308 + "score": 0.025242434814572334 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.033359456807374954 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 114.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 252.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.10313309729099274 - }, - "else": { - "operation": "boost", - "score": 0.11754456907510757 - } + "operation": "boost", + "score": 0.05949155613780022 }, "else": { "operation": "boost", - "score": 0.7987828254699707 + "score": 0.12343072146177292 } }, "else": { "operation": "boost", - "score": -0.2509683668613434 + "score": 0.06671947985887527 } + }, + "else": { + "operation": "boost", + "score": -0.14833597838878632 } } } } } + } + }, + "else": { + "operation": "boost", + "score": 0.004547168966382742 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.010177774354815483 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11740966141223907 + }, + "else": { + "operation": "boost", + "score": 0.12218774855136871 + } }, "else": { "operation": "boost", - "score": 0.00604875897988677 + "score": 0.047203440219163895 } } } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.03370939940214157 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.09945235401391983 + }, + "else": { + "operation": "boost", + "score": -0.08169001340866089 + } + } } } }, "else": { "operation": "boost", - "score": -0.0266711562871933 + "score": -0.004253596533089876 } } }, "else": { "operation": "boost", - "score": -0.0006544930511154234 + "score": -0.018384454771876335 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + } + } + }, + { + "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" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30340.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.09462834149599075 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11954367160797119 + }, + "else": { + "operation": "boost", + "score": -0.3019437789916992 + } }, "else": { - "operation": "boost", - "score": -0.486799955368042 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31292.5, + "then": { + "operation": "boost", + "score": -0.0014557801187038422 + }, + "else": { + "operation": "boost", + "score": -0.16596433520317078 + } } }, "else": { - "operation": "boost", - "score": -0.5217058658599854 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 28239.0, "then": { - "operation": "boost", - "score": 0.0033458471298217773 - }, - "else": { - "operation": "boost", - "score": 0.014744795858860016 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08576633781194687 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.009072314947843552 + "score": -0.013378801755607128 }, "else": { - "operation": "boost", - "score": -0.008135017938911915 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.007347887847572565 + }, + "else": { + "operation": "boost", + "score": 0.11794160306453705 + } } + }, + "else": { + "operation": "boost", + "score": 0.052250489592552185 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19474.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.00909417774528265 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77386.0, + "then": { + "operation": "boost", + "score": -0.4283779561519623 + }, + "else": { + "operation": "boost", + "score": 0.04703441634774208 + } }, "else": { - "operation": "boost", - "score": 0.007823324762284756 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07018275558948517 + }, + "else": { + "operation": "boost", + "score": 0.10242418944835663 + } + }, + "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.047873739153146744 + }, + "else": { + "operation": "boost", + "score": 0.10938163101673126 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.09360872209072113 + }, + "else": { + "operation": "boost", + "score": 0.11553587764501572 + } + } + }, + "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 + } + } + } } }, "else": { - "operation": "boost", - "score": -0.00821883324533701 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11055430769920349 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.042628709226846695 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77386.0, + "then": { + "operation": "boost", + "score": 0.10151797533035278 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44493.0, + "then": { + "operation": "boost", + "score": 0.027185847982764244 + }, + "else": { + "operation": "boost", + "score": 0.0965941920876503 + } + }, + "else": { + "operation": "boost", + "score": 0.013823929242789745 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11866551637649536 + }, + "else": { + "operation": "boost", + "score": -0.10160898417234421 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08510429412126541 + } + } } }, "else": { "operation": "boost", - "score": -0.0008716756710782647 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01774490624666214 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.008620662614703178 - }, - "else": { - "operation": "boost", - "score": -0.035065118223428726 - } + "score": 0.10112787783145905 } } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 578.5, - "then": { - "operation": "boost", - "score": 0.026171378791332245 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 561.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.11713454872369766 + "score": 0.023482557386159897 }, "else": { "operation": "boost", - "score": 0.04141898825764656 + "score": 0.004024907946586609 } } }, @@ -180918,3046 +180460,4017 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_SymbolOrNewName", "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5270.5, + "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5280.5, + "threshold": 205637.0, "then": { "operation": "boost", - "score": 0.024952875450253487 + "score": -0.036835379898548126 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.0, + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.09526242315769196 + "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.03668691962957382 + }, + "else": { + "operation": "boost", + "score": 0.08002832531929016 + } + }, + "else": { + "operation": "boost", + "score": 0.025895489379763603 + } + }, + "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 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.3214830756187439 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033121999353170395 + }, + "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": 200884.5, + "then": { + "operation": "boost", + "score": -0.10906124860048294 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04010577127337456 + }, + "else": { + "operation": "boost", + "score": 0.10422506183385849 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014706188812851906 + } + } } } }, - "else": { - "operation": "boost", - "score": 0.01401157584041357 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "boost", - "score": 0.004666026681661606 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": 0.1218341514468193 + "score": -0.11950868368148804 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11174551397562027 + "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.10152097046375275 + "score": 0.16472765803337097 } }, "else": { "operation": "boost", - "score": -0.13012027740478516 + "score": 0.016811447218060493 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.11486364156007767 }, "else": { - "operation": "boost", - "score": -0.19615580141544342 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286024.5, + "threshold": 94883.5, "then": { "operation": "boost", - "score": -0.000657081080134958 + "score": -0.03114793635904789 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62816.0, "then": { - "operation": "boost", - "score": -0.17508795857429504 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.02452990412712097 + }, + "else": { + "operation": "boost", + "score": -1.4928148984909058 + } }, "else": { - "operation": "boost", - "score": 0.10370857268571854 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24164.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24900.5, + "then": { + "operation": "boost", + "score": 0.10930529981851578 + }, + "else": { + "operation": "boost", + "score": 0.10813838988542557 + } + }, + "else": { + "operation": "boost", + "score": 0.021952908486127853 + } } }, "else": { - "operation": "boost", - "score": 0.07093200832605362 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.13397644460201263 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10420368611812592 + }, + "else": { + "operation": "boost", + "score": 0.052496593445539474 + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 60891.5, "then": { "operation": "boost", - "score": 0.12845061719417572 + "score": -0.04327978566288948 }, "else": { - "operation": "boost", - "score": 0.05625299736857414 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7203.5, + "threshold": 38396.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47953.0, + "threshold": 43555.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10271542519330978 - }, - "else": { - "operation": "boost", - "score": 0.005908245220780373 - } - }, - "else": { - "operation": "boost", - "score": -0.10010536760091782 - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15665.5, - "then": { - "operation": "boost", - "score": 0.130320206284523 - }, - "else": { - "operation": "boost", - "score": -0.22506660223007202 - } + "operation": "boost", + "score": -0.004294759593904018 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28364.0, - "then": { - "operation": "boost", - "score": 0.01856633462011814 - }, - "else": { - "operation": "boost", - "score": 0.14043231308460236 - } + "operation": "boost", + "score": 0.11757270246744156 } }, "else": { "operation": "boost", - "score": -0.02045106515288353 + "score": 0.13019384443759918 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9853.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10726.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32519.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10824434459209442 - }, - "else": { - "operation": "boost", - "score": 0.05351123958826065 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15708.5, - "then": { - "operation": "boost", - "score": 0.046751346439123154 - }, - "else": { - "operation": "boost", - "score": 0.12754909694194794 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06847482174634933 - }, - "else": { - "operation": "boost", - "score": -0.2594105303287506 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08914458751678467 - }, - "else": { - "operation": "boost", - "score": 0.11988482624292374 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09879788756370544 - }, - "else": { - "operation": "boost", - "score": -0.6527112126350403 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0777573436498642 - }, - "else": { - "operation": "boost", - "score": 0.11363089829683304 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13594362139701843 - }, - "else": { - "operation": "boost", - "score": 0.008010199293494225 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.4056338369846344 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08539950847625732 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9189.5, - "then": { - "operation": "boost", - "score": 0.1202164739370346 - }, - "else": { - "operation": "boost", - "score": 0.11107049882411957 - } - } - } + "operation": "boost", + "score": 0.2102934718132019 } + }, + "else": { + "operation": "boost", + "score": 0.11271502077579498 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3495.0, + "threshold": 28247.0, "then": { "operation": "boost", - "score": -0.09508060663938522 + "score": -0.11426212638616562 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3190.5, + "threshold": 27939.5, "then": { "operation": "boost", - "score": 0.08764221519231796 + "score": 0.47732478380203247 }, "else": { - "operation": "boost", - "score": 0.03641997277736664 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.04892871156334877 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22628.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.014123096130788326 - }, - "else": { - "operation": "boost", - "score": -0.3128446340560913 - } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74787.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 77386.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 92148.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.008715204894542694 + "score": 0.06280618906021118 }, "else": { "operation": "boost", - "score": 0.10413991659879684 + "score": 0.05701713263988495 } }, "else": { + "operation": "boost", + "score": 0.016943499445915222 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.04764759913086891 + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.0910937562584877 + "score": 0.10559394210577011 }, "else": { "operation": "boost", - "score": -0.05124944448471069 + "score": 0.07730647176504135 } } }, "else": { "operation": "boost", - "score": -0.04937628284096718 + "score": -0.008069777861237526 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.08243200182914734 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.268483430147171 + "score": 0.13148252665996552 }, "else": { "operation": "boost", - "score": 0.11064209043979645 + "score": -0.03375506401062012 } - }, - "else": { - "operation": "boost", - "score": -0.2760121524333954 } - }, - "else": { - "operation": "boost", - "score": -0.22598806023597717 } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.001960009103640914 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 73593.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.03932235389947891 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.034991223365068436 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190994.0, + "threshold": 40082.5, "then": { - "operation": "boost", - "score": 0.10394658148288727 + "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.11115765571594238 + "score": 0.10025584697723389 } + }, + "else": { + "operation": "boost", + "score": -0.10447824001312256 } - } - }, - "else": { - "operation": "boost", - "score": -0.04078448936343193 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5523.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33671.5, + "threshold": 62085.0, "then": { "operation": "boost", - "score": -0.14093105494976044 + "score": -1.0669751167297363 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6261.5, + "threshold": 20565.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15231.5, + "threshold": 24698.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.16486650705337524 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10326921194791794 - }, - "else": { - "operation": "boost", - "score": -0.08744098246097565 - } - } + "operation": "boost", + "score": -0.16675066947937012 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07226100564002991 - }, - "else": { - "operation": "boost", - "score": -0.23476508259773254 - } + "operation": "boost", + "score": -0.7106515765190125 } }, "else": { "operation": "boost", - "score": 0.12507353723049164 + "score": 0.09038684517145157 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, - "then": { - "operation": "boost", - "score": -0.16771870851516724 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13599.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.019405009225010872 - }, - "else": { - "operation": "boost", - "score": 0.11252035945653915 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9486.5, - "then": { - "operation": "boost", - "score": -0.29364049434661865 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6609.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6962.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7210.5, - "then": { - "operation": "boost", - "score": 0.10108289122581482 - }, - "else": { - "operation": "boost", - "score": -0.4699801206588745 - } - }, - "else": { - "operation": "boost", - "score": 0.15089672803878784 - } - }, - "else": { - "operation": "boost", - "score": 0.023095594719052315 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.04305741935968399 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07891496270895004 - }, - "else": { - "operation": "boost", - "score": 0.10524698346853256 - } - } - } + "operation": "boost", + "score": 0.002952534006908536 } } + } + }, + "else": { + "operation": "boost", + "score": 0.02859710343182087 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 458944.5, + "then": { + "operation": "boost", + "score": -0.22497984766960144 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18672.5, + "then": { + "operation": "boost", + "score": -0.07841795682907104 + }, + "else": { + "operation": "boost", + "score": 0.2572278678417206 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87637.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02772345393896103 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97784.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013868148438632488 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.0, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10529.5, + "threshold": 417741.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.08236420154571533 + "score": 0.011174670420587063 }, "else": { "operation": "boost", - "score": 0.10019400715827942 + "score": -0.17713116109371185 } }, - "else": { - "operation": "boost", - "score": 0.10468094795942307 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.18463225662708282 - }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 318692.5, "then": { - "operation": "boost", - "score": 0.03547544777393341 + "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.2194383591413498 + "score": 0.02889098785817623 } } + }, + "else": { + "operation": "boost", + "score": -0.682624101638794 } }, "else": { - "operation": "boost", - "score": 0.09778669476509094 + "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": "NumReferences", - "threshold": 500.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.008261711336672306 + "score": 0.07645323872566223 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.10626543313264847 + "score": -0.6240440607070923 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": -0.2852274775505066 + "score": 0.09267310798168182 }, "else": { "operation": "boost", - "score": 0.1215704157948494 + "score": -1.9190890789031982 } }, "else": { - "operation": "boost", - "score": -0.09088493138551712 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09565731137990952 + }, + "else": { + "operation": "boost", + "score": 0.12275151163339615 + } } } } } + }, + "else": { + "operation": "boost", + "score": -0.06327182054519653 } - }, - "else": { - "operation": "boost", - "score": 0.018718445673584938 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1276.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8245.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.005418730899691582 + "score": 0.06033853441476822 }, "else": { - "operation": "boost", - "score": -0.03732449188828468 + "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": "NumReferences", - "threshold": 1072.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.030282966792583466 + "score": 0.10115274786949158 }, "else": { "operation": "boost", - "score": 0.10940805822610855 + "score": 0.11027631163597107 } }, "else": { "operation": "boost", - "score": 0.015460498631000519 + "score": -0.10470467060804367 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "boost", + "score": -0.022632397711277008 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7841.5, + "feature": "FilterLength", + "threshold": 1.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 + } + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.06314785033464432 + "score": 0.2470342516899109 }, "else": { "operation": "boost", - "score": -0.8103172779083252 + "score": 0.01869836263358593 } + } + } + } + } + } + }, + "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", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": 0.008480455726385117 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.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 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.011607903987169266 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "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.10732851922512054 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 316302.0, + "then": { + "operation": "boost", + "score": -0.12488171458244324 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91957.5, + "then": { + "operation": "boost", + "score": 0.13157805800437927 }, "else": { + "operation": "boost", + "score": 0.026236290112137794 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10932771861553192 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10292454808950424 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6593.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.038655612617731094 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10498244315385818 + "score": 0.11372477561235428 }, "else": { "operation": "boost", - "score": 0.09039166569709778 + "score": 0.08509473502635956 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304083.5, + "then": { + "operation": "boost", + "score": 0.015864327549934387 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.01184102613478899 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 943.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 104520.5, "then": { - "operation": "boost", - "score": 0.07711620628833771 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118314.0, + "then": { + "operation": "boost", + "score": 0.08526529371738434 + }, + "else": { + "operation": "boost", + "score": 0.12454226613044739 + } }, "else": { "operation": "boost", - "score": 0.11379209905862808 + "score": -0.15089042484760284 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 517.5, - "then": { - "operation": "boost", - "score": -0.3371821641921997 - }, - "else": { - "operation": "boost", - "score": 0.09214335680007935 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "threshold": 72713.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3914.0, + "threshold": 104520.5, "then": { - "operation": "boost", - "score": -0.18265856802463531 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118314.0, + "then": { + "operation": "boost", + "score": 0.052973147481679916 + }, + "else": { + "operation": "boost", + "score": 0.10512777417898178 + } + }, + "else": { + "operation": "boost", + "score": 0.10015841573476791 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2140.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10946409404277802 + "score": 0.006970573682337999 }, "else": { "operation": "boost", - "score": 0.05651101469993591 + "score": 0.10055503994226456 } } }, "else": { "operation": "boost", - "score": -0.3248594403266907 + "score": 0.09973432868719101 } - }, - "else": { - "operation": "boost", - "score": -0.6650160551071167 } + }, + "else": { + "operation": "boost", + "score": 0.030432865023612976 } - }, - "else": { - "operation": "boost", - "score": -0.5197946429252625 } } - }, - "else": { - "operation": "boost", - "score": -0.21367259323596954 } + }, + "else": { + "operation": "boost", + "score": 0.11300131678581238 } } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.10385184735059738 - }, - "else": { - "operation": "boost", - "score": 0.008956298232078552 - } + "operation": "boost", + "score": -0.027762161567807198 }, "else": { - "operation": "boost", - "score": -0.010776858776807785 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": 0.08814437687397003 - }, - "else": { - "operation": "boost", - "score": -0.02888728305697441 - } + "operation": "boost", + "score": 0.08800184726715088 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08538839221000671 + "score": 0.1000387966632843 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2191.0, - "then": { - "operation": "boost", - "score": 0.09644651412963867 - }, - "else": { - "operation": "boost", - "score": 0.11207032948732376 - } + "operation": "boost", + "score": 0.1100158840417862 } } - }, - "else": { - "operation": "boost", - "score": -0.020397944375872612 } } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19441568851470947 + }, + "else": { + "operation": "boost", + "score": -0.07669582217931747 + } } } } }, "else": { - "operation": "boost", - "score": -0.0005470045725814998 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", "Keyword", - "Constructor" + "Variable", + "Function", + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 473.0, + "threshold": 31292.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32026.0, "then": { "operation": "boost", - "score": 0.033900294452905655 + "score": 0.04169416427612305 }, "else": { - "operation": "boost", - "score": -0.05558091774582863 + "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_greater", - "feature": "NumReferences", - "threshold": 458.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10276567190885544 + "score": -0.0015392544446513057 }, "else": { "operation": "boost", - "score": 0.12314467877149582 + "score": 0.09995558112859726 } }, "else": { - "operation": "boost", - "score": 0.017634209245443344 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009287248365581036 + }, + "else": { + "operation": "boost", + "score": 0.004901782609522343 + } } } }, "else": { - "operation": "boost", - "score": -0.11142192780971527 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3322.0, + "feature": "FileProximityDistance", + "threshold": 26.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.026867594569921494 - }, - "else": { - "operation": "boost", - "score": -0.1110895574092865 - } + "operation": "boost", + "score": -0.010815444402396679 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1846371442079544 - }, - "else": { - "operation": "boost", - "score": 0.013790003024041653 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, + "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": "NumReferences", - "threshold": 129672.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.0341545008122921 + "score": 0.034791938960552216 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.3460908830165863 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.0027129400987178087 + "score": 0.011401367373764515 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 858647.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.6630296111106873 + "score": -0.008429521694779396 }, "else": { "operation": "boost", - "score": -0.06938132643699646 + "score": 0.11164886504411697 } } + }, + "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": "NumReferences", - "threshold": 286067.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08834084123373032 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03868066892027855 - }, - "else": { - "operation": "boost", - "score": -1.1387059688568115 - } - }, - "else": { - "operation": "boost", - "score": 0.06478244811296463 - } - } - }, - "else": { - "operation": "boost", - "score": -0.010351610369980335 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 256260.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.09878063201904297 + "score": 0.056536734104156494 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 236336.5, + "threshold": 767.0, "then": { + "operation": "boost", + "score": 0.10153920948505402 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.11503341048955917 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.011596709489822388 + "score": 0.09624335914850235 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.05707802623510361 + "score": 0.3229580223560333 }, "else": { "operation": "boost", - "score": -0.16949982941150665 + "score": 0.12249863892793655 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168474.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0578022301197052 - }, - "else": { - "operation": "boost", - "score": -0.0016176756471395493 - } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 132.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.12048345804214478 + "score": 0.10993590205907822 }, "else": { "operation": "boost", - "score": 0.030315162613987923 + "score": -0.10681411623954773 } }, "else": { "operation": "boost", - "score": 0.055770087987184525 + "score": -0.013725324533879757 } } } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0030661290511488914 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1199726089835167 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11053241044282913 }, "else": { "operation": "boost", - "score": -0.10134894400835037 + "score": 0.0306314118206501 } - }, - "else": { - "operation": "boost", - "score": -0.127384752035141 } } + }, + "else": { + "operation": "boost", + "score": -0.03594433143734932 } - }, - "else": { - "operation": "boost", - "score": 0.06498225033283234 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 582.5, - "then": { - "operation": "boost", - "score": 0.02247123047709465 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 557.0, - "then": { - "operation": "boost", - "score": 0.11518608778715134 - }, - "else": { - "operation": "boost", - "score": 0.0247635617852211 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 285.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10726.5, + "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_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21565.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.04206115007400513 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.041261933743953705 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12050037086009979 + "score": -0.1081579253077507 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14423.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.1001967191696167 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02682838961482048 + }, + "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": 25.5, + "then": { + "operation": "boost", + "score": 0.1256067305803299 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.08141844719648361 + }, + "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 + } + } + } + } + }, + "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 + } + } + } }, "else": { "operation": "boost", - "score": -0.15783563256263733 + "score": 0.013486954383552074 } } + }, + "else": { + "operation": "boost", + "score": 0.03017568215727806 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 342801.0, - "then": { - "operation": "boost", - "score": -0.22763173282146454 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65729.5, + "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": "boost", - "score": 0.10027915984392166 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 0.12039552628993988 + }, + "else": { + "operation": "boost", + "score": 0.128861665725708 + } }, "else": { "operation": "boost", - "score": 0.06436504423618317 + "score": -0.04750862345099449 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1055.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1995.5, - "then": { - "operation": "boost", - "score": 0.06288731843233109 - }, - "else": { - "operation": "boost", - "score": 0.13091877102851868 - } + "operation": "boost", + "score": 0.042999569326639175 }, "else": { "operation": "boost", - "score": -0.09374016523361206 + "score": 0.03051414154469967 } - }, - "else": { + } + }, + "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": 872.5, + "threshold": 27076.0, "then": { "operation": "boost", - "score": 0.1175730973482132 + "score": 0.12074726819992065 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.12287689000368118 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.01555416639894247 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 14.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.05235361307859421 + "score": 0.04966916888952255 }, "else": { "operation": "boost", - "score": 0.1441371589899063 + "score": 0.10182730108499527 } }, "else": { "operation": "boost", - "score": -0.07350882887840271 + "score": 0.11854279041290283 } - }, - "else": { - "operation": "boost", - "score": -0.43051740527153015 } + }, + "else": { + "operation": "boost", + "score": 0.022419463843107224 } } + }, + "else": { + "operation": "boost", + "score": 0.0243188738822937 } } }, "else": { "operation": "boost", - "score": -0.6076212525367737 + "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": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47953.0, - "then": { - "operation": "boost", - "score": 0.0026653974782675505 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7203.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9853.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.06143508478999138 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14794.0, - "then": { - "operation": "boost", - "score": 0.11421743780374527 - }, - "else": { - "operation": "boost", - "score": -0.17379404604434967 - } - }, - "else": { - "operation": "boost", - "score": 0.04566812887787819 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09103373438119888 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9189.5, - "then": { - "operation": "boost", - "score": 0.11795144528150558 - }, - "else": { - "operation": "boost", - "score": 0.10801352560520172 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.02385122887790203 - }, - "else": { - "operation": "boost", - "score": 0.08302175253629684 - } - } - } + "operation": "boost", + "score": -0.014569812454283237 }, "else": { "operation": "boost", - "score": -0.004414143972098827 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.004833218175917864 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0010205128928646445 + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.009132345207035542 + }, + "else": { + "operation": "boost", + "score": 0.09276982396841049 + } + }, + "else": { + "operation": "boost", + "score": -2.9090194702148438 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0631071925163269 + }, + "else": { + "operation": "boost", + "score": 0.0876532569527626 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.265762060880661 + }, + "else": { + "operation": "boost", + "score": 0.03357064351439476 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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_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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06863389909267426 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.00822881143540144 + }, + "else": { + "operation": "boost", + "score": 0.016665019094944 + } + }, + "else": { + "operation": "boost", + "score": 0.005629157647490501 + } + } + } + }, + "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": "boost", + "score": 0.002949565416201949 + }, + "else": { + "operation": "boost", + "score": -0.008261547423899174 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor" + ], + "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_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05612295866012573 + "score": -0.02630310319364071 }, "else": { "operation": "boost", - "score": -0.03964778780937195 + "score": 0.038671620190143585 } }, + "else": { + "operation": "boost", + "score": -0.007010164204984903 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10053851455450058 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": -0.032454438507556915 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, - "then": { - "operation": "boost", - "score": 0.11379076540470123 - }, - "else": { - "operation": "boost", - "score": -0.24593745172023773 - } - } + "operation": "boost", + "score": 0.006679334677755833 }, "else": { "operation": "boost", - "score": -0.10979705303907394 + "score": -0.04378124326467514 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Function" + "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.09830502420663834 + }, + "else": { + "operation": "boost", + "score": -0.1989021599292755 + } + } + } + } + } + }, + "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": 2.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2374.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2417.0, + "then": { + "operation": "boost", + "score": 0.03769202157855034 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.022210512310266495 + }, + "else": { + "operation": "boost", + "score": 0.11280570924282074 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0055405194871127605 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.04386598616838455 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 375849.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18715.0, + "threshold": 412896.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66036.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.1120624989271164 + "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.015806768089532852 + "score": 0.06361785531044006 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57673.0, + "threshold": 549246.0, "then": { + "operation": "boost", + "score": 0.0519767589867115 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.1158161461353302 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15778349339962006 + }, + "else": { + "operation": "boost", + "score": -0.02107340283691883 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.01803332380950451 + "score": 0.09271302819252014 }, "else": { "operation": "boost", - "score": 0.10335630923509598 + "score": 0.0018393052741885185 } } - }, - "else": { - "operation": "boost", - "score": 0.0355299711227417 } } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10569840669631958 + }, + "else": { + "operation": "boost", + "score": 0.06351368874311447 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004289797507226467 + }, + "else": { + "operation": "boost", + "score": -0.017681891098618507 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5161.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5204.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9171.5, + "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11381.0, + "threshold": 24227.5, "then": { "operation": "boost", - "score": -0.043487146496772766 + "score": 0.0016502419020980597 }, "else": { - "operation": "boost", - "score": -0.26529446244239807 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6404.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7609.0, + "threshold": 24093.0, "then": { - "operation": "boost", - "score": 0.00030770193552598357 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09871294349431992 + "score": 0.0731944665312767 }, "else": { "operation": "boost", - "score": 0.083647221326828 + "score": 0.10846473276615143 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5008.5, - "then": { - "operation": "boost", - "score": -0.16202735900878906 - }, - "else": { - "operation": "boost", - "score": 0.010508096776902676 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11994755268096924 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0365975983440876 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05885019898414612 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10196801275014877 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11557430028915405 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09063656628131866 + }, + "else": { + "operation": "boost", + "score": -0.3180624544620514 + } + } }, "else": { "operation": "boost", - "score": 0.10954926162958145 + "score": 0.10354695469141006 } } } }, "else": { - "operation": "boost", - "score": -0.043703947216272354 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5523.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33671.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.11212360858917236 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { + "operation": "boost", + "score": 0.11277983337640762 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6261.5, + "threshold": 15553.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15231.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.16586780548095703 + "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 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.10082335770130157 + "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.03432083502411842 + "score": 0.11786479502916336 } } }, "else": { "operation": "boost", - "score": -0.012336768209934235 + "score": 0.04637017846107483 } }, "else": { - "operation": "boost", - "score": 0.12416083365678787 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, + "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": "boost", - "score": -0.12057987600564957 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13599.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 8200.0, "then": { - "operation": "boost", - "score": 0.030327659100294113 + "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": "boost", - "score": 0.105134017765522 + "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 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9486.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.25770291686058044 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6609.5, + "threshold": 9252.5, "then": { + "operation": "boost", + "score": 0.12919610738754272 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6962.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.07313531637191772 + "score": 0.10485595464706421 }, "else": { "operation": "boost", - "score": 0.14469969272613525 + "score": -0.12639206647872925 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5522.0, + "then": { + "operation": "boost", + "score": 0.014328856021165848 }, "else": { "operation": "boost", - "score": 0.021449217572808266 + "score": 0.15248826146125793 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.03435123339295387 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06692883372306824 - }, - "else": { - "operation": "boost", - "score": 0.10338502377271652 - } + "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": "FileProximityDistance", - "threshold": 9.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08040459454059601 - }, - "else": { - "operation": "boost", - "score": 0.0992722362279892 - } - }, - "else": { - "operation": "boost", - "score": 0.10137343406677246 - } + "operation": "boost", + "score": 0.03860773518681526 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.17008911073207855 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05146730691194534 - }, - "else": { - "operation": "boost", - "score": 0.21432681381702423 - } - } + "operation": "boost", + "score": -0.05085595324635506 } }, "else": { - "operation": "boost", - "score": 0.09565209597349167 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.06237225607037544 + }, + "else": { + "operation": "boost", + "score": -0.19359630346298218 + } } } + } + }, + "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": "NumReferences", - "threshold": 500.0, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1259361207485199 + }, + "else": { + "operation": "boost", + "score": 0.1163831576704979 + } + }, + "else": { + "operation": "boost", + "score": 0.0013331928057596087 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.061979297548532486 + }, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.0026342098135501146 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 660.0, + "threshold": 2033.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2764.5, + "then": { + "operation": "boost", + "score": -0.14916367828845978 + }, + "else": { + "operation": "boost", + "score": 0.11049307882785797 + } + }, + "else": { "operation": "boost", - "score": 0.06339733302593231 + "score": -0.1003488153219223 + } + }, + "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.11692670732736588 + "score": 0.05651649832725525 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.1031857281923294 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 471.0, + "threshold": 2735.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2833.0, "then": { - "operation": "boost", - "score": -0.3739681839942932 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.07841387391090393 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4035.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4218.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11803414672613144 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2074689418077469 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007563568186014891 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 2810.5, "then": { "operation": "boost", - "score": -0.1770089715719223 + "score": 0.11090154200792313 }, "else": { - "operation": "boost", - "score": 0.12212155759334564 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.356219619512558 + }, + "else": { + "operation": "boost", + "score": 0.14861692488193512 + } } } }, "else": { "operation": "boost", - "score": -0.04467996209859848 + "score": 0.022682957351207733 } + }, + "else": { + "operation": "boost", + "score": 0.028731055557727814 } } + }, + "else": { + "operation": "boost", + "score": 0.006414564326405525 } + }, + "else": { + "operation": "boost", + "score": -0.01820977032184601 } - }, - "else": { - "operation": "boost", - "score": 0.01795591413974762 } } - }, - "else": { - "operation": "boost", - "score": 0.0010759761789813638 } } }, "else": { "operation": "boost", - "score": -6.457442214014009e-05 + "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 } - }, - "else": { - "operation": "boost", - "score": -0.0005102517898194492 } }, { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 87006.5, "then": { - "operation": "boost", - "score": -0.04727284610271454 - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Type" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.037102971225976944 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234860.0, "then": { + "operation": "boost", + "score": -0.0006104487692937255 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { + "operation": "boost", + "score": 0.11901802569627762 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 174254.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.10979258269071579 + }, + "else": { + "operation": "boost", + "score": -0.9023605585098267 + } + }, + "else": { + "operation": "boost", + "score": -0.10599112510681152 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.024051809683442116 - }, - "else": { - "operation": "boost", - "score": 0.0018641984788700938 - } + "operation": "boost", + "score": 0.12135990709066391 }, "else": { "operation": "boost", - "score": 0.02314966358244419 + "score": 0.09272236377000809 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.020494865253567696 + "score": 0.016138644888997078 }, "else": { "operation": "boost", - "score": 0.004125030245631933 + "score": 0.09967547655105591 } } }, "else": { + "operation": "boost", + "score": -0.025301750749349594 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.010455294512212276 + } + }, + "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": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 371693.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05605442449450493 + "score": -0.04141870513558388 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.13233734667301178 + "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.1433410346508026 + "score": 0.051098279654979706 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09777408093214035 - }, - "else": { - "operation": "boost", - "score": 0.12240634858608246 - } + "operation": "boost", + "score": -0.18445390462875366 }, "else": { "operation": "boost", - "score": 0.026922164484858513 + "score": -0.33777323365211487 } } }, "else": { "operation": "boost", - "score": -0.034218352288007736 + "score": -0.005195758771151304 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "boost", + "score": 0.04736502096056938 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.11012289673089981 + "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.10681059956550598 + "score": -0.05233699828386307 } - }, - "else": { - "operation": "boost", - "score": 0.05848999321460724 } } }, "else": { "operation": "boost", - "score": -0.013670542277395725 + "score": -0.1424131542444229 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.09082543849945068 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.08044733107089996 + "score": 0.0476493239402771 }, "else": { - "operation": "boost", - "score": 0.011937164701521397 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Constructor" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.016323208808898926 + "score": 0.03664757311344147 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.144563227891922 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.19909611344337463 - }, - "else": { - "operation": "boost", - "score": 0.08736605197191238 - } - } - }, - "else": { - "operation": "boost", - "score": -0.12998150289058685 - } + "operation": "boost", + "score": 0.09623783826828003 } }, "else": { "operation": "boost", - "score": 0.004048497881740332 + "score": 0.08037571609020233 } - }, - "else": { - "operation": "boost", - "score": 0.00017649575602263212 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.0025796941481530666 + "score": 0.11120646446943283 }, "else": { - "operation": "boost", - "score": -0.01735290139913559 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0016900253249332309 - }, - "else": { - "operation": "boost", - "score": -0.012241114862263203 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0488387793302536 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10362052172422409 + "score": 0.16138091683387756 }, "else": { "operation": "boost", - "score": 0.0846615582704544 + "score": -0.11982420831918716 } } - }, - "else": { - "operation": "boost", - "score": 0.021434340626001358 } }, "else": { "operation": "boost", - "score": 0.01485668495297432 + "score": -0.03179435059428215 } - }, - "else": { - "operation": "boost", - "score": -0.0348656103014946 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.12572525441646576 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_UnionTag", + "CCC_Other" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1200067549943924 - }, - "else": { - "operation": "boost", - "score": -0.23547188937664032 - } - }, - "else": { - "operation": "boost", - "score": 0.017810270190238953 - } + "operation": "boost", + "score": -0.13084575533866882 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 236336.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.09898725897073746 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.21005961298942566 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10741209983825684 + }, + "else": { + "operation": "boost", + "score": -0.17197012901306152 + } + }, + "else": { + "operation": "boost", + "score": 0.11781508475542068 + } + } }, "else": { "operation": "boost", - "score": 0.049012113362550735 + "score": -0.1807221919298172 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.07367187738418579 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.26099029183387756 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.0, + "then": { + "operation": "boost", + "score": -0.10217228531837463 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.07761142402887344 + }, + "else": { + "operation": "boost", + "score": 0.09698840230703354 + } + } + } }, "else": { "operation": "boost", - "score": 0.12388534843921661 + "score": -0.03019111417233944 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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.02143121510744095 + "score": -0.11679304391145706 }, "else": { "operation": "boost", - "score": -0.9207897782325745 + "score": 0.06343349069356918 } + }, + "else": { + "operation": "boost", + "score": 0.011836057528853416 } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "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, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": -0.10480666905641556 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.005678917281329632 - }, - "else": { - "operation": "boost", - "score": -0.03653475642204285 - } + "operation": "boost", + "score": 0.1062367707490921 }, "else": { "operation": "if_member", @@ -183967,972 +184480,940 @@ ], "then": { "operation": "boost", - "score": 0.04327866807579994 + "score": 0.10326103121042252 }, "else": { - "operation": "boost", - "score": 0.017796479165554047 - } - } - }, - "else": { - "operation": "boost", - "score": -0.030738620087504387 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.056957509368658066 - }, - "else": { - "operation": "boost", - "score": 0.11304780840873718 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.05733273923397064 + "score": -0.052502695471048355 }, "else": { "operation": "boost", - "score": 0.024266989901661873 + "score": 0.08295854926109314 } } - }, - "else": { - "operation": "boost", - "score": 0.0030653702560812235 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07587198168039322 - }, - "else": { - "operation": "boost", - "score": 0.0216511320322752 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11172647029161453 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.027431370690464973 + "score": -0.03454107046127319 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.08162675052881241 + "score": 0.10201101005077362 }, "else": { "operation": "boost", - "score": 0.10525710880756378 + "score": 0.06881660968065262 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.08644815534353256 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.4870801568031311 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.22000953555107117 + }, + "else": { + "operation": "boost", + "score": 0.18455851078033447 + } + }, + "else": { + "operation": "boost", + "score": -0.2733423113822937 + } + } }, "else": { "operation": "boost", - "score": 0.1051153764128685 + "score": 0.12092006206512451 } } } - }, - "else": { - "operation": "boost", - "score": -0.08941996842622757 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.042586855590343475 - }, - "else": { - "operation": "boost", - "score": 0.019631892442703247 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.09851865470409393 - }, - "else": { - "operation": "boost", - "score": -0.1013319119811058 - } + "operation": "boost", + "score": -0.03390534967184067 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003086133860051632 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.0015100621385499835 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 49.5, + "threshold": 89117.0, "then": { + "operation": "boost", + "score": -0.04603518173098564 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.03392188996076584 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.11757248640060425 + "score": 0.13506391644477844 }, "else": { "operation": "boost", - "score": 0.09226871281862259 + "score": -0.08506565541028976 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05141713097691536 - }, - "else": { - "operation": "boost", - "score": -0.09848768264055252 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.19451957941055298 }, "else": { - "operation": "boost", - "score": 0.11750084906816483 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10149796307086945 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.0, - "then": { - "operation": "boost", - "score": 1.391841173171997 - }, - "else": { - "operation": "boost", - "score": 0.12158910185098648 - } - } + "operation": "boost", + "score": 0.13819976150989532 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.1121840626001358 + "score": 0.06727943569421768 }, "else": { "operation": "boost", - "score": -0.12609043717384338 + "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.015188824385404587 + "score": 0.03628518059849739 } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.003828147193416953 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.030186673626303673 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10361761599779129 - }, - "else": { - "operation": "boost", - "score": 0.0664825439453125 - } + "operation": "boost", + "score": 0.01636168360710144 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.07531945407390594 + "score": -0.0032284304033964872 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "boost", - "score": 0.03465580567717552 + "score": 0.03377911448478699 }, "else": { "operation": "boost", - "score": 0.1270228624343872 + "score": 0.10441312938928604 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.2258743792772293 + "score": 0.10134081542491913 }, "else": { - "operation": "boost", - "score": 0.05578833445906639 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10284800827503204 + }, + "else": { + "operation": "boost", + "score": 0.10628225654363632 + } } } }, "else": { "operation": "boost", - "score": -0.10045570880174637 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1140994131565094 - }, - "else": { - "operation": "boost", - "score": -0.228500634431839 - } - }, - "else": { - "operation": "boost", - "score": 0.11104677617549896 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.08497115224599838 - }, - "else": { - "operation": "boost", - "score": 0.1379205584526062 - } - }, - "else": { - "operation": "boost", - "score": 0.04323228821158409 + "score": 0.07936488091945648 } } - }, - "else": { - "operation": "boost", - "score": 0.01316135935485363 } } + }, + "else": { + "operation": "boost", + "score": 0.12566275894641876 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 41256.0, + "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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": 3.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08818695694208145 + "score": 0.0824810042977333 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.1207953467965126 - }, - "else": { - "operation": "boost", - "score": 0.11402291059494019 - } + "operation": "boost", + "score": 0.14086225628852844 } }, "else": { "operation": "boost", - "score": 0.14918479323387146 + "score": -0.15791502594947815 } }, "else": { - "operation": "boost", - "score": 0.03311929479241371 - } - }, - "else": { - "operation": "boost", - "score": -0.034906644374132156 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3083.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03333078697323799 + "score": 0.12936906516551971 }, "else": { "operation": "boost", - "score": 0.10192959010601044 + "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": 9.5, + "threshold": 111169.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": 0.09237099438905716 + }, + "else": { + "operation": "boost", + "score": 0.1102161854505539 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19218555092811584 + }, + "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": "NumReferences", - "threshold": 53.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06188500300049782 + "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.10857874900102615 + "score": 0.049864958971738815 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.037440355867147446 + "score": 0.10598640888929367 }, "else": { "operation": "boost", - "score": 0.08252111822366714 + "score": -0.10289919376373291 } } }, "else": { "operation": "boost", - "score": -0.04348210617899895 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.04054255783557892 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10661811381578445 - }, - "else": { - "operation": "boost", - "score": -0.05385403707623482 - } + "score": -0.17278435826301575 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 93657.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.05982821062207222 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97784.5, + "then": { + "operation": "boost", + "score": 0.06475502252578735 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09173852205276489 + }, + "else": { + "operation": "boost", + "score": 0.10452830046415329 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05126141384243965 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.011576606892049313 + "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": 97784.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.1290520876646042 + }, + "else": { + "operation": "boost", + "score": 0.12457208335399628 + } + }, + "else": { + "operation": "boost", + "score": 0.03811832144856453 + } + }, + "else": { + "operation": "boost", + "score": -0.1272299885749817 + } }, "else": { "operation": "boost", - "score": 0.24116607010364532 + "score": 0.017967475578188896 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "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.1766093373298645 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "boost", + "score": -0.3318637013435364 + }, + "else": { + "operation": "boost", + "score": 0.05556093901395798 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07947981357574463 + }, + "else": { + "operation": "boost", + "score": 0.10276860743761063 + } + } }, "else": { "operation": "boost", - "score": -0.07931427657604218 + "score": -0.007212852127850056 } } }, "else": { - "operation": "boost", - "score": 0.02894756570458412 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06545987725257874 + "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, + "then": { + "operation": "boost", + "score": 0.19600655138492584 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.5522753000259399 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08208692073822021 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00466281408444047 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.04693984612822533 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1537381112575531 - }, - "else": { - "operation": "boost", - "score": -0.03141506016254425 - } - }, - "else": { - "operation": "boost", - "score": -0.012643077410757542 } } } } + }, + "else": { + "operation": "boost", + "score": -0.03138437867164612 } } + }, + "else": { + "operation": "boost", + "score": -0.00022247483138926327 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 422.5, + "threshold": 87006.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "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": "boost", - "score": -0.034528136253356934 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3322.0, + "threshold": 107411.0, "then": { + "operation": "boost", + "score": 0.006193504203110933 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.025578880682587624 + "score": 0.12850725650787354 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06490946561098099 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6947.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10886.0, - "then": { - "operation": "boost", - "score": 0.09549520909786224 - }, - "else": { - "operation": "boost", - "score": 0.11934838443994522 - } - }, - "else": { - "operation": "boost", - "score": 0.012333355844020844 - } - } + "operation": "boost", + "score": 0.06090034916996956 } }, "else": { - "operation": "boost", - "score": -0.10792864859104156 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08797184377908707 + }, + "else": { + "operation": "boost", + "score": 0.11115584522485733 + } } - }, - "else": { - "operation": "boost", - "score": 0.012422701343894005 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06197446212172508 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 475.5, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 127271.0, + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.017160672694444656 - }, - "else": { - "operation": "boost", - "score": -0.1921096295118332 - } + "operation": "boost", + "score": -0.08106445521116257 }, "else": { - "operation": "boost", - "score": 0.004913381766527891 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 492.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.014778465032577515 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07380854338407516 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10865.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.24404621124267578 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11886.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25936.0, - "then": { - "operation": "boost", - "score": 0.06087896227836609 - }, - "else": { - "operation": "boost", - "score": -0.07291937619447708 - } + "operation": "boost", + "score": 0.08886601775884628 }, "else": { "operation": "boost", - "score": 0.12088841199874878 + "score": 0.1368524134159088 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.019440477713942528 }, "else": { "operation": "boost", - "score": -0.028192095458507538 + "score": 0.08435211330652237 } } }, "else": { + "operation": "boost", + "score": 0.0634060725569725 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "boost", + "score": -0.1554875522851944 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2801.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.28071844577789307 + "score": -0.014461904764175415 }, "else": { "operation": "boost", - "score": -0.09772518277168274 + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.0996827781200409 + "score": 0.1292661428451538 }, "else": { "operation": "boost", - "score": -0.11343476176261902 + "score": -0.15031376481056213 } } } @@ -184940,1513 +185421,1181 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6150.0, + "threshold": 89117.0, "then": { "operation": "boost", - "score": 0.11323244869709015 + "score": -0.14067600667476654 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { - "operation": "boost", - "score": -0.5623632669448853 + "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.05045098066329956 + "score": 0.07357488572597504 } } } - }, - "else": { - "operation": "boost", - "score": 0.13394787907600403 } } }, "else": { + "operation": "boost", + "score": -0.10928681492805481 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 472.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.10463061183691025 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10113069415092468 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.029982229694724083 + }, + "else": { + "operation": "boost", + "score": 0.08622101694345474 + } + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13123588263988495 + "score": 0.0876929759979248 }, "else": { + "operation": "boost", + "score": -0.01610756292939186 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.10947783291339874 + "score": 0.08189026266336441 }, "else": { "operation": "boost", - "score": -0.09097646921873093 + "score": 0.10978472232818604 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 190994.0, "then": { + "operation": "boost", + "score": -0.11405796557664871 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 448.5, + "threshold": 148934.5, "then": { "operation": "boost", - "score": 0.03263690695166588 + "score": 0.1040879562497139 }, "else": { "operation": "boost", - "score": 0.1071222573518753 + "score": 0.06724292039871216 } - }, - "else": { - "operation": "boost", - "score": -0.44443535804748535 } - }, - "else": { - "operation": "boost", - "score": -0.015624960884451866 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.10229992866516113 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 582.5, - "then": { - "operation": "boost", - "score": 0.022521810606122017 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 557.0, - "then": { - "operation": "boost", - "score": 0.11355036497116089 - }, - "else": { - "operation": "boost", - "score": 0.023453326895833015 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 89117.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 441.5, + "threshold": 96602.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108163.5, "then": { + "operation": "boost", + "score": -0.007096884772181511 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.005260569509118795 + "score": 0.14262470602989197 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9214.0, - "then": { - "operation": "boost", - "score": 0.11898931115865707 - }, - "else": { - "operation": "boost", - "score": -0.04070001468062401 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2193.5, - "then": { - "operation": "boost", - "score": 0.09805436432361603 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.03660038113594055 - }, - "else": { - "operation": "boost", - "score": 0.13328446447849274 - } - } - } + "operation": "boost", + "score": 0.14579525589942932 } }, "else": { - "operation": "boost", - "score": -0.2254648655653 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10726.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15548.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.03863807022571564 + "score": 0.13430732488632202 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.16030427813529968 - }, - "else": { - "operation": "boost", - "score": 0.1224999949336052 - } + "operation": "boost", + "score": -0.0032370772678405046 } - }, - "else": { - "operation": "boost", - "score": -0.04730234295129776 } } }, "else": { "operation": "boost", - "score": 0.10711733251810074 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 342801.0, - "then": { - "operation": "boost", - "score": -0.2014831006526947 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65729.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118314.0, - "then": { - "operation": "boost", - "score": 0.09220878034830093 - }, - "else": { - "operation": "boost", - "score": 0.10172368586063385 - } - }, - "else": { - "operation": "boost", - "score": 0.04803727939724922 - } + "score": -0.1668754369020462 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3495.0, - "then": { - "operation": "boost", - "score": 0.010657276026904583 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2362.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06772767007350922 - }, - "else": { - "operation": "boost", - "score": 0.09967821836471558 - } - }, - "else": { - "operation": "boost", - "score": 0.09966222196817398 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0390041321516037 + "score": 0.05444084480404854 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.1632729470729828 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 648.0, - "then": { - "operation": "boost", - "score": 0.1396830976009369 - }, - "else": { - "operation": "boost", - "score": 0.06770262122154236 - } + "operation": "boost", + "score": 0.2844131886959076 }, "else": { "operation": "boost", - "score": 0.08794482052326202 + "score": -0.14636772871017456 } - }, - "else": { - "operation": "boost", - "score": 0.03428000956773758 } } }, "else": { "operation": "boost", - "score": -0.025749072432518005 + "score": 0.14302153885364532 } + }, + "else": { + "operation": "boost", + "score": 0.055492103099823 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74277.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97230.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": 0.03158722072839737 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12107003480195999 - }, - "else": { - "operation": "boost", - "score": -0.1454993337392807 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11412826925516129 - } + "operation": "boost", + "score": 0.10622710734605789 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 907.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 943.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1480.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14797.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30619.5, - "then": { - "operation": "boost", - "score": -0.11481167376041412 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09355872869491577 - }, - "else": { - "operation": "boost", - "score": 0.11498911678791046 - } - } - }, - "else": { - "operation": "boost", - "score": -0.031286098062992096 - } + "operation": "boost", + "score": 0.033954720944166183 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1361.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.11106960475444794 + "score": 0.11366824805736542 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1207.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { + "operation": "boost", + "score": -0.0054720924235880375 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1269.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.10884954780340195 + "score": 0.10068035125732422 }, "else": { - "operation": "boost", - "score": 0.12398452311754227 + "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": "boost", - "score": -0.17653894424438477 } } } }, "else": { - "operation": "boost", - "score": 0.11340688914060593 + "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": 782.0, + "threshold": 185218.0, "then": { "operation": "boost", - "score": -0.2913869619369507 + "score": -0.7972574830055237 }, "else": { - "operation": "boost", - "score": 0.039283301681280136 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155294.5, + "then": { + "operation": "boost", + "score": 0.1254744678735733 + }, + "else": { + "operation": "boost", + "score": -0.10218759626150131 + } } } }, "else": { "operation": "boost", - "score": -0.06412559002637863 + "score": -0.03128013014793396 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 8.15910316305235e-05 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 241916.0, "then": { + "operation": "boost", + "score": 0.0049558160826563835 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 205376.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "boost", + "score": 0.024832243099808693 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.03384653478860855 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { - "operation": "boost", - "score": 0.05705752968788147 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.10070595145225525 + "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.10810689628124237 + "score": 0.019374847412109375 } + }, + "else": { + "operation": "boost", + "score": 0.043247371912002563 } + }, + "else": { + "operation": "boost", + "score": 0.06404571980237961 } - }, - "else": { - "operation": "boost", - "score": -0.03464312478899956 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5523.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 144686.0, "then": { + "operation": "boost", + "score": -0.11201857775449753 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33671.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.09782248735427856 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 105661.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6261.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15231.5, + "threshold": 137180.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.1667051911354065 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09365841001272202 + "score": 0.0662936195731163 }, "else": { "operation": "boost", - "score": 0.01683940179646015 + "score": 0.1094435378909111 } - } - }, - "else": { - "operation": "boost", - "score": -0.01080232486128807 - } - }, - "else": { - "operation": "boost", - "score": 0.12114420533180237 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9985.0, - "then": { - "operation": "boost", - "score": 0.1187175065279007 - }, - "else": { - "operation": "boost", - "score": -0.10225839167833328 + }, + "else": { + "operation": "boost", + "score": -0.038930103182792664 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.11745304614305496 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.747236967086792 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13941.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.42672690749168396 + "score": 0.07705467194318771 }, "else": { "operation": "boost", - "score": 0.09982128441333771 + "score": -0.20690159499645233 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8132.5, - "then": { - "operation": "boost", - "score": 0.012565495446324348 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6609.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6962.0, - "then": { - "operation": "boost", - "score": 0.0808752104640007 - }, - "else": { - "operation": "boost", - "score": 0.1484830379486084 - } - }, - "else": { - "operation": "boost", - "score": 0.06877691298723221 - } - } + "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": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 103549.5, "then": { - "operation": "boost", - "score": 0.030525466427206993 + "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.09618759155273438 + "score": 0.05724112316966057 } + }, + "else": { + "operation": "boost", + "score": -0.09639541804790497 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07183309644460678 - }, - "else": { - "operation": "boost", - "score": 0.10151784867048264 - } - }, - "else": { - "operation": "boost", - "score": 0.1048138439655304 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.13847818970680237 + "score": 0.04928546026349068 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 103549.5, "then": { - "operation": "boost", - "score": 0.04735594242811203 + "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.18271975219249725 + "score": 0.19153042137622833 } } + }, + "else": { + "operation": "boost", + "score": 0.026946403086185455 } }, "else": { "operation": "boost", - "score": -0.1907040774822235 + "score": -0.02341577038168907 } - }, - "else": { - "operation": "boost", - "score": 0.09351610392332077 } } }, "else": { + "operation": "boost", + "score": 0.10742373764514923 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.027715055271983147 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 500.0, + "threshold": 94883.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.0028294092044234276 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 660.0, - "then": { - "operation": "boost", - "score": 0.06100022792816162 - }, - "else": { - "operation": "boost", - "score": 0.11367342621088028 - } - } + "operation": "boost", + "score": 0.031136404722929 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.26015782356262207 + "score": 0.08322466164827347 }, "else": { "operation": "boost", - "score": 0.11037977039813995 + "score": 0.09838616847991943 } }, "else": { "operation": "boost", - "score": -0.032317228615283966 + "score": 0.10080836713314056 } } + }, + "else": { + "operation": "boost", + "score": -0.009104610420763493 } } }, "else": { "operation": "boost", - "score": -0.0027663258370012045 + "score": -0.011235314421355724 } } - }, - "else": { - "operation": "boost", - "score": 0.0011997063411399722 } } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.015253346413373947 + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 19.0, + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.10303884744644165 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.007978330366313457 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.01450426410883665 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 475.5, + "threshold": 75.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 664.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, "then": { "operation": "boost", - "score": 0.028998736292123795 + "score": 0.12492299824953079 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.07204645872116089 + }, + "else": { + "operation": "boost", + "score": 0.09999780356884003 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05569954961538315 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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.09271150827407837 + "score": 0.11626409739255905 }, "else": { "operation": "boost", - "score": 0.10724543035030365 + "score": 0.11198407411575317 } } }, "else": { "operation": "boost", - "score": -1.2189106941223145 + "score": 0.05689617618918419 } + }, + "else": { + "operation": "boost", + "score": 0.06262745708227158 } } + }, + "else": { + "operation": "boost", + "score": 0.019252624362707138 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.002472211606800556 }, "else": { - "operation": "boost", - "score": -0.011567664332687855 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018368560820817947 + }, + "else": { + "operation": "boost", + "score": 0.006674942094832659 + } } } + }, + "else": { + "operation": "boost", + "score": -0.007177260704338551 } } - }, - "else": { - "operation": "boost", - "score": -0.0004980596131645143 } }, { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87006.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07660636305809021 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 241916.0, "then": { - "operation": "boost", - "score": 0.00285902782343328 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.04942157864570618 - }, - "else": { - "operation": "boost", - "score": 0.0007841142942197621 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 272339.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 292981.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 298482.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "boost", + "score": 0.00313093070872128 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114453.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "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_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess" ], "then": { + "operation": "boost", + "score": 0.16775017976760864 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05625428631901741 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14716190099716187 - }, - "else": { - "operation": "boost", - "score": 0.0992017537355423 - } - } + "operation": "boost", + "score": 0.09599869698286057 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1008417084813118 - }, - "else": { - "operation": "boost", - "score": 0.003845000406727195 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10741207003593445 - }, - "else": { - "operation": "boost", - "score": 0.0991831049323082 - } - } - }, - "else": { "operation": "boost", - "score": 0.10880285501480103 - } - } - }, - "else": { - "operation": "boost", - "score": -0.23095914721488953 - } - }, - "else": { - "operation": "boost", - "score": -0.013305466622114182 - } - }, - "else": { - "operation": "boost", - "score": 0.005912439897656441 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 849.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 899.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3695.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4909.0, - "then": { - "operation": "boost", - "score": 0.10684774816036224 - }, - "else": { - "operation": "boost", - "score": 0.1255153864622116 - } - }, - "else": { - "operation": "boost", - "score": 0.05319056287407875 - } - }, - "else": { - "operation": "boost", - "score": 0.11185415834188461 - } + "score": 0.0394623689353466 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.0819273591041565 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1308421492576599 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.17404747009277344 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15324236452579498 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11212675273418427 - }, - "else": { - "operation": "boost", - "score": 0.14745043218135834 - } - }, - "else": { - "operation": "boost", - "score": -0.0462581142783165 - } - }, - "else": { - "operation": "boost", - "score": 0.1529684215784073 - } - }, - "else": { - "operation": "boost", - "score": 0.14530110359191895 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08071161806583405 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.0, - "then": { - "operation": "boost", - "score": 0.1192074716091156 - }, - "else": { - "operation": "boost", - "score": 0.11466625332832336 - } - }, - "else": { - "operation": "boost", - "score": 0.06802446395158768 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "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.06746136397123337 + "score": -0.029478473588824272 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": 0.08579741418361664 - }, - "else": { - "operation": "boost", - "score": 0.10529596358537674 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.046374157071113586 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 346.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "boost", - "score": -0.019441867247223854 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 413.5, - "then": { - "operation": "boost", - "score": 0.05778978019952774 - }, - "else": { - "operation": "boost", - "score": -0.04038506746292114 - } + "score": -0.13563001155853271 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 345.5, - "then": { - "operation": "boost", - "score": 0.12128904461860657 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.006133398041129112 - }, - "else": { - "operation": "boost", - "score": 0.12611916661262512 - } - }, - "else": { - "operation": "boost", - "score": 0.0671306848526001 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "boost", - "score": 0.003104991279542446 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.002797841327264905 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.11881465464830399 - }, - "else": { - "operation": "boost", - "score": 0.03759441152215004 - } - } + "score": -0.017284035682678223 } } - }, - "else": { - "operation": "boost", - "score": -0.028454290702939034 } } }, @@ -186454,1424 +186603,1107 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_ParenthesizedExpression" + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.006875318009406328 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10200221091508865 - }, - "else": { - "operation": "boost", - "score": 0.08026187866926193 - } - } - }, - "else": { - "operation": "boost", - "score": 0.034710999578237534 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 244.0, - "then": { - "operation": "boost", - "score": 0.03286922723054886 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.5, - "then": { - "operation": "boost", - "score": 0.1246756836771965 - }, - "else": { - "operation": "boost", - "score": 0.08514097332954407 - } - } - } + "operation": "boost", + "score": 0.06736735254526138 }, "else": { "operation": "boost", - "score": 0.028748156502842903 + "score": 0.12789775431156158 } }, "else": { "operation": "boost", - "score": 0.01752488687634468 + "score": -0.06830073893070221 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3648.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.029971983283758163 + "score": 0.0359327532351017 }, "else": { "operation": "boost", - "score": 0.013170192949473858 + "score": 0.06822729855775833 } } + }, + "else": { + "operation": "boost", + "score": -0.008604584261775017 } - }, - "else": { - "operation": "boost", - "score": 0.0025939319748431444 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": "boost", - "score": 0.009563314728438854 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.04207754135131836 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0836436003446579 - }, - "else": { - "operation": "boost", - "score": 0.10378070920705795 - } - }, - "else": { - "operation": "boost", - "score": 0.05147275701165199 - } + "operation": "boost", + "score": 0.11401046812534332 }, "else": { "operation": "boost", - "score": 0.013674711808562279 + "score": 0.07296978682279587 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10956182330846786 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "operation": "boost", + "score": 0.1459929645061493 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04057147726416588 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.11318431049585342 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15962418913841248 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.009314138442277908 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.12104402482509613 + "score": -0.1861058473587036 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.04057500138878822 - }, - "else": { - "operation": "boost", - "score": 0.12052926421165466 - } - }, - "else": { - "operation": "boost", - "score": 0.024548368528485298 - } + "operation": "boost", + "score": 0.10136791318655014 } }, + "else": { + "operation": "boost", + "score": -0.11509360373020172 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0545014888048172 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02754545956850052 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.09160788357257843 - }, - "else": { - "operation": "boost", - "score": 0.04598594084382057 - } - }, - "else": { - "operation": "boost", - "score": -0.07588054984807968 - } - } + "operation": "boost", + "score": 0.048835474997758865 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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.03821174055337906 + "score": 0.09958828240633011 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.08161211758852005 - }, - "else": { - "operation": "boost", - "score": 0.051906127482652664 - } + "operation": "boost", + "score": -0.11017901450395584 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.060944851487874985 - }, - "else": { - "operation": "boost", - "score": 0.10174083709716797 - } - }, - "else": { - "operation": "boost", - "score": 0.04229288920760155 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.39827367663383484 - }, - "else": { - "operation": "boost", - "score": 0.025966210290789604 - } - }, - "else": { - "operation": "boost", - "score": -0.024630103260278702 - } - } + "operation": "boost", + "score": -0.11819904297590256 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.3378335237503052 - }, - "else": { - "operation": "boost", - "score": 0.10815290361642838 - } - }, - "else": { - "operation": "boost", - "score": -0.10988879948854446 - } } } - }, - "else": { - "operation": "boost", - "score": -0.005628963932394981 } } + }, + "else": { + "operation": "boost", + "score": 0.0251962561160326 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.012601910158991814 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 363.0, + "threshold": 205637.0, "then": { + "operation": "boost", + "score": 0.06843555718660355 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 378.5, + "threshold": 200884.5, "then": { - "operation": "boost", - "score": 0.04556151479482651 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.1094641461968422 + "score": 0.08375168591737747 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11478802561759949 - }, - "else": { - "operation": "boost", - "score": 0.113151416182518 - } + "operation": "boost", + "score": 0.024166135117411613 } }, "else": { "operation": "boost", - "score": -0.10129649192094803 + "score": 0.04132293164730072 } + }, + "else": { + "operation": "boost", + "score": -0.17688331007957458 } - }, - "else": { - "operation": "boost", - "score": -0.0029699192382395267 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "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": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.0003795491356868297 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.06767494231462479 - }, - "else": { - "operation": "boost", - "score": 0.0645766332745552 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.023249302059412003 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.09244926273822784 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11001716554164886 - }, - "else": { - "operation": "boost", - "score": 0.11327328532934189 - } - } - }, - "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": "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.02640751376748085 - }, - "else": { - "operation": "boost", - "score": 0.11863300204277039 - } - }, - "else": { - "operation": "boost", - "score": -0.06874249130487442 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12005579471588135 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10870731621980667 - }, - "else": { - "operation": "boost", - "score": 0.11092453449964523 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06416662037372589 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.03783943131566048 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10530397295951843 - }, - "else": { - "operation": "boost", - "score": 0.08658251911401749 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.015828389674425125 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.10933935642242432 - }, - "else": { - "operation": "boost", - "score": 0.10388630628585815 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.10108806937932968 - }, - "else": { - "operation": "boost", - "score": 0.11469293385744095 - } - }, - "else": { - "operation": "boost", - "score": 0.0423811674118042 - } - }, - "else": { - "operation": "boost", - "score": 0.05039360746741295 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07497566938400269 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.034557633101940155 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10362013429403305 - }, - "else": { - "operation": "boost", - "score": 0.07466135919094086 - } - } - } - } - } - } + "operation": "boost", + "score": 0.1045474261045456 }, "else": { "operation": "boost", - "score": -0.05995122715830803 + "score": 0.061720918864011765 } + }, + "else": { + "operation": "boost", + "score": -0.05247432366013527 } }, "else": { - "operation": "boost", - "score": 0.03070439212024212 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, "then": { - "operation": "boost", - "score": 0.04141783341765404 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.0, + "then": { + "operation": "boost", + "score": 0.09583796560764313 + }, + "else": { + "operation": "boost", + "score": -0.05615357682108879 + } }, "else": { "operation": "boost", - "score": 0.04030102863907814 + "score": 0.12723635137081146 } - }, - "else": { - "operation": "boost", - "score": 0.012490789406001568 } } + }, + "else": { + "operation": "boost", + "score": 0.032590389251708984 } }, "else": { - "operation": "boost", - "score": -0.004739418625831604 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.058936066925525665 + }, + "else": { + "operation": "boost", + "score": -0.01833438128232956 + } } - }, - "else": { - "operation": "boost", - "score": -0.01139105949550867 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0805501863360405 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.011159866116940975 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 582.5, - "then": { - "operation": "boost", - "score": 0.01966823823750019 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 557.0, - "then": { - "operation": "boost", - "score": 0.11191069334745407 - }, - "else": { - "operation": "boost", - "score": 0.021553732454776764 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10726.5, + "threshold": 107411.0, "then": { + "operation": "boost", + "score": -0.05217938870191574 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21565.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.038619451224803925 + "score": 0.12058857083320618 }, "else": { - "operation": "boost", - "score": 0.08992693573236465 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93017.5, + "then": { + "operation": "boost", + "score": 0.09572631865739822 + }, + "else": { + "operation": "boost", + "score": -0.1066669225692749 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 89117.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 342801.0, + "threshold": 93017.5, "then": { "operation": "boost", - "score": -0.2230031043291092 + "score": 0.1291910707950592 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "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.1063881441950798 + "score": 0.057006314396858215 }, "else": { "operation": "boost", - "score": 0.0795915499329567 + "score": 0.10197755694389343 } } - }, - "else": { - "operation": "boost", - "score": -0.2616015672683716 } } + } + }, + "else": { + "operation": "boost", + "score": -0.03683772310614586 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.018885886296629906 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.021698391065001488 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2030.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.020554695278406143 + "score": 0.00011253944103373215 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 872.5, - "then": { - "operation": "boost", - "score": 0.12149997055530548 - }, - "else": { - "operation": "boost", - "score": 0.08344230055809021 - } + "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": "NumReferences", - "threshold": 1187.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.09038042277097702 + "score": 0.1010546013712883 }, "else": { "operation": "boost", - "score": -0.12375562638044357 + "score": 0.10263639688491821 } } - }, - "else": { - "operation": "boost", - "score": 0.1312848925590515 } }, "else": { "operation": "boost", - "score": -0.04520322382450104 + "score": 0.0726427212357521 } } - }, - "else": { - "operation": "boost", - "score": -0.1966427117586136 } } }, "else": { - "operation": "boost", - "score": 0.018425658345222473 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { "operation": "boost", - "score": 0.051271989941596985 + "score": -0.10737399756908417 }, "else": { - "operation": "boost", - "score": -0.03382781147956848 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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 + } + } + }, + "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 + } + } + } } - }, - "else": { + } + } + }, + "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_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", + "CCC_EnumTag", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.0, + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.027420490980148315 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1112356036901474 + "score": 0.04686615988612175 }, "else": { "operation": "boost", - "score": -0.19786275923252106 + "score": 0.10437966883182526 } + }, + "else": { + "operation": "boost", + "score": 0.06894233077764511 } }, "else": { "operation": "boost", - "score": -0.10646551102399826 + "score": -0.1419445276260376 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12277676165103912 + }, + "else": { + "operation": "boost", + "score": -0.12133265286684036 } } - } - }, - "else": { - "operation": "boost", - "score": 0.006312020588666201 - } - }, - "else": { - "operation": "boost", - "score": 0.0002528759359847754 - } - } - } - }, - "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": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.00804833322763443 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" + "CCC_SymbolOrNewName", + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.0016264631412923336 - }, - "else": { - "operation": "boost", - "score": 0.041905976831912994 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 93657.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 101593.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.04352332651615143 - }, - "else": { - "operation": "boost", - "score": 0.11042492091655731 - } + "operation": "boost", + "score": 0.020543130114674568 }, "else": { - "operation": "boost", - "score": -0.4341679513454437 - } - }, - "else": { - "operation": "if_greater", + "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": 14.5, + "threshold": 21.0, "then": { "operation": "boost", - "score": 0.1187128946185112 + "score": 0.106744185090065 }, "else": { "operation": "boost", - "score": 0.1180684044957161 + "score": 0.1684507131576538 } } }, "else": { - "operation": "boost", - "score": -0.1111384853720665 - } - }, - "else": { - "operation": "boost", - "score": 0.019466489553451538 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008142314851284027 - } - }, - "else": { - "operation": "boost", - "score": -0.0488450862467289 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0879971981048584 - }, - "else": { - "operation": "boost", - "score": 0.12196191400289536 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19972604513168335 + }, + "else": { + "operation": "boost", + "score": 0.015421253629028797 + } } }, - "else": { - "operation": "boost", - "score": -0.09778498113155365 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1214669942855835 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.07249540090560913 + "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 + } + } + } }, "else": { - "operation": "boost", - "score": 0.10881075263023376 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120524.0, "then": { + "operation": "boost", + "score": -0.05941716954112053 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.06993075460195541 + "score": 0.009137528948485851 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 108984.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "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": 13.5, + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.1579461246728897 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.14562734961509705 + "score": 0.1039445698261261 }, "else": { "operation": "boost", - "score": 0.10023412853479385 + "score": -0.10279306769371033 } - }, - "else": { - "operation": "boost", - "score": 0.0866689383983612 } }, "else": { + "operation": "boost", + "score": -0.11470875889062881 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 101593.5, "then": { + "operation": "boost", + "score": 0.003952501341700554 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.10116678476333618 + "score": 0.10710014402866364 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.16635343432426453 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1160317212343216 - }, - "else": { - "operation": "boost", - "score": -0.961050271987915 - } - } + "operation": "boost", + "score": -0.024231011047959328 } - }, - "else": { - "operation": "boost", - "score": 0.09854869544506073 } }, "else": { "operation": "boost", - "score": 0.08947034180164337 + "score": 0.008819935843348503 + } + }, + "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 } } - }, - "else": { - "operation": "boost", - "score": 0.03451978787779808 } } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.09557920694351196 }, "else": { "operation": "boost", - "score": 0.051782239228487015 + "score": 0.09699560701847076 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "boost", + "score": -0.19469821453094482 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.06403687596321106 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.11094949394464493 + "score": 0.10485226660966873 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { + "operation": "boost", + "score": 0.12971550226211548 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10738866776227951 + "score": -0.019478069618344307 }, "else": { - "operation": "boost", - "score": -0.10916503518819809 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.12355650216341019 + }, + "else": { + "operation": "boost", + "score": -0.17564435303211212 + } } - }, - "else": { - "operation": "boost", - "score": 0.15696920454502106 } } + }, + "else": { + "operation": "boost", + "score": -0.12247178703546524 } - }, - "else": { - "operation": "boost", - "score": 0.024874215945601463 } } }, @@ -187879,2739 +187711,2552 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "Function" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10690360516309738 - }, - "else": { - "operation": "boost", - "score": 0.10356049984693527 - } - }, - "else": { - "operation": "boost", - "score": -0.035885039716959 - } + "operation": "boost", + "score": 0.22949498891830444 }, "else": { "operation": "boost", - "score": 0.10154163092374802 + "score": -0.18277420103549957 } }, "else": { "operation": "boost", - "score": 0.006857339758425951 + "score": 0.0539587140083313 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 380.0, - "then": { - "operation": "boost", - "score": -1.2051832675933838 - }, - "else": { - "operation": "boost", - "score": -0.0210634246468544 - } + "operation": "boost", + "score": 0.0019574412144720554 } } - }, - "else": { - "operation": "boost", - "score": 0.0436941497027874 } } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2130.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31879.0, + "then": { + "operation": "boost", + "score": 0.011573518626391888 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 6360.5, "then": { - "operation": "boost", - "score": 0.00412342743948102 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6390.5, + "then": { + "operation": "boost", + "score": 0.05024126544594765 + }, + "else": { + "operation": "boost", + "score": 0.10232427716255188 + } }, "else": { - "operation": "boost", - "score": 0.026224980130791664 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.06312283873558044 + }, + "else": { + "operation": "boost", + "score": 0.10506380349397659 + } + }, + "else": { + "operation": "boost", + "score": 0.014738406985998154 + } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.04235474765300751 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 25627.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 25940.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.030144095420837402 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63648.0, + "then": { + "operation": "boost", + "score": -0.051838286221027374 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "then": { + "operation": "boost", + "score": 0.12243681401014328 + }, + "else": { + "operation": "boost", + "score": 0.06668416410684586 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007614204194396734 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.034541234374046326 + "score": 0.10270313173532486 }, "else": { + "operation": "boost", + "score": 0.06519964337348938 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07028772681951523 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5161.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5204.0, + "then": { + "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": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 24227.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.24990403652191162 + }, + "else": { + "operation": "boost", + "score": 0.11163507401943207 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24093.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, - "then": { - "operation": "boost", - "score": 0.13906624913215637 - }, - "else": { - "operation": "boost", - "score": -0.0013873456045985222 - } - }, - "else": { - "operation": "boost", - "score": 0.1147618368268013 - } + "operation": "boost", + "score": 0.07375877350568771 }, "else": { "operation": "boost", - "score": -0.021966952830553055 + "score": 0.10880213975906372 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", + "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "boost", + "score": 0.11488284915685654 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0011456251377239823 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.0, - "then": { - "operation": "boost", - "score": 0.04437180235981941 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, - "then": { - "operation": "boost", - "score": 0.1053972989320755 - }, - "else": { - "operation": "boost", - "score": 0.12038016319274902 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10155004262924194 - } - }, - "else": { - "operation": "boost", - "score": 0.12000749260187149 - } + "operation": "boost", + "score": 0.08848465234041214 }, "else": { "operation": "boost", - "score": 0.05874602496623993 + "score": -0.2388419210910797 } - }, - "else": { - "operation": "boost", - "score": 0.05028581619262695 } }, "else": { "operation": "boost", - "score": 0.0533275380730629 + "score": 0.09287599474191666 } } - }, - "else": { - "operation": "boost", - "score": 0.021576106548309326 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type", - "CCC_ClassOrStructTag" + "Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { "operation": "boost", - "score": -0.5921880602836609 + "score": 0.1097242683172226 }, "else": { - "operation": "boost", - "score": 0.11642012000083923 - } - }, - "else": { - "operation": "boost", - "score": 0.10551116615533829 - } - }, - "else": { - "operation": "boost", - "score": 0.03163287416100502 - } - }, - "else": { - "operation": "boost", - "score": -0.011432734318077564 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.03661838918924332 - }, - "else": { - "operation": "boost", - "score": 0.006125389598309994 - } - }, - "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_ClassStructUnion" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.5, + "threshold": 8200.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.5, + "threshold": 8292.0, "then": { "operation": "boost", - "score": -0.01337223220616579 + "score": 0.05124371126294136 }, "else": { "operation": "boost", - "score": 0.10169021785259247 + "score": 0.11503271013498306 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 7486.5, "then": { "operation": "boost", - "score": -0.0022270262707024813 + "score": -0.260355144739151 }, "else": { - "operation": "boost", - "score": -0.41016682982444763 - } - }, - "else": { - "operation": "boost", - "score": 0.07153122872114182 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 7145.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.35791778564453125 + "score": 0.09733472764492035 }, "else": { "operation": "boost", - "score": 0.11257622390985489 + "score": 0.105662040412426 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10724905878305435 + "score": 0.04031367227435112 }, "else": { - "operation": "boost", - "score": -0.1896761655807495 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7316.0, + "then": { + "operation": "boost", + "score": 0.06252143532037735 + }, + "else": { + "operation": "boost", + "score": 0.10333114862442017 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 218.5, + "threshold": 5257.0, "then": { - "operation": "boost", - "score": -0.2784014642238617 + "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": "boost", - "score": 0.10063156485557556 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.0, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.0882934182882309 + "score": 0.0903639942407608 }, "else": { "operation": "boost", - "score": -0.0687989667057991 + "score": 0.10265905410051346 } - }, - "else": { - "operation": "boost", - "score": 0.10083717107772827 } + }, + "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": 367.0, + "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": "NumReferences", - "threshold": 374.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.18546253442764282 + "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": "boost", - "score": 0.12668249011039734 + "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.024349825456738472 + "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": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 7347.5, "then": { + "operation": "boost", + "score": 0.11499562859535217 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 54.5, + "threshold": 5314.5, "then": { "operation": "boost", - "score": 0.13732808828353882 + "score": 0.09242171794176102 }, "else": { "operation": "boost", - "score": 0.08077479153871536 + "score": 0.17838045954704285 } - }, - "else": { - "operation": "boost", - "score": -0.1996479630470276 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13807.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13840.5, + "then": { + "operation": "boost", + "score": 0.002918862272053957 + }, + "else": { + "operation": "boost", + "score": 0.1947464495897293 + } }, "else": { - "operation": "boost", - "score": -0.03441418707370758 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9294.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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 + } + }, + "else": { + "operation": "boost", + "score": -0.11379683762788773 + } + } } } }, "else": { "operation": "boost", - "score": -0.015834232792258263 + "score": 0.05162372067570686 } - }, - "else": { - "operation": "boost", - "score": 0.0025393490213900805 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { - "operation": "boost", - "score": -0.003987652715295553 - }, - "else": { - "operation": "boost", - "score": -0.10058628767728806 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017972378060221672 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0020925842691212893 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.13420172035694122 - }, - "else": { - "operation": "boost", - "score": -0.028907189145684242 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.10110495984554291 - }, - "else": { - "operation": "boost", - "score": -0.1312602311372757 - } - }, - "else": { - "operation": "boost", - "score": -0.04939296469092369 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00048708764370530844 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71306.0, - "then": { - "operation": "boost", - "score": 0.016939213499426842 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, - "then": { - "operation": "boost", - "score": -0.051551125943660736 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14755181968212128 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11356829851865768 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10500191152095795 - }, - "else": { - "operation": "boost", - "score": 0.10952973365783691 - } - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 19589.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 19792.5, "then": { - "operation": "boost", - "score": -0.22588615119457245 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.18023176491260529 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.16495026648044586 + "score": 0.05272141471505165 }, "else": { - "operation": "boost", - "score": 0.6780824661254883 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20587.0, + "then": { + "operation": "boost", + "score": 0.054418280720710754 + }, + "else": { + "operation": "boost", + "score": 0.13683924078941345 + } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.18952205777168274 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.016502849757671356 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43302.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.031465545296669006 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11501650512218475 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 23353.0, "then": { "operation": "boost", - "score": -0.17970292270183563 + "score": -0.050247445702552795 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 20811.0, "then": { - "operation": "boost", - "score": -0.5453386902809143 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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": "boost", - "score": 0.16575491428375244 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.027696285396814346 + } } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0655473843216896 + "score": -0.10204457491636276 }, "else": { - "operation": "boost", - "score": -0.2689870297908783 + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 5630.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44693.0, + "threshold": 15518.5, "then": { "operation": "boost", - "score": 0.1169482097029686 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.10849824547767639 - }, - "else": { - "operation": "boost", - "score": -1.4629343748092651 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11966156959533691 - }, - "else": { - "operation": "boost", - "score": 0.12702979147434235 - } + "score": -0.09817404299974442 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.13643163442611694 + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014529695734381676 + } }, "else": { "operation": "boost", - "score": 0.09239521622657776 + "score": 0.04228074103593826 } }, "else": { - "operation": "boost", - "score": 0.06613302230834961 + "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, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005694903898984194 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09109583497047424 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.3065454065799713 + }, + "else": { + "operation": "boost", + "score": 0.19374851882457733 + } } } - }, - "else": { - "operation": "boost", - "score": -0.0327017642557621 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06490179896354675 - }, - "else": { - "operation": "boost", - "score": -0.004456850700080395 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263945.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.024583976715803146 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.10182743519544601 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5183.5, "then": { "operation": "boost", - "score": -0.13079598546028137 + "score": 0.12660686671733856 }, "else": { + "operation": "boost", + "score": 0.09869677573442459 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.051926691085100174 + "score": -0.12320470809936523 }, "else": { "operation": "boost", - "score": 0.10190118849277496 + "score": 0.10737285763025284 } + }, + "else": { + "operation": "boost", + "score": 0.005639952141791582 } } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2155.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.04327941685914993 + "score": 0.11415594816207886 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09439123421907425 - }, - "else": { - "operation": "boost", - "score": 0.03864059969782829 - } + "operation": "boost", + "score": -0.018557395786046982 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10403358191251755 - }, - "else": { - "operation": "boost", - "score": 0.0838475450873375 - } + "operation": "boost", + "score": 0.10599441081285477 } }, "else": { + "operation": "boost", + "score": 3.8981830584816635e-05 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2152.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 18.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "operation": "boost", + "score": 0.12161815166473389 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.10013427585363388 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11610159277915955 + }, + "else": { + "operation": "boost", + "score": -0.0359032079577446 + } }, "else": { "operation": "boost", - "score": 0.03693937137722969 + "score": -0.03088812530040741 } - }, - "else": { - "operation": "boost", - "score": 0.0842837318778038 } + }, + "else": { + "operation": "boost", + "score": -0.004596408922225237 } - }, - "else": { + } + } + } + } + }, + "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, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.12476997077465057 + "score": 0.1397455334663391 }, "else": { "operation": "boost", - "score": 0.035448577255010605 + "score": 0.16733849048614502 } + }, + "else": { + "operation": "boost", + "score": -0.21221092343330383 } } }, "else": { + "operation": "boost", + "score": -0.025662612169981003 + } + }, + "else": { + "operation": "boost", + "score": 0.022580280900001526 + } + }, + "else": { + "operation": "boost", + "score": 0.009852997958660126 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.3553738594055176 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10569024085998535 + }, + "else": { + "operation": "boost", + "score": -0.072431780397892 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00045815849443897605 + } + }, + { + "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, + "then": { + "operation": "boost", + "score": -0.0045295050367712975 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28239.0, + "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.02463645301759243 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.013974405825138092 + }, + "else": { + "operation": "boost", + "score": 0.11437606066465378 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03532329946756363 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06743597239255905 + }, + "else": { + "operation": "boost", + "score": 0.10071521997451782 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 136489.0, + "threshold": 24577.0, "then": { "operation": "boost", - "score": -0.0071733021177351475 + "score": 0.04311281442642212 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12274143844842911 - }, - "else": { - "operation": "boost", - "score": 0.1304953247308731 - } + "operation": "boost", + "score": 0.10842452943325043 } }, "else": { - "operation": "boost", - "score": -0.19341574609279633 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0772741436958313 + }, + "else": { + "operation": "boost", + "score": 0.11410452425479889 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.04928240180015564 - }, - "else": { - "operation": "boost", - "score": -0.10076024383306503 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41256.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62267.0, + "threshold": 23993.5, "then": { "operation": "boost", - "score": 0.05548172444105148 + "score": 0.09721650183200836 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.089727982878685 - }, - "else": { - "operation": "boost", - "score": 0.12010395526885986 - } + "operation": "boost", + "score": 0.07408567517995834 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63358.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10816425830125809 - }, - "else": { - "operation": "boost", - "score": 0.12405836582183838 - } - }, - "else": { - "operation": "boost", - "score": 0.13790127635002136 - } + "operation": "boost", + "score": -0.08947884291410446 } }, "else": { "operation": "boost", - "score": -0.1649135947227478 + "score": 0.0658583715558052 } - }, - "else": { - "operation": "boost", - "score": 0.002291984623298049 } } + } + }, + "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_SymbolOrNewName" + "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": "NumReferences", - "threshold": 85554.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.29593563079833984 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73296.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.04269767552614212 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 77386.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "boost", - "score": 0.018001332879066467 - }, - "else": { - "operation": "boost", - "score": 0.1380760371685028 - } + "operation": "boost", + "score": 0.10032728314399719 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 44493.0, "then": { "operation": "boost", - "score": 0.06095333397388458 + "score": 0.03518333286046982 }, "else": { "operation": "boost", - "score": 0.0898556038737297 + "score": 0.09028156846761703 } }, "else": { - "operation": "boost", - "score": 0.09392659366130829 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30909.0, + "then": { + "operation": "boost", + "score": 0.05210711061954498 + }, + "else": { + "operation": "boost", + "score": -0.14175349473953247 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11964276432991028 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59076.5, - "then": { - "operation": "boost", - "score": -0.2821110785007477 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.13249941170215607 - }, - "else": { - "operation": "boost", - "score": 0.10654269903898239 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.3361569046974182 - }, - "else": { - "operation": "boost", - "score": -0.2197977900505066 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0840950757265091 - } - } + "operation": "boost", + "score": -0.17384028434753418 } } }, "else": { "operation": "boost", - "score": 0.03909236565232277 + "score": -0.08021234720945358 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.09950779378414154 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.03815574571490288 + }, + "else": { + "operation": "boost", + "score": 0.03841691091656685 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.0645093023777008 - }, - "else": { - "operation": "boost", - "score": 0.06951311975717545 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.04575065150856972 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11449481546878815 - }, - "else": { - "operation": "boost", - "score": 0.05783459171652794 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.020877493545413017 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08333630114793777 - }, - "else": { - "operation": "boost", - "score": 0.06620557606220245 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0031186137348413467 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.020377248525619507 - }, - "else": { - "operation": "boost", - "score": -0.2418966442346573 - } - } - } + "operation": "boost", + "score": 0.11147676408290863 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 234860.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "boost", - "score": 0.10041861981153488 - }, - "else": { - "operation": "boost", - "score": 0.09484618902206421 - } - }, - "else": { - "operation": "boost", - "score": -0.09299072623252869 - } + "operation": "boost", + "score": 0.013348007574677467 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 104520.5, "then": { "operation": "boost", - "score": -0.18710197508335114 + "score": 0.1193784698843956 }, "else": { - "operation": "boost", - "score": -0.013455737382173538 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.028924958780407906 - }, - "else": { - "operation": "boost", - "score": -0.4045395851135254 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36661.0, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 432212.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": -0.13794691860675812 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.022215310484170914 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.110207200050354 - }, - "else": { - "operation": "boost", - "score": 0.04862533509731293 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.05257385969161987 - }, - "else": { - "operation": "boost", - "score": -0.8973886966705322 - } - } - }, - "else": { "operation": "boost", - "score": -0.09081424027681351 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74366.5, - "then": { - "operation": "boost", - "score": 0.020497558638453484 - }, - "else": { - "operation": "boost", - "score": 0.1167319044470787 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113435.0, - "then": { - "operation": "boost", - "score": 0.1001439169049263 - }, - "else": { - "operation": "boost", - "score": -0.004483736585825682 - } - } + "score": 0.12582440674304962 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 40920.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, - "then": { - "operation": "boost", - "score": -0.30000820755958557 - }, - "else": { - "operation": "boost", - "score": 0.13498468697071075 - } - }, - "else": { - "operation": "boost", - "score": -0.25191831588745117 - } + "operation": "boost", + "score": 0.11798761039972305 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.26079413294792175 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 288037.0, - "then": { - "operation": "boost", - "score": 0.09598050266504288 - }, - "else": { - "operation": "boost", - "score": 0.011214825324714184 - } - } + "operation": "boost", + "score": -0.19993895292282104 } } - } - }, - "else": { - "operation": "boost", - "score": 0.0861680880188942 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.3978807330131531 }, "else": { "operation": "boost", - "score": -0.06264079362154007 + "score": -0.12474669516086578 } - }, - "else": { - "operation": "boost", - "score": -0.03903854265809059 } } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004388060886412859 - } - }, - "else": { - "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_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10236553847789764 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11755546927452087 }, "else": { "operation": "boost", - "score": 0.004638113547116518 + "score": 0.02769569680094719 } } }, "else": { "operation": "boost", - "score": 0.1472601294517517 + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 16911.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15415239334106445 + "score": -0.17393121123313904 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.09696772694587708 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10144601762294769 - }, - "else": { - "operation": "boost", - "score": 0.11521215736865997 - } - } - }, - "else": { - "operation": "boost", - "score": -0.21260814368724823 - } + "operation": "boost", + "score": -0.050192028284072876 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16301.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33508.5, + "threshold": 16345.0, "then": { + "operation": "boost", + "score": 0.009746669791638851 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.0, + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.08779958635568619 + "score": 0.10449494421482086 }, "else": { "operation": "boost", - "score": -0.11872446537017822 + "score": 0.13116230070590973 } }, "else": { - "operation": "boost", - "score": 0.3145996630191803 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.11200354993343353 + }, + "else": { + "operation": "boost", + "score": -0.03919889032840729 + } } - }, - "else": { - "operation": "boost", - "score": -0.0897774025797844 } }, "else": { "operation": "boost", - "score": 0.054647110402584076 + "score": 0.002910482930019498 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33282.5, - "then": { - "operation": "boost", - "score": -0.1611851453781128 - }, - "else": { - "operation": "boost", - "score": -0.0002481711271684617 - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15956.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16141.5, "then": { "operation": "boost", - "score": 0.018742404878139496 + "score": 0.08321340382099152 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0834084078669548 - }, - "else": { - "operation": "boost", - "score": -0.15097294747829437 - } - }, - "else": { - "operation": "boost", - "score": 0.008522279560565948 - } + "operation": "boost", + "score": 0.09946689754724503 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028616975992918015 - }, - "else": { - "operation": "boost", - "score": -0.008438507094979286 - } - }, - "else": { - "operation": "boost", - "score": 0.009298671968281269 - } + "operation": "boost", + "score": -0.004169469699263573 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + } + }, + "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": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.05132443085312843 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "Type" ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.03646790608763695 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.013605332002043724 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.05421430617570877 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 7126.0, "then": { "operation": "boost", - "score": 0.11978565156459808 + "score": -0.16392552852630615 }, "else": { "operation": "boost", - "score": 0.12079157680273056 + "score": 0.012767213396728039 } - } - }, - "else": { - "operation": "boost", - "score": 0.05155698210000992 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.018844863399863243 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07242634892463684 }, "else": { - "operation": "boost", - "score": -1.6114845275878906 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017160896211862564 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.028792504221200943 - }, - "else": { - "operation": "boost", - "score": -0.01093319896608591 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.1148756667971611 - }, - "else": { - "operation": "boost", - "score": -0.10110661387443542 - } - }, - "else": { - "operation": "boost", - "score": -0.04570312425494194 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.025946270674467087 - }, - "else": { - "operation": "boost", - "score": -0.050033360719680786 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 555.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.06050417199730873 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.14136949181556702 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10955731570720673 + }, + "else": { + "operation": "boost", + "score": 0.10577497631311417 + } + } }, "else": { "operation": "boost", - "score": 0.10119862109422684 + "score": -0.12759608030319214 } }, "else": { - "operation": "boost", - "score": 0.022516267374157906 + "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.12535367906093597 + }, + "else": { + "operation": "boost", + "score": -0.5015990138053894 + } } }, "else": { - "operation": "boost", - "score": 0.10791440308094025 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.0, + "then": { + "operation": "boost", + "score": 0.031705208122730255 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12182985246181488 + }, + "else": { + "operation": "boost", + "score": 0.0807235985994339 + } + }, + "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.12861740589141846 + }, + "else": { + "operation": "boost", + "score": -0.07656212151050568 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09479384124279022 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.029111221432685852 + "score": 0.024837730452418327 }, "else": { "operation": "boost", - "score": -0.1648903340101242 + "score": 0.0744759663939476 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.633323073387146 - }, - "else": { - "operation": "boost", - "score": -0.007023113779723644 - } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11109119653701782 - }, - "else": { - "operation": "boost", - "score": 0.11484599113464355 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55.5, + "threshold": 9157.0, "then": { "operation": "boost", - "score": -0.07087880373001099 + "score": -0.6909665465354919 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11953195184469223 + "score": -0.04978897050023079 }, "else": { "operation": "boost", - "score": 0.04828757792711258 + "score": 0.09230279177427292 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.007174968719482422 - }, - "else": { - "operation": "boost", - "score": -0.13254399597644806 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.02326057478785515 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.11512485146522522 + "score": -0.00418156199157238 }, "else": { "operation": "boost", - "score": -0.06078634038567543 + "score": -0.09431491047143936 } } } } }, "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": 38.5, + "threshold": 10990.0, "then": { "operation": "boost", - "score": -0.1708861142396927 + "score": -0.4274612069129944 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 10611.5, "then": { "operation": "boost", - "score": 0.0939004048705101 + "score": 0.12180893123149872 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.35159802436828613 - }, - "else": { - "operation": "boost", - "score": 0.1003483459353447 - } + "operation": "boost", + "score": 0.025298085063695908 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.04128149151802063 + "score": 0.09265437722206116 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.015162824653089046 - }, - "else": { - "operation": "boost", - "score": 0.0833381935954094 - } - }, - "else": { - "operation": "boost", - "score": 0.10269393771886826 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.102075956761837 - }, - "else": { - "operation": "boost", - "score": 0.13005337119102478 - } - }, - "else": { - "operation": "boost", - "score": -0.6880955696105957 - } - }, - "else": { - "operation": "boost", - "score": 0.101163350045681 - } - }, - "else": { - "operation": "boost", - "score": -0.0026344668585807085 - } - } + "operation": "boost", + "score": 0.11617247015237808 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.08919842541217804 - }, - "else": { - "operation": "boost", - "score": 0.20577481389045715 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -2.4384491443634033 - }, - "else": { - "operation": "boost", - "score": -0.09459161013364792 - } - } + "operation": "boost", + "score": 0.03268376737833023 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": -0.5819617509841919 - }, - "else": { - "operation": "boost", - "score": -0.006391118746250868 - } + "operation": "boost", + "score": -0.0314883254468441 } } } + }, + "else": { + "operation": "boost", + "score": 0.10315146297216415 + } + }, + "else": { + "operation": "boost", + "score": -0.009143070317804813 + } + }, + "else": { + "operation": "boost", + "score": -0.041384007781744 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.0051334938034415245 + }, + "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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027925625443458557 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.023166531696915627 + }, + "else": { + "operation": "boost", + "score": 0.09698983281850815 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.004713577684015036 + }, + "else": { + "operation": "boost", + "score": 0.05171460285782814 } }, "else": { + "operation": "boost", + "score": -0.06031837686896324 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { + "operation": "boost", + "score": -0.045362688601017 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10236957669258118 + "score": 0.1139756515622139 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.38169926404953003 + "score": 0.06324923783540726 }, "else": { "operation": "boost", - "score": -0.023682430386543274 + "score": 0.08224224299192429 } } - }, - "else": { + } + }, + "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": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.03970989212393761 - }, - "else": { - "operation": "boost", - "score": 0.10049812495708466 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumReferences", "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.005185380578041077 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.0, "then": { "operation": "boost", - "score": 0.10830139368772507 + "score": 0.09393573552370071 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.19639261066913605 - }, - "else": { - "operation": "boost", - "score": 0.08686859905719757 - } + "operation": "boost", + "score": -0.13975003361701965 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03301513195037842 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06529651582241058 - }, - "else": { - "operation": "boost", - "score": 0.11875037103891373 - } - } + "operation": "boost", + "score": 0.0014315573498606682 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 46.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.21850542724132538 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "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": "FileProximityDistance", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.6294516324996948 + "score": 0.11055459082126617 }, "else": { "operation": "boost", - "score": 0.0720391795039177 + "score": 0.0005969775374978781 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 50.5, "then": { "operation": "boost", - "score": 0.12195112556219101 + "score": 0.11236856877803802 }, "else": { - "operation": "boost", - "score": 0.08396441489458084 + "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 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.02603250741958618 - }, - "else": { - "operation": "boost", - "score": 0.10348210483789444 - } } + }, + "else": { + "operation": "boost", + "score": 0.11178760230541229 } }, "else": { "operation": "boost", - "score": 0.017404837533831596 + "score": 0.006792205385863781 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.16816329956054688 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1098056435585022 - }, - "else": { - "operation": "boost", - "score": 0.08899321407079697 - } }, "else": { - "operation": "boost", - "score": 0.03767458721995354 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.06849713623523712 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.1091281920671463 + "score": 0.11093053221702576 }, "else": { "operation": "boost", - "score": 0.08748820424079895 + "score": -0.15371906757354736 } - }, - "else": { - "operation": "boost", - "score": 0.003254376817494631 } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.019126735627651215 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.004748936742544174 + "score": 0.04934874176979065 }, "else": { "operation": "boost", - "score": -0.07181992381811142 + "score": -0.04501857981085777 } + }, + "else": { + "operation": "boost", + "score": 0.034670233726501465 } } } @@ -190619,1912 +190264,2569 @@ }, "else": { "operation": "boost", - "score": 0.03822295367717743 + "score": -0.01246443297713995 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.04865221306681633 - }, - "else": { - "operation": "boost", - "score": 0.1414889544248581 - } - }, - "else": { - "operation": "boost", - "score": -0.2676277756690979 - } - }, - "else": { - "operation": "boost", - "score": -0.05611852556467056 - } + "operation": "boost", + "score": 0.007224816828966141 } - }, - "else": { - "operation": "boost", - "score": 0.010062793269753456 } } } + } + } + }, + { + "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": "boost", - "score": -0.004175631329417229 + "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": 32457.0, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 1075.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 1102.5, "then": { "operation": "boost", - "score": -0.007227604743093252 + "score": 0.018766652792692184 }, "else": { "operation": "boost", - "score": -0.8678705096244812 + "score": 0.10004538297653198 } }, "else": { "operation": "boost", - "score": 0.04164764657616615 + "score": 0.03497907519340515 } }, "else": { "operation": "boost", - "score": 0.08618824928998947 + "score": -0.050456441938877106 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.03483216091990471 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.011893690563738346 - }, - "else": { - "operation": "boost", - "score": 0.09035488218069077 - } - }, - "else": { - "operation": "boost", - "score": -0.09884956479072571 - } - } + "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": "NumReferences", - "threshold": 47293.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.004690710920840502 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 35.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43302.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44315.0, + "threshold": 39.5, "then": { + "operation": "boost", + "score": -0.020709030330181122 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.06985002011060715 + "score": 0.04269547015428543 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.05788697302341461 + "score": 0.11089789122343063 }, "else": { "operation": "boost", - "score": 0.10482000559568405 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.07018182426691055 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10167135298252106 - }, - "else": { - "operation": "boost", - "score": -0.3611065745353699 - } + "score": 0.0870058611035347 } - }, - "else": { - "operation": "boost", - "score": 0.022982263937592506 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1252593696117401 }, "else": { "operation": "boost", - "score": 0.10899236798286438 + "score": -0.011215032078325748 } } }, "else": { - "operation": "boost", - "score": 0.003661952679976821 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32671.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.04628433659672737 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 10.0, "then": { + "operation": "boost", + "score": 0.113111712038517 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.02465985156595707 + "score": -0.25922277569770813 }, "else": { + "operation": "boost", + "score": 0.1782185286283493 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33437.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14688119292259216 + "score": 0.13517692685127258 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.01589057594537735 + "score": 0.11783198267221451 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.11168211698532104 + "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.3889642059803009 + "score": -0.06653700023889542 } } } + }, + "else": { + "operation": "boost", + "score": 0.07879769057035446 } }, "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.1835159808397293 + "score": 0.027932588011026382 + }, + "else": { + "operation": "boost", + "score": -0.034009672701358795 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11083108931779861 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.018470631912350655 + "score": 0.13182547688484192 }, "else": { "operation": "boost", - "score": 0.082525335252285 + "score": -0.09374897181987762 } } } }, "else": { - "operation": "boost", - "score": -0.28160905838012695 + "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.18628795444965363 } }, "else": { "operation": "boost", - "score": 0.012375842779874802 + "score": 0.018440546467900276 } } + }, + "else": { + "operation": "boost", + "score": 0.0037296998780220747 } - } - }, - "else": { - "operation": "boost", - "score": 0.004224193748086691 - } - }, - "else": { - "operation": "boost", - "score": -0.0007878078613430262 - } - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.2219822257757187 + "score": 0.09253803640604019 }, "else": { - "operation": "boost", - "score": 0.017621980980038643 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32455.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09801862388849258 - }, - "else": { - "operation": "boost", - "score": -0.18236017227172852 - } + "operation": "boost", + "score": 0.0813017413020134 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.10675165802240372 + "score": 0.34965580701828003 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.044007137417793274 - }, - "else": { - "operation": "boost", - "score": -0.4466812312602997 - } + "operation": "boost", + "score": 0.17450515925884247 } } - }, - "else": { - "operation": "boost", - "score": -0.047706957906484604 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40780.0, - "then": { - "operation": "boost", - "score": 0.08766452968120575 }, "else": { "operation": "boost", - "score": -0.10754575580358505 + "score": 0.08764481544494629 } + }, + "else": { + "operation": "boost", + "score": -0.1364622265100479 } }, + "else": { + "operation": "boost", + "score": -0.03548884391784668 + } + } + } + }, + "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": "boost", + "score": 0.004228373523801565 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012739147059619427 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11093902587890625 + "score": -0.07961750775575638 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.030992558225989342 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09428589791059494 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.055809590965509415 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02040208876132965 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.007200266700237989 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.13529737293720245 + }, + "else": { + "operation": "boost", + "score": 0.03134389594197273 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.06968636065721512 + }, + "else": { + "operation": "boost", + "score": -0.18812572956085205 + } + } + } + }, + "else": { "operation": "boost", - "score": -0.10128431767225266 + "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": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1108444482088089 + "score": 0.10774707794189453 }, "else": { "operation": "boost", - "score": -0.11560466140508652 + "score": 0.09918765723705292 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.12032958120107651 + "score": -0.0253861416131258 }, "else": { "operation": "boost", - "score": 0.05657310038805008 + "score": -0.17325147986412048 } } + } + } + } + } + } + }, + "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": "NumReferences", - "threshold": 43.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.06965059041976929 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.15322856605052948 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.058075517416000366 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08779837191104889 + }, + "else": { + "operation": "boost", + "score": 0.10012771189212799 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.612094759941101 + }, + "else": { + "operation": "boost", + "score": 0.047162383794784546 + } + }, + "else": { + "operation": "boost", + "score": -0.028278788551688194 + } + } }, "else": { "operation": "boost", - "score": -0.2886093854904175 + "score": 0.011283899657428265 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.03771284222602844 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04943395406007767 + }, + "else": { + "operation": "boost", + "score": 0.08151531964540482 + } }, "else": { "operation": "boost", - "score": 0.11152270436286926 + "score": 0.10901346802711487 } }, "else": { "operation": "boost", - "score": -0.11029686778783798 + "score": 0.04623677209019661 } }, "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" + ], + "then": { + "operation": "boost", + "score": 0.01531211193650961 + }, + "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": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.050944797694683075 + "score": 0.10723141580820084 }, "else": { "operation": "boost", - "score": 0.12485094368457794 + "score": 0.08602093160152435 } }, "else": { - "operation": "boost", - "score": 0.1010032594203949 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07072174549102783 + }, + "else": { + "operation": "boost", + "score": 0.11193366348743439 + } } }, "else": { "operation": "boost", - "score": 0.07018247246742249 + "score": -0.05615963414311409 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.27161335945129395 }, "else": { - "operation": "boost", - "score": 0.11001067608594894 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.000634010590147227 + }, + "else": { + "operation": "boost", + "score": 0.03113090805709362 + } } + }, + "else": { + "operation": "boost", + "score": -0.035984549671411514 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.06371717154979706 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.014958684332668781 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.002518679480999708 + "score": -0.1519237458705902 }, "else": { "operation": "boost", - "score": 0.19042399525642395 + "score": 0.08208005875349045 } }, "else": { "operation": "boost", - "score": 0.053387004882097244 + "score": -0.29599079489707947 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.112202949821949 + "score": -0.9007749557495117 }, "else": { "operation": "boost", - "score": 1.7745234966278076 + "score": -0.010670170187950134 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.1089111715555191 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007874797098338604 + }, + "else": { + "operation": "boost", + "score": -0.08623027056455612 + } + }, + "else": { + "operation": "boost", + "score": 0.053426213562488556 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.11361361294984818 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08620157837867737 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1170940101146698 + "score": 0.025382790714502335 }, "else": { - "operation": "boost", - "score": -0.10057636350393295 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10422489792108536 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.049498915672302246 + }, + "else": { + "operation": "boost", + "score": 0.13324452936649323 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11643832176923752 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10481618344783783 + }, + "else": { + "operation": "boost", + "score": -0.030650872737169266 + } + } } }, "else": { "operation": "boost", - "score": 0.11794371157884598 + "score": 0.03533452749252319 } } } - }, - "else": { - "operation": "boost", - "score": -0.15194663405418396 } } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13001269102096558 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, - "then": { - "operation": "boost", - "score": -0.2896144986152649 - }, - "else": { - "operation": "boost", - "score": 0.12241856008768082 - } + "operation": "boost", + "score": -0.06577198207378387 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.08498243242502213 - }, - "else": { - "operation": "boost", - "score": 0.03783873841166496 - } + "operation": "boost", + "score": 0.0030634566210210323 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { - "operation": "boost", - "score": -0.10384520143270493 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.11439097672700882 - }, - "else": { - "operation": "boost", - "score": 0.1016194224357605 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10676722228527069 + "score": 0.09994453191757202 }, "else": { "operation": "boost", - "score": -0.06149527058005333 + "score": 0.05283045768737793 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.13944250345230103 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.1031806543469429 - }, - "else": { - "operation": "boost", - "score": -0.29817721247673035 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.23080798983573914 - }, - "else": { - "operation": "boost", - "score": -0.010777098126709461 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1126551702618599 }, "else": { "operation": "boost", - "score": 0.1813352406024933 + "score": 0.0022602397948503494 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11110171675682068 }, "else": { "operation": "boost", - "score": 0.1783009171485901 + "score": -0.05475429445505142 } - }, - "else": { - "operation": "boost", - "score": 0.043793682008981705 } } + }, + "else": { + "operation": "boost", + "score": -0.06713027507066727 } + }, + "else": { + "operation": "boost", + "score": -0.050965387374162674 } - }, - "else": { + } + } + } + }, + { + "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": "NumReferences", - "threshold": 25329.0, + "threshold": 241916.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 266615.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 272339.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09691125154495239 - }, - "else": { - "operation": "boost", - "score": 0.06698805838823318 - } + "operation": "boost", + "score": 0.016836218535900116 }, "else": { + "operation": "boost", + "score": 0.00032219698186963797 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.06027073413133621 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.20886994898319244 + "score": 0.039009615778923035 }, "else": { - "operation": "boost", - "score": 0.16721300780773163 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07558739185333252 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.11043311655521393 + }, + "else": { + "operation": "boost", + "score": 0.07757174223661423 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.03091396950185299 } + }, + "else": { + "operation": "boost", + "score": -0.03722875192761421 } - }, - "else": { - "operation": "boost", - "score": -0.3666510581970215 } }, "else": { "operation": "boost", - "score": -0.1430489420890808 + "score": -0.14942023158073425 } }, "else": { - "operation": "boost", - "score": -0.021367304027080536 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204563.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "boost", - "score": -0.02688806876540184 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_Statement", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.25795337557792664 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.022928794845938683 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 234850.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.0483345091342926 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1307082176208496 + "score": -0.12545783817768097 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.10708951205015182 + "score": 0.10883364826440811 }, "else": { - "operation": "boost", - "score": 0.0893334373831749 + "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": "boost", - "score": 0.04451318457722664 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.028802866116166115 + } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, "then": { + "operation": "boost", + "score": 0.028451241552829742 + }, + "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 2.1663622856140137 - }, - "else": { - "operation": "boost", - "score": -0.6148396134376526 - } + "operation": "boost", + "score": 0.12005742639303207 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.07938815653324127 + "score": 0.12839458882808685 }, "else": { - "operation": "boost", - "score": 0.11325088143348694 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.022702660411596298 + }, + "else": { + "operation": "boost", + "score": 0.1441962569952011 + } } } - }, - "else": { - "operation": "boost", - "score": 0.09470188617706299 } } - }, - "else": { - "operation": "boost", - "score": 0.024682777002453804 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04130346700549126 + "score": -0.32759222388267517 }, "else": { "operation": "boost", - "score": 0.016459250822663307 + "score": 0.09901008754968643 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.010722276754677296 }, "else": { "operation": "boost", - "score": -0.0510469488799572 + "score": 0.016443580389022827 } } }, "else": { "operation": "boost", - "score": -0.10648291558027267 + "score": -0.008980144746601582 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.07423647493124008 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.08313731849193573 - }, - "else": { - "operation": "boost", - "score": -0.18298059701919556 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09120769053697586 - } - }, - "else": { - "operation": "boost", - "score": 0.010254026390612125 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0037336391396820545 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03402630239725113 + "score": 0.05559517443180084 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1734.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": -0.008257708512246609 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "boost", + "score": 0.0013588363071903586 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.05167171731591225 + "score": -0.1507454663515091 }, "else": { "operation": "boost", - "score": 0.07614462077617645 + "score": 0.11056247353553772 } }, "else": { "operation": "boost", - "score": 0.021245259791612625 + "score": 0.0028650974854826927 } - }, - "else": { - "operation": "boost", - "score": 0.00011457181972218677 } + }, + "else": { + "operation": "boost", + "score": -0.12810692191123962 } } - }, - "else": { - "operation": "boost", - "score": -0.0028828929644078016 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, "then": { + "operation": "boost", + "score": -0.03182857111096382 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.04579218477010727 + "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.34783098101615906 + "score": 0.09292130172252655 } + } + }, + "else": { + "operation": "boost", + "score": -0.020930949598550797 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.016270296648144722 }, "else": { - "operation": "boost", - "score": -0.05404384806752205 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.024499593302607536 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0007215062505565584 + }, + "else": { + "operation": "boost", + "score": 0.0901634693145752 + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 108163.5, "then": { + "operation": "boost", + "score": -0.06627853959798813 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 177.0, + "threshold": 97095.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 194.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.05728825181722641 + "score": 0.03999195620417595 }, "else": { "operation": "boost", - "score": 0.12974080443382263 + "score": 0.13563145697116852 } }, "else": { "operation": "boost", - "score": -0.07740528881549835 + "score": 0.09496501088142395 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, "then": { + "operation": "boost", + "score": 0.13937778770923615 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11351347714662552 + "score": 0.0929136872291565 }, "else": { "operation": "boost", - "score": 0.06775108724832535 + "score": -0.0011367765255272388 } - }, - "else": { - "operation": "boost", - "score": -0.516737699508667 } } + } + } + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.5, - "then": { - "operation": "boost", - "score": -0.3451385200023651 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.0, - "then": { - "operation": "boost", - "score": 0.10325372219085693 - }, - "else": { - "operation": "boost", - "score": 0.06815050542354584 - } - } + "operation": "boost", + "score": 0.09449708461761475 }, "else": { "operation": "boost", - "score": 0.041773561388254166 + "score": 0.02873404696583748 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.0773673951625824 + "score": 0.11878652125597 }, "else": { - "operation": "boost", - "score": 0.11158716678619385 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.044353634119033813 + }, + "else": { + "operation": "boost", + "score": -0.15158121287822723 + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.014385633170604706 }, "else": { - "operation": "boost", - "score": -0.07847408950328827 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.11750616878271103 + "score": 0.1187906414270401 }, "else": { "operation": "boost", - "score": 0.054246362298727036 + "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.4871157109737396 + "score": -0.029716037213802338 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 22.5, "then": { - "operation": "boost", - "score": -0.6295765042304993 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.024082116782665253 + }, + "else": { + "operation": "boost", + "score": 0.11157738417387009 + } }, "else": { - "operation": "boost", - "score": 0.10994255542755127 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.06329836696386337 + }, + "else": { + "operation": "boost", + "score": 0.1780054271221161 + } + }, + "else": { + "operation": "boost", + "score": 0.027397075667977333 + } } }, "else": { - "operation": "boost", - "score": -0.008721131831407547 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10901852697134018 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.12447983026504517 + }, + "else": { + "operation": "boost", + "score": -0.13614758849143982 + } + }, + "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 + } + } + } + } } }, "else": { + "operation": "boost", + "score": -0.08757995069026947 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.012067661620676517 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "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, + "then": { + "operation": "boost", + "score": 0.002729157917201519 + }, + "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 + } + } + } }, "else": { - "operation": "boost", - "score": 0.12437772005796432 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04732527211308479 + }, + "else": { + "operation": "boost", + "score": -0.17387154698371887 + } } + }, + "else": { + "operation": "boost", + "score": -0.1114858090877533 } + }, + "else": { + "operation": "boost", + "score": 0.012819850817322731 } } - }, - "else": { - "operation": "boost", - "score": -0.007408999837934971 } - }, - "else": { - "operation": "boost", - "score": -0.01118456106632948 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10640307515859604 + "score": 0.09919758886098862 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.00829438865184784 - }, - "else": { - "operation": "boost", - "score": -0.09765222668647766 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.12789267301559448 - }, - "else": { - "operation": "boost", - "score": -0.04327727109193802 - } - } + "operation": "boost", + "score": -0.03351889178156853 } + }, + "else": { + "operation": "boost", + "score": -0.09349971264600754 } } }, "else": { "operation": "boost", - "score": -0.0007215942605398595 + "score": 0.0016632442129775882 } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.12966547906398773 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.161006897687912 + "score": 0.08137170970439911 }, "else": { "operation": "boost", - "score": 0.10441940277814865 + "score": 0.07963357865810394 } }, "else": { - "operation": "boost", - "score": 0.10748926550149918 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07374591380357742 + }, + "else": { + "operation": "boost", + "score": 0.0850568562746048 + } + }, + "else": { + "operation": "boost", + "score": -0.08465345203876495 + } } - }, - "else": { - "operation": "boost", - "score": 0.12665052711963654 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace", - "Type" + "FunctionScope", + "GlobalScope", + "FileScope" ], "then": { + "operation": "boost", + "score": -0.08248334378004074 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { + "operation": "boost", + "score": -0.09421487152576447 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 562.0, - "then": { - "operation": "boost", - "score": 0.10874500125646591 - }, - "else": { - "operation": "boost", - "score": -0.2694741189479828 - } + "operation": "boost", + "score": -0.20844599604606628 }, "else": { "operation": "boost", - "score": 0.047028861939907074 + "score": 0.004431792069226503 } }, "else": { - "operation": "boost", - "score": 0.042380739003419876 + "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.02323256805539131 + }, + "else": { + "operation": "boost", + "score": -0.013922257348895073 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 30.5, "then": { "operation": "boost", - "score": 0.18295587599277496 + "score": 0.016997335478663445 }, "else": { - "operation": "boost", - "score": 0.08372333645820618 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.5, - "then": { - "operation": "boost", - "score": 0.025344615802168846 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.011243580840528011 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12369673699140549 + "score": -0.18833313882350922 }, "else": { - "operation": "boost", - "score": -0.3353741765022278 - } - }, - "else": { - "operation": "boost", - "score": 0.07823673635721207 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, + "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.009492752142250538 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11819758266210556 + "score": -0.0375070758163929 }, "else": { - "operation": "boost", - "score": 0.11155267059803009 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15402840077877045 + "score": 0.1147775948047638 }, "else": { - "operation": "boost", - "score": 0.12478873878717422 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 19.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 84.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.07118381559848785 + "score": -0.1509336680173874 }, "else": { "operation": "boost", - "score": 0.12684199213981628 + "score": 0.8068740963935852 } - }, - "else": { - "operation": "boost", - "score": 0.12463778257369995 } + }, + "else": { + "operation": "boost", + "score": -0.04875296354293823 } - }, - "else": { - "operation": "boost", - "score": 0.047817450016736984 } }, "else": { "operation": "boost", - "score": 0.08912825584411621 + "score": -0.2274857461452484 } } - }, - "else": { - "operation": "boost", - "score": 0.0649515762925148 } } } @@ -192532,1560 +192834,1604 @@ }, "else": { "operation": "boost", - "score": 0.03131481260061264 + "score": -0.006857994012534618 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.010639650747179985 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "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_greater", - "feature": "NumReferences", - "threshold": 52191.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.006854313425719738 + "score": -0.06885196268558502 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91957.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 316302.0, "then": { "operation": "boost", - "score": 0.14504694938659668 + "score": -0.12095549702644348 }, "else": { + "operation": "boost", + "score": 0.1235378310084343 + } + }, + "else": { + "operation": "boost", + "score": -0.09056193381547928 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28052.5, + "then": { + "operation": "boost", + "score": 0.029492901638150215 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24318.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11075947433710098 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10749111324548721 + "score": 0.1069289967417717 }, "else": { "operation": "boost", - "score": 0.2360616773366928 + "score": -0.13159222900867462 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.0936460867524147 }, "else": { "operation": "boost", - "score": -0.09715855866670609 + "score": -0.09479056298732758 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11678200215101242 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234860.0, "then": { "operation": "boost", - "score": 0.11911323666572571 + "score": -0.07054781168699265 }, "else": { - "operation": "boost", - "score": -0.06563258171081543 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08129319548606873 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1968984156847 + }, + "else": { + "operation": "boost", + "score": 0.05354287102818489 + } + } + }, + "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.01936560682952404 } }, "else": { + "operation": "boost", + "score": 0.008777842856943607 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76.0, + "threshold": 45940.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13903310894966125 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.006124755367636681 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1882130354642868 - }, - "else": { - "operation": "boost", - "score": 0.08331835269927979 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12165036797523499 - } - }, - "else": { - "operation": "boost", - "score": -0.19113223254680634 - } - }, - "else": { - "operation": "boost", - "score": -0.007319576106965542 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, "then": { "operation": "boost", - "score": 0.1242266595363617 + "score": 0.021478325128555298 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.02430550567805767 + "score": -0.09112243354320526 }, "else": { "operation": "boost", - "score": 0.11530931293964386 + "score": 0.11634672433137894 } } + }, + "else": { + "operation": "boost", + "score": 0.049932919442653656 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.3449927568435669 + "score": 0.10507019609212875 }, "else": { "operation": "boost", - "score": 0.10369312018156052 + "score": 0.1281338632106781 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "boost", - "score": 0.044719111174345016 - }, - "else": { - "operation": "boost", - "score": -0.33426252007484436 - } - }, - "else": { - "operation": "boost", - "score": 0.12692628800868988 - } + "operation": "boost", + "score": -0.014707721769809723 } }, "else": { "operation": "boost", - "score": 0.02084817737340927 + "score": -0.15804216265678406 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.004162044730037451 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.040040552616119385 + "score": 0.06862947344779968 }, "else": { - "operation": "boost", - "score": -0.1558903008699417 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07438036054372787 + }, + "else": { + "operation": "boost", + "score": 0.09697303175926208 + } } + }, + "else": { + "operation": "boost", + "score": -0.0009887396590784192 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1318535.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": 0.07693403214216232 + }, + "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.002932610223069787 + }, + "else": { + "operation": "boost", + "score": -0.12523376941680908 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.08162271976470947 + "score": 0.11550372838973999 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.20734339952468872 + "score": 0.025316262617707253 }, "else": { "operation": "boost", - "score": 0.11421925574541092 + "score": 0.11163900792598724 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20562.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07148025184869766 - }, - "else": { - "operation": "boost", - "score": 0.1067187562584877 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185.0, - "then": { - "operation": "boost", - "score": 0.07171927392482758 - }, - "else": { - "operation": "boost", - "score": 0.13397793471813202 - } - }, - "else": { - "operation": "boost", - "score": -0.031642526388168335 - } - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 27418.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33041.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.0022195084020495415 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.12098439782857895 - }, - "else": { - "operation": "boost", - "score": -0.48613786697387695 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.11638131737709045 + "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.13345442712306976 + "score": -0.05812719836831093 } }, "else": { - "operation": "boost", - "score": -0.12480627745389938 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0463084913790226 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0242291446775198 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 300.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.07294102758169174 + "score": 0.10920193791389465 }, "else": { - "operation": "boost", - "score": 0.12365346401929855 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 92.0, + "threshold": 51588.5, "then": { - "operation": "boost", - "score": -0.08516839891672134 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.12077542394399643 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 67.0, + "threshold": 170888.5, "then": { "operation": "boost", - "score": 0.32177653908729553 + "score": 0.10439679026603699 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.1112876832485199 - }, - "else": { - "operation": "boost", - "score": 0.09035604447126389 - } + "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.14231854677200317 + "score": -0.32930123805999756 } } } }, "else": { - "operation": "boost", - "score": 0.06829428672790527 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": -0.008784148842096329 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.4522649943828583 - }, - "else": { - "operation": "boost", - "score": 0.10797646641731262 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.10393139719963074 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 929.0, - "then": { - "operation": "boost", - "score": -0.31405186653137207 - }, - "else": { - "operation": "boost", - "score": 0.04065433517098427 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3157.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6782.5, + "feature": "FileProximityDistance", + "threshold": 10.0, "then": { "operation": "boost", - "score": -0.15349195897579193 + "score": 0.12792128324508667 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "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.11837304383516312 + "score": 0.1041783019900322 }, "else": { "operation": "boost", - "score": 0.10605146735906601 + "score": 0.0645664855837822 } - } - }, - "else": { - "operation": "boost", - "score": 0.07033893465995789 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 248.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.0, - "then": { - "operation": "boost", - "score": -0.008072941564023495 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 311.0, - "then": { - "operation": "boost", - "score": 0.12589389085769653 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 259.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": -0.017590491101145744 + "score": 0.11095596104860306 }, "else": { "operation": "boost", - "score": 0.10768385976552963 + "score": -1.5501021146774292 } } } }, "else": { "operation": "boost", - "score": -0.09866251796483994 + "score": -0.21701936423778534 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.388493150472641 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.15507620573043823 - }, - "else": { - "operation": "boost", - "score": 0.08699602633714676 - } + "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.03394439443945885 + "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": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, "then": { "operation": "boost", - "score": 0.000861298234667629 + "score": 0.11304157227277756 }, "else": { "operation": "boost", - "score": -0.14924052357673645 + "score": 0.053510881960392 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { + "operation": "boost", + "score": 0.12860938906669617 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FilterLength", "threshold": 5.5, "then": { "operation": "boost", - "score": 0.06358671933412552 + "score": -0.1286967396736145 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 144.0, + "threshold": 59716.0, "then": { "operation": "boost", - "score": 0.06390711665153503 + "score": 0.09411657601594925 }, "else": { "operation": "boost", - "score": 0.10540873557329178 + "score": 0.03306260704994202 } } }, "else": { "operation": "boost", - "score": -0.18302659690380096 + "score": -0.20384475588798523 } - }, - "else": { - "operation": "boost", - "score": -0.028619885444641113 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3202.0, + "threshold": 49850.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3510.5, - "then": { - "operation": "boost", - "score": 0.1447056084871292 - }, - "else": { - "operation": "boost", - "score": 0.1675879806280136 - } + "operation": "boost", + "score": -0.43526872992515564 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 689.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05215715989470482 - }, - "else": { - "operation": "boost", - "score": 0.09936625510454178 - } - }, - "else": { - "operation": "boost", - "score": 0.06655650585889816 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.0, - "then": { - "operation": "boost", - "score": -0.03837692365050316 - }, - "else": { - "operation": "boost", - "score": 0.07225202769041061 - } - }, - "else": { - "operation": "boost", - "score": -0.06683570891618729 - } - }, - "else": { - "operation": "boost", - "score": -0.3478308618068695 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.025518929585814476 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.0, - "then": { - "operation": "boost", - "score": 0.11032342165708542 - }, - "else": { - "operation": "boost", - "score": 0.08799626678228378 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.039218708872795105 - } + "operation": "boost", + "score": -0.034213900566101074 } - }, - "else": { - "operation": "boost", - "score": 0.025287766009569168 } } } }, "else": { "operation": "boost", - "score": -0.003781005274504423 + "score": 0.00030944752506911755 } + }, + "else": { + "operation": "boost", + "score": -0.01206845324486494 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19362.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.003992708865553141 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 12.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" + "operation": "boost", + "score": 0.13416096568107605 + }, + "else": { + "operation": "boost", + "score": 0.13695985078811646 + } + }, + "else": { + "operation": "boost", + "score": -0.5560339093208313 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0931621640920639 + }, + "else": { + "operation": "boost", + "score": 0.04887231066823006 + } + }, + "else": { + "operation": "boost", + "score": 0.09820887446403503 + } + }, + "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.1390744298696518 + "score": 0.11468927562236786 }, "else": { "operation": "boost", - "score": 0.11982416361570358 + "score": 0.12075425684452057 } }, "else": { - "operation": "boost", - "score": -0.08522719144821167 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05415669456124306 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.11597326397895813 + }, + "else": { + "operation": "boost", + "score": 0.0864504799246788 + } + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "boost", + "score": 0.1101030707359314 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0031977184116840363 + } + } + }, + "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": "boost", + "score": -0.027248015627264977 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13666.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.15722793340682983 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15173949301242828 + }, + "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": "NumReferences", - "threshold": 34.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.018413253128528595 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.014520417898893356 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10839.0, + "then": { + "operation": "boost", + "score": -0.19121207296848297 + }, + "else": { + "operation": "boost", + "score": 0.0696302279829979 + } + }, + "else": { + "operation": "boost", + "score": -0.0015980610623955727 + } + }, + "else": { + "operation": "boost", + "score": 0.010427202098071575 + } + } }, "else": { "operation": "boost", - "score": 0.1141149252653122 + "score": -0.03445763140916824 } + }, + "else": { + "operation": "boost", + "score": -0.0976223573088646 } } }, "else": { "operation": "boost", - "score": 0.02615457959473133 + "score": 0.011121781542897224 } - }, - "else": { - "operation": "boost", - "score": -0.01788199134171009 } }, "else": { "operation": "boost", - "score": -0.009142412804067135 + "score": 2.5274759536841884e-05 } }, "else": { - "operation": "boost", - "score": 0.00040124054066836834 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "boost", - "score": -0.036567218601703644 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": [ - "Variable" + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06980985403060913 + "score": -0.012741642072796822 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 11437.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 170.0, + "threshold": 12363.5, "then": { "operation": "boost", - "score": 0.11529244482517242 + "score": 0.06470304727554321 }, "else": { "operation": "boost", - "score": 0.06875057518482208 + "score": 0.16014890372753143 } }, "else": { "operation": "boost", - "score": 0.01757941022515297 + "score": 0.03413369879126549 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11924174427986145 - }, - "else": { - "operation": "boost", - "score": 0.05972782522439957 - } + "operation": "boost", + "score": 0.013818936422467232 }, "else": { "operation": "boost", - "score": 0.040065087378025055 + "score": -0.6818764805793762 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3322.0, + "operation": "boost", + "score": 0.022662553936243057 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.024273885414004326 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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_Expression", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": 0.02353762462735176 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 75.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16506.0, "then": { "operation": "boost", - "score": -0.16844575107097626 + "score": 0.12160250544548035 }, "else": { "operation": "boost", - "score": 0.009250876493752003 + "score": -0.04660456255078316 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.024343935772776604 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1213458925485611 + "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.05937102437019348 + "score": 0.007093534804880619 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07486321032047272 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11209.5, - "then": { - "operation": "boost", - "score": 0.012682358734309673 - }, - "else": { - "operation": "boost", - "score": -0.008351188153028488 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 3593.5, "then": { "operation": "boost", - "score": -0.11820068210363388 + "score": -0.5183537602424622 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 3160.5, "then": { - "operation": "boost", - "score": 0.12209583818912506 + "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.9576053619384766 + "score": -0.08817681670188904 } } + }, + "else": { + "operation": "boost", + "score": -0.018970167264342308 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "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": 503.0, - "then": { - "operation": "boost", - "score": 0.02612495608627796 - }, - "else": { - "operation": "boost", - "score": 0.09228013455867767 - } + "operation": "boost", + "score": -0.0020876643247902393 }, "else": { "operation": "boost", - "score": -0.10931191593408585 + "score": -0.10690581798553467 } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10608275979757309 - }, - "else": { - "operation": "boost", - "score": 0.0648684948682785 - } - }, - "else": { - "operation": "boost", - "score": -0.17835527658462524 - } } + }, + "else": { + "operation": "boost", + "score": 0.0011707284720614552 } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2459.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 24308.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.04018937051296234 + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.021855147555470467 + "score": 0.018174167722463608 }, "else": { "operation": "boost", - "score": 0.10593999177217484 + "score": -0.026692340150475502 } }, "else": { - "operation": "boost", - "score": 0.007350243628025055 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10465013235807419 - }, - "else": { - "operation": "boost", - "score": 0.030695177614688873 - } - } - }, - "else": { - "operation": "boost", - "score": 0.030250640586018562 - } - }, - "else": { - "operation": "boost", - "score": 0.0015234077582135797 - } - } - }, - "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": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 25627.5, "then": { - "operation": "boost", - "score": -0.0949154645204544 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25940.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 337965.5, "then": { - "operation": "boost", - "score": -0.30748119950294495 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.11282020062208176 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.411899209022522 + }, + "else": { + "operation": "boost", + "score": 0.07499319314956665 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.08329249918460846 + }, + "else": { + "operation": "boost", + "score": 0.10585806518793106 + } + }, + "else": { + "operation": "boost", + "score": 0.05737617611885071 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05746462196111679 + } + }, + "else": { + "operation": "boost", + "score": -0.018235623836517334 + } }, "else": { - "operation": "boost", - "score": -0.18517284095287323 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.03028811514377594 + } } + }, + "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": "NumReferences", - "threshold": 141.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.7775967717170715 + "score": -0.34384700655937195 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.01612965576350689 - }, - "else": { - "operation": "boost", - "score": -0.046351999044418335 - } + "operation": "boost", + "score": 0.0862327367067337 } + }, + "else": { + "operation": "boost", + "score": -0.0730506107211113 } } - }, - "else": { - "operation": "boost", - "score": 0.01041452493518591 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5161.0, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5204.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0992504209280014 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.14650748670101166 - }, - "else": { - "operation": "boost", - "score": 0.3844313323497772 - } - }, - "else": { - "operation": "boost", - "score": 0.05168597027659416 - } - } + "operation": "boost", + "score": 0.04481038078665733 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.0442984513938427 + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 3.0, + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.06806500256061554 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 10293.5, "then": { "operation": "boost", - "score": 0.1088186725974083 + "score": 0.05031636357307434 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6929.0, "then": { "operation": "boost", - "score": 0.08758703619241714 + "score": 0.09905122965574265 }, "else": { - "operation": "boost", - "score": -0.09523799270391464 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6696.5, + "then": { + "operation": "boost", + "score": -0.11744607985019684 + }, + "else": { + "operation": "boost", + "score": 0.10347791761159897 + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10781323909759521 }, "else": { "operation": "boost", - "score": 0.013676971197128296 + "score": -0.10554506629705429 } } }, "else": { "operation": "boost", - "score": -0.002813103375956416 + "score": -0.15238215029239655 } } }, @@ -194093,1552 +194439,1305 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", + "CCC_ClassStructUnion", "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 117.5, + "threshold": 23701.5, "then": { - "operation": "boost", - "score": 0.15821456909179688 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 24227.5, "then": { "operation": "boost", - "score": -0.07242527604103088 + "score": 0.03216373175382614 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 24093.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.18179616332054138 + "score": 0.06989581882953644 }, "else": { "operation": "boost", - "score": -0.28320229053497314 + "score": 0.10945098102092743 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.1177343875169754 + "score": 0.11416072398424149 }, "else": { - "operation": "boost", - "score": 0.13450723886489868 + "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.10848194360733032 + "score": 0.08689802139997482 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.027842678129673004 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05270569398999214 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.06941010057926178 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.17085932195186615 - }, - "else": { - "operation": "boost", - "score": -0.3310353457927704 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09485293924808502 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.04648416489362717 + "score": 0.1045333594083786 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33.5, + "threshold": 8200.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 8292.0, + "then": { + "operation": "boost", + "score": 0.04715369641780853 + }, + "else": { + "operation": "boost", + "score": 0.11319059878587723 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.06421436369419098 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 7486.5, "then": { + "operation": "boost", + "score": -0.1875799596309662 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 7145.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 7186.0, "then": { "operation": "boost", - "score": 0.10566785931587219 + "score": 0.07248102873563766 }, "else": { - "operation": "boost", - "score": -0.13832591474056244 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09472787380218506 + }, + "else": { + "operation": "boost", + "score": 0.10258269309997559 + } } }, "else": { - "operation": "boost", - "score": 0.13013219833374023 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 5257.0, "then": { - "operation": "boost", - "score": -0.19910037517547607 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.12598076462745667 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.28481945395469666 + }, + "else": { + "operation": "boost", + "score": 0.11499323695898056 + } }, "else": { "operation": "boost", - "score": 0.056277256458997726 + "score": 0.026929736137390137 } + }, + "else": { + "operation": "boost", + "score": 0.0996299535036087 } }, "else": { "operation": "boost", - "score": -0.05693219602108002 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.07623640447854996 - }, - "else": { - "operation": "boost", - "score": 0.1547575145959854 + "score": 0.027755053713917732 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.1357027143239975 }, "else": { "operation": "boost", - "score": -0.014622021466493607 + "score": 0.10437799245119095 } + }, + "else": { + "operation": "boost", + "score": -0.00024124662741087377 } - }, - "else": { + } + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 19220.5, "then": { "operation": "boost", - "score": 0.13512299954891205 + "score": -0.02647900953888893 }, "else": { "operation": "boost", - "score": 0.08438566327095032 + "score": 0.11538873612880707 } + }, + "else": { + "operation": "boost", + "score": 0.02717766910791397 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.0761551633477211 }, "else": { "operation": "boost", - "score": 0.12420613318681717 + "score": -0.016833893954753876 } }, "else": { - "operation": "boost", - "score": -0.11187755316495895 + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07176414877176285 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7788.5, + "then": { + "operation": "boost", + "score": 0.11525065451860428 + }, + "else": { + "operation": "boost", + "score": 0.11092390865087509 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.09456785768270493 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.13099172711372375 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6804.5, + "then": { + "operation": "boost", + "score": -0.1519901156425476 + }, + "else": { + "operation": "boost", + "score": 0.11104380339384079 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11940469592809677 + } + }, + "else": { + "operation": "boost", + "score": -0.2299100160598755 + } + }, + "else": { + "operation": "boost", + "score": -0.07646097987890244 + } + } + } + } + }, + "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": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10644271224737167 + }, + "else": { + "operation": "boost", + "score": 0.10325673222541809 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11472880095243454 + }, + "else": { + "operation": "boost", + "score": 0.15778163075447083 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03210652992129326 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.04665309190750122 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.11369418352842331 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13354074954986572 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10325489193201065 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6049.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10590197890996933 + }, + "else": { + "operation": "boost", + "score": 0.11090273410081863 + } + } + } + }, + "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.10147716850042343 + "score": 0.021554457023739815 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05110141262412071 + "score": 0.11287324875593185 }, "else": { "operation": "boost", - "score": 0.1289069503545761 + "score": 0.003204312175512314 } } }, "else": { - "operation": "boost", - "score": 0.03591572865843773 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 1.116134524345398 - }, - "else": { - "operation": "boost", - "score": 0.11484558880329132 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.048056118190288544 + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008383593522012234 + } }, "else": { - "operation": "boost", - "score": 0.10339994728565216 + "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 + } } }, "else": { "operation": "boost", - "score": -0.17505401372909546 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06909304112195969 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "boost", - "score": 0.054070476442575455 - }, - "else": { - "operation": "boost", - "score": -0.0206199511885643 - } + "score": -0.028094368055462837 } - }, - "else": { - "operation": "boost", - "score": 0.03177127614617348 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.005058577284216881 - }, - "else": { - "operation": "boost", - "score": 0.024379977956414223 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 5183.5, "then": { "operation": "boost", - "score": 0.019420918077230453 + "score": 0.12582451105117798 }, "else": { "operation": "boost", - "score": -0.021928567439317703 + "score": 0.09724979102611542 } }, "else": { - "operation": "boost", - "score": -0.07232281565666199 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.054681822657585144 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03146742656826973 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07143416255712509 - }, - "else": { - "operation": "boost", - "score": 0.06848578155040741 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03711752966046333 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01419617235660553 - } - }, - "else": { - "operation": "boost", - "score": -0.03782637417316437 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.057142067700624466 + "score": -0.12234605103731155 }, "else": { "operation": "boost", - "score": -0.37369880080223083 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04037003219127655 - }, - "else": { - "operation": "boost", - "score": -0.012547421269118786 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.01297256350517273 - }, - "else": { - "operation": "boost", - "score": -0.04409976676106453 - } + "score": 0.09908497333526611 } }, "else": { "operation": "boost", - "score": -0.0030590032692998648 + "score": -0.00035908666905015707 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.09826438128948212 - }, - "else": { - "operation": "boost", - "score": -0.14241647720336914 - } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2469.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.08512745797634125 + "score": 0.08556046336889267 }, "else": { "operation": "boost", - "score": 0.23394611477851868 + "score": 0.004707269836217165 } }, - "else": { - "operation": "boost", - "score": -0.10382958501577377 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08447335660457611 - }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_SymbolOrNewName" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.14936475455760956 - }, - "else": { - "operation": "boost", - "score": 0.09511395543813705 - } + "operation": "boost", + "score": 0.11539028584957123 }, "else": { "operation": "boost", - "score": 0.011005595326423645 + "score": 0.0392635315656662 } } - }, - "else": { - "operation": "boost", - "score": -0.05311960726976395 } } + }, + "else": { + "operation": "boost", + "score": -0.002806692849844694 } }, "else": { - "operation": "boost", - "score": 0.00038114693597890437 - } - } - }, - { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.001235529431141913 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6495.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.008962706662714481 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4712.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.12203361839056015 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.027872933074831963 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11833316087722778 - }, - "else": { - "operation": "boost", - "score": 0.09311433881521225 - } - } - } - }, - "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": 0.5, - "then": { - "operation": "boost", - "score": 0.005020844750106335 - }, - "else": { - "operation": "boost", - "score": -0.030293771997094154 - } + "score": 0.13841280341148376 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03861714527010918 - }, - "else": { - "operation": "boost", - "score": -0.007135708350688219 - } + "operation": "boost", + "score": 0.1442340463399887 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028447754681110382 - }, - "else": { - "operation": "boost", - "score": -0.01184771116822958 - } - }, - "else": { - "operation": "boost", - "score": 0.0525229275226593 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03500485047698021 - }, - "else": { - "operation": "boost", - "score": 0.06276851892471313 - } - } + "operation": "boost", + "score": 0.10095684975385666 } + }, + "else": { + "operation": "boost", + "score": -0.18813075125217438 } - }, - "else": { - "operation": "boost", - "score": -0.0779218077659607 } }, "else": { "operation": "boost", - "score": 0.008269991725683212 + "score": 0.0216587632894516 } }, "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 96602.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 114340.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 639.5, - "then": { - "operation": "boost", - "score": -0.01581786572933197 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 515.5, - "then": { - "operation": "boost", - "score": 0.22505009174346924 - }, - "else": { - "operation": "boost", - "score": 0.03997340798377991 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.4187653064727783 - }, - "else": { - "operation": "boost", - "score": -0.06426506489515305 - } - } + "operation": "boost", + "score": 0.008097890764474869 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04229157418012619 + "score": -0.04644935205578804 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 111169.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.011320444755256176 + "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": "boost", - "score": 0.07000748068094254 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10611261427402496 + }, + "else": { + "operation": "boost", + "score": 0.09321137517690659 + } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.057095542550086975 - }, - "else": { - "operation": "boost", - "score": 0.10828155279159546 - } + "operation": "boost", + "score": -0.14547978341579437 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10381868481636047 - }, - "else": { - "operation": "boost", - "score": -0.18230824172496796 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 239.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 272.5, - "then": { - "operation": "boost", - "score": 0.045861054211854935 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09422251582145691 - }, - "else": { - "operation": "boost", - "score": 0.15430477261543274 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0013860161416232586 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": 0.08496840298175812 - }, - "else": { - "operation": "boost", - "score": 0.09465932846069336 - } - }, - "else": { - "operation": "boost", - "score": 0.10781469196081161 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03127904608845711 - } + "operation": "boost", + "score": 0.05415920913219452 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15089194476604462 - }, - "else": { - "operation": "boost", - "score": -0.10620960593223572 - } - }, - "else": { - "operation": "boost", - "score": 0.08304183930158615 - } + "operation": "boost", + "score": -0.008721845224499702 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 105803.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 310.5, - "then": { - "operation": "boost", - "score": -0.014514921233057976 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 221.0, - "then": { - "operation": "boost", - "score": 0.1290002018213272 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09299216419458389 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.09826093912124634 - }, - "else": { - "operation": "boost", - "score": -1.1373569965362549 - } - } - } - } + "operation": "boost", + "score": 0.10687519609928131 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.036256931722164154 + "score": 0.0777946338057518 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.12057452648878098 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": -0.1991002857685089 - }, - "else": { - "operation": "boost", - "score": 0.10986346006393433 - } - } + "operation": "boost", + "score": 0.04896402731537819 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.09525392204523087 - }, - "else": { - "operation": "boost", - "score": 0.11360400170087814 - } + "operation": "boost", + "score": 0.013886811211705208 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 105661.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.16317741572856903 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.09581971913576126 + }, + "else": { + "operation": "boost", + "score": 0.09416785836219788 + } + }, + "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": "NumReferences", - "threshold": 36.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.21122059226036072 + "score": -0.2314951866865158 }, "else": { - "operation": "boost", - "score": 0.12520831823349 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "boost", + "score": 0.08676277101039886 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.03619895130395889 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.12271273136138916 + "score": -0.10467147827148438 }, "else": { "operation": "boost", - "score": 0.1295446753501892 + "score": 0.0826125293970108 } + }, + "else": { + "operation": "boost", + "score": 0.06942278146743774 } - }, - "else": { - "operation": "boost", - "score": 0.0012117029400542378 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.10001255571842194 - }, - "else": { - "operation": "boost", - "score": 0.09453392028808594 } } + }, + "else": { + "operation": "boost", + "score": -0.25830554962158203 } - }, - "else": { - "operation": "boost", - "score": -0.024922851473093033 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": -0.08376506716012955 - }, - "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.14429816603660583 + "score": 0.12355837970972061 }, "else": { + "operation": "boost", + "score": 0.07166346907615662 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.07753162086009979 + "score": 0.041177522391080856 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -1.2764149904251099 - }, - "else": { - "operation": "boost", - "score": 0.1356973797082901 - } + "operation": "boost", + "score": 0.10597864538431168 }, "else": { "operation": "boost", - "score": -0.20222458243370056 + "score": 0.04468065872788429 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { + "operation": "boost", + "score": 0.10371187329292297 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.06860484182834625 + "score": 0.10891794413328171 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.17165344953536987 - }, - "else": { - "operation": "boost", - "score": 0.01160530373454094 - } + "operation": "boost", + "score": 0.1092173308134079 } - }, - "else": { - "operation": "boost", - "score": -0.035766277462244034 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.11756302416324615 - }, - "else": { - "operation": "boost", - "score": -0.00984429381787777 - } }, "else": { "operation": "boost", - "score": 0.034808434545993805 + "score": 0.04608755186200142 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.04888474941253662 - }, - "else": { - "operation": "boost", - "score": 0.10632585734128952 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0017590412171557546 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1530512273311615 - }, - "else": { - "operation": "boost", - "score": 0.1280779391527176 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.015169324353337288 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.12290786951780319 }, "else": { "operation": "boost", - "score": 0.11710236221551895 + "score": -0.012252209708094597 } } }, "else": { - "operation": "boost", - "score": -0.1945430189371109 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011864304542541504 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.018130702897906303 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "IsNameInContext", @@ -195646,108 +195745,77 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.07034735381603241 + "score": 0.04521958902478218 }, "else": { "operation": "boost", - "score": 0.1162092462182045 + "score": 0.13668805360794067 } }, - "else": { - "operation": "boost", - "score": -0.11106538027524948 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018989520147442818 - }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.11450403183698654 - }, - "else": { - "operation": "boost", - "score": 0.09682449698448181 - } - }, - "else": { - "operation": "boost", - "score": 0.05714477598667145 - } + "operation": "boost", + "score": 0.16008365154266357 }, "else": { "operation": "boost", - "score": -0.1026507019996643 + "score": 0.08075578510761261 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.14347973465919495 }, "else": { "operation": "boost", - "score": 0.04358014091849327 + "score": 0.02055664174258709 } } - }, - "else": { - "operation": "boost", - "score": -0.06061025336384773 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.2570374011993408 - }, - "else": { - "operation": "boost", - "score": -0.08992698788642883 - } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07127019762992859 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.002211468992754817 + "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.03921035677194595 + "score": -0.3976207375526428 } } } @@ -195756,798 +195824,557 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": -0.0006833671359345317 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.03477213904261589 - }, - "else": { - "operation": "boost", - "score": -0.10865592956542969 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.1018848717212677 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75472.0, "then": { - "operation": "boost", - "score": 0.033611711114645004 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { + "operation": "boost", + "score": 0.14568382501602173 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 76763.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.10469235479831696 + "score": 0.006126217544078827 }, "else": { + "operation": "boost", + "score": 0.11488959193229675 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.09554276615381241 + "score": 0.04585035517811775 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08490436524152756 - }, - "else": { - "operation": "boost", - "score": -0.04040446877479553 - } + "operation": "boost", + "score": 0.10778062045574188 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.10025845468044281 + }, + "else": { + "operation": "boost", + "score": 0.06668546050786972 } } - }, - "else": { - "operation": "boost", - "score": 0.008593076840043068 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16761.5, "then": { - "operation": "boost", - "score": -0.0015434769447892904 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 25208.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 37521.0, "then": { - "operation": "boost", - "score": -0.039015043526887894 + "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.013486308977007866 + "score": -0.26804670691490173 } }, "else": { - "operation": "boost", - "score": 0.06161129102110863 + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.01696523278951645 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00866248644888401 + "score": -0.11496122181415558 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.04653036594390869 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72713.0, "then": { - "operation": "boost", - "score": 0.05387132614850998 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.15328316390514374 + "score": 0.0048472583293914795 }, "else": { "operation": "boost", - "score": 0.09239138662815094 + "score": 0.11677806824445724 } + }, + "else": { + "operation": "boost", + "score": 0.11589735746383667 } - }, - "else": { - "operation": "boost", - "score": 0.0010502688819542527 } } - }, - "else": { - "operation": "boost", - "score": 0.0033430468756705523 } }, + "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": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": -0.013225767761468887 + "score": 0.010777843184769154 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.009941363707184792 + "score": 0.10188450664281845 }, "else": { "operation": "boost", - "score": -0.08724208176136017 + "score": -0.12937778234481812 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.058344822376966476 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09840931743383408 + }, + "else": { + "operation": "boost", + "score": -0.021892046555876732 + } }, "else": { "operation": "boost", - "score": 0.013678942807018757 + "score": -0.11452287435531616 } } } + }, + "else": { + "operation": "boost", + "score": -0.018988555297255516 } } - } - }, - "else": { - "operation": "boost", - "score": -0.07616349309682846 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.0, - "then": { - "operation": "boost", - "score": -0.048090770840644836 - }, - "else": { - "operation": "boost", - "score": 0.10722768306732178 - } }, "else": { - "operation": "boost", - "score": 0.0019614258781075478 - } - }, - "else": { - "operation": "boost", - "score": -0.01275214646011591 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.041077274829149246 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02642148919403553 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07973996549844742 + "score": 0.11272073537111282 }, "else": { "operation": "boost", - "score": 0.04654913768172264 + "score": -0.0615391731262207 } + }, + "else": { + "operation": "boost", + "score": 0.014587384648621082 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.005293200258165598 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17774.0, "then": { - "operation": "boost", - "score": 0.0021812627092003822 - }, - "else": { - "operation": "if_member", + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37666.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10865053534507751 + }, + "else": { + "operation": "boost", + "score": -0.0009367507882416248 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.33111605048179626 + }, + "else": { + "operation": "boost", + "score": 0.07876088470220566 + } + } + }, + "else": { + "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.03688155487179756 + "score": 0.13957884907722473 }, "else": { "operation": "boost", - "score": 0.04765399917960167 + "score": 0.07595369964838028 } } }, "else": { "operation": "boost", - "score": 0.013584845699369907 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.011074542999267578 - }, - "else": { - "operation": "boost", - "score": -0.06390652805566788 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0019124518148601055 - }, - "else": { - "operation": "boost", - "score": 0.1115160882472992 - } - }, - "else": { - "operation": "boost", - "score": -0.01807849109172821 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.047492362558841705 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.03632250055670738 - }, - "else": { - "operation": "boost", - "score": -0.08620807528495789 - } + "score": 0.023194342851638794 } } - }, - "else": { - "operation": "boost", - "score": -0.00668365927413106 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09253742545843124 + }, + "else": { + "operation": "boost", + "score": -0.03454064577817917 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13537.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13877.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008983309380710125 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Function" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.038030777126550674 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13423846662044525 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.08226969838142395 - }, - "else": { - "operation": "boost", - "score": 0.06614822894334793 - } - } + "operation": "boost", + "score": 0.12502464652061462 }, "else": { "operation": "boost", - "score": 0.0280148908495903 + "score": -0.15635094046592712 } }, "else": { "operation": "boost", - "score": -0.011505454778671265 + "score": 0.065132737159729 } - }, - "else": { - "operation": "boost", - "score": 0.0487617552280426 - } - }, - "else": { - "operation": "boost", - "score": 0.03330571576952934 - } - }, - "else": { - "operation": "boost", - "score": 0.0061969272792339325 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.028355145826935768 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04169514402747154 - }, - "else": { - "operation": "boost", - "score": 0.05904539301991463 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.012989092618227005 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.008066544309258461 + "score": 0.06774649769067764 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05030139535665512 - }, - "else": { - "operation": "boost", - "score": 0.12447983771562576 - } - }, - "else": { - "operation": "boost", - "score": 0.03044985421001911 - } - }, - "else": { - "operation": "boost", - "score": -0.05240194872021675 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.09786848723888397 - }, - "else": { - "operation": "boost", - "score": 0.0890616625547409 - } - } + "operation": "boost", + "score": 0.08505445718765259 }, "else": { "operation": "boost", - "score": 0.016372153535485268 + "score": 0.1136656254529953 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.00419505313038826 - }, - "else": { - "operation": "boost", - "score": -0.007232964504510164 - } + "operation": "boost", + "score": 0.0408230721950531 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.0034797340631484985 + "score": 0.03017689287662506 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19474.5, "then": { "operation": "boost", - "score": 0.06838240474462509 + "score": 0.08017916977405548 }, "else": { - "operation": "boost", - "score": 0.01874573342502117 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.13074807822704315 + }, + "else": { + "operation": "boost", + "score": 0.03861706703901291 + } } } } } + }, + "else": { + "operation": "boost", + "score": 0.015102673321962357 } + }, + "else": { + "operation": "boost", + "score": 0.005003007128834724 } } }, @@ -196555,855 +196382,944 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", + "Function", "Type" ], "then": { + "operation": "boost", + "score": -0.0945759192109108 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1098882332444191 + "score": -0.06005248799920082 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06763525307178497 - }, - "else": { - "operation": "boost", - "score": -0.0037824250757694244 - } + "operation": "boost", + "score": -3.4201126098632812 }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11695173382759094 - }, - "else": { - "operation": "boost", - "score": 0.08833470940589905 - } + "operation": "boost", + "score": -0.6281301975250244 } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17751741409301758 - }, - "else": { - "operation": "boost", - "score": -0.07289478927850723 - } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13468.5, "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12465257197618484 + }, + "else": { + "operation": "boost", + "score": 0.5940304398536682 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope" + "Variable", + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11159.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11605.0, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11496834456920624 - }, - "else": { - "operation": "boost", - "score": 0.08359029144048691 - } - }, - "else": { - "operation": "boost", - "score": -0.07075311243534088 - } + "operation": "boost", + "score": 0.03253640979528427 }, "else": { "operation": "boost", - "score": -0.015104270540177822 + "score": 0.11537913978099823 } }, "else": { "operation": "boost", - "score": 0.06968655437231064 + "score": -0.01638045161962509 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12655223906040192 + }, + "else": { + "operation": "boost", + "score": 0.0557527132332325 } + } + }, + "else": { + "operation": "boost", + "score": -0.15022780001163483 + } + }, + "else": { + "operation": "boost", + "score": 0.060859404504299164 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.14717379212379456 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03958865627646446 + }, + "else": { + "operation": "boost", + "score": 0.12941499054431915 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11437.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.06898877769708633 }, "else": { "operation": "boost", - "score": 0.01640373468399048 + "score": 0.15597553551197052 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.015479410998523235 + "score": -0.5331239104270935 }, "else": { "operation": "boost", - "score": -0.03117966465651989 + "score": 0.03647181764245033 } } + } + } + }, + "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, + "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.03751738741993904 + "score": 0.15262165665626526 } }, "else": { "operation": "boost", - "score": 0.013010809198021889 + "score": 0.16997748613357544 } }, "else": { "operation": "boost", - "score": -0.027944903820753098 + "score": 0.027373382821679115 } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + } + } + } + } + }, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "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.1113298311829567 + }, + "else": { + "operation": "boost", + "score": -0.5529073476791382 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "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": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.014812009409070015 + "score": 0.10316935926675797 }, "else": { "operation": "boost", - "score": 0.00041775565478019416 + "score": 0.019750505685806274 } }, "else": { + "operation": "boost", + "score": -0.11593499034643173 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope" + "Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.009243992157280445 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 207505.0, "then": { "operation": "boost", - "score": 0.0012003610609099269 + "score": 0.03889278694987297 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02373446896672249 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { + "operation": "boost", + "score": 0.11227397620677948 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.20489245653152466 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.07078671455383301 + "score": -0.04645251855254173 }, "else": { "operation": "boost", - "score": 0.036141686141490936 + "score": 0.06268712133169174 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.18775926530361176 + "score": 0.03510133922100067 }, "else": { "operation": "boost", - "score": 0.03717409819364548 + "score": -0.032761987298727036 } - }, - "else": { - "operation": "boost", - "score": -0.00884848553687334 } } + }, + "else": { + "operation": "boost", + "score": 0.03519134223461151 } } - }, - "else": { - "operation": "boost", - "score": 0.0030044689774513245 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14527.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.06375101953744888 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12965601682662964 + "score": 0.0026674089021980762 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.15279105305671692 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -1.1653462648391724 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "boost", - "score": 0.10574312508106232 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11295909434556961 - }, - "else": { - "operation": "boost", - "score": 0.2209387719631195 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11012512445449829 - }, - "else": { - "operation": "boost", - "score": 0.10071421414613724 - } - } + "operation": "boost", + "score": 0.07225016504526138 } + }, + "else": { + "operation": "boost", + "score": 0.02375917322933674 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0032236238475888968 + "score": 0.019487470388412476 + }, + "else": { + "operation": "boost", + "score": 0.11020254343748093 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.045583661645650864 + }, + "else": { + "operation": "boost", + "score": 0.04354771971702576 + } }, "else": { "operation": "boost", - "score": -0.013329068198800087 + "score": -0.08944382518529892 } } + }, + "else": { + "operation": "boost", + "score": -0.030463313683867455 } } - }, - "else": { + } + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.01729894056916237 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.04254346713423729 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09601124376058578 + "score": 0.026133818551898003 }, "else": { - "operation": "boost", - "score": 0.0037335949018597603 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "NumReferences", + "threshold": 205637.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.1111203208565712 + "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.39550548791885376 + "score": 0.05920964851975441 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.027290597558021545 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.005590860731899738 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.03495790436863899 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10537867993116379 - }, - "else": { - "operation": "boost", - "score": 0.012626273557543755 - } - } - } - } + "operation": "boost", + "score": 0.09679107367992401 }, "else": { "operation": "boost", - "score": -0.0542275570333004 + "score": -0.10440681874752045 } } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.02902170456945896 + }, + "else": { + "operation": "boost", + "score": -0.46173715591430664 + } + } + }, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.008304080925881863 - }, - "else": { - "operation": "boost", - "score": -0.011700725182890892 - } + "operation": "boost", + "score": 0.0417034849524498 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 590.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5231.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6404.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06032585725188255 - }, - "else": { - "operation": "boost", - "score": 0.11685719341039658 - } - }, - "else": { - "operation": "boost", - "score": 0.032296668738126755 - } - }, - "else": { - "operation": "boost", - "score": 0.140506774187088 - } + "operation": "boost", + "score": 0.024140872061252594 }, "else": { "operation": "boost", - "score": 0.034139398485422134 + "score": 0.08638621866703033 } }, "else": { + "operation": "boost", + "score": -0.01822534017264843 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 544.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.013642699457705021 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.022156357765197754 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09928901493549347 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.12524572014808655 - }, - "else": { - "operation": "boost", - "score": 0.08030549436807632 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09009561687707901 - } + "operation": "boost", + "score": 0.08153201639652252 }, "else": { "operation": "boost", - "score": -0.17179463803768158 + "score": 0.12708903849124908 } + }, + "else": { + "operation": "boost", + "score": -0.1187727078795433 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.047134630382061005 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.047096509486436844 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 114.5, "then": { + "operation": "boost", + "score": 0.058073677122592926 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.11714070290327072 + "score": -0.425989031791687 }, "else": { - "operation": "boost", - "score": 0.0787878930568695 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04189414903521538 + "score": 0.11338625848293304 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05285005271434784 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10737395286560059 - }, - "else": { - "operation": "boost", - "score": 0.00010243181168334559 - } - } + "operation": "boost", + "score": 0.019812554121017456 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 181.5, + "then": { + "operation": "boost", + "score": -0.025285862386226654 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 178.5, + "then": { + "operation": "boost", + "score": 0.11763054877519608 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 101.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 131.5, "then": { "operation": "boost", - "score": 0.007545459549874067 + "score": 0.04733744636178017 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 106.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.11492160707712173 + "score": -0.0831298977136612 }, "else": { "operation": "boost", - "score": -0.03286270797252655 + "score": 0.1297009438276291 } }, "else": { "operation": "boost", - "score": 0.07965756952762604 + "score": -0.23861224949359894 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.1444476693868637 - }, - "else": { - "operation": "boost", - "score": -0.05797233432531357 - } + "operation": "boost", + "score": 0.7316809296607971 } } } @@ -197414,289 +197330,66 @@ "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11528166383504868 - }, - "else": { - "operation": "boost", - "score": -0.1528368890285492 - } - }, - "else": { - "operation": "boost", - "score": -0.006582285277545452 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010148949222639203 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1385626196861267 - }, - "else": { - "operation": "boost", - "score": -0.1108826994895935 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07728371024131775 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.2176976352930069 - }, - "else": { - "operation": "boost", - "score": 0.024321487173438072 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10319486260414124 - }, - "else": { - "operation": "boost", - "score": 0.11847757548093796 - } - }, - "else": { - "operation": "boost", - "score": 0.0503181591629982 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1098424568772316 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3322.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34243.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233715.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.08105119317770004 + "score": -0.2606065571308136 }, "else": { "operation": "boost", - "score": -0.04026263207197189 + "score": 0.12137364596128464 } }, "else": { "operation": "boost", - "score": 0.10073967278003693 + "score": 0.04588180407881737 } - }, - "else": { - "operation": "boost", - "score": -0.09317820519208908 } }, "else": { - "operation": "boost", - "score": 0.04593215137720108 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28548.0, + "threshold": 11949.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33451.5, + "threshold": 12368.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11008016765117645 - }, - "else": { - "operation": "boost", - "score": -0.026688676327466965 - } - }, - "else": { "operation": "boost", - "score": -0.18947401642799377 - } - }, - "else": { - "operation": "boost", - "score": 0.02264421246945858 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5032.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7467.0, - "then": { - "operation": "boost", - "score": 0.06618096679449081 - }, - "else": { - "operation": "boost", - "score": -0.05992840230464935 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4714.0, - "then": { - "operation": "boost", - "score": 0.12121729552745819 - }, - "else": { - "operation": "boost", - "score": 0.04594017565250397 - } - } + "score": 0.02109580673277378 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.0096252067014575 + "score": 0.1148308590054512 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23864.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.7861754298210144 + "score": -0.19632868468761444 }, "else": { - "operation": "boost", - "score": -0.09916404634714127 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.024513965472579002 + }, + "else": { + "operation": "boost", + "score": 0.08938179165124893 + } } } } @@ -197704,360 +197397,540 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20253.5, + "threshold": 10625.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21064.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.10306137055158615 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10940.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24900.5, + "threshold": 11550.0, "then": { "operation": "boost", - "score": 0.041883260011672974 + "score": 0.09184953570365906 }, "else": { "operation": "boost", - "score": 0.11145279556512833 + "score": -0.028220558539032936 } }, "else": { "operation": "boost", - "score": -0.06802007555961609 + "score": 0.17834828794002533 } }, "else": { "operation": "boost", - "score": -0.11010362207889557 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.17049627006053925 - }, - "else": { - "operation": "boost", - "score": -0.00797491054981947 + "score": -0.0867738127708435 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8864.5, + "threshold": 8266.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11877.5, + "threshold": 9195.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12495.0, + "threshold": 9948.0, "then": { - "operation": "boost", - "score": -0.353831022977829 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15762723982334137 + }, + "else": { + "operation": "boost", + "score": 0.045531656593084335 + } }, "else": { - "operation": "boost", - "score": 0.23003828525543213 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.06880068778991699 + }, + "else": { + "operation": "boost", + "score": 0.10013143718242645 + } + }, + "else": { + "operation": "boost", + "score": -0.12100031226873398 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11359.0, + "threshold": 9064.5, "then": { - "operation": "boost", - "score": -1.295632243156433 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05122557654976845 + } }, "else": { - "operation": "boost", - "score": -0.16082176566123962 + "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 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7746.0, - "then": { - "operation": "boost", - "score": 0.09943704307079315 - }, - "else": { - "operation": "boost", - "score": -0.019461914896965027 - } + "operation": "boost", + "score": -0.0008195267291739583 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 69581.5, + "threshold": 3191.5, "then": { + "operation": "boost", + "score": -0.12841428816318512 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 102876.0, + "threshold": 3146.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, + "operation": "boost", + "score": 0.136430561542511 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205835.5, + "threshold": 270.5, "then": { - "operation": "boost", - "score": -0.00041544329724274576 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.009635488502681255 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04421423375606537 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.08794663846492767 + "score": 0.03835746645927429 }, "else": { "operation": "boost", - "score": 0.027000026777386665 + "score": 0.13215848803520203 } - } - }, - "else": { - "operation": "boost", - "score": 0.01898009330034256 - } - } - }, - "else": { - "operation": "boost", - "score": -0.042681265622377396 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.09909597784280777 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1950.0, "then": { "operation": "boost", - "score": 0.1195250079035759 + "score": 0.08047593384981155 }, "else": { "operation": "boost", - "score": 0.15387791395187378 + "score": 0.02808588370680809 } - }, - "else": { - "operation": "boost", - "score": 0.09873789548873901 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 264.0, + "then": { + "operation": "boost", + "score": 0.1266922652721405 }, "else": { "operation": "boost", - "score": 0.01993623562157154 + "score": 0.0697777047753334 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 359.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15908686816692352 - }, - "else": { - "operation": "boost", - "score": 0.030343905091285706 - } + "operation": "boost", + "score": 0.07616231590509415 }, "else": { "operation": "boost", - "score": 0.08965416252613068 + "score": -0.11540663987398148 } }, "else": { "operation": "boost", - "score": 0.014205546118319035 + "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_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.014563643373548985 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62840.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.49680620431900024 - }, - "else": { - "operation": "boost", - "score": 0.02546386979520321 - } + "operation": "boost", + "score": 0.019481852650642395 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.03345061466097832 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08261258155107498 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7455.5, + "then": { + "operation": "boost", + "score": 0.11663330346345901 + }, + "else": { + "operation": "boost", + "score": 0.07488538324832916 + } + } }, "else": { - "operation": "boost", - "score": 0.0657317042350769 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.1033235415816307 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19344.5, + "then": { + "operation": "boost", + "score": 0.0982092022895813 + }, + "else": { + "operation": "boost", + "score": 0.114744171500206 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11299063265323639 + } + }, + "else": { + "operation": "boost", + "score": 0.06829703599214554 + } + }, + "else": { + "operation": "boost", + "score": 0.07007061690092087 + } } } - }, - "else": { - "operation": "boost", - "score": -0.13056956231594086 } } }, "else": { "operation": "boost", - "score": 0.04438227415084839 + "score": 0.0021876723039895296 } + }, + "else": { + "operation": "boost", + "score": 0.0032853102311491966 } }, "else": { "operation": "boost", - "score": 0.013654517941176891 + "score": -0.006247959099709988 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.0031729235779494047 + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11093.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": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 475.5, + "threshold": 114340.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, - "then": { - "operation": "boost", - "score": 0.013025034219026566 - }, - "else": { - "operation": "boost", - "score": -0.007858779281377792 - } + "operation": "boost", + "score": 0.007074224296957254 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 472.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.104280024766922 + "score": -0.041073575615882874 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111169.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.12873530387878418 + "score": 0.08233904838562012 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09802952408790588 - }, - "else": { - "operation": "boost", - "score": -0.08398615568876266 - } + "operation": "boost", + "score": -0.139047309756279 } }, "else": { @@ -198065,963 +197938,940 @@ "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 440.5, - "then": { - "operation": "boost", - "score": -0.006287967320531607 - }, - "else": { - "operation": "boost", - "score": 0.09828348457813263 - } - }, - "else": { - "operation": "boost", - "score": -0.01591382548213005 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.10695404559373856 - }, - "else": { - "operation": "boost", - "score": -0.18340596556663513 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 362201.5, - "then": { - "operation": "boost", - "score": -0.03628091141581535 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.026984985917806625 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 105803.0, "then": { "operation": "boost", - "score": 0.09421862661838531 + "score": 0.10303653031587601 }, "else": { - "operation": "boost", - "score": 0.10281269252300262 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.07695050537586212 + }, + "else": { + "operation": "boost", + "score": 0.04967108368873596 + } } - }, - "else": { - "operation": "boost", - "score": 0.07571689039468765 } }, "else": { "operation": "boost", - "score": 0.10515517741441727 + "score": 0.008729354478418827 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 105661.0, "then": { "operation": "boost", - "score": -0.05149094760417938 + "score": -0.1589706838130951 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.1046968400478363 + "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 + } + } + } }, "else": { - "operation": "boost", - "score": -0.0005072098574601114 + "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 + } } }, "else": { - "operation": "boost", - "score": 0.11403448134660721 + "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.048279404640197754 + }, + "else": { + "operation": "boost", + "score": 0.11976298689842224 + } + }, + "else": { + "operation": "boost", + "score": 0.09361385554075241 + } + }, + "else": { + "operation": "boost", + "score": 0.017162306234240532 + } } } - }, - "else": { - "operation": "boost", - "score": -0.4396163821220398 } } - }, - "else": { + } + } + }, + "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": "NumReferences", - "threshold": 475.0, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10726.5, - "then": { - "operation": "boost", - "score": 0.049706120043992996 - }, - "else": { - "operation": "boost", - "score": -0.02724013663828373 - } + "operation": "boost", + "score": 0.12914535403251648 }, "else": { "operation": "boost", - "score": 0.10298053920269012 + "score": 0.09782148897647858 } + }, + "else": { + "operation": "boost", + "score": -0.11953405290842056 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3495.0, + } + } + }, + "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.0074516115710139275 + "score": 0.14275334775447845 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2022.5, + "threshold": 76763.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.05872407183051109 - }, - "else": { - "operation": "boost", - "score": 0.1025756299495697 - } + "operation": "boost", + "score": 0.0038416674360632896 }, "else": { "operation": "boost", - "score": 0.09139227867126465 + "score": 0.11198437958955765 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 695.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.009513682685792446 - }, - "else": { - "operation": "boost", - "score": 0.11600695550441742 - } + "operation": "boost", + "score": 0.04445425793528557 }, "else": { "operation": "boost", - "score": 0.02372433803975582 + "score": 0.10675735771656036 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1319.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": -0.5269585847854614 + "score": 0.0964057520031929 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 983.0, - "then": { - "operation": "boost", - "score": 0.08667510002851486 - }, - "else": { - "operation": "boost", - "score": -0.07871520519256592 - } + "operation": "boost", + "score": 0.06339897215366364 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74277.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97230.0, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.0222195852547884 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23530.5, "then": { - "operation": "boost", - "score": 0.1165803074836731 + "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.1236967071890831 + "score": 0.07377095520496368 } + }, + "else": { + "operation": "boost", + "score": 0.020768875256180763 } }, "else": { "operation": "boost", - "score": 0.11147240549325943 + "score": -0.06581731885671616 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 907.5, + "threshold": 47907.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 943.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.057795967906713486 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1480.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14797.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30619.5, - "then": { - "operation": "boost", - "score": -0.10683102160692215 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0894828662276268 - }, - "else": { - "operation": "boost", - "score": 0.11162601411342621 - } - } - }, - "else": { - "operation": "boost", - "score": -0.031884077936410904 - } + "operation": "boost", + "score": 0.039082106202840805 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1361.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10786738991737366 + "score": 0.06350294500589371 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1207.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1269.5, - "then": { - "operation": "boost", - "score": -0.10046670585870743 - }, - "else": { - "operation": "boost", - "score": 0.12259870022535324 - } + "operation": "boost", + "score": 0.12430181354284286 }, "else": { "operation": "boost", - "score": -0.1732507348060608 + "score": 0.13060881197452545 } } } - }, - "else": { - "operation": "boost", - "score": 0.10992058366537094 } }, "else": { "operation": "boost", - "score": 0.015915418043732643 + "score": -0.017346076667308807 } }, "else": { - "operation": "boost", - "score": -0.04056035727262497 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0014839792856946588 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5523.5, + "threshold": 30903.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148934.5, + "threshold": 33949.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable" ], "then": { + "operation": "boost", + "score": 0.10769519954919815 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.02922183834016323 + "score": -0.02424033172428608 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.055760953575372696 + "score": 0.07269041985273361 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190994.0, - "then": { - "operation": "boost", - "score": 0.09512417018413544 - }, - "else": { - "operation": "boost", - "score": 0.10590201616287231 - } + "operation": "boost", + "score": -0.14504830539226532 } } - }, - "else": { - "operation": "boost", - "score": -0.03282470628619194 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33671.5, + "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.0621037594974041 + "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, + "then": { + "operation": "boost", + "score": 0.11750476807355881 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -2.308276653289795 + }, + "else": { + "operation": "boost", + "score": 0.1424623727798462 + } + } + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0918041244149208 + "score": 0.05960221216082573 }, "else": { "operation": "boost", - "score": 0.08065609633922577 + "score": 0.09861582517623901 } } - }, - "else": { - "operation": "boost", - "score": -0.010526343248784542 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.027537629008293152 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10529.5, + "threshold": 47131.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28763.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08722221106290817 + "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, + "then": { + "operation": "boost", + "score": 0.17324738204479218 + }, + "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 + } + } + } + }, + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.09457238018512726 + "score": 0.12632593512535095 } }, "else": { - "operation": "boost", - "score": 0.10383592545986176 + "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 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.14797702431678772 } }, "else": { "operation": "boost", - "score": 0.09357935190200806 + "score": -0.03083989769220352 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 500.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.00765174999833107 + "score": 0.002413001609966159 }, "else": { + "operation": "boost", + "score": 0.12975221872329712 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59476.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61155.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 471.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.17190979421138763 + "score": 0.03454019874334335 }, "else": { - "operation": "boost", - "score": 0.10036245733499527 + "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 + } + } } }, "else": { "operation": "boost", - "score": -0.016451096162199974 + "score": -0.09829973429441452 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.016220318153500557 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0006995807052589953 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004857238964177668 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004279916756786406 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, - "then": { - "operation": "boost", - "score": -0.29137954115867615 - }, - "else": { - "operation": "boost", - "score": 0.03602622076869011 - } - }, - "else": { - "operation": "boost", - "score": -0.05029062181711197 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10281773656606674 - }, - "else": { - "operation": "boost", - "score": 0.11692426353693008 - } - }, - "else": { - "operation": "boost", - "score": -0.00011394924513297155 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1072986051440239 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5311.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.023560533300042152 - }, - "else": { - "operation": "boost", - "score": -0.1158953458070755 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05433466285467148 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8838.0, - "then": { - "operation": "boost", - "score": 0.011200233362615108 }, "else": { - "operation": "boost", - "score": 0.11439166963100433 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.1349342167377472 - }, - "else": { - "operation": "boost", - "score": 0.07570941001176834 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13639141619205475 - }, - "else": { - "operation": "boost", - "score": 0.20850570499897003 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.014315792359411716 - } - }, - "else": { - "operation": "boost", - "score": 0.006368970964103937 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10726.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21565.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "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.00885122362524271 + "score": 0.13526079058647156 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11749139428138733 - }, - "else": { - "operation": "boost", - "score": 0.08854670077562332 - } + "operation": "boost", + "score": -0.3058127760887146 } - }, - "else": { - "operation": "boost", - "score": -0.07400337606668472 } - }, - "else": { - "operation": "boost", - "score": 0.07956723868846893 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 342801.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.18529435992240906 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65729.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.09299217909574509 + "score": 0.11406990885734558 }, "else": { - "operation": "boost", - "score": 0.04407026618719101 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6470.5, - "then": { - "operation": "boost", - "score": -0.14798617362976074 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5034.0, - "then": { - "operation": "boost", - "score": 0.10249856114387512 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", @@ -199029,2223 +198879,2305 @@ "threshold": 15.5, "then": { "operation": "boost", - "score": -0.06155036389827728 + "score": 0.0718991756439209 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 872.5, - "then": { - "operation": "boost", - "score": 0.10649733990430832 - }, - "else": { - "operation": "boost", - "score": 0.08957958221435547 - } + "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": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.09451822191476822 + "score": -0.8781079053878784 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 979.5, - "then": { - "operation": "boost", - "score": 0.10185626894235611 - }, - "else": { - "operation": "boost", - "score": -0.06641755998134613 - } + "operation": "boost", + "score": -0.10765403509140015 } } }, "else": { "operation": "boost", - "score": 0.1251853108406067 + "score": -0.11156712472438812 } + } + } + }, + "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.06290196627378464 + "score": -0.28015032410621643 } - }, - "else": { - "operation": "boost", - "score": -0.4353429079055786 } } } + }, + "else": { + "operation": "boost", + "score": -0.0018909018253907561 } - }, - "else": { - "operation": "boost", - "score": 0.014621580950915813 } - }, - "else": { + } + } + }, + "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": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10541858524084091 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14421.5, - "then": { - "operation": "boost", - "score": -0.6338992118835449 - }, - "else": { - "operation": "boost", - "score": 0.10341964662075043 - } - } + "operation": "boost", + "score": -0.13254745304584503 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.04333719238638878 + "score": 0.17482715845108032 }, "else": { "operation": "boost", - "score": -0.060334958136081696 + "score": 0.12576517462730408 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11159.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.0, + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.026139430701732635 + "score": -0.12650705873966217 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1095.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10973634570837021 + "score": 0.036832522600889206 }, "else": { "operation": "boost", - "score": 0.08110271394252777 + "score": 0.12529347836971283 } } }, "else": { "operation": "boost", - "score": -0.10689907521009445 + "score": -0.025454536080360413 } + }, + "else": { + "operation": "boost", + "score": 0.09848613291978836 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 11567.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219281.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12039533257484436 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.22135178744792938 + }, + "else": { + "operation": "boost", + "score": 0.2195654958486557 + } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5929.5, - "then": { - "operation": "boost", - "score": 0.11416389048099518 - }, - "else": { - "operation": "boost", - "score": -0.025264866650104523 - } + "operation": "boost", + "score": -0.10049070417881012 }, "else": { "operation": "boost", - "score": 0.021344583481550217 + "score": 0.5644444227218628 } } }, "else": { "operation": "boost", - "score": -0.013128750026226044 + "score": 0.21226470172405243 } }, "else": { + "operation": "boost", + "score": -0.0504334457218647 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003422457375563681 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11522.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11825.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13537.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71571.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0065261004492640495 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 39142.0, "then": { "operation": "boost", - "score": 0.1079682856798172 + "score": -0.17278237640857697 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.050526831299066544 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.037329863756895065 + "score": -0.006715776864439249 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 220112.0, "then": { "operation": "boost", - "score": 0.04550931975245476 + "score": -0.009778168052434921 }, "else": { - "operation": "boost", - "score": 0.09670384228229523 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.06893700361251831 + }, + "else": { + "operation": "boost", + "score": 0.008154316805303097 + } } } }, "else": { "operation": "boost", - "score": -0.07008667290210724 + "score": 0.005724979564547539 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.043492481112480164 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": -0.10950817912817001 + }, + "else": { + "operation": "boost", + "score": 0.09112371504306793 + } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5523.5, + "threshold": 108163.5, + "then": { + "operation": "boost", + "score": -0.11832188069820404 + }, + "else": { + "operation": "boost", + "score": 0.017004378139972687 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30110.0, "then": { + "operation": "boost", + "score": 0.03785169869661331 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23993.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 24900.5, "then": { "operation": "boost", - "score": -0.1465161144733429 + "score": 0.11557430028915405 }, "else": { "operation": "boost", - "score": 0.09183551371097565 + "score": 0.11121047288179398 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 21064.5, "then": { "operation": "boost", - "score": -0.3324034810066223 + "score": -0.01732534170150757 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.12816748023033142 + "score": 0.1754007190465927 }, "else": { "operation": "boost", - "score": 0.1111770048737526 + "score": 0.07520441710948944 } } } + } + }, + "else": { + "operation": "boost", + "score": -0.17375685274600983 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78205.0, + "then": { + "operation": "boost", + "score": 0.1184781864285469 + }, + "else": { + "operation": "boost", + "score": 0.11815992742776871 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": -0.1427246481180191 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39657.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6407.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11847489327192307 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6962.0, - "then": { - "operation": "boost", - "score": 0.06543207168579102 - }, - "else": { - "operation": "boost", - "score": 0.1281425803899765 - } - } + "operation": "boost", + "score": 0.06445584446191788 }, "else": { "operation": "boost", - "score": -0.03448802977800369 + "score": 0.1104530617594719 } }, "else": { "operation": "boost", - "score": 0.04501877352595329 + "score": -1.5054376125335693 } + }, + "else": { + "operation": "boost", + "score": 0.015466378070414066 } - }, - "else": { - "operation": "boost", - "score": -0.012885569594800472 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10529.5, + "threshold": 24577.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 284274.5, "then": { "operation": "boost", - "score": 0.0680752545595169 + "score": -2.127861499786377 }, "else": { "operation": "boost", - "score": 0.10074491798877716 + "score": 0.06082385033369064 } }, "else": { "operation": "boost", - "score": 0.10451943427324295 + "score": 0.1021115779876709 } }, "else": { - "operation": "boost", - "score": -0.21754220128059387 + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185218.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1545216143131256 + "score": 0.011266162618994713 }, "else": { "operation": "boost", - "score": 0.18419408798217773 + "score": -0.2327219545841217 } - } - }, - "else": { - "operation": "boost", - "score": 0.0915980115532875 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 500.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.00030786838033236563 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 660.0, - "then": { - "operation": "boost", - "score": 0.0554954931139946 }, "else": { "operation": "boost", - "score": 0.1118721142411232 + "score": 0.05479435622692108 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 471.0, + "threshold": 19474.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 62576.5, "then": { "operation": "boost", - "score": -0.1148887574672699 + "score": -0.16406622529029846 }, "else": { - "operation": "boost", - "score": 0.0952429473400116 - } - }, - "else": { - "operation": "boost", - "score": -0.0108862379565835 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.006418648641556501 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3910.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8232.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8448.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.005036403890699148 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, - "then": { - "operation": "boost", - "score": -0.46195539832115173 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 432212.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 47131.5, "then": { - "operation": "boost", - "score": -0.07083892077207565 + "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": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06984751671552658 + "score": -0.04660148173570633 }, "else": { - "operation": "boost", - "score": -0.11350200325250626 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22628.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23488.0, + "then": { + "operation": "boost", + "score": -0.10935736447572708 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.38257917761802673 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09626752883195877 + }, + "else": { + "operation": "boost", + "score": 0.10711049288511276 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.2443690150976181 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05604084953665733 + }, + "else": { + "operation": "boost", + "score": 0.13464674353599548 + } }, "else": { "operation": "boost", - "score": -0.09228876233100891 + "score": 0.02231159433722496 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11318690329790115 - }, - "else": { - "operation": "boost", - "score": 0.1435970664024353 - } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07025540620088577 + "score": -0.10437928885221481 }, "else": { "operation": "boost", - "score": -0.22211124002933502 + "score": 0.0225723497569561 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2358.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2403.0, + "threshold": 44699.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 703998.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2606.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3439.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3537.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.10478033870458603 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.2138904184103012 - }, - "else": { - "operation": "boost", - "score": 0.08521755784749985 - } - } - }, - "else": { - "operation": "boost", - "score": 0.3318611681461334 - } + "operation": "boost", + "score": 0.10684089362621307 }, "else": { "operation": "boost", - "score": -0.047189727425575256 + "score": -0.5246198773384094 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2551.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.11386572569608688 + "score": 0.07484252005815506 }, "else": { "operation": "boost", - "score": 0.05069194361567497 + "score": -0.008401167578995228 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2902.5, - "then": { - "operation": "boost", - "score": 0.011975012719631195 - }, - "else": { - "operation": "boost", - "score": 0.13977593183517456 - } - }, - "else": { - "operation": "boost", - "score": 0.019507501274347305 - } + "operation": "boost", + "score": -0.014123070053756237 } }, "else": { "operation": "boost", - "score": -0.026371672749519348 + "score": -0.12636719644069672 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2398.5, + "threshold": 37670.0, "then": { - "operation": "boost", - "score": 0.10373427718877792 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13660046458244324 + }, + "else": { + "operation": "boost", + "score": 0.12710343301296234 + } }, "else": { - "operation": "boost", - "score": 0.05703537538647652 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11328831315040588 + }, + "else": { + "operation": "boost", + "score": -0.0269465409219265 + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.03900931030511856 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1072.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.029516682028770447 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18894.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27428.0, "then": { - "operation": "boost", - "score": 0.10710115730762482 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.11244754493236542 + "score": 0.005186347756534815 }, "else": { - "operation": "boost", - "score": -0.18095989525318146 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91513.5, + "then": { + "operation": "boost", + "score": 0.01738252490758896 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10477609187364578 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56346.5, + "then": { + "operation": "boost", + "score": -0.5226970911026001 + }, + "else": { + "operation": "boost", + "score": 0.06916764378547668 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03373350575566292 + } } + }, + "else": { + "operation": "boost", + "score": -0.4745120108127594 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1272.0, + "threshold": 16301.5, "then": { "operation": "boost", - "score": 0.09624018520116806 + "score": 0.11142422258853912 }, "else": { "operation": "boost", - "score": -0.04035240411758423 + "score": -0.2845477759838104 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.016619164496660233 }, "else": { "operation": "boost", - "score": 0.10655342787504196 + "score": 0.04415377601981163 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.024331659078598022 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46240.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53585.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "boost", + "score": -0.7462210059165955 + }, + "else": { + "operation": "boost", + "score": 0.03500404208898544 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.24135588109493256 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.07978886365890503 + }, + "else": { + "operation": "boost", + "score": 0.010487895458936691 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08547365665435791 + } + }, + "else": { + "operation": "boost", + "score": -0.7054423093795776 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91513.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 97784.5, "then": { - "operation": "boost", - "score": 0.04031277075409889 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0129838977009058 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 222060.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 318692.5, + "then": { + "operation": "boost", + "score": -0.11083336919546127 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.07187602669000626 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.030194517225027084 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.09744373708963394 + }, + "else": { + "operation": "boost", + "score": 0.08198820799589157 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168251.5, + "then": { + "operation": "boost", + "score": -0.06443629413843155 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120524.0, + "then": { + "operation": "boost", + "score": 0.12222506105899811 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.06256169825792313 + }, + "else": { + "operation": "boost", + "score": -0.13183839619159698 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06834609806537628 + } + } + }, + "else": { + "operation": "boost", + "score": -0.5459851622581482 + } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0860976129770279 + "score": -0.0075022270902991295 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.30812254548072815 + "score": 0.11587534099817276 }, "else": { "operation": "boost", - "score": -0.10214551538228989 + "score": 0.028117720037698746 } } } }, "else": { - "operation": "boost", - "score": -0.08333512395620346 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58696.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.04995829984545708 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06406964361667633 + }, + "else": { + "operation": "boost", + "score": -0.2368883639574051 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16539.5, + "then": { + "operation": "boost", + "score": 0.010978915728628635 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16301.5, + "then": { + "operation": "boost", + "score": 0.1325244903564453 + }, + "else": { + "operation": "boost", + "score": -0.00014906292199157178 + } + } + } } } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13468.5, + "then": { + "operation": "boost", + "score": 0.24134628474712372 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12435.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.09179790318012238 - }, - "else": { - "operation": "boost", - "score": -0.0540766678750515 - } + "operation": "boost", + "score": 0.02345559373497963 }, "else": { "operation": "boost", - "score": -0.26507794857025146 + "score": 0.08723106235265732 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.2819637060165405 - }, - "else": { - "operation": "boost", - "score": 0.10326588898897171 - } + "operation": "boost", + "score": 0.06580660492181778 }, "else": { "operation": "boost", - "score": -0.03364605829119682 + "score": 0.05743874981999397 } } } } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.3018455505371094 + }, + "else": { + "operation": "boost", + "score": -0.19868747889995575 + } + }, + "else": { + "operation": "boost", + "score": -0.24158278107643127 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 588.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { - "operation": "boost", - "score": 0.013034546747803688 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11605.0, + "then": { + "operation": "boost", + "score": -0.14485470950603485 + }, + "else": { + "operation": "boost", + "score": 0.12345612794160843 + } + } }, "else": { + "operation": "boost", + "score": 0.13419046998023987 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 553.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10710617154836655 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.2184760570526123 + }, + "else": { + "operation": "boost", + "score": 0.22432604432106018 + } }, "else": { "operation": "boost", - "score": 0.017699643969535828 + "score": 0.12656909227371216 } + }, + "else": { + "operation": "boost", + "score": 0.11172674596309662 } - }, - "else": { - "operation": "boost", - "score": -0.0002659987367223948 } } } }, "else": { - "operation": "boost", - "score": -0.00044889954733662307 + "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 + } } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11093.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.0024742460809648037 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 11710.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.013344258069992065 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11590.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.016785845160484314 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.11168386042118073 + "score": -0.09092380106449127 }, "else": { - "operation": "boost", - "score": 0.007066663820296526 + "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": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.008831133134663105 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.019299881532788277 + "score": 0.11156976968050003 }, "else": { "operation": "boost", - "score": -0.010495228692889214 + "score": -0.1437915861606598 } } + }, + "else": { + "operation": "boost", + "score": 0.13050450384616852 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11159.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.014841255731880665 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.06658515334129333 - }, - "else": { - "operation": "boost", - "score": -0.08873409777879715 - } - } + "operation": "boost", + "score": -0.0844343975186348 }, "else": { - "operation": "boost", - "score": -0.017110781744122505 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.030281396582722664 - }, - "else": { - "operation": "boost", - "score": -0.005617003422230482 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.11652199178934097 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.0020589688792824745 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14804890751838684 - }, - "else": { - "operation": "boost", - "score": 0.016441667452454567 - } - }, - "else": { - "operation": "boost", - "score": -0.1316658854484558 - } - }, - "else": { - "operation": "boost", - "score": -0.07363168150186539 - } - } - } + "score": 0.03418388217687607 }, "else": { "operation": "boost", - "score": -0.017261886969208717 + "score": 0.12216775119304657 } } + }, + "else": { + "operation": "boost", + "score": -0.029398512095212936 } }, "else": { + "operation": "boost", + "score": 0.07862545549869537 + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10499.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10838.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.05763005465269089 - }, - "else": { - "operation": "boost", - "score": 0.019147638231515884 - } + "operation": "boost", + "score": -0.003041925374418497 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.05028461292386055 - }, - "else": { - "operation": "boost", - "score": -0.08478501439094543 - } + "operation": "boost", + "score": 0.11872357130050659 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.08469337224960327 - }, - "else": { - "operation": "boost", - "score": 0.00712175015360117 - } + "operation": "boost", + "score": 0.07901525497436523 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.024280255660414696 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 154.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28.5, + "threshold": 204.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 65.0, + "threshold": 970.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, - "then": { - "operation": "boost", - "score": 0.049462396651506424 - }, - "else": { - "operation": "boost", - "score": 0.11119306087493896 - } - }, - "else": { - "operation": "boost", - "score": -0.15903086960315704 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11481478065252304 - }, - "else": { - "operation": "boost", - "score": 0.08592327684164047 - } - } - }, - "else": { - "operation": "boost", - "score": -0.16053442656993866 - } + "operation": "boost", + "score": -0.0840868428349495 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61.5, + "threshold": 564.0, "then": { "operation": "boost", - "score": 0.10902635008096695 + "score": 0.12427526712417603 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": -0.12930484116077423 - }, - "else": { - "operation": "boost", - "score": 0.10633058845996857 - } - }, - "else": { - "operation": "boost", - "score": -0.017705105245113373 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.08776892721652985 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": -0.12719941139221191 - }, - "else": { - "operation": "boost", - "score": 0.14360778033733368 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.17126215994358063 - } - }, - "else": { - "operation": "boost", - "score": -0.04047324135899544 - } + "operation": "boost", + "score": 0.08803922683000565 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 425.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 552.0, - "then": { - "operation": "boost", - "score": 0.04507388174533844 - }, - "else": { - "operation": "boost", - "score": 0.10560883581638336 - } + "operation": "boost", + "score": 0.09803783893585205 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.06632666289806366 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10778941214084625 - }, - "else": { - "operation": "boost", - "score": -0.20551161468029022 - } - } + "operation": "boost", + "score": 0.11402322351932526 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1854.0, - "then": { - "operation": "boost", - "score": 0.05340993031859398 - }, - "else": { - "operation": "boost", - "score": -0.04234430566430092 - } + "operation": "boost", + "score": -0.02531658113002777 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 180.5, "then": { "operation": "boost", - "score": -0.07330624759197235 + "score": 0.1226508840918541 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0969727635383606 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.04054894298315048 - }, - "else": { - "operation": "boost", - "score": 0.11630100756883621 - } - } + "operation": "boost", + "score": 0.05956302583217621 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.12240402400493622 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6203.5, + "then": { + "operation": "boost", + "score": 0.18802718818187714 + }, + "else": { + "operation": "boost", + "score": 0.007561078295111656 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 163.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 568.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 740.5, "then": { "operation": "boost", - "score": -0.11923295259475708 + "score": 0.04245030879974365 }, "else": { "operation": "boost", - "score": 0.16721244156360626 + "score": 0.12673412263393402 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.12379349768161774 - }, - "else": { - "operation": "boost", - "score": 0.10986150801181793 - } - }, - "else": { - "operation": "boost", - "score": -0.07704382389783859 - } + "operation": "boost", + "score": -0.013077364303171635 } }, "else": { "operation": "boost", - "score": -0.0646238774061203 + "score": 0.11889012157917023 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 178.5, "then": { "operation": "boost", - "score": 0.11861936748027802 + "score": 0.0447038859128952 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.45153310894966125 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0995500385761261 + }, + "else": { + "operation": "boost", + "score": 0.13421562314033508 + } }, "else": { - "operation": "boost", - "score": 0.07381360977888107 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 177.0, + "then": { + "operation": "boost", + "score": 0.12008485198020935 + }, + "else": { + "operation": "boost", + "score": 0.09188767522573471 + } } } } }, "else": { - "operation": "boost", - "score": -0.004229751881211996 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 116.5, + "threshold": 64.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 752.5, + "threshold": 75.5, "then": { "operation": "boost", - "score": -0.1714569479227066 + "score": 0.06782951205968857 }, "else": { - "operation": "boost", - "score": 0.11714361608028412 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "boost", + "score": 0.1259302794933319 + }, + "else": { + "operation": "boost", + "score": 0.10959312319755554 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.017307115718722343 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.10862932354211807 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.5343223214149475 + }, + "else": { + "operation": "boost", + "score": 0.138191357254982 + } + }, + "else": { + "operation": "boost", + "score": 0.06541800498962402 + } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 12.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 1.1893901824951172 + "score": 0.13397227227687836 }, "else": { "operation": "boost", - "score": 0.11063363403081894 + "score": 0.9363875985145569 } }, "else": { - "operation": "boost", - "score": -0.5776346921920776 + "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 + } } }, "else": { "operation": "boost", - "score": 0.11238817870616913 + "score": -0.19220420718193054 } } - }, - "else": { - "operation": "boost", - "score": 0.03884301334619522 } } }, "else": { - "operation": "boost", - "score": -0.033398713916540146 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05096711590886116 + }, + "else": { + "operation": "boost", + "score": -0.005714272148907185 + } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + } + } + }, + "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" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.016109202057123184 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.10589995980262756 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.0, - "then": { - "operation": "boost", - "score": 0.1308513730764389 - }, - "else": { - "operation": "boost", - "score": 0.07215234637260437 - } - } - }, - "else": { - "operation": "boost", - "score": -0.021682336926460266 - } + "operation": "boost", + "score": 0.015078745782375336 + }, + "else": { + "operation": "boost", + "score": -0.019168823957443237 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": -0.13109032809734344 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 34.5, "then": { "operation": "boost", - "score": 0.015284707769751549 + "score": 0.11790043115615845 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.34506165981292725 - }, - "else": { - "operation": "boost", - "score": 0.10164035111665726 - } + "operation": "boost", + "score": -0.00386019516736269 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.026985757052898407 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.007703064940869808 + "score": 0.03498181328177452 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 932.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.011022012680768967 - }, - "else": { - "operation": "boost", - "score": 0.09720714390277863 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.08565415441989899 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.008192447945475578 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.040671806782484055 - }, - "else": { - "operation": "boost", - "score": 0.08155263960361481 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.20138245820999146 + "score": 0.12222080677747726 }, "else": { "operation": "boost", - "score": 0.05786397308111191 + "score": 0.11644511669874191 } }, - "else": { - "operation": "boost", - "score": -0.017701325938105583 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07615672051906586 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.014835966750979424 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.017277568578720093 + "score": 0.0 }, "else": { "operation": "boost", - "score": 0.0897487998008728 + "score": 0.13766540586948395 } }, "else": { "operation": "boost", - "score": 0.0032347904052585363 + "score": -0.1681215912103653 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.004071736242622137 }, "else": { "operation": "boost", - "score": -0.35926973819732666 + "score": 0.08929223567247391 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.032597437500953674 }, "else": { "operation": "boost", - "score": 0.13534784317016602 + "score": 0.003134980332106352 } - }, - "else": { - "operation": "boost", - "score": -0.26542770862579346 } }, "else": { "operation": "boost", - "score": -0.09625058621168137 + "score": -0.04557258263230324 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Constructor", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 569.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15475.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86511.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.10960734635591507 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107411.0, + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.008032547309994698 + "score": 0.10898584127426147 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97095.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.08932702988386154 - }, - "else": { - "operation": "boost", - "score": 0.1926080584526062 - } + "operation": "boost", + "score": 0.031099602580070496 }, "else": { "operation": "boost", - "score": 0.05264394357800484 + "score": 0.10456226021051407 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68529.5, - "then": { - "operation": "boost", - "score": -0.22343361377716064 - }, - "else": { - "operation": "boost", - "score": -0.015166154131293297 - } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12576.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "boost", - "score": 0.0833066925406456 + "score": 0.10320616513490677 }, "else": { + "operation": "boost", + "score": 0.033611960709095 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10008.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.08509902656078339 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10455542802810669 - }, - "else": { - "operation": "boost", - "score": -0.11697055399417877 - } - }, - "else": { - "operation": "boost", - "score": -0.04704689607024193 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6228.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.026317158713936806 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.5, - "then": { - "operation": "boost", - "score": 0.10412044823169708 - }, - "else": { - "operation": "boost", - "score": 0.14601384103298187 - } + "operation": "boost", + "score": 0.012438582256436348 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "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": 17.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09935988485813141 + "score": -0.4671109616756439 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11383534967899323 - }, - "else": { - "operation": "boost", - "score": 0.10409925132989883 - } - }, - "else": { - "operation": "boost", - "score": 0.08270139247179031 - } + "operation": "boost", + "score": -0.16148824989795685 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.41158485412597656 + "score": 0.10629996657371521 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.11254986375570297 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.15423986315727234 + }, + "else": { + "operation": "boost", + "score": 0.12228699028491974 + } }, "else": { "operation": "boost", - "score": 0.1183534488081932 + "score": 0.07249993830919266 } } } @@ -201253,937 +201185,341 @@ }, "else": { "operation": "boost", - "score": -0.12253343313932419 + "score": -0.0038994878996163607 } } + }, + "else": { + "operation": "boost", + "score": 0.020829053595662117 } }, "else": { "operation": "boost", - "score": 0.016741616651415825 + "score": 0.003417085623368621 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05252506583929062 + } + }, + "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.1142367497086525 + }, + "else": { + "operation": "boost", + "score": 0.11479201167821884 } + }, + "else": { + "operation": "boost", + "score": 0.04999323561787605 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.06582196801900864 + }, + "else": { + "operation": "boost", + "score": 0.007744315080344677 } } } - }, - "else": { - "operation": "boost", - "score": 0.006000041496008635 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01293785311281681 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31592.0, - "then": { - "operation": "boost", - "score": -0.1832137107849121 - }, - "else": { - "operation": "boost", - "score": -0.004262272268533707 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00038509833393618464 - } - }, - { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.001861033495515585 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.13133174180984497 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11825940012931824 - }, - "else": { - "operation": "boost", - "score": -0.12747766077518463 } }, "else": { "operation": "boost", - "score": 0.040278464555740356 + "score": -0.0048340498469769955 } } }, "else": { - "operation": "boost", - "score": -0.0007366897189058363 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.0003549506946001202 + "score": 0.008343472145497799 }, "else": { - "operation": "boost", - "score": -0.12739171087741852 - } - }, - "else": { - "operation": "boost", - "score": -0.019272448495030403 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02180730551481247 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 375.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 523.5, "then": { "operation": "boost", - "score": 0.08521690964698792 + "score": 0.009981204755604267 }, "else": { - "operation": "boost", - "score": 0.11274216324090958 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 519.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.12992984056472778 - }, - "else": { - "operation": "boost", - "score": 0.05233369767665863 - } + "operation": "boost", + "score": 0.12258698791265488 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 504.5, "then": { - "operation": "boost", - "score": 0.12600955367088318 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 509.0, "then": { "operation": "boost", - "score": 0.017736589536070824 + "score": -0.11774814128875732 }, "else": { "operation": "boost", - "score": 0.11446299403905869 + "score": 0.10811144858598709 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06746076047420502 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12824556231498718 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.11670943349599838 + "score": 0.08533699065446854 }, "else": { - "operation": "boost", - "score": 0.1385016292333603 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 381.5, + "then": { + "operation": "boost", + "score": 0.05274845287203789 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13742434978485107 + }, + "else": { + "operation": "boost", + "score": 0.08631989359855652 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.08006307482719421 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.06119576841592789 + "score": 0.008535105735063553 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.14107182621955872 + "score": -0.014227651059627533 }, "else": { "operation": "boost", - "score": 0.11911513656377792 + "score": -0.14970561861991882 } - }, - "else": { - "operation": "boost", - "score": -0.1211325153708458 } } }, "else": { "operation": "boost", - "score": 0.09985263645648956 + "score": 0.01690100133419037 } - } - }, - "else": { - "operation": "boost", - "score": 0.029176848009228706 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.029484493657946587 - }, - "else": { - "operation": "boost", - "score": -0.01632976345717907 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "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": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.0022628442384302616 + "score": 0.1269710659980774 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, - "then": { - "operation": "boost", - "score": 0.11133922636508942 - }, - "else": { - "operation": "boost", - "score": 0.07943283766508102 - } + "operation": "boost", + "score": 0.0878247618675232 } }, "else": { - "operation": "boost", - "score": 0.030836276710033417 - } - }, - "else": { - "operation": "boost", - "score": 0.0078820725902915 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3160.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3961.5, - "then": { - "operation": "boost", - "score": 0.06902652233839035 - }, - "else": { - "operation": "boost", - "score": 0.12239255756139755 - } - }, - "else": { - "operation": "boost", - "score": 0.05281456932425499 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0692843347787857 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10176632553339005 - }, - "else": { - "operation": "boost", - "score": 0.21547271311283112 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 293.0, - "then": { - "operation": "boost", - "score": 0.11553040146827698 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10098669677972794 - }, - "else": { - "operation": "boost", - "score": 0.1287727653980255 - } - }, - "else": { - "operation": "boost", - "score": -0.21794012188911438 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09356358647346497 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, - "then": { - "operation": "boost", - "score": 0.11359097063541412 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.20199984312057495 - }, - "else": { - "operation": "boost", - "score": 0.9871413707733154 - } - } - } + "operation": "boost", + "score": 0.10391316562891006 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.8845831155776978 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.07126850634813309 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.1336575746536255 - }, - "else": { - "operation": "boost", - "score": 0.40389513969421387 - } - }, - "else": { - "operation": "boost", - "score": 0.45151010155677795 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.24371890723705292 - }, - "else": { - "operation": "boost", - "score": 0.13939809799194336 - } - }, - "else": { - "operation": "boost", - "score": -0.1577386111021042 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.0, - "then": { - "operation": "boost", - "score": 0.36457788944244385 - }, - "else": { - "operation": "boost", - "score": -0.10806301236152649 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11652014404535294 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08338086307048798 - } - } + "operation": "boost", + "score": 0.024049928411841393 } - }, - "else": { - "operation": "boost", - "score": 0.05007427930831909 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression", - "CCC_Symbol" + "Type" ], "then": { + "operation": "boost", + "score": 0.04305731877684593 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104.5, - "then": { - "operation": "boost", - "score": 0.12018662691116333 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, - "then": { - "operation": "boost", - "score": 0.1331966519355774 - }, - "else": { - "operation": "boost", - "score": 0.12999965250492096 - } - }, - "else": { - "operation": "boost", - "score": -0.10136323422193527 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0245240218937397 - } - }, - "else": { - "operation": "boost", - "score": 0.15560293197631836 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.0, - "then": { - "operation": "boost", - "score": 0.05728994682431221 - }, - "else": { - "operation": "boost", - "score": 0.15002046525478363 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007627913262695074 - }, - "else": { - "operation": "boost", - "score": 0.06993843615055084 - } - } + "operation": "boost", + "score": 0.06326833367347717 }, "else": { "operation": "boost", - "score": 0.03332092985510826 + "score": -0.07269974052906036 } - }, - "else": { - "operation": "boost", - "score": 0.004645098932087421 } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.046047888696193695 + }, + "else": { + "operation": "boost", + "score": 0.023332640528678894 + } } }, "else": { - "operation": "boost", - "score": 0.024358009919524193 - } - }, - "else": { - "operation": "boost", - "score": -0.01148931309580803 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.1435992568731308 - }, - "else": { - "operation": "boost", - "score": -0.19066236913204193 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01291848998516798 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.009276919066905975 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05303996056318283 + "score": -0.06932412832975388 }, "else": { "operation": "boost", - "score": 0.03878851234912872 + "score": -0.01312321051955223 } - }, - "else": { - "operation": "boost", - "score": 0.029466453939676285 } - } - }, - "else": { - "operation": "boost", - "score": 0.015597425401210785 - } - }, - "else": { - "operation": "boost", - "score": -0.006773795932531357 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1289246678352356 - }, - "else": { - "operation": "boost", - "score": 0.10714182257652283 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01970922015607357 }, "else": { "operation": "if_member", @@ -202191,2134 +201527,2525 @@ "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Type" + "CCC_Symbol", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.12197471410036087 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.11416097730398178 + "score": 0.023978229612112045 } }, "else": { - "operation": "boost", - "score": -0.1367906779050827 + "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.0536654032766819 + }, + "else": { + "operation": "boost", + "score": -0.024260535836219788 + } } }, - "else": { - "operation": "boost", - "score": -0.10914524644613266 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.030473386868834496 - }, - "else": { - "operation": "boost", - "score": -0.04070056229829788 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0067978245206177235 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02383255772292614 - }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10978830605745316 + "score": 0.0038625579327344894 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.18990421295166016 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07238683849573135 + }, + "else": { + "operation": "boost", + "score": 0.08791683614253998 + } }, "else": { "operation": "boost", - "score": 0.11176169663667679 + "score": 0.017789077013731003 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10787959396839142 - }, - "else": { - "operation": "boost", - "score": 0.02769903466105461 - } - }, - "else": { - "operation": "boost", - "score": 0.014165676198899746 - } } } - }, - "else": { - "operation": "boost", - "score": -0.04384353384375572 } } } }, + "else": { + "operation": "boost", + "score": -0.005552796181291342 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.0020418744534254074 + }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName" + "FileScope" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.09688618034124374 + "score": -0.07525356858968735 }, "else": { - "operation": "boost", - "score": 0.026315782219171524 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91957.5, + "then": { + "operation": "boost", + "score": 0.12205256521701813 + }, + "else": { + "operation": "boost", + "score": 0.04392160102725029 + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 174254.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.02868509292602539 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, - "then": { - "operation": "boost", - "score": -0.18799692392349243 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73296.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "boost", - "score": 0.01452004723250866 - }, - "else": { - "operation": "boost", - "score": 0.13432110846042633 - } - }, - "else": { - "operation": "boost", - "score": 0.08039732277393341 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59076.5, - "then": { - "operation": "boost", - "score": -0.29338228702545166 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.13317173719406128 - }, - "else": { - "operation": "boost", - "score": 0.10539901256561279 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1175955981016159 - } - }, - "else": { - "operation": "boost", - "score": 0.06221693009138107 - } - } - } + "operation": "boost", + "score": -0.32880133390426636 }, "else": { "operation": "boost", - "score": 0.08961281180381775 + "score": 0.11619853973388672 } + }, + "else": { + "operation": "boost", + "score": 0.23249773681163788 } }, "else": { "operation": "boost", - "score": 0.08185603469610214 + "score": -0.01749468222260475 } }, "else": { "operation": "boost", - "score": -0.007181114517152309 + "score": 0.05863901227712631 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "boost", + "score": -0.04348129406571388 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70036.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.019044851884245872 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.0037166192196309566 + "score": 0.0786212906241417 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10393552482128143 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0339980348944664 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.024035733193159103 - }, - "else": { - "operation": "boost", - "score": 0.07845325767993927 - } - } - } + "operation": "boost", + "score": 0.09844758361577988 } - }, - "else": { - "operation": "boost", - "score": 0.03363978862762451 } }, "else": { "operation": "boost", - "score": -0.029980013146996498 + "score": -0.0016305531607940793 } - }, - "else": { - "operation": "boost", - "score": 0.01340734027326107 } }, - "else": { - "operation": "boost", - "score": -0.009571226313710213 - } - }, - "else": { - "operation": "boost", - "score": -0.015205162577331066 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0080271540209651 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09105714410543442 - }, - "else": { - "operation": "boost", - "score": -0.059553150087594986 - } - }, - "else": { - "operation": "boost", - "score": -0.055615946650505066 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.029051726683974266 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68345.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10945163667201996 + "score": 0.0432048961520195 }, "else": { "operation": "boost", - "score": -0.0553695447742939 + "score": -0.11403415352106094 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47293.0, + "threshold": 45000.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 291408.0, + "threshold": 71608.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 98559.5, "then": { "operation": "boost", - "score": 0.0024278981145471334 + "score": -1.833134651184082 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "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, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 62267.0, "then": { "operation": "boost", - "score": 0.024319041520357132 + "score": -0.06057348847389221 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10364139080047607 + "score": 0.10611958801746368 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13637864589691162 + "score": 0.10794047266244888 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.09275941550731659 - }, - "else": { - "operation": "boost", - "score": 0.03392545506358147 - } + "operation": "boost", + "score": 0.1132163479924202 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "boost", + "score": 1.1408016681671143 + }, + "else": { + "operation": "boost", + "score": 0.17940424382686615 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04237862676382065 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.1806473582983017 + "score": 0.02703837864100933 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12006799131631851 - }, - "else": { - "operation": "boost", - "score": 0.032702747732400894 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04142438992857933 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.23639139533042908 - }, - "else": { - "operation": "boost", - "score": 0.11056297272443771 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.1076340600848198 - }, - "else": { - "operation": "boost", - "score": -0.025890666991472244 - } - }, - "else": { - "operation": "boost", - "score": 0.08387282490730286 - } - }, - "else": { - "operation": "boost", - "score": 0.014517185278236866 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0157312024384737 + "operation": "boost", + "score": 0.12613674998283386 } } + }, + "else": { + "operation": "boost", + "score": 0.030245177447795868 } - }, - "else": { - "operation": "boost", - "score": -0.010416342876851559 } + }, + "else": { + "operation": "boost", + "score": -0.013157675042748451 } }, "else": { "operation": "boost", - "score": -0.09033134579658508 + "score": -0.15974360704421997 } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + } + }, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.05006881430745125 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.050993964076042175 - }, - "else": { - "operation": "boost", - "score": 0.13144515454769135 - } - }, - "else": { - "operation": "boost", - "score": -0.14350707828998566 - } - } + "operation": "boost", + "score": 0.004162628669291735 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 236336.5, + "threshold": 71306.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.08343096077442169 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { - "operation": "boost", - "score": -0.12272916734218597 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02821185626089573 + "score": 0.044267598539590836 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.0, + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.10060647130012512 + "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": "SemaSaysInScope", - "threshold": 0.5, + "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 + } + }, + "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": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.09339497983455658 + "score": -0.08150537312030792 }, "else": { - "operation": "boost", - "score": 0.0319184847176075 + "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_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 108013.0, "then": { "operation": "boost", - "score": -0.42966875433921814 + "score": -0.0013569432776421309 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.12092392146587372 + "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.08439686894416809 + "score": 0.0710136741399765 } } }, "else": { "operation": "boost", - "score": -0.007899927906692028 + "score": 0.0031390362419188023 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 120524.0, "then": { "operation": "boost", - "score": 0.09267675131559372 + "score": 0.04233735054731369 }, "else": { - "operation": "boost", - "score": 0.058324672281742096 + "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.04015043377876282 + "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.07358673214912415 + "score": -0.014267508871853352 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232885.0, - "then": { - "operation": "boost", - "score": -0.05762095004320145 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_SymbolOrNewName" ], "then": { - "operation": "boost", - "score": 0.08266633749008179 - }, - "else": { - "operation": "boost", - "score": -0.10393685102462769 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "boost", - "score": 0.0032662032172083855 + "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": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72744.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.014922832138836384 + "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": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03910726308822632 + "score": -0.011329744942486286 }, "else": { - "operation": "boost", - "score": 0.05076199397444725 + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.059067483991384506 + "score": -0.6243160367012024 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.003910153638571501 + "score": -0.07977654784917831 }, "else": { "operation": "boost", - "score": 0.08657137304544449 + "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 } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + } + }, + "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.008123721927404404 + "score": 0.0411396287381649 } + }, + "else": { + "operation": "boost", + "score": -0.09177832305431366 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62487.5, + "then": { + "operation": "boost", + "score": -0.4237585663795471 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01616464927792549 + }, + "else": { + "operation": "boost", + "score": 0.10824767500162125 + } + }, + "else": { + "operation": "boost", + "score": 0.011665822938084602 } } } + }, + "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": "boost", - "score": -0.005601499229669571 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.06570083647966385 + "score": 0.09972691535949707 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0560017004609108 - }, - "else": { - "operation": "boost", - "score": 0.10096477717161179 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.058761339634656906 + "score": 0.08430939167737961 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10474564135074615 + "score": 0.11023303866386414 }, "else": { "operation": "boost", - "score": 0.05198384448885918 + "score": 0.0941065177321434 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, + "then": { + "operation": "boost", + "score": 0.09606412798166275 }, "else": { "operation": "boost", - "score": 0.026996297761797905 + "score": -0.40740928053855896 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1393503099679947 + }, + "else": { + "operation": "boost", + "score": -0.05168524757027626 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62267.0, "then": { + "operation": "boost", + "score": -0.05592012777924538 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0034589171409606934 + "score": 0.09678038954734802 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.14592526853084564 - }, - "else": { - "operation": "boost", - "score": -0.19173231720924377 - } - }, - "else": { - "operation": "boost", - "score": -0.07713180780410767 - } + "operation": "boost", + "score": 0.10335340350866318 }, "else": { "operation": "boost", - "score": -0.005049298517405987 + "score": 0.10632473975419998 } } + } + }, + "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": "boost", + "score": 0.16518326103687286 }, "else": { "operation": "boost", - "score": 0.00821500364691019 + "score": -0.18194009363651276 } } + }, + "else": { + "operation": "boost", + "score": 0.02217736281454563 } } }, + "else": { + "operation": "boost", + "score": -0.06113900989294052 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.00731664290651679 + }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" + "CCC_ClassStructUnion" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55801.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263945.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 316302.0, "then": { + "operation": "boost", + "score": -0.11393717676401138 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 91957.5, + "then": { + "operation": "boost", + "score": 0.12031954526901245 + }, + "else": { + "operation": "boost", + "score": 0.040771484375 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273295.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.021089013665914536 + "score": 0.01530306227505207 }, "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": 1.5, - "then": { - "operation": "boost", - "score": 0.07643426954746246 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1026725322008133 - }, - "else": { - "operation": "boost", - "score": 0.08080899715423584 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.09882812947034836 - }, - "else": { - "operation": "boost", - "score": 0.03918477147817612 - } - }, - "else": { - "operation": "boost", - "score": 0.08157449960708618 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00789215974509716 - } + "operation": "boost", + "score": 0.09522832185029984 } }, "else": { - "operation": "boost", - "score": 0.009005522355437279 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12497060745954514 + }, + "else": { + "operation": "boost", + "score": 0.10590899735689163 + } } }, "else": { + "operation": "boost", + "score": -0.03399860858917236 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "boost", + "score": 0.012191697023808956 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10003933310508728 + }, + "else": { + "operation": "boost", + "score": 0.09028798341751099 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0023497026413679123 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 10.0, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 98.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.06702594459056854 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110487.0, + "threshold": 425.0, "then": { "operation": "boost", - "score": -0.07221165299415588 + "score": 0.1029631569981575 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12030591815710068 - }, - "else": { - "operation": "boost", - "score": 0.12323503196239471 - } + "operation": "boost", + "score": -0.13364830613136292 } - }, - "else": { - "operation": "boost", - "score": -0.20694196224212646 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.0721479058265686 + "score": 0.12181181460618973 }, "else": { "operation": "boost", - "score": -0.028217893093824387 + "score": 0.16301122307777405 } } }, "else": { "operation": "boost", - "score": 0.01139440294355154 + "score": -0.028274888172745705 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45940.0, + "threshold": 72.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "NumReferences", + "threshold": 11146.5, "then": { "operation": "boost", - "score": 0.10637546330690384 + "score": -0.08292075991630554 }, "else": { "operation": "boost", - "score": -0.3406665623188019 + "score": -0.005429810844361782 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47355.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53705.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.561001181602478 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.07315828651189804 - }, - "else": { - "operation": "boost", - "score": -0.1638246774673462 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05151568353176117 - } - }, - "else": { - "operation": "boost", - "score": 0.08502732217311859 - } + "operation": "boost", + "score": -0.21410049498081207 }, "else": { "operation": "boost", - "score": 0.10313194990158081 + "score": 0.11420705914497375 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11420809477567673 - }, - "else": { - "operation": "boost", - "score": 0.09437566250562668 - } - }, - "else": { - "operation": "boost", - "score": 0.1209525465965271 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.0, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.15038736164569855 + "score": 0.014787736348807812 }, "else": { - "operation": "boost", - "score": 0.1305008977651596 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.2703128159046173 + "score": 0.13397173583507538 } }, "else": { - "operation": "boost", - "score": -0.15650255978107452 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.23236434161663055 + "score": 0.0034657653886824846 }, "else": { - "operation": "boost", - "score": 0.1189349889755249 + "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 + } } }, "else": { - "operation": "boost", - "score": 0.1750495731830597 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.23501840233802795 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07524333149194717 + }, + "else": { + "operation": "boost", + "score": 0.12189557403326035 + } + } } }, "else": { - "operation": "boost", - "score": -0.0034737938549369574 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.13845902681350708 + }, + "else": { + "operation": "boost", + "score": -0.03434215486049652 + } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1488642543554306 - }, - "else": { - "operation": "boost", - "score": -0.04309745877981186 - } + "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": "NumReferences", - "threshold": 44693.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12568651139736176 + "score": 0.04588301479816437 }, "else": { "operation": "boost", - "score": 0.12140384316444397 + "score": 0.12506750226020813 } }, "else": { - "operation": "boost", - "score": 0.10962435603141785 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.1428592950105667 + }, + "else": { + "operation": "boost", + "score": 0.03832906112074852 + } } }, "else": { - "operation": "boost", - "score": -0.16556397080421448 + "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 + } } } - }, - "else": { - "operation": "boost", - "score": 0.09516573697328568 } - }, - "else": { - "operation": "boost", - "score": -0.13453680276870728 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.005366174969822168 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.19400209188461304 + "score": 0.04868816211819649 }, "else": { - "operation": "boost", - "score": -0.028262246400117874 - } - } - } - } - }, - "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": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.3917343020439148 + "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.09699838608503342 + "score": -0.16202597320079803 } - }, - "else": { - "operation": "boost", - "score": 0.10622501373291016 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12549518048763275 - }, - "else": { - "operation": "boost", - "score": 0.1169724389910698 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 727.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.07054756581783295 + "score": -0.17165932059288025 }, "else": { + "operation": "boost", + "score": -0.29857102036476135 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.2814561724662781 + "score": -0.3675500452518463 }, "else": { "operation": "boost", - "score": 0.12074518948793411 + "score": -0.059553228318691254 } + }, + "else": { + "operation": "boost", + "score": 0.03855625540018082 } - }, - "else": { + } + } + } + }, + "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": "FileProximityDistance", - "threshold": 17.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.24163252115249634 + "score": -0.0102829085662961 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15277668833732605 + "score": -0.020116442814469337 }, "else": { "operation": "boost", - "score": 0.09532569348812103 + "score": 0.22639475762844086 } } + }, + "else": { + "operation": "boost", + "score": -0.024419859051704407 } + }, + "else": { + "operation": "boost", + "score": 0.019410336390137672 } }, "else": { "operation": "boost", - "score": -0.13994093239307404 + "score": -0.15608975291252136 } } }, "else": { - "operation": "boost", - "score": -5.189086004975252e-05 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41526.0, "then": { "operation": "boost", - "score": 0.01310704555362463 + "score": -0.5362163186073303 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05932718142867088 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62267.0, - "then": { - "operation": "boost", - "score": 0.03881630674004555 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08772554248571396 - }, - "else": { - "operation": "boost", - "score": 0.11863735318183899 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71611.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10480821877717972 - }, - "else": { - "operation": "boost", - "score": 0.12483929842710495 - } - }, - "else": { - "operation": "boost", - "score": 0.1245773658156395 - } - } - } + "operation": "boost", + "score": -0.0002953008806798607 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 591.5, "then": { - "operation": "boost", - "score": -0.0036440726835280657 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 1398.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5312.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 6390.5, "then": { "operation": "boost", - "score": 0.06885266304016113 + "score": 0.034789856523275375 }, "else": { "operation": "boost", - "score": 0.1277714967727661 + "score": 0.07702048122882843 } }, "else": { "operation": "boost", - "score": -0.0021051657386124134 + "score": 0.0175852719694376 } }, "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": 1.5, - "then": { - "operation": "boost", - "score": 0.06796390563249588 - }, - "else": { - "operation": "boost", - "score": 0.10101756453514099 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.016016865149140358 - }, - "else": { - "operation": "boost", - "score": 0.0789913609623909 - } - } - }, - "else": { - "operation": "boost", - "score": 0.016030652448534966 - } + "operation": "boost", + "score": 0.0013766457559540868 } }, "else": { "operation": "boost", - "score": 0.06788676977157593 + "score": -0.03488094359636307 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.11253779381513596 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 581.0, + "then": { + "operation": "boost", + "score": 0.11537221819162369 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.2608470320701599 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73296.0, + "threshold": 544.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.024576149880886078 + "score": 0.08267518877983093 }, "else": { "operation": "boost", - "score": 0.12735232710838318 + "score": 0.1262802928686142 } }, "else": { "operation": "boost", - "score": 0.07807795703411102 + "score": -0.11500470340251923 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55310.5, + "threshold": 237.5, "then": { + "operation": "boost", + "score": 0.008286927826702595 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 59076.5, + "threshold": 231.0, "then": { - "operation": "boost", - "score": -0.16918165981769562 + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.13285686075687408 - }, - "else": { - "operation": "boost", - "score": 0.10323775559663773 - } + "operation": "boost", + "score": 0.00534998020157218 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.2398131638765335 - }, - "else": { - "operation": "boost", - "score": -0.18002186715602875 - } + "operation": "boost", + "score": 0.08049249649047852 } } - }, - "else": { - "operation": "boost", - "score": -0.07747137546539307 } } + }, + "else": { + "operation": "boost", + "score": 0.015061372891068459 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09504320472478867 - }, - "else": { - "operation": "boost", - "score": 0.10517525672912598 - } - }, - "else": { - "operation": "boost", - "score": 0.04725424572825432 - } + "operation": "boost", + "score": -0.009978316724300385 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 129900.0, + "threshold": 80.5, "then": { - "operation": "boost", - "score": 0.10329785197973251 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.17400725185871124 + "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": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 150.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 70036.5, + "threshold": 270.5, "then": { + "operation": "boost", + "score": 0.08627977967262268 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 256.5, "then": { "operation": "boost", - "score": 0.034011971205472946 + "score": 0.133170023560524 }, "else": { - "operation": "boost", - "score": 0.10790858417749405 - } - }, - "else": { - "operation": "boost", - "score": -0.07234317064285278 - } - }, - "else": { - "operation": "if_greater", + "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": 3.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0779634341597557 + "score": 0.12174694985151291 }, "else": { "operation": "boost", - "score": -0.40454408526420593 + "score": 0.12254425883293152 } } + }, + "else": { + "operation": "boost", + "score": 0.10540393739938736 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 359.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.021024974063038826 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61684.5, - "then": { - "operation": "boost", - "score": -1.1036194562911987 - }, - "else": { - "operation": "boost", - "score": 0.04631119966506958 - } - } + "operation": "boost", + "score": 0.08212631940841675 }, "else": { "operation": "boost", - "score": 0.017673293128609657 + "score": -0.30163875222206116 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12498083710670471 - }, - "else": { - "operation": "boost", - "score": 0.2656248211860657 - } + "operation": "boost", + "score": 0.019671443849802017 } } }, "else": { - "operation": "boost", - "score": -0.0008100079721771181 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15205015242099762 + }, + "else": { + "operation": "boost", + "score": 0.04592522978782654 + } } } } @@ -204326,1361 +204053,1167 @@ }, "else": { "operation": "boost", - "score": -0.010555153712630272 + "score": 0.009544510394334793 } } } }, "else": { "operation": "boost", - "score": -0.0047194561921060085 + "score": -0.00035648667835630476 } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.42586684226989746 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.18405669927597046 + "score": 0.060640085488557816 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09475978463888168 + "score": 0.07728581875562668 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11758515983819962 - }, - "else": { - "operation": "boost", - "score": 0.12337460368871689 - } + "operation": "boost", + "score": 0.1155630424618721 } } }, - "else": { - "operation": "boost", - "score": 0.11465387046337128 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.13141758739948273 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.22564759850502014 + "score": -0.1565522700548172 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13900627195835114 + "score": 0.125675767660141 }, "else": { "operation": "boost", - "score": 0.10656696557998657 + "score": -0.12422781437635422 } } } + }, + "else": { + "operation": "boost", + "score": -0.014871638268232346 } + }, + "else": { + "operation": "boost", + "score": 0.0037341422867029905 } }, "else": { - "operation": "boost", - "score": -0.12169534713029861 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "boost", - "score": 0.00019900494953617454 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_member", "feature": "Scope", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.013988341204822063 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 316302.0, "then": { + "operation": "boost", + "score": -0.11152750253677368 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 91957.5, "then": { "operation": "boost", - "score": 0.00872087199240923 + "score": 0.12022635340690613 }, "else": { "operation": "boost", - "score": 0.1299406737089157 + "score": 0.03675520047545433 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273295.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.046050723642110825 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07786790281534195 + "score": 0.1196797713637352 }, "else": { "operation": "boost", - "score": -0.19819898903369904 + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.0, + "then": { + "operation": "boost", + "score": 0.006803792901337147 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12554050981998444 - }, - "else": { - "operation": "boost", - "score": 0.01202480774372816 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.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.0022372668609023094 - }, - "else": { - "operation": "boost", - "score": 0.127088263630867 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.041635364294052124 - }, - "else": { - "operation": "boost", - "score": 0.1319974958896637 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07399970293045044 - } - }, - "else": { - "operation": "boost", - "score": 0.023488037288188934 - } - } - }, - "else": { - "operation": "boost", - "score": -0.014641310088336468 - } - }, - "else": { - "operation": "boost", - "score": -0.05619937554001808 - } + "operation": "boost", + "score": 0.39794811606407166 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.22884531319141388 + "score": 0.10616392642259598 }, "else": { "operation": "boost", - "score": 0.12720929086208344 + "score": -0.09565455466508865 } } } + }, + "else": { + "operation": "boost", + "score": -0.10507729649543762 } - } - }, - "else": { - "operation": "boost", - "score": -0.0034075616858899593 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.09046660363674164 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 47131.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09978784620761871 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11129435151815414 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.15936517715454102 + }, + "else": { + "operation": "boost", + "score": 0.06969098001718521 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08482969552278519 + }, + "else": { + "operation": "boost", + "score": 0.11283876746892929 + } + } }, "else": { - "operation": "boost", - "score": 0.03721601888537407 + "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.13591791689395905 + }, + "else": { + "operation": "boost", + "score": 0.14696596562862396 + } + }, + "else": { + "operation": "boost", + "score": -0.10352936387062073 + } + }, + "else": { + "operation": "boost", + "score": 0.00028218867373652756 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.037739191204309464 + "score": 0.14073175191879272 }, "else": { "operation": "boost", - "score": 0.15064367651939392 + "score": 0.0995340347290039 } }, "else": { - "operation": "boost", - "score": -0.1128796860575676 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.06780444830656052 + "score": 0.07559758424758911 } }, "else": { "operation": "boost", - "score": 0.013874637894332409 + "score": -0.07453048229217529 } } } + } + } + }, + "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.14092890918254852 + }, + "else": { + "operation": "boost", + "score": 0.13168329000473022 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06670085340738297 + }, + "else": { + "operation": "boost", + "score": 0.09758303314447403 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.1320899873971939 + }, + "else": { + "operation": "boost", + "score": 0.15957963466644287 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.24830248951911926 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10527220368385315 + }, + "else": { + "operation": "boost", + "score": 0.0632675513625145 + } + } }, "else": { + "operation": "boost", + "score": -0.1249488815665245 + } + } + } + }, + "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": 73.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15111.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0016518315533176064 + "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": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 590.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 1783.5, "then": { "operation": "boost", - "score": 0.10682718455791473 + "score": 0.029046611860394478 }, "else": { "operation": "boost", - "score": 0.1195288673043251 + "score": -0.0357481949031353 } }, "else": { - "operation": "boost", - "score": -0.03672699257731438 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 523.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 573.5, + "then": { + "operation": "boost", + "score": 0.11523929238319397 + }, + "else": { + "operation": "boost", + "score": 0.11340136080980301 + } + }, + "else": { + "operation": "boost", + "score": 0.06649437546730042 + } + }, + "else": { + "operation": "boost", + "score": 0.0503925085067749 + } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 11514.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11550.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32342.0, "then": { "operation": "boost", - "score": 0.0596633143723011 + "score": -0.04007498547434807 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 39.0, + "threshold": 30750.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 31239.0, "then": { "operation": "boost", - "score": -0.07348787039518356 + "score": 0.010025760158896446 }, "else": { - "operation": "boost", - "score": 0.10004999488592148 + "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.09235578030347824 + }, + "else": { + "operation": "boost", + "score": 0.0359366312623024 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.0998983308672905 + }, + "else": { + "operation": "boost", + "score": 0.1020844429731369 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06755555421113968 + } } }, "else": { - "operation": "boost", - "score": -0.3136100172996521 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11900.0, + "then": { + "operation": "boost", + "score": 0.047123853117227554 + }, + "else": { + "operation": "boost", + "score": 0.09643016010522842 + } + }, + "else": { + "operation": "boost", + "score": -0.014664932154119015 + } + }, + "else": { + "operation": "boost", + "score": 0.03673463687300682 + } } } }, "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1034049242734909 + }, + "else": { + "operation": "boost", + "score": -0.10132777690887451 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10625.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", - "Constructor" + "Constructor", + "Type", + "Namespace" ], + "then": { + "operation": "boost", + "score": 0.10189437866210938 + }, + "else": { + "operation": "boost", + "score": -0.07916168123483658 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8516.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 9195.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 9552.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.06599582731723785 + }, + "else": { + "operation": "boost", + "score": 0.10570195317268372 + } + }, + "else": { + "operation": "boost", + "score": -0.14155493676662445 + } + }, + "else": { + "operation": "boost", + "score": -0.023343805223703384 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": -0.21953436732292175 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 8890.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.004175520036369562 + "score": 0.1104261726140976 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12275160104036331 - }, - "else": { - "operation": "boost", - "score": -0.18560874462127686 - } + "operation": "boost", + "score": 0.10822564363479614 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.006765051279217005 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.15358874201774597 - }, - "else": { - "operation": "boost", - "score": 0.12101921439170837 - } - } + "operation": "boost", + "score": 0.10065958648920059 } } }, "else": { "operation": "boost", - "score": -0.11767037957906723 + "score": 0.02687697298824787 } - }, - "else": { - "operation": "boost", - "score": -0.09419522434473038 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 9017.5, "then": { "operation": "boost", - "score": -0.11481794714927673 + "score": -0.19620737433433533 }, "else": { "operation": "boost", - "score": 0.12152892351150513 + "score": 0.1065385565161705 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.18083229660987854 - }, - "else": { - "operation": "boost", - "score": -0.04396774247288704 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.48089489340782166 - }, - "else": { - "operation": "boost", - "score": -0.31226158142089844 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 258.5, - "then": { - "operation": "boost", - "score": 0.013620156794786453 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "threshold": 9064.5, "then": { "operation": "boost", - "score": -0.08973241597414017 + "score": 0.1055828258395195 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 8668.0, "then": { "operation": "boost", - "score": -0.41573256254196167 + "score": -0.01106054987758398 }, "else": { "operation": "boost", - "score": -0.17627190053462982 + "score": 0.457334041595459 } } - }, - "else": { - "operation": "boost", - "score": -0.056873869150877 } } + }, + "else": { + "operation": "boost", + "score": -0.0023063188418745995 } } - }, - "else": { - "operation": "boost", - "score": -0.02709449827671051 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 3191.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.14273548126220703 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3146.5, "then": { + "operation": "boost", + "score": 0.13060933351516724 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.016554642468690872 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1130.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09735047817230225 + "score": -0.009687227196991444 }, "else": { "operation": "boost", - "score": 0.07721327245235443 + "score": 0.10957051068544388 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.020377710461616516 - }, - "else": { - "operation": "boost", - "score": 0.08393558114767075 - } + "operation": "boost", + "score": 0.009109788574278355 } + }, + "else": { + "operation": "boost", + "score": 0.007894850336015224 } }, "else": { - "operation": "boost", - "score": 0.023271873593330383 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 262.0, "then": { + "operation": "boost", + "score": 0.12782835960388184 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.06785064935684204 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48.0, + "threshold": 217.5, "then": { - "operation": "boost", - "score": 0.11036460846662521 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 229.5, "then": { "operation": "boost", - "score": 0.11994655430316925 + "score": -0.03068721666932106 }, "else": { "operation": "boost", - "score": -0.17318153381347656 + "score": 0.2850021421909332 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02301166020333767 - } - }, - "else": { - "operation": "boost", - "score": -0.009709576144814491 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, - "then": { - "operation": "boost", - "score": -0.4843112528324127 - }, - "else": { - "operation": "boost", - "score": -0.023032862693071365 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04447853937745094 - } - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.039352137595415115 - }, - "else": { - "operation": "boost", - "score": -0.04860316216945648 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84932.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 993748.0, - "then": { - "operation": "boost", - "score": 0.12166348844766617 - }, - "else": { - "operation": "boost", - "score": 0.0875035896897316 - } - }, - "else": { - "operation": "boost", - "score": -0.006713034585118294 - } - }, - "else": { - "operation": "boost", - "score": 0.1151735708117485 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252796.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06351705640554428 - }, - "else": { - "operation": "boost", - "score": 0.08309706300497055 + }, + "else": { + "operation": "boost", + "score": -0.01736493781208992 } }, "else": { - "operation": "boost", - "score": 0.11284580826759338 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "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", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 98088.5, + "threshold": 80.5, "then": { - "operation": "boost", - "score": -0.08197824656963348 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.17013698816299438 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.05547690391540527 + }, + "else": { + "operation": "boost", + "score": 0.11218487471342087 + } }, "else": { - "operation": "boost", - "score": -0.06581377983093262 + "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 + } } }, - "else": { - "operation": "boost", - "score": -0.1925506591796875 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026259781792759895 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 160.5, "then": { - "operation": "boost", - "score": 0.06292141228914261 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 179.0, "then": { - "operation": "boost", - "score": 0.08976037800312042 + "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 + } }, "else": { - "operation": "boost", - "score": 0.1064322292804718 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.15880326926708221 + }, + "else": { + "operation": "boost", + "score": 0.35478803515434265 + } } + }, + "else": { + "operation": "boost", + "score": 0.06388977915048599 } } }, "else": { - "operation": "boost", - "score": -0.24364373087882996 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0915469229221344 - }, - "else": { - "operation": "boost", - "score": 0.17639818787574768 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09523870050907135 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11269166320562363 - }, - "else": { - "operation": "boost", - "score": -0.21511968970298767 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47029.0, - "then": { - "operation": "boost", - "score": -0.06235506385564804 - }, - "else": { - "operation": "boost", - "score": 0.18227140605449677 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.07085415720939636 - }, - "else": { - "operation": "boost", - "score": -0.033485908061265945 - } - }, - "else": { - "operation": "boost", - "score": -0.0942838191986084 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": 0.02344135008752346 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0074277231469750404 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.030091749504208565 - }, - "else": { - "operation": "boost", - "score": -0.21023713052272797 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.2599177658557892 + "score": 0.11476746201515198 }, "else": { "operation": "boost", - "score": 0.0856519266963005 + "score": 0.11153396219015121 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, - "then": { - "operation": "boost", - "score": -0.09078316390514374 - }, - "else": { - "operation": "boost", - "score": -0.48465925455093384 - } + "operation": "boost", + "score": 0.16988669335842133 } - }, - "else": { - "operation": "boost", - "score": -0.05411098897457123 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.09831903874874115 - }, - "else": { - "operation": "boost", - "score": 0.01902654394507408 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.13644298911094666 }, "else": { - "operation": "boost", - "score": 0.059745803475379944 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.007847081869840622 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 285874.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.05561618134379387 + "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.3230404555797577 + "score": 0.041440825909376144 } }, "else": { - "operation": "boost", - "score": 0.024071350693702698 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80547.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88175.0, + "threshold": 155.5, "then": { + "operation": "boost", + "score": -0.023576010018587112 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 168251.5, + "threshold": 103.5, "then": { - "operation": "boost", - "score": 0.03918081149458885 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.6639447808265686 + "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.009836902841925621 + "score": 0.11340004205703735 } + }, + "else": { + "operation": "boost", + "score": 0.06717349588871002 } - }, - "else": { - "operation": "boost", - "score": 0.08480788767337799 } }, "else": { "operation": "boost", - "score": -0.6777605414390564 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62601.0, - "then": { - "operation": "boost", - "score": 0.10230236500501633 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46337.5, - "then": { - "operation": "boost", - "score": -0.13316896557807922 - }, - "else": { - "operation": "boost", - "score": 0.06273388862609863 - } + "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 + } } } } @@ -205690,434 +205223,760 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44693.0, + "threshold": 747.0, "then": { + "operation": "boost", + "score": 0.11908582597970963 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11526836454868317 + "score": -0.12191333621740341 }, "else": { - "operation": "boost", - "score": 0.18070633709430695 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0486636608839035 + }, + "else": { + "operation": "boost", + "score": 0.11004521697759628 + } } - }, - "else": { - "operation": "boost", - "score": -0.10976088047027588 } } } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05605529993772507 }, "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07343246787786484 + }, + "else": { + "operation": "boost", + "score": 0.11371967941522598 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "boost", - "score": 0.011617300100624561 + "score": -0.1303885132074356 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.12131460011005402 + }, + "else": { + "operation": "boost", + "score": -0.10549645870923996 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.05877375230193138 }, "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" + ], + "then": { + "operation": "boost", + "score": 0.10838191211223602 + }, + "else": { + "operation": "boost", + "score": -0.13186492025852203 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" + "Variable" ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62267.0, + "threshold": 71608.5, "then": { + "operation": "boost", + "score": 0.12660744786262512 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71608.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.10160619020462036 + "score": 0.09115869551897049 }, "else": { - "operation": "boost", - "score": 0.13554465770721436 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09953678399324417 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 54332.5, "then": { "operation": "boost", - "score": 0.09722045063972473 + "score": 0.08765970915555954 }, "else": { "operation": "boost", - "score": -0.004797533620148897 + "score": 0.1058088093996048 } - }, - "else": { - "operation": "boost", - "score": -0.12365192174911499 } - }, - "else": { - "operation": "boost", - "score": -0.09505635499954224 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08290677517652512 - }, - "else": { - "operation": "boost", - "score": 0.11708057671785355 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.026308352127671242 - }, - "else": { - "operation": "boost", - "score": 0.16034375131130219 - } + "operation": "boost", + "score": 0.16049005091190338 } } }, "else": { "operation": "boost", - "score": 0.00022035888105165213 + "score": -0.2321503460407257 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 71608.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07086942344903946 - }, - "else": { - "operation": "boost", - "score": 0.12413010746240616 - } - }, - "else": { - "operation": "boost", - "score": -0.0013504520757123828 - } + "operation": "boost", + "score": 0.1370803713798523 }, "else": { + "operation": "boost", + "score": -0.9287749528884888 + } + }, + "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", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 53478.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.04107141122221947 + "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.08372045308351517 + "score": 0.056041620671749115 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 50371.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.14539562165737152 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.020772352814674377 + "score": 0.13613878190517426 }, "else": { "operation": "boost", - "score": -0.5380384922027588 + "score": 0.14212879538536072 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.022077884525060654 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.08308491855859756 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.07366950064897537 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.04484644532203674 + "score": 0.11027330160140991 }, "else": { "operation": "boost", - "score": -0.6761625409126282 + "score": 0.1356617957353592 } + }, + "else": { + "operation": "boost", + "score": -0.06246822699904442 } + }, + "else": { + "operation": "boost", + "score": 0.48464643955230713 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0591280423104763 - }, - "else": { - "operation": "boost", - "score": -0.12050861120223999 - } } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 155294.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.09983847290277481 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 185218.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09440986812114716 + "score": 0.08084075897932053 }, "else": { "operation": "boost", - "score": 0.00687046442180872 + "score": 0.04394553229212761 } }, "else": { - "operation": "boost", - "score": 0.08415624499320984 + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.04667208343744278 + }, + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 55310.5, "then": { "operation": "boost", - "score": -0.3635263741016388 + "score": 0.050623174756765366 }, "else": { "operation": "boost", - "score": 0.06691715866327286 + "score": -0.21182781457901 } + }, + "else": { + "operation": "boost", + "score": -0.02111104689538479 } } } - }, - "else": { - "operation": "boost", - "score": 0.06643061339855194 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 46971.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 66536.5, + "threshold": 101593.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 85554.5, + "threshold": 412896.5, "then": { - "operation": "boost", - "score": -0.10724825412034988 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.023202046751976013 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.02439514547586441 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10025563091039658 + }, + "else": { + "operation": "boost", + "score": 0.056283701211214066 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01744440756738186 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 371693.0, "then": { "operation": "boost", - "score": 0.1070164293050766 + "score": 0.1027289405465126 }, "else": { - "operation": "boost", - "score": 0.11715862900018692 - } - } - }, + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 327227.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.08852341026067734 + }, + "else": { + "operation": "boost", + "score": 0.08794160187244415 + } + }, + "else": { + "operation": "boost", + "score": -0.1770310401916504 + } + }, + "else": { + "operation": "boost", + "score": 0.03412887454032898 + } + } + } + }, "else": { - "operation": "boost", - "score": 0.04754128307104111 + "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": "NumReferences", - "threshold": 85554.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.23779428005218506 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73296.0, + "threshold": 45617.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.09309589862823486 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10128668695688248 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.1515369713306427 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11004387587308884 + }, + "else": { + "operation": "boost", + "score": 0.11902197450399399 + } + } + } }, "else": { "operation": "boost", - "score": 0.07267414778470993 + "score": -0.13074061274528503 } }, "else": { "operation": "boost", - "score": 0.051716018468141556 + "score": -0.011363357305526733 } + }, + "else": { + "operation": "boost", + "score": -0.0008479044190607965 } } }, "else": { "operation": "boost", - "score": 0.037224773317575455 + "score": -0.010187320411205292 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.25123146176338196 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1860598921775818 + "score": 0.027172677218914032 }, "else": { - "operation": "boost", - "score": -0.030858486890792847 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09505123645067215 + }, + "else": { + "operation": "boost", + "score": 0.10504747182130814 + } } + } + }, + "else": { + "operation": "boost", + "score": 0.09460052847862244 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49850.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58696.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.2283201366662979 + "score": -0.08408860862255096 } }, "else": { @@ -206126,1881 +205985,1931 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.04241340979933739 + "score": 0.09621669352054596 }, "else": { - "operation": "boost", - "score": 0.06620846688747406 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11205383390188217 - }, - "else": { - "operation": "boost", - "score": 0.05408294498920441 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.049817461520433426 - }, - "else": { - "operation": "boost", - "score": -0.2148430198431015 - } - }, - "else": { - "operation": "boost", - "score": 0.07056374847888947 - } - } + "operation": "boost", + "score": 0.3485051095485687 }, "else": { "operation": "boost", - "score": 0.02240573614835739 + "score": 0.11139226704835892 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53585.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005421292502433062 - }, - "else": { - "operation": "boost", - "score": 0.08960928022861481 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.015232612378895283 - }, - "else": { - "operation": "boost", - "score": 0.18258287012577057 - } - }, - "else": { - "operation": "boost", - "score": 0.03504132851958275 - } - } - }, - "else": { - "operation": "boost", - "score": -0.17035403847694397 - } + "operation": "boost", + "score": 0.17019052803516388 }, "else": { "operation": "boost", - "score": -0.087156742811203 + "score": -0.2684008479118347 } + }, + "else": { + "operation": "boost", + "score": 0.006161458790302277 } } } }, + "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": 478260.0, + "threshold": 55483.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_UnionTag", + "CCC_Other" + ], "then": { - "operation": "boost", - "score": 0.0109478160738945 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1500311940908432 + }, + "else": { + "operation": "boost", + "score": 1.125430941581726 + } }, "else": { "operation": "boost", - "score": -0.1567547470331192 + "score": -0.14045003056526184 } }, "else": { "operation": "boost", - "score": -0.013424067758023739 + "score": -0.10004037618637085 } } } } + }, + "else": { + "operation": "boost", + "score": -0.024833472445607185 } - }, - "else": { - "operation": "boost", - "score": -0.004237089306116104 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 316302.0, "then": { "operation": "boost", - "score": 0.08692348003387451 + "score": -0.10935194045305252 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 91957.5, "then": { "operation": "boost", - "score": 0.12107592821121216 + "score": 0.11844085901975632 }, "else": { "operation": "boost", - "score": 0.11217454820871353 + "score": 0.03326878324151039 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 273295.0, "then": { - "operation": "boost", - "score": 0.12078171223402023 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.043866127729415894 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10872206091880798 + "score": 0.11829813569784164 }, "else": { "operation": "boost", - "score": 0.13665995001792908 + "score": 0.10714258253574371 } - }, - "else": { - "operation": "boost", - "score": 0.09043903648853302 } + }, + "else": { + "operation": "boost", + "score": -0.02571433037519455 } } }, "else": { - "operation": "boost", - "score": -0.1404983252286911 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00022138901113066822 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 298482.5, + "threshold": 48488.5, "then": { - "operation": "boost", - "score": -0.004178032744675875 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_Statement", + "CCC_Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.03070748597383499 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.07450464367866516 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03440320864319801 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07936758548021317 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.07089179009199142 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": 0.6839396953582764 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105656.5, + "then": { + "operation": "boost", + "score": 0.6847094297409058 + }, + "else": { + "operation": "boost", + "score": -0.10126176476478577 + } + } + } + } + } + } + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09798689186573029 + "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": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0008031348115764558 + "score": 0.10690782964229584 }, "else": { "operation": "boost", - "score": -0.28497016429901123 + "score": 0.13704219460487366 } }, "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.015620971098542213 + "score": 0.0846400260925293 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.10552281886339188 + }, + "else": { + "operation": "boost", + "score": 0.2285834699869156 + } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 47903.5, "then": { - "operation": "boost", - "score": 0.11070803552865982 + "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.030989861115813255 + "score": -0.10316653549671173 } }, "else": { "operation": "boost", - "score": -0.16161693632602692 + "score": -0.00013348473294172436 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, "then": { - "operation": "boost", - "score": 0.030344149097800255 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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, + "then": { + "operation": "boost", + "score": 0.07818008959293365 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0932375118136406 + }, + "else": { + "operation": "boost", + "score": 0.10669231414794922 + } + }, + "else": { + "operation": "boost", + "score": -0.20277540385723114 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06187255680561066 + } + }, + "else": { + "operation": "boost", + "score": -0.06440415233373642 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12420804053544998 + "score": 0.13593502342700958 }, "else": { "operation": "boost", - "score": -0.09386938810348511 + "score": 0.12702690064907074 } }, "else": { "operation": "boost", - "score": -0.0025215258356183767 + "score": -0.27594301104545593 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.11087586730718613 - }, - "else": { - "operation": "boost", - "score": -0.05360589921474457 - } } - }, - "else": { + } + }, + "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": "NumReferences", - "threshold": 204563.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "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": 10.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.048712775111198425 + "score": 0.12884235382080078 }, "else": { "operation": "boost", - "score": 0.1146421805024147 + "score": -0.2142113447189331 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", + "CCC_EnumTag", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1348431259393692 - }, - "else": { - "operation": "boost", - "score": -0.0996016338467598 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 62267.0, "then": { "operation": "boost", - "score": 0.0268609207123518 + "score": 0.03284170851111412 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 54332.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07612865418195724 - }, - "else": { - "operation": "boost", - "score": -0.21278122067451477 - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.08522690832614899 - }, - "else": { - "operation": "boost", - "score": -0.2594400644302368 - } - }, - "else": { - "operation": "boost", - "score": -0.2966817319393158 - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.0852423682808876 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.15604421496391296 - }, - "else": { - "operation": "boost", - "score": 0.10890668630599976 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.10834863036870956 + "score": 0.15447892248630524 }, "else": { "operation": "boost", - "score": 0.11288794875144958 + "score": -0.10043317079544067 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "boost", - "score": -0.49104881286621094 - }, - "else": { - "operation": "boost", - "score": 0.06167563423514366 - } + "operation": "boost", + "score": 0.13977912068367004 } + }, + "else": { + "operation": "boost", + "score": -0.10998150706291199 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10308107733726501 - } - }, - "else": { - "operation": "boost", - "score": 0.07129305601119995 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02331925742328167 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0687999501824379 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12115495651960373 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.028294337913393974 + "score": -0.22798466682434082 }, "else": { "operation": "boost", - "score": 0.10080941021442413 + "score": 0.12378638982772827 } } }, "else": { - "operation": "boost", - "score": 0.0024608150124549866 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11884741485118866 + "score": -0.11448933184146881 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { "operation": "boost", - "score": -0.15809029340744019 + "score": -0.20228897035121918 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.3113712966442108 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1082531064748764 - }, - "else": { - "operation": "boost", - "score": 0.06682155281305313 - } - } + "operation": "boost", + "score": 2.5033936500549316 } } - }, - "else": { - "operation": "boost", - "score": -0.02463303506374359 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1135593131184578 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03415443003177643 - }, - "else": { - "operation": "boost", - "score": 0.1188444197177887 - } } } }, "else": { "operation": "boost", - "score": 0.12860837578773499 + "score": -0.11102160066366196 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.042906325310468674 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08168468624353409 + "score": 0.04400691017508507 }, "else": { - "operation": "boost", - "score": 0.13446073234081268 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08135147392749786 + }, + "else": { + "operation": "boost", + "score": 0.10769906640052795 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06263185292482376 + } + }, + "else": { + "operation": "boost", + "score": -0.017816107720136642 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.09540034830570221 + "score": 0.13115251064300537 }, "else": { "operation": "boost", - "score": 0.01557343453168869 + "score": -0.16220255196094513 } + }, + "else": { + "operation": "boost", + "score": -0.012827778235077858 } } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.002682497026398778 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 316302.0, "then": { + "operation": "boost", + "score": -0.10754139721393585 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 91957.5, + "then": { + "operation": "boost", + "score": 0.11719610542058945 + }, + "else": { + "operation": "boost", + "score": 0.03030567616224289 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273295.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.09058801829814911 + "score": 0.03668474778532982 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.12067153304815292 + }, + "else": { + "operation": "boost", + "score": 0.10566933453083038 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.01194804534316063 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.015009785071015358 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05191616714000702 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.029062995687127113 + }, + "else": { + "operation": "boost", + "score": -0.3286038935184479 + } }, "else": { - "operation": "boost", - "score": 0.08131527155637741 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0334056131541729 + }, + "else": { + "operation": "boost", + "score": 0.07634784281253815 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 148934.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.027302730828523636 - }, - "else": { - "operation": "boost", - "score": 0.08718319982290268 - } + "operation": "boost", + "score": 0.09069894999265671 }, "else": { "operation": "boost", - "score": 0.05640921741724014 + "score": -0.5121796727180481 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10484430938959122 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09517531841993332 - }, - "else": { - "operation": "boost", - "score": 0.10946262627840042 - } - } + "operation": "boost", + "score": 0.0774960145354271 }, "else": { + "operation": "boost", + "score": 0.09433512389659882 + } + }, + "else": { + "operation": "boost", + "score": 0.23746903240680695 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105656.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 13.0, "then": { - "operation": "boost", - "score": -0.582693338394165 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.009962927550077438 + "score": 0.1309620440006256 }, "else": { "operation": "boost", - "score": 0.13257627189159393 + "score": 0.12342649698257446 } + }, + "else": { + "operation": "boost", + "score": 0.14287471771240234 } + }, + "else": { + "operation": "boost", + "score": -0.10393980145454407 } }, "else": { "operation": "boost", - "score": 0.1391405314207077 + "score": 0.1270899772644043 } + } + } + } + } + }, + "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": "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.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": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05558975040912628 + "score": 0.04315498098731041 }, "else": { "operation": "boost", - "score": -0.0551893375813961 + "score": 0.11926999688148499 } } } + } + }, + "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 + } + } + } + }, + "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.025445574894547462 + "score": -0.1028519943356514 } + }, + "else": { + "operation": "boost", + "score": 0.0004106148553546518 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 44693.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07041704654693604 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.13221046328544617 + }, + "else": { + "operation": "boost", + "score": 0.09359004348516464 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.3394598066806793 + }, + "else": { + "operation": "boost", + "score": 0.20007559657096863 + } + } }, "else": { "operation": "boost", - "score": -0.060324158519506454 + "score": 0.07855578511953354 } }, "else": { "operation": "boost", - "score": 0.042541664093732834 + "score": -0.1818886399269104 } }, "else": { "operation": "boost", - "score": 0.17473158240318298 + "score": -0.05264212563633919 } } + } + } + } + }, + "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.13165569305419922 }, "else": { + "operation": "boost", + "score": 0.1256527304649353 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09571856260299683 + "score": 0.06409364193677902 }, "else": { "operation": "boost", - "score": 0.02449469082057476 + "score": 0.09394945949316025 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.12744611501693726 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.24026958644390106 + }, + "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 + } + } } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124731.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2091844230890274 + "score": -0.2475464940071106 }, "else": { - "operation": "boost", - "score": -0.017455443739891052 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09931368380784988 + }, + "else": { + "operation": "boost", + "score": -0.231393963098526 + } } }, "else": { + "operation": "boost", + "score": -0.11745338886976242 + } + } + } + }, + "else": { + "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_TopLevel", + "CCC_Expression", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 63.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11011321097612381 - }, - "else": { - "operation": "boost", - "score": 0.11823178827762604 - } + "operation": "boost", + "score": 0.9985569715499878 }, "else": { "operation": "boost", - "score": 0.06986989825963974 + "score": -0.09274868667125702 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.01186918094754219 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09554285556077957 + "score": -0.05174681171774864 }, "else": { - "operation": "boost", - "score": 0.0415646955370903 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.08016026020050049 + }, + "else": { + "operation": "boost", + "score": 0.10477973520755768 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": 0.11120638251304626 - }, - "else": { - "operation": "boost", - "score": 0.03513234853744507 - } + "operation": "boost", + "score": -0.017833227291703224 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97357.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.010439061559736729 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1141323372721672 - }, - "else": { - "operation": "boost", - "score": 0.0841190293431282 - } + "operation": "boost", + "score": -0.19547727704048157 }, "else": { "operation": "boost", - "score": 0.09133387356996536 + "score": 0.12365969270467758 } + }, + "else": { + "operation": "boost", + "score": 0.8949722647666931 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 120391.0, + "threshold": 143.0, "then": { + "operation": "boost", + "score": 0.11118925362825394 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 30.5, "then": { - "operation": "boost", - "score": -0.026539329439401627 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 123410.5, + "threshold": 33.5, "then": { - "operation": "boost", - "score": -0.14430730044841766 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07062139362096786 - }, - "else": { - "operation": "boost", - "score": 0.099397212266922 - } + "operation": "boost", + "score": -0.12795093655586243 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.0, + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "SemaFileProximityScore", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10415993630886078 + "score": 0.09040211886167526 }, "else": { "operation": "boost", - "score": 0.09783937782049179 + "score": 0.13082057237625122 } }, "else": { "operation": "boost", - "score": 0.10728338360786438 + "score": 0.014991995878517628 } } }, "else": { + "operation": "boost", + "score": 0.020503757521510124 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.0, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.10132044553756714 + "score": 0.13100561499595642 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10209745168685913 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 3.6261985301971436 - }, - "else": { - "operation": "boost", - "score": 1.49150550365448 - } - }, - "else": { - "operation": "boost", - "score": -0.10095719248056412 - } - } + "operation": "boost", + "score": 0.09960895031690598 } + }, + "else": { + "operation": "boost", + "score": 0.10333004593849182 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.00839912798255682 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08107002079486847 + }, + "else": { + "operation": "boost", + "score": 0.12399797141551971 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108013.0, + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.022820401936769485 + "score": 0.017948836088180542 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.08122066408395767 - }, - "else": { - "operation": "boost", - "score": 0.10390053689479828 - } - }, - "else": { - "operation": "boost", - "score": -0.12406846880912781 - } + "operation": "boost", + "score": 0.09798556566238403 }, "else": { "operation": "boost", - "score": -0.17017972469329834 + "score": 0.07365286350250244 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.11055134236812592 + "score": -0.045586906373500824 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.09451472759246826 - }, - "else": { - "operation": "boost", - "score": 0.09249364584684372 - } + "operation": "boost", + "score": 0.1304980218410492 } } }, "else": { "operation": "boost", - "score": -0.11061364412307739 + "score": 0.06703561544418335 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.011191675439476967 - }, - "else": { - "operation": "boost", - "score": 0.2791580557823181 - } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04014303535223007 + } + }, + "else": { + "operation": "boost", + "score": -0.015338866040110588 + } + }, + "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", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.016798783093690872 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.11547235399484634 + "score": 0.09193558990955353 }, "else": { "operation": "boost", - "score": 0.11052723228931427 + "score": 0.06538809090852737 } }, "else": { - "operation": "boost", - "score": 0.060873765498399734 - } - }, - "else": { - "operation": "boost", - "score": 0.0551595464348793 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.0854325070977211 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1076696366071701 + "score": 0.16232967376708984 }, "else": { "operation": "boost", - "score": 0.11693993210792542 + "score": 0.1195414736866951 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.16233326494693756 }, "else": { "operation": "boost", - "score": 0.06474920362234116 + "score": 0.09388482570648193 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.07744450122117996 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12657082080841064 + }, + "else": { + "operation": "boost", + "score": 0.09902116656303406 + } }, "else": { "operation": "boost", - "score": 0.16365301609039307 + "score": 0.12077685445547104 } - }, - "else": { - "operation": "boost", - "score": -0.1090623065829277 } } }, "else": { "operation": "boost", - "score": 3.2243588066194206e-05 + "score": 0.10553133487701416 } + }, + "else": { + "operation": "boost", + "score": 0.03472308814525604 } } + }, + "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 } } - }, - "else": { - "operation": "boost", - "score": -0.00017606689652893692 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 44220.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 44315.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.023071618750691414 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 62267.0, "then": { "operation": "boost", - "score": 0.08307282626628876 + "score": -0.16274045407772064 }, "else": { - "operation": "boost", - "score": 0.10457052290439606 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0881325826048851 + }, + "else": { + "operation": "boost", + "score": 0.10042594373226166 + } + }, + "else": { + "operation": "boost", + "score": 0.14312121272087097 + } } }, "else": { - "operation": "boost", - "score": 0.018827132880687714 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004298279527574778 - } - }, - "else": { - "operation": "boost", - "score": -0.013304860331118107 - } - }, - "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_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 71608.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.0499265156686306 + "score": 0.1274159699678421 }, "else": { "operation": "boost", - "score": 0.11251969635486603 + "score": -0.20928296446800232 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12949934601783752 - }, - "else": { - "operation": "boost", - "score": -0.21827681362628937 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "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, + "feature": "NumReferences", + "threshold": 62267.0, "then": { "operation": "boost", - "score": 0.025902034714818 + "score": 0.016164101660251617 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 54332.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10812276601791382 - }, - "else": { - "operation": "boost", - "score": -0.16013970971107483 - } - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07050253450870514 - }, - "else": { - "operation": "boost", - "score": -0.1778808981180191 - } + "operation": "boost", + "score": -0.49783021211624146 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.0733206570148468 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1336168497800827 + }, + "else": { + "operation": "boost", + "score": -0.23891080915927887 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.04963859170675278 + "score": -0.1187557652592659 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.3144969940185547 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1077803447842598 - }, - "else": { - "operation": "boost", - "score": 0.09782326221466064 - } - } + "operation": "boost", + "score": 0.1223011389374733 } } } + }, + "else": { + "operation": "boost", + "score": 0.2430451214313507 } } }, "else": { "operation": "boost", - "score": -0.10316360741853714 + "score": -0.10940603911876678 } - }, - "else": { - "operation": "boost", - "score": 0.06926745176315308 } } }, + "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, + "then": { + "operation": "boost", + "score": -0.20168662071228027 + }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.019058074802160263 + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.021821951493620872 + "score": 0.09092066437005997 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.05803051218390465 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12127546221017838 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.022653069347143173 - }, - "else": { - "operation": "boost", - "score": 0.09673405438661575 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011190849356353283 - } - } + "operation": "boost", + "score": 0.10732952505350113 } - }, - "else": { - "operation": "boost", - "score": 0.0771733969449997 } }, "else": { "operation": "boost", - "score": 0.0075631896033883095 + "score": -0.17303258180618286 } } }, @@ -208010,8741 +207919,9475 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.12320201098918915 + }, + "else": { + "operation": "boost", + "score": 0.10499145835638046 + } + }, + "else": { + "operation": "boost", + "score": -0.09419550746679306 + } + } + } + }, + "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.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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0332503616809845 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1189790740609169 + }, + "else": { + "operation": "boost", + "score": 0.1041397824883461 + } + } + }, + "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": 18.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.07928811758756638 + "score": 0.011314528062939644 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.03243230655789375 + "score": 0.033390503376722336 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": 0.07351379841566086 + }, + "else": { + "operation": "boost", + "score": -0.5008249878883362 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.008540400303900242 + "score": 0.07940539717674255 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.0844474732875824 + "score": 0.09577043354511261 }, "else": { "operation": "boost", - "score": 0.0953405573964119 + "score": 0.0 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 105656.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10438117384910583 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09272404760122299 - }, - "else": { - "operation": "boost", - "score": 0.10710164159536362 - } - } + "operation": "boost", + "score": 0.12349649518728256 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.017321273684501648 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.1012614443898201 - }, - "else": { - "operation": "boost", - "score": 0.1241534873843193 - } - } + "operation": "boost", + "score": 0.13912397623062134 } }, "else": { "operation": "boost", - "score": 0.11631650477647781 + "score": 0.0 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.052135780453681946 - }, - "else": { - "operation": "boost", - "score": -0.0485849492251873 - } + "operation": "boost", + "score": 0.10135680437088013 } } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005128685384988785 + } + }, + "else": { + "operation": "boost", + "score": 0.0033234297297894955 + } + }, + "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.10037990659475327 }, "else": { "operation": "boost", - "score": -0.011517238803207874 + "score": 0.12894058227539062 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10946178436279297 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.025314325466752052 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.040051091462373734 + }, + "else": { + "operation": "boost", + "score": 0.11150822043418884 + } + } } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07723810523748398 + }, + "else": { + "operation": "boost", + "score": 0.10103418678045273 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 47903.5, "then": { - "operation": "boost", - "score": -0.0822228267788887 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": -0.13883115351200104 + }, + "else": { + "operation": "boost", + "score": 0.12415961921215057 + } }, "else": { "operation": "boost", - "score": 0.03697201609611511 + "score": -0.10254976898431778 } }, "else": { "operation": "boost", - "score": 0.13029728829860687 + "score": -0.00040324649307876825 } } }, "else": { - "operation": "boost", - "score": 0.0254131518304348 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06015588715672493 + }, + "else": { + "operation": "boost", + "score": -0.046126969158649445 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12795376777648926 + }, + "else": { + "operation": "boost", + "score": 0.12433496862649918 + } + }, + "else": { + "operation": "boost", + "score": -0.20463190972805023 + } + } } } - }, - "else": { + } + } + }, + "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": "NumReferences", - "threshold": 132033.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1974525898694992 + "score": -0.07974942028522491 }, "else": { - "operation": "boost", - "score": -0.02323879301548004 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.01597416400909424 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.005647244863212109 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.03940891847014427 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.34772536158561707 + "score": 0.008580495603382587 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FileScope" ], "then": { + "operation": "boost", + "score": 0.08794562518596649 + }, + "else": { + "operation": "boost", + "score": 0.05314498022198677 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -3.719814048963599e-05 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03288702294230461 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.025660112500190735 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.055950261652469635 - }, - "else": { - "operation": "boost", - "score": 0.0793515294790268 - } + "operation": "boost", + "score": 0.013092193752527237 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.12805835902690887 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.047039132565259933 + "score": 0.13288861513137817 }, "else": { "operation": "boost", - "score": 0.09933169931173325 + "score": 0.04366994649171829 } - }, - "else": { - "operation": "boost", - "score": -0.1008848026394844 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11228934675455093 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10932957381010056 - }, - "else": { - "operation": "boost", - "score": 0.0990198478102684 - } - }, - "else": { - "operation": "boost", - "score": 0.09930775314569473 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16312545537948608 - } + "operation": "boost", + "score": 0.09276270866394043 } } - }, - "else": { - "operation": "boost", - "score": -0.10666721314191818 } + }, + "else": { + "operation": "boost", + "score": -0.066182941198349 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.1206170991063118 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.1354926973581314 + "score": -0.06745105236768723 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.08840873837471008 - }, - "else": { - "operation": "boost", - "score": 0.11052815616130829 - } + "operation": "boost", + "score": 0.14032702147960663 }, "else": { "operation": "boost", - "score": 0.25524458289146423 + "score": 0.0857173278927803 } } }, "else": { "operation": "boost", - "score": -0.10842663049697876 + "score": -0.05315345525741577 } - }, - "else": { - "operation": "boost", - "score": 0.11087169498205185 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.11578691005706787 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22180.5, "then": { + "operation": "boost", + "score": -0.044921230524778366 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 10390.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.10252095013856888 + "score": -0.24189405143260956 }, "else": { "operation": "boost", - "score": 0.10953982174396515 + "score": 0.06091473251581192 } }, "else": { "operation": "boost", - "score": 0.08754482120275497 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11142364889383316 - }, - "else": { - "operation": "boost", - "score": -0.16753984987735748 + "score": -0.0020370245911180973 } } + }, + "else": { + "operation": "boost", + "score": 0.027580074965953827 } }, "else": { - "operation": "boost", - "score": 0.024912608787417412 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120524.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.06536957621574402 + "score": 0.24955326318740845 }, "else": { - "operation": "boost", - "score": -0.13465425372123718 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07652807980775833 - }, - "else": { - "operation": "boost", - "score": -0.1517689824104309 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.111614890396595 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10823577642440796 + "score": 0.12620045244693756 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.09443437308073044 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { - "operation": "boost", - "score": -0.10890817642211914 - }, - "else": { - "operation": "boost", - "score": 0.08235718309879303 - } - } + "operation": "boost", + "score": 0.34839242696762085 } + }, + "else": { + "operation": "boost", + "score": -0.12101536244153976 } + }, + "else": { + "operation": "boost", + "score": 0.0 } - }, - "else": { - "operation": "boost", - "score": -0.05712055414915085 } + }, + "else": { + "operation": "boost", + "score": -0.012812281027436256 } }, - "else": { - "operation": "boost", - "score": -0.05938000604510307 - } - }, - "else": { - "operation": "boost", - "score": -0.011432480998337269 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.08475404232740402 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10746610909700394 + "score": -0.25326457619667053 }, "else": { "operation": "boost", - "score": 0.1139013022184372 + "score": -0.09978090971708298 } } - }, - "else": { - "operation": "boost", - "score": -0.15839283168315887 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.0360599122941494 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": -0.1237628310918808 + }, + "else": { + "operation": "boost", + "score": 0.10654263198375702 + } }, "else": { "operation": "boost", - "score": 0.10166560858488083 + "score": 0.032445866614580154 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0739743560552597 + "score": -0.32207271456718445 }, "else": { "operation": "boost", - "score": 0.12942194938659668 + "score": -0.17041528224945068 } }, "else": { "operation": "boost", - "score": -0.3050177991390228 + "score": -0.029235245659947395 } } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07442234456539154 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, - "then": { - "operation": "boost", - "score": -0.0255687665194273 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.024259373545646667 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.14455963671207428 + }, + "else": { + "operation": "boost", + "score": 0.0992405116558075 + } + }, + "else": { + "operation": "boost", + "score": -0.18437212705612183 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.07879065722227097 + "score": -0.1866438090801239 }, "else": { "operation": "boost", - "score": 0.10133486241102219 + "score": -0.10193604230880737 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.12990885972976685 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01655616983771324 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97357.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10858194530010223 - }, - "else": { - "operation": "boost", - "score": -0.7417927384376526 - } - }, - "else": { - "operation": "boost", - "score": 0.09361134469509125 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16304972767829895 - }, - "else": { - "operation": "boost", - "score": 0.10962081700563431 - } - } + "operation": "boost", + "score": -0.14040258526802063 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108984.0, + "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.12578263878822327 + "score": 0.28213658928871155 }, "else": { "operation": "boost", - "score": 0.00855713989585638 + "score": -0.14770376682281494 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111169.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.07536482810974121 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11366598308086395 - }, - "else": { - "operation": "boost", - "score": 0.09604884684085846 - } - } + "operation": "boost", + "score": 0.05142935737967491 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08104198426008224 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97357.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.16631634533405304 - }, - "else": { - "operation": "boost", - "score": 0.03883763775229454 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99880.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.019902948290109634 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11345131695270538 - }, - "else": { - "operation": "boost", - "score": 0.11666880548000336 - } - }, - "else": { - "operation": "boost", - "score": 0.11155203729867935 - } - }, - "else": { - "operation": "boost", - "score": 0.03549012541770935 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.173960879445076 - }, - "else": { - "operation": "boost", - "score": -0.0304583590477705 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.1280013471841812 - }, - "else": { - "operation": "boost", - "score": 0.1100512444972992 - } - }, - "else": { - "operation": "boost", - "score": 0.09551944583654404 - } - }, - "else": { - "operation": "boost", - "score": 0.02300291694700718 - } - } - } + "operation": "boost", + "score": -0.06499207764863968 } }, "else": { "operation": "boost", - "score": 0.03768352046608925 + "score": -0.09465615451335907 } + }, + "else": { + "operation": "boost", + "score": -4.340443047112785e-05 } } } + }, + "else": { + "operation": "boost", + "score": 0.006776755675673485 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015897653996944427 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0015944025944918394 + }, + "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.011974379420280457 + }, + "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 + } + } + } + } + }, + "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.020459463819861412 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.2219202220439911 + }, + "else": { + "operation": "boost", + "score": -0.1429622620344162 } } } } + }, + "else": { + "operation": "boost", + "score": -0.0006945895729586482 } - }, - "else": { - "operation": "boost", - "score": -0.0001919929782161489 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 44220.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "boost", + "score": 0.0031545383390039206 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09454914927482605 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22293923795223236 + }, + "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.09503157436847687 + }, + "else": { + "operation": "boost", + "score": -0.1883617341518402 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08964891731739044 + } + } + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_ClassStructUnion" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 278454.0, + "threshold": 316302.0, "then": { + "operation": "boost", + "score": -0.10531175881624222 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 91957.5, + "then": { + "operation": "boost", + "score": 0.1159091591835022 + }, + "else": { + "operation": "boost", + "score": 0.03226948529481888 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273295.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.033897727727890015 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06698108464479446 + "score": 0.1174221932888031 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, - "then": { - "operation": "boost", - "score": 0.04032390937209129 - }, - "else": { - "operation": "boost", - "score": 0.0729851946234703 - } + "operation": "boost", + "score": 0.10274885594844818 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.01442734058946371 + } + } + }, + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.011289107613265514 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.03410845994949341 + "score": 0.03104354627430439 }, "else": { - "operation": "boost", - "score": 0.09340615570545197 + "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 + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.02107870578765869 } + }, + "else": { + "operation": "boost", + "score": -0.005359471309930086 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": 0.0029008383862674236 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 19.5, "then": { + "operation": "boost", + "score": 0.12022096663713455 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07582446932792664 + "score": 0.108881376683712 }, "else": { - "operation": "boost", - "score": 0.12762762606143951 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08374955505132675 + }, + "else": { + "operation": "boost", + "score": -0.19561852514743805 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.037279192358255386 + }, + "else": { + "operation": "boost", + "score": 0.10372310876846313 + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07297434657812119 }, "else": { "operation": "boost", - "score": -0.1516074538230896 + "score": 0.09756768494844437 } - }, - "else": { - "operation": "boost", - "score": -0.045851726084947586 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 47903.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.0, "then": { "operation": "boost", - "score": -0.016149209812283516 + "score": -0.13113902509212494 }, "else": { "operation": "boost", - "score": 0.09243420511484146 + "score": 0.1205088347196579 } }, "else": { "operation": "boost", - "score": -0.020694226026535034 + "score": -0.1022966131567955 } }, "else": { "operation": "boost", - "score": 0.04321090131998062 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.1725076586008072 - }, - "else": { - "operation": "boost", - "score": 0.11257340759038925 + "score": -0.001663518138229847 } - }, - "else": { - "operation": "boost", - "score": -0.11984476447105408 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 44315.0, "then": { "operation": "boost", - "score": 0.11050190776586533 + "score": 0.017159435898065567 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.037761859595775604 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12473953515291214 + }, + "else": { + "operation": "boost", + "score": 0.12306822836399078 + } }, "else": { "operation": "boost", - "score": 0.27164849638938904 + "score": -0.19531100988388062 } } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291408.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.01234605722129345 + "score": 0.03234643489122391 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.08255268633365631 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09416360408067703 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.016146725043654442 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1162690669298172 - }, - "else": { - "operation": "boost", - "score": 0.07093293219804764 - } - } - } - } + "operation": "boost", + "score": 0.12249360233545303 } }, - "else": { - "operation": "boost", - "score": 0.07091973721981049 - } - }, - "else": { - "operation": "boost", - "score": -0.4394685924053192 - } - }, - "else": { - "operation": "boost", - "score": 0.0778326466679573 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.0993037298321724 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.00034795046667568386 + "score": 0.0829552710056305 }, "else": { - "operation": "boost", - "score": 0.08499717712402344 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.038342319428920746 + }, + "else": { + "operation": "boost", + "score": 0.12206026911735535 + } } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 129.5, "then": { "operation": "boost", - "score": -0.21886366605758667 + "score": 0.0944921225309372 }, "else": { "operation": "boost", - "score": 0.0024697347544133663 + "score": 0.03977745771408081 } } }, "else": { - "operation": "boost", - "score": 0.08742635697126389 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { - "operation": "boost", - "score": 0.011720317415893078 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.022689275443553925 + "score": 0.006310765631496906 }, "else": { - "operation": "boost", - "score": -0.21351060271263123 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 337965.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.07415139675140381 + "score": 0.03198496252298355 }, "else": { "operation": "boost", - "score": -0.20571976900100708 + "score": 0.07586495578289032 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.0025968982372432947 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.038238346576690674 + "score": 0.10703639686107635 }, "else": { "operation": "boost", - "score": 0.09658236801624298 + "score": 0.0011765464441850781 } - }, - "else": { - "operation": "boost", - "score": 0.09866892546415329 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 375849.5, - "then": { - "operation": "boost", - "score": 0.08370182663202286 - }, - "else": { - "operation": "boost", - "score": 0.0049483757466077805 - } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 21677.0, "then": { "operation": "boost", - "score": 0.10646522790193558 + "score": 0.10355474054813385 }, "else": { "operation": "boost", - "score": -0.12421629577875137 + "score": -0.05543459951877594 } }, "else": { - "operation": "boost", - "score": -0.05440904572606087 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.5809617638587952 + }, + "else": { + "operation": "boost", + "score": 0.15374144911766052 + } + }, + "else": { + "operation": "boost", + "score": 0.048613373190164566 + } } } } }, - "else": { - "operation": "boost", - "score": -0.046618688851594925 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.022406388074159622 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10415039211511612 + "score": -0.10945279896259308 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.06910723447799683 + "score": 0.02725367806851864 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0634816363453865 - }, - "else": { - "operation": "boost", - "score": -0.5927143692970276 - } + "operation": "boost", + "score": 0.010488833300769329 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.12646764516830444 - }, - "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5650.5, + "then": { + "operation": "boost", + "score": 0.07026783376932144 + }, + "else": { + "operation": "boost", + "score": -0.0006327289738692343 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10252390801906586 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03209768235683441 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.047766342759132385 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.11719324439764023 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.05894811823964119 + }, + "else": { + "operation": "boost", + "score": 0.09300994873046875 + } + } + } + }, + "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.013410795480012894 + }, + "else": { + "operation": "boost", + "score": 0.07334938645362854 + } + }, + "else": { + "operation": "boost", + "score": -0.00638721976429224 + } + }, + "else": { + "operation": "boost", + "score": 0.07035236805677414 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04126027598977089 + } + } + }, + "else": { "operation": "boost", - "score": 0.10013846307992935 + "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, "then": { "operation": "boost", - "score": -0.30528274178504944 + "score": 0.05267363041639328 }, "else": { - "operation": "boost", - "score": 0.031137190759181976 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10107562690973282 + }, + "else": { + "operation": "boost", + "score": 0.11560119688510895 + } } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "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_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 442.0, + "then": { + "operation": "boost", + "score": 0.10870172083377838 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.141237273812294 + }, + "else": { + "operation": "boost", + "score": -0.3013767600059509 } + }, + "else": { + "operation": "boost", + "score": 0.12936969101428986 } } + }, + "else": { + "operation": "boost", + "score": 0.030460132285952568 } + }, + "else": { + "operation": "boost", + "score": 0.10298063606023788 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "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", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": -0.16459882259368896 + "score": 0.08370360732078552 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10266296565532684 - }, - "else": { - "operation": "boost", - "score": 0.03214498236775398 - } + "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": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.02010464482009411 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.20686744153499603 + "score": 0.1112457886338234 }, "else": { "operation": "boost", - "score": 0.10842964053153992 + "score": 0.10958313941955566 } + }, + "else": { + "operation": "boost", + "score": -0.11123666912317276 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09602970629930496 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09173114597797394 + }, + "else": { + "operation": "boost", + "score": 0.14995095133781433 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05269352346658707 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.02954774908721447 + }, + "else": { + "operation": "boost", + "score": 0.1146981343626976 + } + }, + "else": { + "operation": "boost", + "score": 0.03344998136162758 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.014677859842777252 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12912.0, + "then": { + "operation": "boost", + "score": 0.12177389860153198 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.10533653199672699 + "score": 0.11080969870090485 }, "else": { "operation": "boost", - "score": -0.03242973983287811 + "score": 0.03318982198834419 } }, "else": { "operation": "boost", - "score": 0.07830175757408142 + "score": -0.053300607949495316 } }, "else": { "operation": "boost", - "score": 0.0035896480549126863 + "score": -0.1342582106590271 } } - }, - "else": { - "operation": "boost", - "score": 0.015222126618027687 } } + }, + "else": { + "operation": "boost", + "score": -0.030044658109545708 } } }, + "else": { + "operation": "boost", + "score": 2.6935053028864786e-05 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.017189793288707733 + }, + "else": { + "operation": "boost", + "score": -0.1015002653002739 + } + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.11275186389684677 + "score": 0.09386338293552399 }, "else": { "operation": "boost", - "score": -0.01093584019690752 + "score": 0.0970035046339035 } }, "else": { "operation": "boost", - "score": -0.10198633372783661 + "score": -0.1012587621808052 } }, "else": { + "operation": "boost", + "score": 0.0009624084923416376 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 236336.5, + "threshold": 97.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.0, - "then": { - "operation": "boost", - "score": -0.20458167791366577 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.15950439870357513 - }, - "else": { - "operation": "boost", - "score": 0.13320273160934448 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06893115490674973 + "score": 0.10972835123538971 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.12064485996961594 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.01902351714670658 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 97230.0, "then": { - "operation": "boost", - "score": 0.022150037810206413 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 254260.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "boost", + "score": 0.01080297864973545 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": -0.03806580230593681 + "score": 0.11428780108690262 }, "else": { "operation": "boost", - "score": 0.03319430351257324 + "score": -0.044647835195064545 } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 112.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 727.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 4491.0, "then": { - "operation": "boost", - "score": -0.33048054575920105 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + }, + "else": { + "operation": "boost", + "score": -0.08520496636629105 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11419876664876938 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3012.5, + "then": { + "operation": "boost", + "score": 0.11960732936859131 + }, + "else": { + "operation": "boost", + "score": 0.005793809425085783 + } }, "else": { "operation": "boost", - "score": 0.06956394761800766 + "score": 0.1093001589179039 } } }, "else": { "operation": "boost", - "score": -0.008848861791193485 + "score": -0.004090880509465933 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.08880237489938736 - }, - "else": { - "operation": "boost", - "score": 0.05360359326004982 - } + "operation": "boost", + "score": 0.10942614823579788 } }, "else": { "operation": "boost", - "score": 0.02564254030585289 + "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.05855213850736618 + "score": 0.08794429153203964 } } } + }, + "else": { + "operation": "boost", + "score": 0.002676212228834629 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "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.013175886124372482 + "score": 0.037090964615345 }, "else": { "operation": "boost", - "score": -0.08548422902822495 + "score": -0.06639596074819565 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05797720327973366 - }, - "else": { - "operation": "boost", - "score": -0.0022749665658921003 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10755718499422073 + "score": 0.10964876413345337 }, "else": { "operation": "boost", - "score": 0.11454765498638153 + "score": -0.15709291398525238 } }, "else": { "operation": "boost", - "score": 0.12391116470098495 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.1569097489118576 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10659269243478775 - }, - "else": { - "operation": "boost", - "score": 0.14993155002593994 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08105894923210144 - }, - "else": { - "operation": "boost", - "score": 0.075113944709301 - } - }, - "else": { - "operation": "boost", - "score": 0.043253906071186066 - } - } + "score": -0.08325809985399246 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.005817900877445936 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120391.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.04575854912400246 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Type" ], "then": { - "operation": "boost", - "score": 0.08026289194822311 - }, - "else": { - "operation": "boost", - "score": -0.1243782639503479 - } - }, - "else": { - "operation": "boost", - "score": -0.05954958498477936 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.23987868428230286 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05231982469558716 - }, - "else": { - "operation": "boost", - "score": 0.07738412916660309 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 75.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 193.0, "then": { - "operation": "boost", - "score": 0.06559097766876221 + "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.11685226112604141 + "score": 0.026400092989206314 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 70.5, "then": { + "operation": "boost", + "score": 0.11959139257669449 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 65.5, "then": { "operation": "boost", - "score": 0.09680748730897903 + "score": -0.007218184880912304 }, "else": { "operation": "boost", - "score": 0.10827380418777466 + "score": 0.11843745410442352 } - }, - "else": { - "operation": "boost", - "score": 0.09863413125276566 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 45.5, "then": { "operation": "boost", - "score": -0.10408397018909454 + "score": -0.23411202430725098 }, "else": { + "operation": "boost", + "score": 0.11741072684526443 + } + } + }, + "else": { + "operation": "boost", + "score": 0.028565144166350365 + } + }, + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 773.5, "then": { "operation": "boost", - "score": 0.09943505376577377 + "score": 0.020068015903234482 }, "else": { "operation": "boost", - "score": 0.27361860871315 + "score": 0.15669429302215576 } }, "else": { "operation": "boost", - "score": -0.10322688519954681 + "score": 0.07612936943769455 } + }, + "else": { + "operation": "boost", + "score": -0.11278913915157318 } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10606835037469864 + }, + "else": { + "operation": "boost", + "score": 0.12749414145946503 + } }, "else": { "operation": "boost", - "score": 0.11244228482246399 + "score": 0.04656168445944786 } - }, - "else": { - "operation": "boost", - "score": 0.07785630971193314 } }, "else": { - "operation": "boost", - "score": 0.030509663745760918 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "Namespace" ], "then": { - "operation": "boost", - "score": 0.018066512420773506 - }, - "else": { - "operation": "boost", - "score": -0.6434630155563354 - } - }, - "else": { - "operation": "boost", - "score": 0.29827502369880676 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.018770305439829826 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92754.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.11476274579763412 - }, - "else": { - "operation": "boost", - "score": -0.03905564919114113 - } - }, - "else": { - "operation": "boost", - "score": -0.0001574072812218219 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03396753966808319 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06800393760204315 - }, - "else": { - "operation": "boost", - "score": 0.10351813584566116 - } - }, - "else": { - "operation": "boost", - "score": 0.04664741829037666 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.30574312806129456 - }, - "else": { - "operation": "boost", - "score": 0.011672714725136757 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.017745792865753174 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 161.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 643.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.08207377046346664 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 287.5, "then": { "operation": "boost", - "score": 0.08144965022802353 + "score": 0.11810969561338425 }, "else": { "operation": "boost", - "score": -0.3796560764312744 + "score": 0.09165851771831512 } - }, - "else": { - "operation": "boost", - "score": 0.09922635555267334 } }, + "else": { + "operation": "boost", + "score": -0.045248109847307205 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6203.5, + "then": { + "operation": "boost", + "score": 0.1824316680431366 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.01316305436193943 - }, - "else": { - "operation": "boost", - "score": -0.3592566251754761 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09450209140777588 - }, - "else": { - "operation": "boost", - "score": 0.05458260327577591 - } - }, - "else": { - "operation": "boost", - "score": 0.06727217882871628 - } + "operation": "boost", + "score": 0.18628893792629242 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.0911574512720108 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03115949034690857 - }, - "else": { - "operation": "boost", - "score": 0.06264044344425201 - } - } + "operation": "boost", + "score": -0.10312850028276443 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 42.5, "then": { "operation": "boost", - "score": -0.17642837762832642 + "score": 0.07510969042778015 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07245854288339615 + "score": -0.10349442064762115 }, "else": { "operation": "boost", - "score": 0.027275018393993378 + "score": 0.12052817642688751 } } } + }, + "else": { + "operation": "boost", + "score": -0.07398267835378647 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05861889570951462 - }, - "else": { - "operation": "boost", - "score": 0.11499736458063126 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.02018362656235695 - }, - "else": { - "operation": "boost", - "score": -0.3236862123012543 - } - } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09792114049196243 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 137.5, "then": { "operation": "boost", - "score": 0.09943965822458267 + "score": 0.1157338097691536 }, "else": { "operation": "boost", - "score": -0.03230031207203865 + "score": -0.00693654827773571 } }, "else": { - "operation": "boost", - "score": -0.10952004790306091 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "boost", + "score": 0.06697114557027817 + }, + "else": { + "operation": "boost", + "score": 0.1202511414885521 + } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.557343065738678 - }, - "else": { - "operation": "boost", - "score": -0.18628178536891937 - } + "operation": "boost", + "score": -0.13663209974765778 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0963473841547966 + }, + "else": { + "operation": "boost", + "score": 0.07459478825330734 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "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.05548518896102905 + "score": -0.10914666950702667 }, "else": { "operation": "boost", - "score": -0.002087381901219487 + "score": 0.11045747250318527 } + }, + "else": { + "operation": "boost", + "score": 0.012793325819075108 } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 746.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 807.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.08896055817604065 - }, - "else": { - "operation": "boost", - "score": 0.11169596016407013 - } + "operation": "boost", + "score": 0.045937616378068924 }, "else": { "operation": "boost", - "score": 0.05507737770676613 + "score": 0.14461776614189148 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0077401334419846535 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 115.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08527190238237381 - }, - "else": { - "operation": "boost", - "score": -2.2992401123046875 - } + "operation": "boost", + "score": 0.0440109483897686 }, "else": { "operation": "boost", - "score": -1.2811139822006226 + "score": 0.11584790796041489 } + }, + "else": { + "operation": "boost", + "score": 0.044127609580755234 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "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": "NumReferences", - "threshold": 98748.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.0728667825460434 + "score": 0.04206680878996849 }, "else": { - "operation": "boost", - "score": 0.10762684792280197 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 317.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.08225099742412567 - }, - "else": { - "operation": "boost", - "score": 0.12464939802885056 - } - }, - "else": { "operation": "boost", - "score": -0.006950818467885256 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, - "then": { - "operation": "boost", - "score": -0.002173468703404069 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154019.0, - "then": { - "operation": "boost", - "score": 0.10210423916578293 - }, - "else": { - "operation": "boost", - "score": 0.029131613671779633 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10023224353790283 - }, - "else": { - "operation": "boost", - "score": 0.12574613094329834 - } - } + "score": 0.11111635714769363 }, "else": { "operation": "boost", - "score": -0.059454333037137985 + "score": 0.0 } } + }, + "else": { + "operation": "boost", + "score": -0.10962218046188354 } } }, "else": { + "operation": "boost", + "score": 0.0008465859573334455 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.018694691359996796 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.17789560556411743 + }, + "else": { + "operation": "boost", + "score": -0.0387607105076313 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11154.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06851910054683685 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.02389921434223652 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 220112.0, "then": { "operation": "boost", - "score": 0.1139988973736763 + "score": -0.11262167990207672 }, "else": { "operation": "boost", - "score": 0.17003461718559265 + "score": 0.09138374030590057 } - }, - "else": { - "operation": "boost", - "score": -0.10873199254274368 } + }, + "else": { + "operation": "boost", + "score": -0.005477665923535824 } - }, - "else": { - "operation": "boost", - "score": 0.013213373720645905 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11467.0, "then": { "operation": "boost", - "score": -0.002076162723824382 + "score": 0.018748272210359573 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 367822.5, + "threshold": 11209.5, "then": { - "operation": "boost", - "score": -0.10359515994787216 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11245.0, + "then": { + "operation": "boost", + "score": 0.1268569678068161 + }, + "else": { + "operation": "boost", + "score": 0.1151450127363205 + } + }, + "else": { + "operation": "boost", + "score": -0.007905972190201283 + } }, "else": { "operation": "boost", - "score": -0.06009892746806145 + "score": 0.08798421919345856 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], + "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, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, "then": { + "operation": "boost", + "score": -0.031344082206487656 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04596574977040291 - }, - "else": { - "operation": "boost", - "score": -0.12592032551765442 - } + "operation": "boost", + "score": 0.1339673101902008 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54332.5, - "then": { - "operation": "boost", - "score": 0.0726596787571907 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06551722437143326 - }, - "else": { - "operation": "boost", - "score": 0.1158657893538475 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71611.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10423315316438675 - }, - "else": { - "operation": "boost", - "score": 0.12661230564117432 - } - }, - "else": { - "operation": "boost", - "score": 0.10791856050491333 - } - } + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.08561631292104721 }, "else": { "operation": "boost", - "score": -0.0028710835613310337 + "score": 0.07838335633277893 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273152.0, + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.13825032114982605 + }, + "else": { + "operation": "boost", + "score": 0.12054448574781418 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.029410772025585175 + "score": -0.09153880923986435 }, "else": { "operation": "boost", - "score": 0.02400263212621212 + "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, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 31.5, "then": { + "operation": "boost", + "score": 0.21365796029567719 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.06700991839170456 + "score": 0.02087215706706047 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.0, + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.09889169782400131 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026018263772130013 + }, + "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 + } + } }, "else": { "operation": "boost", - "score": 0.07793636620044708 + "score": 0.031708624213933945 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 25.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.0966191366314888 + "score": 0.12550877034664154 }, "else": { "operation": "boost", - "score": 0.03900326415896416 + "score": 0.03123265691101551 } }, "else": { "operation": "boost", - "score": 0.0776171162724495 + "score": -0.04393041878938675 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08937899768352509 }, "else": { "operation": "boost", - "score": 0.03365664184093475 + "score": 0.02136388048529625 } } + }, + "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_Type" + ], + "then": { + "operation": "boost", + "score": -0.0022426170762628317 + }, + "else": { + "operation": "boost", + "score": -0.0818609818816185 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73944.5, + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.0653560608625412 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 85946.5, + "threshold": 10.0, "then": { "operation": "boost", - "score": -0.1066298633813858 + "score": 0.18540753424167633 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10633813589811325 - }, - "else": { - "operation": "boost", - "score": 0.11468859016895294 - } + "operation": "boost", + "score": -0.03769074007868767 } - }, - "else": { - "operation": "boost", - "score": 0.041264697909355164 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84335.0, - "then": { - "operation": "boost", - "score": -0.013324343599379063 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75566.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.09949035197496414 - }, - "else": { - "operation": "boost", - "score": 0.06906910985708237 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.4502843916416168 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.0896114856004715 - }, - "else": { - "operation": "boost", - "score": -0.15551361441612244 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62580.5, - "then": { - "operation": "boost", - "score": 0.03620244562625885 - }, - "else": { - "operation": "boost", - "score": 0.13867217302322388 - } - }, - "else": { - "operation": "boost", - "score": -0.4499678313732147 - } - }, - "else": { - "operation": "boost", - "score": 0.014253441244363785 - } - } - } + "operation": "boost", + "score": -0.04227060452103615 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.03557148203253746 - }, - "else": { - "operation": "boost", - "score": 0.104019396007061 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64009.5, - "then": { - "operation": "boost", - "score": 0.06532812863588333 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10395707935094833 - }, - "else": { - "operation": "boost", - "score": -0.06496915966272354 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59076.5, - "then": { - "operation": "boost", - "score": -0.1584920734167099 - }, - "else": { - "operation": "boost", - "score": 0.5141819715499878 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148691.0, - "then": { - "operation": "boost", - "score": 0.10489034652709961 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10384482145309448 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08127972483634949 - }, - "else": { - "operation": "boost", - "score": -0.10858402401208878 - } - }, - "else": { - "operation": "boost", - "score": -0.31989791989326477 - } - }, - "else": { - "operation": "boost", - "score": 0.09293888509273529 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, - "then": { - "operation": "boost", - "score": 0.0032927931752055883 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "boost", - "score": 0.11804303526878357 - }, - "else": { - "operation": "boost", - "score": -0.27293217182159424 - } - }, - "else": { - "operation": "boost", - "score": 0.18174730241298676 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.4942646026611328 - }, - "else": { - "operation": "boost", - "score": -0.14993897080421448 - } - }, - "else": { - "operation": "boost", - "score": 0.001291142893023789 - } - } + "operation": "boost", + "score": -0.15345723927021027 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.14995135366916656 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 458944.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.010931448079645634 - }, - "else": { - "operation": "boost", - "score": -0.11944286525249481 - } - }, - "else": { - "operation": "boost", - "score": -0.01833658292889595 - } + "operation": "boost", + "score": -0.004953397437930107 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.0031698227394372225 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.38816574215888977 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.11208471655845642 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.17879974842071533 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09862356632947922 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11358113586902618 - }, - "else": { - "operation": "boost", - "score": 0.11844135075807571 - } - } - } - } + "operation": "boost", + "score": -0.04287434369325638 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12636202573776245 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.10781939327716827 - }, - "else": { - "operation": "boost", - "score": 0.1327771544456482 - } + "operation": "boost", + "score": -0.006226572673767805 }, "else": { "operation": "boost", - "score": 0.09307856857776642 + "score": 0.10261143743991852 } + }, + "else": { + "operation": "boost", + "score": -0.0932597815990448 } } } }, "else": { "operation": "boost", - "score": -0.12261437624692917 + "score": 0.0037867631763219833 } + }, + "else": { + "operation": "boost", + "score": 0.00047555204946547747 } - }, - "else": { - "operation": "boost", - "score": -0.00023963172861840576 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 3080.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3082.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 278454.0, + "threshold": 11710.5, "then": { - "operation": "boost", - "score": 0.007412879262119532 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 381517.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.07073483616113663 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12078183889389038 - }, - "else": { - "operation": "boost", - "score": -0.1491091400384903 - } - } - }, - "else": { - "operation": "boost", - "score": -0.041299495846033096 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.015092580579221249 - }, - "else": { - "operation": "boost", - "score": 0.09021453559398651 - } - }, - "else": { - "operation": "boost", - "score": -0.012612076476216316 - } - }, - "else": { - "operation": "boost", - "score": 0.03593244403600693 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": 0.07609570026397705 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "boost", - "score": 0.10874103754758835 - }, - "else": { - "operation": "boost", - "score": -0.03447192534804344 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1287914514541626 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291408.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.04457542672753334 + "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.10587750375270844 + "score": 0.11028121411800385 } }, "else": { "operation": "boost", - "score": 0.047814078629016876 + "score": 0.02750077284872532 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09218642860651016 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.061488550156354904 - }, - "else": { - "operation": "boost", - "score": -0.4982501268386841 - } - } + "operation": "boost", + "score": 0.05532413348555565 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.09605710208415985 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.0014422225067391992 - }, - "else": { - "operation": "boost", - "score": 0.08231010288000107 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.0038091104943305254 + "score": 0.026620112359523773 }, "else": { "operation": "boost", - "score": -0.31336265802383423 + "score": 0.09664493799209595 } }, "else": { - "operation": "boost", - "score": 0.06292802840471268 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, - "then": { - "operation": "boost", - "score": 0.0035658711567521095 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 337965.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 33378.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.07023370265960693 + "score": 0.10258661955595016 }, "else": { "operation": "boost", - "score": -0.17469604313373566 + "score": 0.062263067811727524 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.030559897422790527 - }, - "else": { - "operation": "boost", - "score": 0.10194242745637894 - } - }, - "else": { - "operation": "boost", - "score": 0.09521111845970154 - } + "operation": "boost", + "score": -0.13375689089298248 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.08132489025592804 + "score": -0.11088378727436066 }, "else": { "operation": "boost", - "score": 0.0026611255016177893 + "score": -0.31321507692337036 } } - }, - "else": { - "operation": "boost", - "score": -0.02006259560585022 } - } - }, - "else": { - "operation": "boost", - "score": -0.03229695186018944 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.02022995427250862 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10258889943361282 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace" + ], "then": { - "operation": "boost", - "score": 0.0631200522184372 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55833.5, + "then": { + "operation": "boost", + "score": 0.02067425660789013 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26014.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.11966991424560547 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11570139974355698 + }, + "else": { + "operation": "boost", + "score": 0.06858273595571518 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.11144348233938217 + }, + "else": { + "operation": "boost", + "score": 0.11387111991643906 + } + }, + "else": { + "operation": "boost", + "score": 0.011700427159667015 + } + } + } }, "else": { "operation": "boost", - "score": -0.10854234546422958 + "score": 0.023860769346356392 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.10147890448570251 + "score": 0.03238943591713905 }, "else": { "operation": "boost", - "score": 0.020644791424274445 + "score": -0.06497051566839218 } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11777.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.16766656935214996 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.0934382826089859 - }, - "else": { - "operation": "boost", - "score": 0.03522679954767227 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11912.0, "then": { "operation": "boost", - "score": 0.015324831940233707 + "score": 0.018004335463047028 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.19055812060832977 - }, - "else": { - "operation": "boost", - "score": 0.10372483730316162 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10358753800392151 + "score": -0.09341245144605637 }, "else": { "operation": "boost", - "score": -0.03322918713092804 + "score": 0.18352870643138885 } }, "else": { "operation": "boost", - "score": 0.07460079342126846 + "score": 0.4666461646556854 } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.22847041487693787 }, "else": { "operation": "boost", - "score": 0.0012234244495630264 + "score": -0.3082372844219208 } } - }, - "else": { - "operation": "boost", - "score": 0.011272788047790527 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10903629660606384 }, "else": { "operation": "boost", - "score": 0.0015285552944988012 + "score": -0.25367799401283264 } - }, - "else": { - "operation": "boost", - "score": -0.09580595791339874 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 236336.5, + "threshold": 11586.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.11814957857131958 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.1643759310245514 + "score": 0.08436774462461472 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.13553482294082642 - }, - "else": { - "operation": "boost", - "score": 0.12281619012355804 - } + "operation": "boost", + "score": 0.10840442776679993 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7584.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8250.5, "then": { - "operation": "boost", - "score": -0.05654100701212883 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.11998604238033295 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 9931.0, "then": { "operation": "boost", - "score": 0.02243175357580185 + "score": 0.0036094726528972387 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9044.0, "then": { "operation": "boost", - "score": -0.005127743352204561 + "score": 0.10756243020296097 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "boost", + "score": 0.025299636647105217 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11245.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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10339.5, "then": { "operation": "boost", - "score": 0.06537143141031265 + "score": 0.10603144764900208 }, "else": { - "operation": "boost", - "score": -0.006983952131122351 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.052114568650722504 + "score": 0.028363768011331558 } }, "else": { - "operation": "boost", - "score": 0.023146385326981544 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04872870072722435 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.009542245417833328 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { - "operation": "boost", - "score": -0.0035997959785163403 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10866332054138184 - }, - "else": { - "operation": "boost", - "score": 0.12321862578392029 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.14604508876800537 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10601036995649338 - }, - "else": { - "operation": "boost", - "score": 0.14888302981853485 - } - }, - "else": { - "operation": "boost", - "score": 0.06213817745447159 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06717662513256073 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.09226473420858383 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8464.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12121927738189697 + }, + "else": { + "operation": "boost", + "score": -0.07569428533315659 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12357891350984573 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "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 + } + }, + "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 + } + } + } + } + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, + "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": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03521174564957619 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.09765131771564484 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -1.4897332191467285 + }, + "else": { + "operation": "boost", + "score": 0.10098154097795486 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09551139920949936 + }, + "else": { + "operation": "boost", + "score": 0.06565193831920624 + } + } }, "else": { - "operation": "boost", - "score": 0.11575876176357269 + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.10886365920305252 + }, + "else": { + "operation": "boost", + "score": 0.11360827088356018 + } + }, + "else": { + "operation": "boost", + "score": -0.8354986310005188 + } + }, + "else": { + "operation": "boost", + "score": -0.3284303843975067 + } + }, + "else": { + "operation": "boost", + "score": -0.071821428835392 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.056463632732629776 }, "else": { "operation": "boost", - "score": -0.2876414656639099 + "score": -0.0609855093061924 } + }, + "else": { + "operation": "boost", + "score": -0.14319537580013275 } } }, "else": { - "operation": "boost", - "score": -0.0687401220202446 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.6805391907691956 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06568554043769836 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.09392362833023071 - }, - "else": { - "operation": "boost", - "score": -0.14510586857795715 - } - } - } - }, - "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_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.09926771372556686 + "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.10583926737308502 + "score": -0.10444121062755585 } + }, + "else": { + "operation": "boost", + "score": 0.11506211012601852 } }, "else": { - "operation": "boost", - "score": 0.006376205012202263 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_Statement", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.11038585007190704 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09384571760892868 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10624998807907104 - }, - "else": { - "operation": "boost", - "score": 0.08210873603820801 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "NumReferences", + "threshold": 7787.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 8191.0, "then": { "operation": "boost", - "score": 0.1486417055130005 + "score": 0.10546834766864777 }, "else": { "operation": "boost", - "score": -0.36681485176086426 + "score": 0.06379008293151855 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.0809958204627037 + "score": 0.11496860533952713 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7732.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.05170691758394241 - }, - "else": { - "operation": "boost", - "score": 0.10223864018917084 - } + "operation": "boost", + "score": 0.09963924437761307 }, "else": { "operation": "boost", - "score": 0.03608386591076851 + "score": 0.04716522619128227 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 7946.0, "then": { - "operation": "boost", - "score": 0.020601587370038033 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7960.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10294437408447266 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { - "operation": "boost", - "score": 0.11558295041322708 - }, - "else": { - "operation": "boost", - "score": 0.11209441721439362 - } - }, - "else": { - "operation": "boost", - "score": 0.10150114446878433 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1011054515838623 - }, - "else": { - "operation": "boost", - "score": -0.06366804242134094 - } - } + "operation": "boost", + "score": 0.056425873190164566 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.04974282532930374 + "score": 0.11827903240919113 }, "else": { "operation": "boost", - "score": -0.1722027212381363 + "score": 0.1311112940311432 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108013.0, + "threshold": 7693.0, "then": { "operation": "boost", - "score": -0.1636214554309845 + "score": 0.001941765658557415 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 7635.5, "then": { "operation": "boost", - "score": -0.3581795394420624 + "score": 0.11966170370578766 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.09484340250492096 - }, - "else": { - "operation": "boost", - "score": 0.08342087268829346 - } + "operation": "boost", + "score": 0.022330328822135925 } } + } + }, + "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.01751961000263691 + "score": -0.10212747752666473 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97095.5, + "threshold": 3136.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09467757493257523 - }, - "else": { - "operation": "boost", - "score": 0.03410075604915619 - } - }, - "else": { - "operation": "boost", - "score": 0.10654321312904358 - } + "operation": "boost", + "score": 0.05722620338201523 }, "else": { "operation": "boost", - "score": -0.000497274799272418 + "score": -0.11323612183332443 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 3127.5, "then": { "operation": "boost", - "score": 0.008019337430596352 + "score": 0.10433100163936615 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05266878381371498 - }, - "else": { - "operation": "boost", - "score": 0.09886393696069717 - } + "operation": "boost", + "score": 0.030377784743905067 } } } } } } - }, - "else": { - "operation": "boost", - "score": 0.06440996378660202 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03251205012202263 - }, - "else": { - "operation": "boost", - "score": 0.08238343894481659 } - }, - "else": { - "operation": "boost", - "score": 0.009266541339457035 } }, "else": { "operation": "boost", - "score": 0.005009286105632782 + "score": -0.00041993072954937816 } }, "else": { - "operation": "boost", - "score": -0.016657110303640366 + "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": "boost", - "score": 0.00015096882998477668 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 6495.0, "then": { "operation": "boost", - "score": 0.02869616076350212 + "score": -0.034495119005441666 }, "else": { - "operation": "boost", - "score": -0.20193718373775482 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4712.0, "then": { - "operation": "boost", - "score": 0.031048119068145752 + "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 + } }, "else": { "operation": "boost", - "score": 0.09912531822919846 + "score": -0.17279638350009918 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 57410.0, "then": { - "operation": "boost", - "score": 0.06235072761774063 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1318535.0, + "threshold": 59248.5, "then": { "operation": "boost", - "score": 0.05439639091491699 + "score": 0.005842081271111965 }, "else": { - "operation": "boost", - "score": -0.42327895760536194 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 0.1359836906194687 + }, + "else": { + "operation": "boost", + "score": 0.1370670199394226 + } } + }, + "else": { + "operation": "boost", + "score": -0.09486235678195953 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006524225696921349 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 54992.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.00334366993047297 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.06936725229024887 + "score": 0.1121358573436737 }, "else": { "operation": "boost", - "score": 0.09295174479484558 + "score": 0.1425503045320511 } }, "else": { "operation": "boost", - "score": 0.10732334107160568 + "score": 0.2735494077205658 } }, "else": { "operation": "boost", - "score": 0.03805505484342575 + "score": 0.5705655217170715 } - }, - "else": { - "operation": "boost", - "score": 0.03167027607560158 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.03341138735413551 + "score": 0.024316290393471718 }, "else": { "operation": "boost", - "score": -0.023957708850502968 + "score": 0.10048037022352219 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { + "operation": "boost", + "score": -0.006457197014242411 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05086924135684967 + "score": -1.0256515741348267 }, "else": { "operation": "boost", - "score": 0.011675914749503136 + "score": -0.11254341900348663 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5270.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.11574201285839081 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.1198497861623764 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.05838044360280037 + }, + "else": { + "operation": "boost", + "score": 0.10314308851957321 + } }, "else": { "operation": "boost", - "score": -0.11104553192853928 + "score": 0.029332172125577927 } + }, + "else": { + "operation": "boost", + "score": 0.05992607772350311 } + }, + "else": { + "operation": "boost", + "score": 0.009025966748595238 } - }, - "else": { - "operation": "boost", - "score": 0.004850191064178944 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.012031525373458862 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.053841155022382736 - }, - "else": { - "operation": "boost", - "score": -0.013860369101166725 - } - } } + }, + "else": { + "operation": "boost", + "score": 0.010801627300679684 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.0004028862458653748 + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 22.5, + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.045163098722696304 - }, - "else": { - "operation": "boost", - "score": 0.10845091938972473 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.01492831390351057 + }, + "else": { + "operation": "boost", + "score": 0.0005229103844612837 + } + }, + "else": { + "operation": "boost", + "score": 0.007620596326887608 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.08032893389463425 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09008871763944626 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08246569335460663 - }, - "else": { - "operation": "boost", - "score": -0.11878391355276108 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0013836185680702329 - } - } - }, - "else": { - "operation": "boost", - "score": -0.035585980862379074 - } + "operation": "boost", + "score": 0.01232688594609499 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], - "then": { - "operation": "boost", - "score": -0.004054150078445673 - }, - "else": { - "operation": "boost", - "score": -0.6129383444786072 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.43591994047164917 - }, - "else": { - "operation": "boost", - "score": -0.23780949413776398 - } - }, - "else": { - "operation": "boost", - "score": -0.02194127067923546 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.06899065524339676 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "boost", - "score": 0.12285056710243225 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.4125051200389862 - }, - "else": { - "operation": "boost", - "score": 0.14723868668079376 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03621060401201248 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 168.5, + "threshold": 26.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 753.0, + "threshold": 31.5, "then": { + "operation": "boost", + "score": -0.19606713950634003 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1166.5, + "threshold": 29.0, "then": { "operation": "boost", - "score": 0.0884421318769455 + "score": 0.09871626645326614 }, "else": { "operation": "boost", - "score": 0.1909770965576172 + "score": 0.05786784365773201 } - }, - "else": { - "operation": "boost", - "score": 0.04902943596243858 } }, + "else": { + "operation": "boost", + "score": -0.19925455749034882 + } + }, + "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.019200734794139862 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83.0, + "then": { + "operation": "boost", + "score": -0.037118688225746155 + }, + "else": { + "operation": "boost", + "score": 0.10696009546518326 + } + }, + "else": { + "operation": "boost", + "score": -0.00044208765029907227 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "boost", + "score": -0.17651353776454926 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.2142580896615982 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.0, + "then": { + "operation": "boost", + "score": 0.09175761044025421 + }, + "else": { + "operation": "boost", + "score": 0.12220916897058487 + } + } + }, + "else": { + "operation": "boost", + "score": -0.028844423592090607 + } + } + } + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 9.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12185364216566086 + "score": -0.24198418855667114 }, "else": { "operation": "boost", - "score": 0.10849592834711075 + "score": -0.09521282464265823 } - }, - "else": { - "operation": "boost", - "score": 0.12951403856277466 } } - }, - "else": { - "operation": "boost", - "score": 0.05687112733721733 } }, "else": { - "operation": "boost", - "score": 0.03183433786034584 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.15399889647960663 + "score": 0.0278032124042511 }, "else": { "operation": "boost", - "score": 0.33140188455581665 + "score": -0.01580287143588066 } }, "else": { "operation": "boost", - "score": -0.1592373102903366 + "score": -0.026937320828437805 } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11209701746702194 }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 249.5, + "then": { + "operation": "boost", + "score": -0.355392187833786 + }, + "else": { + "operation": "boost", + "score": 0.08520627021789551 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 11.5, + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.1165732741355896 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { + "operation": "boost", + "score": 0.10822523385286331 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 187.0, "then": { "operation": "boost", - "score": 0.10676686465740204 + "score": 0.030258744955062866 }, "else": { "operation": "boost", - "score": 0.10951592773199081 + "score": 0.10119996964931488 } + } + }, + "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.07729675620794296 + "score": 0.4332926273345947 } + }, + "else": { + "operation": "boost", + "score": 0.07459750026464462 } - }, - "else": { - "operation": "boost", - "score": 0.07054155319929123 } + }, + "else": { + "operation": "boost", + "score": -0.09906313568353653 } } - } - }, - "else": { - "operation": "boost", - "score": 0.024747004732489586 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.009606472216546535 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.0031735629308968782 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198207.0, + "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_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.11481092870235443 + "score": 0.01437383983284235 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12731993198394775 - }, - "else": { - "operation": "boost", - "score": 0.018679916858673096 - } + "operation": "boost", + "score": -0.032113172113895416 } }, "else": { + "operation": "boost", + "score": -0.0588979534804821 + } + }, + "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": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.019952183589339256 + "score": -0.021754663437604904 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.16387048363685608 - }, - "else": { - "operation": "boost", - "score": -0.03358360752463341 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 367.5, - "then": { - "operation": "boost", - "score": -0.0009191890130750835 - }, - "else": { - "operation": "boost", - "score": 0.10980372130870819 - } + "operation": "boost", + "score": 0.1371784508228302 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 763.0, - "then": { - "operation": "boost", - "score": -0.6308878064155579 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 470.5, - "then": { - "operation": "boost", - "score": 0.12915244698524475 - }, - "else": { - "operation": "boost", - "score": -0.10442449152469635 - } - } + "operation": "boost", + "score": -0.055511459708213806 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 457.5, - "then": { - "operation": "boost", - "score": -0.04845857620239258 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.1577482968568802 - }, - "else": { - "operation": "boost", - "score": 0.1123376116156578 - } - }, - "else": { - "operation": "boost", - "score": 0.03404836356639862 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2681.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3683.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5784.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7816.5, - "then": { - "operation": "boost", - "score": 0.09216724336147308 - }, - "else": { - "operation": "boost", - "score": 0.13506929576396942 - } + "operation": "boost", + "score": 0.10717040300369263 }, "else": { "operation": "boost", - "score": -0.4335542619228363 + "score": 0.11412031203508377 } }, "else": { "operation": "boost", - "score": 0.12006707489490509 + "score": 0.05319057032465935 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 407.5, - "then": { - "operation": "boost", - "score": 0.036694105714559555 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13967296481132507 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11611691117286682 - }, - "else": { - "operation": "boost", - "score": -0.2052304446697235 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0932563915848732 - } - } + "operation": "boost", + "score": 0.10754420608282089 } - }, - "else": { - "operation": "boost", - "score": 0.06482090055942535 } + }, + "else": { + "operation": "boost", + "score": 0.022649414837360382 } }, "else": { - "operation": "boost", - "score": 0.04764670133590698 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.04157360643148422 + }, + "else": { + "operation": "boost", + "score": 0.005261542741209269 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.012473304755985737 + "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 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.006087346933782101 + "score": 0.18743331730365753 }, "else": { "operation": "boost", - "score": 0.12301956862211227 + "score": -0.08107952028512955 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_Statement", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "boost", - "score": 0.04744459316134453 - }, - "else": { - "operation": "boost", - "score": 0.10531046986579895 - } + "operation": "boost", + "score": 0.10637523978948593 }, "else": { "operation": "boost", - "score": -0.1377536505460739 + "score": 0.09751445800065994 } }, "else": { "operation": "boost", - "score": -0.03821587562561035 + "score": 0.04679303616285324 } }, "else": { "operation": "boost", - "score": 0.01106282602995634 + "score": -0.008002053014934063 } } + }, + "else": { + "operation": "boost", + "score": -0.021289797499775887 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.020858002826571465 + }, + "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 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "Type", + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 662.0, + "threshold": 45.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 67.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2338.0, - "then": { - "operation": "boost", - "score": -0.06958670914173126 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1753.5, - "then": { - "operation": "boost", - "score": 0.10289157927036285 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 873.5, - "then": { - "operation": "boost", - "score": 0.04123838618397713 - }, - "else": { - "operation": "boost", - "score": 0.10274329036474228 - } - } - } + "operation": "boost", + "score": -0.02597920410335064 }, "else": { "operation": "boost", - "score": -0.07436352968215942 + "score": 0.10631050914525986 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 603.5, + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 632.5, - "then": { - "operation": "boost", - "score": 0.08486836403608322 - }, - "else": { - "operation": "boost", - "score": 0.1155606061220169 - } + "operation": "boost", + "score": -0.0813262015581131 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", - "score": -0.06833250820636749 + "score": 0.06085053086280823 }, "else": { "operation": "boost", - "score": 0.08611011505126953 + "score": 0.11085617542266846 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.09249904006719589 - }, - "else": { - "operation": "boost", - "score": 0.10927514731884003 - } - }, - "else": { - "operation": "boost", - "score": 0.04742386192083359 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.1888410598039627 - }, - "else": { - "operation": "boost", - "score": 0.13207076489925385 - } - } - }, - "else": { - "operation": "boost", - "score": -0.3740380108356476 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.13025207817554474 - }, - "else": { - "operation": "boost", - "score": 0.21172480285167694 - } - }, - "else": { - "operation": "boost", - "score": -0.1043115183711052 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.11069300770759583 - }, - "else": { - "operation": "boost", - "score": 0.11942525953054428 - } - }, - "else": { - "operation": "boost", - "score": -0.028407137840986252 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.24475887417793274 - }, - "else": { - "operation": "boost", - "score": 0.08377814292907715 - } - } + "operation": "boost", + "score": 0.0706963911652565 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6216.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7046.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.03899016231298447 + "score": 0.13047382235527039 }, "else": { "operation": "boost", - "score": 0.11140474677085876 + "score": 0.022328443825244904 } }, "else": { "operation": "boost", - "score": 0.006715335883200169 + "score": -0.1570449322462082 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1626.0, - "then": { - "operation": "boost", - "score": 0.07830654829740524 - }, - "else": { - "operation": "boost", - "score": -0.026784012094140053 - } + "operation": "boost", + "score": 0.125406414270401 }, "else": { "operation": "boost", - "score": -0.3674828112125397 + "score": 0.01433639321476221 } }, "else": { "operation": "boost", - "score": -0.207050159573555 + "score": -0.02251775749027729 } }, "else": { - "operation": "boost", - "score": -0.008515722118318081 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0028272822964936495 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005944938748143613 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.04936431348323822 - }, - "else": { - "operation": "boost", - "score": -0.12175048887729645 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": 0.09830965846776962 - }, - "else": { - "operation": "boost", - "score": 0.026051141321659088 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02883097529411316 - }, - "else": { - "operation": "boost", - "score": 0.09800175577402115 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.06251520663499832 - }, - "else": { - "operation": "boost", - "score": -0.058266591280698776 + "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, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.019251078367233276 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.131268709897995 + }, + "else": { + "operation": "boost", + "score": 0.07721754908561707 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00614231638610363 + } + }, + "else": { + "operation": "boost", + "score": 0.009713796898722649 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0020941407419741154 + } + } } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.014594556763768196 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Function", + "Type" ], "then": { "operation": "boost", - "score": -0.0013906335225328803 + "score": 0.0451197475194931 }, "else": { "operation": "boost", - "score": -0.24596211314201355 + "score": -9.390151535626501e-05 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09672922641038895 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15918.0, "then": { - "operation": "boost", - "score": -0.06095627695322037 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { - "operation": "boost", - "score": -0.006222511641681194 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11994786560535431 + } + } }, "else": { - "operation": "boost", - "score": 0.008765305392444134 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12728118896484375 + }, + "else": { + "operation": "boost", + "score": 0.11061973869800568 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0023051206953823566 }, "else": { "operation": "boost", - "score": -0.11171532422304153 + "score": -0.004984728526324034 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.004504112061113119 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.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 + } + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "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": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.028524067252874374 + "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": "boost", - "score": -0.02287403494119644 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.012689637020230293 + }, + "else": { + "operation": "boost", + "score": -0.09826099127531052 + } } }, "else": { "operation": "boost", - "score": -0.026440603658556938 + "score": -0.09193561971187592 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 960.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1315.0, + "then": { + "operation": "boost", + "score": -0.03826082870364189 + }, + "else": { + "operation": "boost", + "score": 0.102906234562397 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 100.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "boost", + "score": -0.07822781056165695 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.0, "then": { + "operation": "boost", + "score": 0.10160166770219803 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.0662304237484932 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.04742010310292244 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.12426771968603134 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 28.5, "then": { "operation": "boost", - "score": -0.1008768305182457 + "score": 0.12241137772798538 }, "else": { "operation": "boost", - "score": 0.09420743584632874 + "score": 0.0973496064543724 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.034038543701171875 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.10147617757320404 + "score": 0.10245022177696228 }, "else": { "operation": "boost", - "score": 0.1500035524368286 + "score": -0.03228405863046646 } } }, "else": { - "operation": "boost", - "score": 0.07986502349376678 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 79.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06068830192089081 - }, - "else": { - "operation": "boost", - "score": 0.10046473890542984 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1149.0, - "then": { - "operation": "boost", - "score": -0.00041939280345104635 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.026817239820957184 - }, - "else": { - "operation": "boost", - "score": 0.05791768804192543 - } - } - } + "operation": "boost", + "score": 0.07556340098381042 }, "else": { "operation": "boost", - "score": 0.048346146941185 + "score": 0.1316603124141693 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6067.0, + "threshold": 32.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "operation": "boost", + "score": -0.24266070127487183 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.11398438364267349 + "score": 0.09744738042354584 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10529.5, - "then": { - "operation": "boost", - "score": 0.041742030531167984 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10456158965826035 - }, - "else": { - "operation": "boost", - "score": 0.3184725046157837 - } - } + "operation": "boost", + "score": 0.11225274205207825 } }, "else": { - "operation": "boost", - "score": 0.09045280516147614 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10806403309106827 - }, - "else": { - "operation": "boost", - "score": 0.14015509188175201 - } + "operation": "boost", + "score": 0.09231309592723846 }, "else": { "operation": "boost", - "score": 0.07280173152685165 + "score": 0.017433451488614082 } - }, - "else": { - "operation": "boost", - "score": -0.02740154229104519 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273152.0, - "then": { - "operation": "boost", - "score": -0.016589445993304253 - }, - "else": { - "operation": "boost", - "score": 0.06770803779363632 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04380731284618378 - }, - "else": { - "operation": "boost", - "score": 0.059470854699611664 - } - } } - }, - "else": { - "operation": "boost", - "score": 0.0276322178542614 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.004620173014700413 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": -0.011975427158176899 + "score": -0.0047096204943954945 }, "else": { "operation": "boost", - "score": 0.009462419897317886 + "score": -0.1203548014163971 } } - }, - "else": { - "operation": "boost", - "score": -0.014340856112539768 } } } } } } + } + }, + "else": { + "operation": "boost", + "score": -0.0013024130603298545 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0595644935965538 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_UnionTag", "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.009333179332315922 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 38.5, "then": { "operation": "boost", - "score": 0.0340002067387104 + "score": 0.04132305085659027 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.007574626710265875 + "score": 0.009526156820356846 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.04345618933439255 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10447349399328232 - }, - "else": { - "operation": "boost", - "score": 0.011608229018747807 - } - } + "operation": "boost", + "score": -0.019066888839006424 }, "else": { "operation": "boost", - "score": 0.11486411094665527 + "score": 0.04515055939555168 } } } }, "else": { "operation": "boost", - "score": -0.09268898516893387 + "score": -0.0037527878303080797 } - }, - "else": { + } + }, + "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": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10341797769069672 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.021947365254163742 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09396708756685257 - }, - "else": { - "operation": "boost", - "score": 0.10844852775335312 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.009488672949373722 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.1513637751340866 + }, + "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.12005655467510223 + }, + "else": { + "operation": "boost", + "score": 0.11439261585474014 + } + }, + "else": { + "operation": "boost", + "score": -0.13837338984012604 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08946966379880905 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.10007558763027191 + }, + "else": { + "operation": "boost", + "score": 0.11457303911447525 + } + }, + "else": { + "operation": "boost", + "score": -0.11171264946460724 + } + } + }, + "else": { + "operation": "boost", + "score": 0.030912624672055244 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { + "operation": "boost", + "score": 0.07160607725381851 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { "operation": "boost", - "score": -0.06927589327096939 + "score": -0.05549641326069832 }, "else": { - "operation": "boost", - "score": 0.0980033352971077 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10575056076049805 + }, + "else": { + "operation": "boost", + "score": 0.1022339016199112 + } } }, "else": { - "operation": "boost", - "score": 0.11586106568574905 + "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.10768155753612518 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, + "operation": "boost", + "score": 0.0204024501144886 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.2963157892227173 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.18280883133411407 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.1497783213853836 + }, + "else": { + "operation": "boost", + "score": 0.09834721684455872 + } }, "else": { "operation": "boost", - "score": -0.5327581763267517 + "score": 0.08466019481420517 } + }, + "else": { + "operation": "boost", + "score": 0.05188394710421562 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0848488062620163 }, "else": { "operation": "boost", - "score": -3.59407377243042 + "score": -0.12669797241687775 } + }, + "else": { + "operation": "boost", + "score": 0.06449299305677414 } } - }, - "else": { - "operation": "boost", - "score": 0.0021311454474925995 } - }, - "else": { - "operation": "boost", - "score": 0.0434696264564991 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, + "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_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.0, + "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" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.14148148894309998 + "score": -0.013570165261626244 }, "else": { - "operation": "boost", - "score": 0.003416570369154215 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.09466294944286346 + }, + "else": { + "operation": "boost", + "score": 0.07548337429761887 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10588054358959198 + }, + "else": { + "operation": "boost", + "score": -0.3596497178077698 + } + }, + "else": { + "operation": "boost", + "score": -0.05111731216311455 + } + } } }, "else": { "operation": "boost", - "score": 0.028443027287721634 + "score": -0.04491104185581207 } }, "else": { "operation": "boost", - "score": 0.10582906752824783 + "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", + "set": [ + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.03884974867105484 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.11935028433799744 - }, - "else": { - "operation": "boost", - "score": -0.5278413891792297 - } + "operation": "boost", + "score": 0.03819743171334267 }, "else": { "operation": "boost", - "score": -0.04870593920350075 + "score": -0.0559052973985672 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.05190560594201088 + "score": 0.0329853892326355 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1347762942314148 + "score": -0.0015300634549930692 }, "else": { "operation": "boost", - "score": -0.12086828052997589 + "score": 0.05393138900399208 } } } }, "else": { + "operation": "boost", + "score": 0.0034278465900570154 + } + }, + "else": { + "operation": "boost", + "score": -0.10968296229839325 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0012373740319162607 + } + } + } + }, + "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, + "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.08036525547504425 + }, + "else": { + "operation": "boost", + "score": -0.030147533863782883 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.1501741111278534 + "score": -0.06439634412527084 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 98.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.034139521420001984 - }, - "else": { - "operation": "boost", - "score": 0.1109781414270401 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 147.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.1118089035153389 + "score": 0.062453627586364746 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 425.0, "then": { "operation": "boost", - "score": 0.029686544090509415 + "score": 0.10765651613473892 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.12480276823043823 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08354662358760834 - }, - "else": { - "operation": "boost", - "score": 0.049033526331186295 - } - }, - "else": { - "operation": "boost", - "score": 0.09107405692338943 - } - }, - "else": { - "operation": "boost", - "score": -0.13817431032657623 - } - } + "operation": "boost", + "score": 0.360183447599411 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.0023785503581166267 - }, - "else": { - "operation": "boost", - "score": 0.08709096163511276 - } + "operation": "boost", + "score": 0.1228419616818428 }, "else": { "operation": "boost", - "score": -0.1343861222267151 + "score": -0.2038867324590683 } } + }, + "else": { + "operation": "boost", + "score": 0.04912089928984642 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 68.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.024661457166075706 + "score": -0.01606440544128418 }, "else": { "operation": "if_greater", "feature": "NumReferences", + "threshold": 11146.5, + "then": { + "operation": "boost", + "score": 0.10636299848556519 + }, + "else": { + "operation": "boost", + "score": -0.452038437128067 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10393523424863815 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.04182086139917374 + }, + "else": { + "operation": "boost", + "score": 0.14473801851272583 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1241844892501831 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.02747143618762493 + "score": 0.05953291431069374 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.05257543548941612 + "score": 0.13399021327495575 }, "else": { "operation": "boost", - "score": 0.11259926110506058 + "score": 0.07377547770738602 } }, "else": { "operation": "boost", - "score": -0.15410463511943817 + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.11116208136081696 + "score": -0.2167055755853653 }, "else": { - "operation": "boost", - "score": 0.06410527229309082 + "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": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.12931691110134125 + "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": "boost", - "score": -0.1914738565683365 + "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 + } + } } } } - }, - "else": { - "operation": "boost", - "score": -0.06000242009758949 } } - }, - "else": { - "operation": "boost", - "score": -0.010239644907414913 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.007978074252605438 }, "else": { "operation": "boost", - "score": 0.03567331284284592 + "score": 0.011665952391922474 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.11097810417413712 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.019554495811462402 + "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": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.0, "then": { - "operation": "boost", - "score": -0.11561426520347595 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.14542941749095917 + }, + "else": { + "operation": "boost", + "score": -0.13156843185424805 + } }, "else": { - "operation": "boost", - "score": 0.08589357882738113 + "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 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1449078619480133 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.0039832377806305885 + "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.036127589643001556 + "score": 0.14212682843208313 } - }, - "else": { - "operation": "boost", - "score": 0.016683310270309448 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.015327430330216885 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 131.0, "then": { - "operation": "boost", - "score": 0.02378070168197155 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 238.0, + "then": { + "operation": "boost", + "score": 0.11380459368228912 + }, + "else": { + "operation": "boost", + "score": 0.12243986129760742 + } }, "else": { "operation": "boost", - "score": -0.009376926347613335 + "score": 0.08316969126462936 } }, "else": { "operation": "boost", - "score": 0.044737331569194794 + "score": 0.024232368916273117 } - }, - "else": { - "operation": "boost", - "score": 0.035846464335918427 } } } }, "else": { "operation": "boost", - "score": -0.07318787276744843 + "score": 0.009754561819136143 } }, - "else": { - "operation": "boost", - "score": 0.00038625928573310375 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0005341843352653086 - }, "else": { "operation": "if_member", "feature": "Scope", "set": [ + "FunctionScope", "ClassScope", - "GlobalScope", - "FunctionScope" + "GlobalScope" ], "then": { "operation": "boost", - "score": -0.031196419149637222 + "score": 0.03179502859711647 }, "else": { - "operation": "boost", - "score": -0.10074391961097717 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.09827826917171478 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": -0.11495233327150345 + } + } } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.10127510130405426 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.029702207073569298 - }, - "else": { - "operation": "boost", - "score": 0.0035273863468319178 - } - }, - "else": { - "operation": "boost", - "score": -0.02411729469895363 - } - }, - "else": { - "operation": "boost", - "score": -0.0566072091460228 - } + "operation": "boost", + "score": -0.004017665516585112 } } + }, + "else": { + "operation": "boost", + "score": -0.01731361821293831 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820317.5, + "threshold": 1548.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1318535.0, + "threshold": 1550.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09285342693328857 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.03256785869598389 - }, - "else": { - "operation": "boost", - "score": 0.007989461533725262 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07938104122877121 - }, - "else": { - "operation": "boost", - "score": -0.20968738198280334 - } - } - } - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06551498919725418 - }, - "else": { - "operation": "boost", - "score": 0.0058845276944339275 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11732565611600876 - }, - "else": { - "operation": "boost", - "score": 0.10867217928171158 - } - }, - "else": { - "operation": "boost", - "score": 0.04108967259526253 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.32746729254722595 - }, - "else": { - "operation": "boost", - "score": -0.040027908980846405 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 220295.0, "then": { "operation": "boost", - "score": 0.0285886712372303 + "score": -0.011744585819542408 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09883325546979904 - }, - "else": { - "operation": "boost", - "score": -0.0412968285381794 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 199261.5, "then": { - "operation": "boost", - "score": 0.02545093186199665 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.013491182588040829 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" + "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": 1.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.07022985070943832 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11248033493757248 + }, + "else": { + "operation": "boost", + "score": 0.08278429508209229 + } }, "else": { - "operation": "boost", - "score": 0.10733727365732193 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.054172199219465256 + "score": -0.11275064200162888 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 16206.0, "then": { "operation": "boost", - "score": -0.04995604231953621 + "score": 0.015186401084065437 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.021250315010547638 - }, - "else": { - "operation": "boost", - "score": 0.05748656392097473 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.02102479711174965 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04126708209514618 - }, - "else": { - "operation": "boost", - "score": -0.4668322205543518 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3077.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 3241.5, "then": { - "operation": "boost", - "score": 0.09043025970458984 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7547.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8723.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15623.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.06744208186864853 + }, + "else": { + "operation": "boost", + "score": 0.09837590903043747 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9411.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10351.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 + } + }, + "else": { + "operation": "boost", + "score": -0.21692651510238647 + } + }, + "else": { + "operation": "boost", + "score": 0.21156983077526093 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10027.0, + "then": { + "operation": "boost", + "score": -0.013140657916665077 + }, + "else": { + "operation": "boost", + "score": 0.12608960270881653 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, + "then": { + "operation": "boost", + "score": 0.12676191329956055 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10238771885633469 + }, + "else": { + "operation": "boost", + "score": 0.024583935737609863 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.49200573563575745 + }, + "else": { + "operation": "boost", + "score": 0.08858934789896011 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5179.0, + "then": { + "operation": "boost", + "score": 0.10608009248971939 + }, + "else": { + "operation": "boost", + "score": -0.0396004393696785 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0878758355975151 + }, + "else": { + "operation": "boost", + "score": -0.32799896597862244 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12173125147819519 + } }, "else": { - "operation": "boost", - "score": 0.05134968087077141 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.0005644728662446141 + }, + "else": { + "operation": "boost", + "score": 0.110181525349617 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 1924.0, "then": { - "operation": "boost", - "score": 0.0007740713772363961 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.053818121552467346 + "score": -0.08519161492586136 }, "else": { "operation": "boost", - "score": 0.07611029595136642 + "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": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { + "operation": "boost", + "score": -0.22123268246650696 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel" ], - "then": { - "operation": "boost", - "score": 0.1176777184009552 - }, - "else": { - "operation": "boost", - "score": -0.37438929080963135 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, + "feature": "NumReferences", + "threshold": 8460.0, "then": { - "operation": "boost", - "score": -0.27371418476104736 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15079.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.08583353459835052 + }, + "else": { + "operation": "boost", + "score": 0.10599585622549057 + } + }, + "else": { + "operation": "boost", + "score": 0.10744485259056091 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.1377376914024353 + }, + "else": { + "operation": "boost", + "score": 0.10093948245048523 + } + } }, "else": { "operation": "boost", - "score": 0.11342987418174744 + "score": -0.12418938428163528 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.020981507375836372 - }, - "else": { - "operation": "boost", - "score": -0.03997000306844711 - } + "operation": "boost", + "score": -0.03129902482032776 } } + }, + "else": { + "operation": "boost", + "score": -0.36273595690727234 } }, "else": { - "operation": "boost", - "score": -0.016179533675312996 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04642021656036377 - }, - "else": { - "operation": "boost", - "score": 0.1004280224442482 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.07720888406038284 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 3012.5, "then": { - "operation": "boost", - "score": 0.08863215148448944 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10072321444749832 + }, + "else": { + "operation": "boost", + "score": 0.11206661909818649 + } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { - "operation": "boost", - "score": 0.08145376294851303 + "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.1072506234049797 + "score": -0.28760671615600586 } } - }, - "else": { - "operation": "boost", - "score": 0.00395743316039443 } } - }, - "else": { - "operation": "boost", - "score": -0.044198814779520035 - } - }, - "else": { - "operation": "boost", - "score": -0.008361448533833027 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.2636694312095642 - }, - "else": { - "operation": "boost", - "score": -0.1950639933347702 } }, "else": { - "operation": "boost", - "score": -0.01445913128554821 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19035.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 7096.5, "then": { + "operation": "boost", + "score": 0.0075153508223593235 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24227.5, + "threshold": 6621.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6689.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55854.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.026889972388744354 + "score": -0.04141784831881523 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53705.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1283714324235916 + "score": 0.12381886690855026 }, "else": { - "operation": "boost", - "score": 0.13493794202804565 + "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.11773865669965744 + "score": -0.11177241802215576 } }, "else": { "operation": "boost", - "score": 0.03272785618901253 + "score": -0.22629715502262115 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129900.0, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { + "operation": "boost", + "score": -0.2537690997123718 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.08529986441135406 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.11129014194011688 - }, - "else": { - "operation": "boost", - "score": 0.10660428553819656 - } + "operation": "boost", + "score": 0.08836069703102112 }, "else": { "operation": "boost", - "score": 0.05139783024787903 + "score": 0.11417999863624573 } + }, + "else": { + "operation": "boost", + "score": 0.0992313027381897 } - }, - "else": { - "operation": "boost", - "score": -0.015334023162722588 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.11556689441204071 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1910.5, "then": { - "operation": "boost", - "score": 0.11867446452379227 + "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.22686509788036346 + "score": 0.09178287535905838 } + }, + "else": { + "operation": "boost", + "score": -0.010136459954082966 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 6320.5, "then": { "operation": "boost", - "score": 0.26503971219062805 + "score": -0.17485187947750092 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20599.5, + "threshold": 6177.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23667.0, + "threshold": 6281.5, "then": { - "operation": "boost", - "score": -0.34782615303993225 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12248887866735458 + }, + "else": { + "operation": "boost", + "score": -0.2586263120174408 + } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21122.0, - "then": { - "operation": "boost", - "score": 0.06265407800674438 - }, - "else": { - "operation": "boost", - "score": 0.3147141933441162 - } + "operation": "boost", + "score": 0.14443339407444 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22352.0, - "then": { - "operation": "boost", - "score": 0.1692609041929245 - }, - "else": { - "operation": "boost", - "score": 0.04773988202214241 - } + "operation": "boost", + "score": 0.11928705126047134 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11682440340518951 + "score": 0.05872621387243271 }, "else": { "operation": "boost", - "score": -0.2785722017288208 + "score": -0.011604161001741886 } } } } } - }, - "else": { - "operation": "boost", - "score": 0.020332610234618187 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.13845457136631012 + "score": 0.01694960705935955 }, "else": { "operation": "boost", - "score": -0.026371533051133156 + "score": -0.1018514633178711 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19542.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 22160.0, "then": { "operation": "boost", - "score": -0.08200828731060028 + "score": 0.02631274238228798 }, "else": { - "operation": "boost", - "score": 0.1277158409357071 + "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 + } + } + } } }, "else": { "operation": "boost", - "score": -0.05984286591410637 + "score": -0.03630350902676582 } } } + } + }, + "else": { + "operation": "boost", + "score": -0.0008764003869146109 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.16526784002780914 }, "else": { "operation": "boost", - "score": 0.02375032566487789 + "score": -0.10025670379400253 } }, "else": { + "operation": "boost", + "score": 0.05979115515947342 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021171920001506805 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11154.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54650.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11326968669891357 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.06118660420179367 + "score": -0.5868790149688721 }, "else": { - "operation": "boost", - "score": 0.14200003445148468 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32501.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59115.0, + "then": { + "operation": "boost", + "score": 0.054706476628780365 + }, + "else": { + "operation": "boost", + "score": 0.419765442609787 + } + }, + "else": { + "operation": "boost", + "score": -0.11830008774995804 + } + }, + "else": { + "operation": "boost", + "score": -0.24613913893699646 + } } }, "else": { "operation": "boost", - "score": -0.03533398360013962 + "score": -0.03697730600833893 } + }, + "else": { + "operation": "boost", + "score": 0.004319565370678902 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7342.5, + "threshold": 11467.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 246961.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.019214823842048645 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": -0.0015927581116557121 + }, + "else": { + "operation": "boost", + "score": -0.13022339344024658 + } }, "else": { - "operation": "boost", - "score": 0.0157353226095438 + "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 + } + } } }, "else": { - "operation": "boost", - "score": -0.1459316611289978 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1042.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08853618055582047 + }, + "else": { + "operation": "boost", + "score": 0.01515953429043293 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35026.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2655.0, + "threshold": 49106.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.044818807393312454 - }, - "else": { - "operation": "boost", - "score": -0.29378899931907654 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2450.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10778354853391647 + "score": 0.025004493072628975 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 235506.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11632616817951202 + "score": -0.12144618481397629 }, "else": { "operation": "boost", - "score": 0.10438189655542374 + "score": 0.047086089849472046 } }, "else": { - "operation": "boost", - "score": -0.018757112324237823 + "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": "NumReferences", - "threshold": 6257.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05799822136759758 - }, - "else": { - "operation": "boost", - "score": -0.6020888090133667 - } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.06854842603206635 - }, - "else": { - "operation": "boost", - "score": 0.08576478809118271 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017941012978553772 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1041.5, - "then": { - "operation": "boost", - "score": 0.12469373643398285 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1007.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1010.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.1403007060289383 + "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": "boost", - "score": 0.1200445219874382 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09394057840108871 + }, + "else": { + "operation": "boost", + "score": 0.04558630287647247 + } } }, "else": { - "operation": "boost", - "score": 0.050670452415943146 + "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": "boost", - "score": 0.1438930779695511 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 622.5, + "threshold": 20345.0, "then": { "operation": "boost", - "score": 0.01492375135421753 + "score": -0.009794823825359344 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.08024540543556213 - }, - "else": { - "operation": "boost", - "score": 0.17078080773353577 - } + "operation": "boost", + "score": 0.047662053257226944 } } } } - } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12224394083023071 + }, + "else": { + "operation": "boost", + "score": 0.11205390095710754 + } + }, + "else": { + "operation": "boost", + "score": -0.018852047622203827 + } + }, + "else": { + "operation": "boost", + "score": 0.07511236518621445 + } + } } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "boost", + "score": 0.0031968236435204744 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4094.0, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { + "operation": "boost", + "score": 0.11576737463474274 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23353.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { + "operation": "boost", + "score": -0.23750607669353485 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31515.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { + "operation": "boost", + "score": 0.11682170629501343 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 6.303794361883774e-05 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06189655140042305 + }, + "else": { + "operation": "boost", + "score": 0.09105941653251648 + } }, "else": { "operation": "boost", - "score": 0.0771695002913475 + "score": 0.07927939295768738 } + } + } + } + }, + "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.025223905220627785 + "score": 0.10153960436582565 } - }, - "else": { + } + }, + "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": "NumReferences", - "threshold": 18618.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.006998536642640829 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.011349465698003769 + "score": 0.02870822139084339 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.012672771699726582 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, "then": { - "operation": "boost", - "score": 0.124783456325531 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07635706663131714 + }, + "else": { + "operation": "boost", + "score": 0.0882735624909401 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 105656.5, "then": { - "operation": "boost", - "score": -0.21904294192790985 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.0, + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.05351513251662254 + "score": 0.11586550623178482 }, "else": { "operation": "boost", - "score": 0.10955294221639633 + "score": 0.11813091486692429 } }, "else": { "operation": "boost", - "score": -0.19807444512844086 + "score": 0.12185724079608917 } + }, + "else": { + "operation": "boost", + "score": 0.0 } }, "else": { "operation": "boost", - "score": 0.01674819551408291 + "score": 0.10252529382705688 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005846128799021244 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64139.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357084.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.026201358065009117 + }, + "else": { + "operation": "boost", + "score": 0.12890005111694336 } + }, + "else": { + "operation": "boost", + "score": 0.05674722418189049 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.5708135366439819 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021760890260338783 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 92148.5, "then": { + "operation": "boost", + "score": -0.0025724219158291817 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20121.0, + "threshold": 84493.0, "then": { - "operation": "boost", - "score": -0.11238539963960648 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09958138316869736 + }, + "else": { + "operation": "boost", + "score": 0.10573632270097733 + } }, "else": { "operation": "boost", - "score": 0.10581403225660324 + "score": -0.33176189661026 } - }, - "else": { - "operation": "boost", - "score": 0.06167995184659958 } }, "else": { - "operation": "boost", - "score": -0.41829758882522583 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0994798019528389 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91274.0, + "then": { + "operation": "boost", + "score": -0.06207078695297241 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89308.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19773127138614655 + }, + "else": { + "operation": "boost", + "score": -1.339017629623413 + } + }, + "else": { + "operation": "boost", + "score": -0.15928514301776886 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08706644177436829 + } + } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.036570873111486435 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13961675763130188 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10793226957321167 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12917102873325348 + }, + "else": { + "operation": "boost", + "score": 0.09354698657989502 + } + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4286.0, + "threshold": 55801.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.03007247857749462 + }, + "else": { + "operation": "boost", + "score": -1.0026590824127197 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.11447222530841827 + "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": 14.0, + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.15350396931171417 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12712758779525757 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5373157858848572 + }, + "else": { + "operation": "boost", + "score": 0.07214666903018951 + } }, "else": { "operation": "boost", - "score": 0.11376410722732544 + "score": -0.4123569130897522 } + }, + "else": { + "operation": "boost", + "score": 0.0726114958524704 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09085296839475632 + }, + "else": { + "operation": "boost", + "score": 0.1108631044626236 } } }, "else": { "operation": "boost", - "score": 0.05364811792969704 + "score": -0.14248675107955933 } + }, + "else": { + "operation": "boost", + "score": 0.10256428271532059 } - }, - "else": { - "operation": "boost", - "score": 0.016680344939231873 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1032043844461441 }, "else": { "operation": "boost", - "score": 0.0003920053131878376 + "score": 0.0011298932367935777 } } }, "else": { - "operation": "boost", - "score": -0.0029804199002683163 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00043132479186169803 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 47131.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.11703091859817505 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.11963061988353729 + "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": "boost", - "score": 0.05438902974128723 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07041828334331512 + }, + "else": { + "operation": "boost", + "score": 0.08833277225494385 + } } - }, - "else": { - "operation": "boost", - "score": -0.06236155703663826 } }, "else": { - "operation": "boost", - "score": -0.035848818719387054 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Namespace", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 47422.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.0, + "threshold": 19.5, "then": { - "operation": "boost", - "score": -0.3382936418056488 + "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": 18.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10258399695158005 + "score": -0.1290939301252365 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.027721568942070007 + "score": 0.09878960996866226 }, "else": { - "operation": "boost", - "score": 0.0777616873383522 + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05206736922264099 + }, + "else": { + "operation": "boost", + "score": -0.04419560357928276 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.02766493335366249 + "score": 0.12249067425727844 }, "else": { "operation": "boost", - "score": 0.029193220660090446 + "score": 0.11985214054584503 } + }, + "else": { + "operation": "boost", + "score": -0.18622277677059174 + } + } + } + } + } + } + }, + "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_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.1044497862458229 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07870595902204514 + }, + "else": { + "operation": "boost", + "score": 0.08924318850040436 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05091008543968201 - }, - "else": { - "operation": "boost", - "score": 0.10435201227664948 - } + "operation": "boost", + "score": 0.011937323957681656 }, "else": { "operation": "boost", - "score": 0.01572021096944809 + "score": 0.0865081176161766 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0984477624297142 + "score": -1.6316407918930054 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.05646266043186188 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.05284585803747177 - }, - "else": { - "operation": "boost", - "score": 0.0014769518747925758 - } - } + "operation": "boost", + "score": 0.015731364488601685 } } } @@ -216752,1501 +217395,1394 @@ }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" + "FunctionScope", + "GlobalScope", + "FileScope" ], "then": { + "operation": "boost", + "score": -0.08435622602701187 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.004464989062398672 + "score": -0.20288318395614624 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "operation": "boost", + "score": -0.11149334907531738 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.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_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" + "CCC_Namespace" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.11377584934234619 + "score": 0.06758453696966171 }, "else": { - "operation": "boost", - "score": 0.11819449812173843 + "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": 199646.0, + "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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.036748722195625305 + }, + "else": { + "operation": "boost", + "score": 0.01648963987827301 + } + }, + "else": { + "operation": "boost", + "score": -0.006059628911316395 + } + }, + "else": { + "operation": "boost", + "score": -0.007189216557890177 + } + } + }, + "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": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.03216706961393356 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.11861953884363174 + "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.2215808779001236 + "score": -0.11412868648767471 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.0, + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.035816267132759094 + "score": -0.5043507218360901 }, "else": { - "operation": "boost", - "score": 0.08198117464780807 + "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.11534354090690613 + "score": -0.051740024238824844 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.02521769516170025 + "score": -0.0388321653008461 }, "else": { "operation": "boost", - "score": -0.17840133607387543 + "score": 0.11596714705228806 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": -0.09430777281522751 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.13008059561252594 - }, - "else": { - "operation": "boost", - "score": 0.11912281811237335 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09445196390151978 - }, - "else": { - "operation": "boost", - "score": -0.2691936492919922 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1415875256061554 - }, - "else": { - "operation": "boost", - "score": -0.13462266325950623 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10979863256216049 - } + "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": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumReferences", + "threshold": 542.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10181429237127304 + "score": 0.09602746367454529 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09334240853786469 - }, - "else": { - "operation": "boost", - "score": -0.10034211724996567 - } + "operation": "boost", + "score": 0.036706626415252686 } }, "else": { "operation": "boost", - "score": 0.02151721715927124 + "score": -0.02724814973771572 } } } }, "else": { "operation": "boost", - "score": 0.016795432195067406 + "score": 0.028499925509095192 } }, + "else": { + "operation": "boost", + "score": -0.03353520855307579 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.004695481155067682 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176731.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.13941359519958496 + "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": "boost", + "score": -0.020928962156176567 + }, + "else": { + "operation": "boost", + "score": -0.05109015852212906 + } }, "else": { + "operation": "boost", + "score": 0.012342794798314571 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": -0.008704951964318752 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199261.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159753.0, + "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" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07010512053966522 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08161062747240067 - }, - "else": { - "operation": "boost", - "score": 0.11007986962795258 - } - }, - "else": { - "operation": "boost", - "score": 0.004518103785812855 - } - }, - "else": { - "operation": "boost", - "score": 0.10546717792749405 - } - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 23.5, + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83759.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.05921516567468643 + "score": 0.11028194427490234 }, "else": { "operation": "boost", - "score": 0.11306881904602051 + "score": 0.07602708786725998 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.015988284721970558 + "score": 0.01177476067095995 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.0, + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.20483095943927765 + "score": 0.08857351541519165 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.13759729266166687 - }, - "else": { - "operation": "boost", - "score": 0.021386194974184036 - } + "operation": "boost", + "score": -0.10935313999652863 } } } + }, + "else": { + "operation": "boost", + "score": -0.11168895661830902 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10989998281002045 }, "else": { + "operation": "boost", + "score": -0.4644733667373657 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3276.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 16206.0, "then": { + "operation": "boost", + "score": 0.016122203320264816 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 7547.0, "then": { - "operation": "boost", - "score": 0.016078976914286613 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55483.0, + "threshold": 8864.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 56138.5, + "threshold": 15623.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.09323175996541977 + }, + "else": { + "operation": "boost", + "score": -0.04582453891634941 + } + }, + "else": { + "operation": "boost", + "score": 0.1492459923028946 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 14426.0, "then": { "operation": "boost", - "score": 0.09612547606229782 + "score": 0.10967276990413666 }, "else": { "operation": "boost", - "score": 0.11267606914043427 + "score": -0.09741710871458054 } }, "else": { "operation": "boost", - "score": -0.12713801860809326 + "score": 0.10972487926483154 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59512.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12084079533815384 - }, - "else": { - "operation": "boost", - "score": -0.07983525842428207 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57582.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09636518359184265 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12788835167884827 - }, - "else": { - "operation": "boost", - "score": 0.3292464017868042 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1166771724820137 - } - } + "operation": "boost", + "score": 0.017655562609434128 } }, "else": { "operation": "boost", - "score": -0.13669608533382416 + "score": -0.32626086473464966 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.01756708323955536 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06665255129337311 + }, + "else": { + "operation": "boost", + "score": 0.11762493848800659 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10335.0, "then": { - "operation": "boost", - "score": 0.12011599540710449 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11081.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.03471499681472778 - }, - "else": { - "operation": "boost", - "score": 0.09495748579502106 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.36510169506073 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.08410784602165222 - }, - "else": { - "operation": "boost", - "score": -0.4210743010044098 - } - } - }, - "else": { - "operation": "boost", - "score": -0.21707585453987122 - } - } - }, - "else": { "operation": "boost", - "score": -0.33954760432243347 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, - "then": { - "operation": "boost", - "score": -0.1799945831298828 - }, - "else": { - "operation": "boost", - "score": 0.11675025522708893 - } + "score": 0.07960418611764908 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92287.0, - "then": { - "operation": "boost", - "score": 0.10454144328832626 - }, - "else": { - "operation": "boost", - "score": -0.22467952966690063 - } + "operation": "boost", + "score": 0.11455902457237244 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.009865844622254372 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78428.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.08447819948196411 - }, - "else": { - "operation": "boost", - "score": -0.3322266638278961 - } - }, - "else": { - "operation": "boost", - "score": -0.2505042552947998 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.12493404000997543 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.10104651004076004 - }, - "else": { - "operation": "boost", - "score": 0.0976017415523529 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, - "then": { - "operation": "boost", - "score": 0.05894338712096214 - }, - "else": { - "operation": "boost", - "score": -0.2915375828742981 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79050.5, - "then": { - "operation": "boost", - "score": 0.06496882438659668 - }, - "else": { - "operation": "boost", - "score": 0.10468091070652008 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02595921978354454 - } - } + "operation": "boost", + "score": -0.13755103945732117 } + }, + "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": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 8541.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 8751.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10491801798343658 - }, - "else": { - "operation": "boost", - "score": -0.18369431793689728 - } + "operation": "boost", + "score": 0.19068880379199982 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09848140180110931 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12736113369464874 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1704062819480896 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14151406288146973 - }, - "else": { - "operation": "boost", - "score": -0.10577332228422165 - } - } - } - } + "operation": "boost", + "score": 0.11930481344461441 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.14823462069034576 + "score": 0.10545933246612549 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11745689064264297 - }, - "else": { - "operation": "boost", - "score": -0.01835108920931816 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10688962042331696 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, - "then": { - "operation": "boost", - "score": 0.0941203385591507 - }, - "else": { - "operation": "boost", - "score": 0.027092674747109413 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10863527655601501 - } + "operation": "boost", + "score": -0.10463829338550568 } } } + } + }, + "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": "boost", - "score": -0.058972105383872986 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.08768144994974136 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.07646144926548004 + }, + "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.13132257759571075 + }, + "else": { + "operation": "boost", + "score": -0.2293570637702942 + } + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.002814219333231449 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46801.5, + "threshold": 40920.5, "then": { - "operation": "boost", - "score": -0.030464962124824524 + "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": "SymbolScopeDistance", - "threshold": 0.5, + "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.13875748217105865 + "score": 0.054252319037914276 }, "else": { + "operation": "boost", + "score": 0.10734126716852188 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1412.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.10070933401584625 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2650.5, "then": { "operation": "boost", - "score": 0.09361112862825394 + "score": 0.09080558270215988 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46337.5, + "threshold": 1552.0, "then": { - "operation": "boost", - "score": 0.11778119951486588 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09222908318042755 + }, + "else": { + "operation": "boost", + "score": -0.4852878749370575 + } }, "else": { "operation": "boost", - "score": 0.15717613697052002 + "score": 0.08948439359664917 } } - }, - "else": { - "operation": "boost", - "score": -0.05796396732330322 } }, "else": { "operation": "boost", - "score": 0.004769838880747557 + "score": -0.14003242552280426 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.013968360610306263 + }, + "else": { + "operation": "boost", + "score": 0.13165409862995148 } } } } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03529712185263634 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 27418.5, "then": { - "operation": "boost", - "score": 0.054530926048755646 + "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": "NumReferences", - "threshold": 62267.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0689580962061882 + "score": -0.5915963053703308 }, "else": { - "operation": "boost", - "score": 0.11451026052236557 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.1828291118144989 + }, + "else": { + "operation": "boost", + "score": 0.06978033483028412 + } + }, + "else": { + "operation": "boost", + "score": -0.10918290913105011 + } } } - }, - "else": { - "operation": "boost", - "score": 0.10135148465633392 } } - }, - "else": { - "operation": "boost", - "score": 0.001784096471965313 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0035383254289627075 - } - }, - "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": 2.5, - "then": { - "operation": "boost", - "score": 0.0850096121430397 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11647395044565201 - }, - "else": { - "operation": "boost", - "score": 0.10753980278968811 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1262.0, "then": { "operation": "boost", - "score": 0.053488485515117645 - }, - "else": { - "operation": "boost", - "score": 0.14019043743610382 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.10656571388244629 - }, - "else": { - "operation": "boost", - "score": 0.13111254572868347 - } + "score": 0.11337955296039581 }, "else": { "operation": "boost", - "score": 0.07938758283853531 + "score": -0.007321703247725964 } } - } - }, - "else": { - "operation": "boost", - "score": -0.10316677391529083 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00024040455173235387 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.011446325108408928 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62267.0, + "threshold": 15389.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16186.5, "then": { + "operation": "boost", + "score": 0.007990623824298382 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.027561338618397713 + "score": 0.11422690749168396 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.005333186127245426 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1028585284948349 - }, - "else": { - "operation": "boost", - "score": 0.07044196873903275 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2851788401603699 - } + "operation": "boost", + "score": -0.17053577303886414 } - }, - "else": { - "operation": "boost", - "score": -0.039651382714509964 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 15147.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08187782764434814 - }, - "else": { - "operation": "boost", - "score": 0.11370720714330673 - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.07264932990074158 + "score": 0.10875902324914932 }, "else": { "operation": "boost", - "score": 0.12555228173732758 + "score": -0.47266438603401184 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.002751415129750967 - } - } - }, - "else": { - "operation": "boost", - "score": -0.003437182866036892 - } - }, - "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": 2.5, - "then": { - "operation": "boost", - "score": 0.08281166851520538 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1148376390337944 - }, - "else": { - "operation": "boost", - "score": 0.10540193319320679 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.05031219497323036 - }, - "else": { - "operation": "boost", - "score": 0.13995103538036346 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.10589852929115295 }, "else": { - "operation": "boost", - "score": 0.1277828812599182 - } - }, - "else": { - "operation": "boost", - "score": 0.07260178029537201 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09288248419761658 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5568.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 7038.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.0, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { - "operation": "boost", - "score": 0.10492793470621109 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9380.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14492.5, + "then": { + "operation": "boost", + "score": 0.2626827359199524 + }, + "else": { + "operation": "boost", + "score": -0.0109843909740448 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8213.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8463.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11061551421880722 + }, + "else": { + "operation": "boost", + "score": 0.04608540236949921 + } + }, + "else": { + "operation": "boost", + "score": 0.12284234166145325 + } + }, + "else": { + "operation": "boost", + "score": 0.008043241687119007 + } + } }, "else": { "operation": "boost", - "score": 0.11538257449865341 + "score": 0.1343103051185608 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 63.5, + "threshold": 10848.5, "then": { - "operation": "boost", - "score": -0.13238368928432465 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.06191421300172806 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11514.0, + "then": { + "operation": "boost", + "score": 0.02796105109155178 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11661145091056824 + }, + "else": { + "operation": "boost", + "score": 0.0534478984773159 + } + } + } }, "else": { "operation": "boost", - "score": 0.11995759606361389 + "score": -0.10813019424676895 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6621.5, "then": { - "operation": "boost", - "score": -0.33112576603889465 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.0, + "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": "NumReferences", - "threshold": 322.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 352.0, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.10421658307313919 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3721252679824829 + }, + "else": { + "operation": "boost", + "score": 0.12863479554653168 + } }, "else": { "operation": "boost", - "score": 0.1459682136774063 + "score": 0.11108825355768204 } }, "else": { "operation": "boost", - "score": 0.004750141408294439 + "score": 0.0926036536693573 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6302.5, + "then": { + "operation": "boost", + "score": -0.09849909693002701 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 97.5, + "threshold": 6177.0, "then": { - "operation": "boost", - "score": 0.11782282590866089 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04392712190747261 + "score": 0.09374995529651642 }, "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.1379217803478241 + }, + "else": { + "operation": "boost", + "score": 0.1278751939535141 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.028097735717892647 + "score": 0.027932848781347275 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5582.5, "then": { - "operation": "boost", - "score": 0.10934647917747498 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.02970573492348194 + }, + "else": { + "operation": "boost", + "score": 0.09860433638095856 + } }, "else": { "operation": "boost", - "score": 0.13602638244628906 + "score": 0.12342137843370438 } } + }, + "else": { + "operation": "boost", + "score": -0.3841574788093567 } } } @@ -218254,2681 +218790,1965 @@ } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 139.0, + "threshold": 2801.5, "then": { "operation": "boost", - "score": 0.04516764357686043 - }, - "else": { - "operation": "boost", - "score": 0.09962166845798492 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.0, - "then": { - "operation": "boost", - "score": -0.5099560618400574 - }, - "else": { - "operation": "boost", - "score": -0.26758673787117004 - } + "score": -0.10161072760820389 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.19324664771556854 - }, - "else": { - "operation": "boost", - "score": -0.061740096658468246 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.016665199771523476 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04349028319120407 - }, - "else": { - "operation": "boost", - "score": -0.008270017802715302 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.0017604070017114282 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50014.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.11311585456132889 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010394580662250519 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.0129389688372612 + "score": 0.027173152193427086 }, "else": { "operation": "boost", - "score": -0.1758083999156952 + "score": 0.08242220431566238 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06917469948530197 }, "else": { "operation": "boost", - "score": -0.1089295819401741 + "score": 0.004004596266895533 } } - }, - "else": { - "operation": "boost", - "score": -0.02826438844203949 } } - } - }, - "else": { - "operation": "boost", - "score": 0.005557118449360132 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01063681673258543 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07015735656023026 - }, - "else": { - "operation": "boost", - "score": -0.043416984379291534 - } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50004.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.17236438393592834 - }, - "else": { - "operation": "boost", - "score": -0.14856958389282227 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.039011191576719284 - }, - "else": { - "operation": "boost", - "score": -0.010756086558103561 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.1088559702038765 - }, - "else": { - "operation": "boost", - "score": -0.012624625116586685 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.395414799451828 - }, - "else": { - "operation": "boost", - "score": -0.07844170928001404 - } - } - } - } + "operation": "boost", + "score": 0.015766194090247154 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1523.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11653956025838852 - }, - "else": { - "operation": "boost", - "score": -0.027422025799751282 - } - }, - "else": { - "operation": "boost", - "score": 0.02786387875676155 - } + "operation": "boost", + "score": -0.08928769081830978 }, "else": { "operation": "boost", - "score": -0.04679785296320915 + "score": 0.4993419945240021 } } }, "else": { "operation": "boost", - "score": -0.08931031823158264 + "score": 0.0055969152599573135 } } } + }, + "else": { + "operation": "boost", + "score": -0.0008257136796601117 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "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": "boost", - "score": 0.0014649999793618917 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.020519327372312546 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 1229.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11154.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11627.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.023847242817282677 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 200884.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 220112.0, "then": { "operation": "boost", - "score": 0.06820105761289597 + "score": -0.03218185901641846 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.02996528334915638 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.10312911123037338 + "score": 0.0629882737994194 }, "else": { "operation": "boost", - "score": 0.11852989345788956 + "score": 0.017192553728818893 } + }, + "else": { + "operation": "boost", + "score": 0.08766001462936401 } } }, "else": { "operation": "boost", - "score": 0.06416715681552887 + "score": -0.008167708292603493 } + }, + "else": { + "operation": "boost", + "score": 0.014748482033610344 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.1428690403699875 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 11437.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04110342264175415 - }, - "else": { - "operation": "boost", - "score": 0.10600148886442184 - } - }, - "else": { - "operation": "boost", - "score": 0.10183610022068024 - } + "operation": "boost", + "score": -0.14027822017669678 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10217607766389847 - }, - "else": { - "operation": "boost", - "score": 0.11203127354383469 - } - }, - "else": { - "operation": "boost", - "score": -0.021429041400551796 - } + "operation": "boost", + "score": 0.11547777056694031 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03712354972958565 + "score": 0.07201504707336426 }, "else": { "operation": "boost", - "score": 0.057951584458351135 + "score": 0.11942022293806076 } } - }, - "else": { - "operation": "boost", - "score": 0.06670352816581726 } }, "else": { - "operation": "boost", - "score": -0.0405195951461792 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.12930478155612946 + "score": 0.054407548159360886 }, "else": { - "operation": "boost", - "score": -0.10151835530996323 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.125668004155159 + }, + "else": { + "operation": "boost", + "score": -0.10242967307567596 + } } - }, - "else": { - "operation": "boost", - "score": -0.01579742133617401 } + }, + "else": { + "operation": "boost", + "score": 0.059664372354745865 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.06951601058244705 + "score": 0.0640927329659462 }, "else": { "operation": "boost", - "score": -0.04459190368652344 + "score": -0.007081388961523771 } } }, "else": { - "operation": "boost", - "score": -0.0018715420737862587 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.2691657841205597 + }, + "else": { + "operation": "boost", + "score": 0.11860248446464539 + } + }, + "else": { + "operation": "boost", + "score": -0.006162066012620926 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.27344807982444763 }, "else": { + "operation": "boost", + "score": -0.03851437568664551 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 1412.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 220295.0, "then": { + "operation": "boost", + "score": -0.010568870231509209 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 199261.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.03830214589834213 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 303.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 351.5, - "then": { - "operation": "boost", - "score": 0.03434053808450699 - }, - "else": { - "operation": "boost", - "score": 0.12707781791687012 - } - }, - "else": { - "operation": "boost", - "score": -0.33787447214126587 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07390174269676208 - }, - "else": { - "operation": "boost", - "score": 0.01804164983332157 - } - } + "operation": "boost", + "score": 0.010368632152676582 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", + "CCC_TopLevel", + "CCC_Namespace", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "boost", - "score": -0.010622270405292511 + "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.014028435572981834 + "score": 0.07081490755081177 } }, "else": { "operation": "boost", - "score": -0.09687083959579468 + "score": -0.10998524725437164 } } }, "else": { - "operation": "boost", - "score": 0.010355573147535324 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 16206.0, "then": { + "operation": "boost", + "score": 0.014122436754405499 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 3077.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3245.5, "then": { - "operation": "boost", - "score": -0.020831281319260597 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, "then": { - "operation": "boost", - "score": 0.055559735745191574 + "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": "boost", - "score": -0.0107547203078866 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08747586607933044 + }, + "else": { + "operation": "boost", + "score": -0.023540180176496506 + } } + }, + "else": { + "operation": "boost", + "score": 0.10839946568012238 } }, "else": { - "operation": "boost", - "score": 0.03216230124235153 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.004025951027870178 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.1576152741909027 + "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": "boost", - "score": -0.03877124935388565 + "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 + } } + }, + "else": { + "operation": "boost", + "score": -0.26939353346824646 } - }, - "else": { - "operation": "boost", - "score": -8.686733053764328e-05 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003137709340080619 - }, - "else": { - "operation": "boost", - "score": 0.038027115166187286 } }, "else": { "operation": "boost", - "score": 0.022943003103137016 + "score": -0.05693595111370087 } } }, "else": { "operation": "boost", - "score": -0.008917869068682194 + "score": -0.0178214143961668 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97230.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 297854.5, + "then": { + "operation": "boost", + "score": 0.009290046989917755 }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10966179519891739 + }, + "else": { + "operation": "boost", + "score": 0.015091688372194767 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3339.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.03160731494426727 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09885427355766296 - }, - "else": { - "operation": "boost", - "score": 0.04998239502310753 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11020548641681671 + "score": 0.04006079211831093 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 28364.0, "then": { "operation": "boost", - "score": -0.8099402785301208 + "score": 0.11385613679885864 }, "else": { - "operation": "boost", - "score": 0.029803456738591194 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13596.5, + "then": { + "operation": "boost", + "score": -0.08245706558227539 + }, + "else": { + "operation": "boost", + "score": 0.0924210399389267 + } } } }, "else": { - "operation": "boost", - "score": -0.02861204370856285 + "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 + } } + }, + "else": { + "operation": "boost", + "score": -0.044675879180431366 } }, "else": { - "operation": "boost", - "score": -0.007675959262996912 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.014127222821116447 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3012.5, "then": { "operation": "boost", - "score": 0.09921833127737045 + "score": 0.11164921522140503 }, "else": { "operation": "boost", - "score": -0.10091876983642578 + "score": -0.051036734133958817 } } }, "else": { "operation": "boost", - "score": -0.006161432713270187 + "score": -0.09845943003892899 } - }, - "else": { - "operation": "boost", - "score": -0.005345259327441454 } } }, "else": { - "operation": "boost", - "score": -0.003953629173338413 - } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5293.5, - "then": { - "operation": "boost", - "score": 0.021000361070036888 - }, - "else": { - "operation": "boost", - "score": 0.09899204969406128 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, - "then": { - "operation": "boost", - "score": 0.008415427058935165 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.10087142884731293 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1241.0, "then": { - "operation": "boost", - "score": -0.27026474475860596 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.04386083409190178 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.0, + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.10094105452299118 + "score": 0.13199765980243683 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1864517778158188 - }, - "else": { - "operation": "boost", - "score": 0.18456603586673737 - } + "operation": "boost", + "score": 0.05986804515123367 } - }, - "else": { - "operation": "boost", - "score": -0.10851328819990158 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0161113440990448 - }, - "else": { - "operation": "boost", - "score": 0.2165733128786087 } }, "else": { "operation": "boost", - "score": 0.05908818915486336 + "score": -0.5676220655441284 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.006173489615321159 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74787.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.08874523639678955 - }, - "else": { - "operation": "boost", - "score": 0.048075392842292786 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.049032438546419144 - }, - "else": { - "operation": "boost", - "score": -0.3700932264328003 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9800.0, + "threshold": 15389.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11993.5, + "threshold": 15677.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 39401.5, + "threshold": 16048.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 16186.5, "then": { "operation": "boost", - "score": -0.3638910949230194 + "score": 0.0067606340162456036 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0029976374935358763 - }, - "else": { - "operation": "boost", - "score": 0.08459313958883286 - } - }, - "else": { - "operation": "boost", - "score": 0.02713271975517273 - } + "operation": "boost", + "score": -0.5501658320426941 } }, "else": { - "operation": "boost", - "score": -0.056151747703552246 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11432.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11886.5, - "then": { - "operation": "boost", - "score": 0.13146014511585236 - }, - "else": { - "operation": "boost", - "score": 0.11551470309495926 - } + "operation": "boost", + "score": 0.14526315033435822 }, "else": { "operation": "boost", - "score": 0.06311623752117157 + "score": 0.10530756413936615 } - }, - "else": { - "operation": "boost", - "score": 0.028509125113487244 } + }, + "else": { + "operation": "boost", + "score": -0.12980377674102783 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4414.5, + "threshold": 15147.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.8175098896026611 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.14099188148975372 - }, - "else": { - "operation": "boost", - "score": 0.07076337933540344 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1546.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1560.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02252562902867794 + "score": 0.11995341628789902 }, "else": { - "operation": "boost", - "score": 0.11282970011234283 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15252.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13531288504600525 + }, + "else": { + "operation": "boost", + "score": 0.10243038088083267 + } + }, + "else": { + "operation": "boost", + "score": 0.0552336685359478 + } } }, "else": { "operation": "boost", - "score": -0.07980533689260483 + "score": -0.42250627279281616 } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 737.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7105.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9853.5, + "threshold": 5568.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 7038.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.10169509798288345 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.5225617289543152 - }, - "else": { - "operation": "boost", - "score": 0.04014848917722702 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "feature": "NumReferences", + "threshold": 9362.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0805388018488884 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.08700066804885864 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.13663876056671143 + }, + "else": { + "operation": "boost", + "score": 0.11420410871505737 + } }, "else": { "operation": "boost", - "score": 0.09874609857797623 + "score": -0.2381414771080017 } - }, - "else": { - "operation": "boost", - "score": 0.06604088097810745 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 8213.5, "then": { - "operation": "boost", - "score": 0.018427763134241104 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8463.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10750889778137207 + }, + "else": { + "operation": "boost", + "score": 0.1130535900592804 + } + }, + "else": { + "operation": "boost", + "score": 0.12007655948400497 + } }, "else": { "operation": "boost", - "score": 0.09856241196393967 + "score": 0.036398403346538544 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 65729.5, + "threshold": 12942.5, "then": { - "operation": "boost", - "score": 0.094402976334095 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09332545846700668 + }, + "else": { + "operation": "boost", + "score": 0.15868628025054932 + } }, "else": { "operation": "boost", - "score": 0.05811362713575363 + "score": -0.0849306508898735 } } + }, + "else": { + "operation": "boost", + "score": -0.051854945719242096 } }, "else": { - "operation": "boost", - "score": 0.007849146611988544 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99823.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104520.5, + "threshold": 10848.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.03244506195187569 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179988.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.1071275994181633 + "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.09772320836782455 + "score": -0.1275799721479416 } - } - }, - "else": { - "operation": "boost", - "score": 0.12612171471118927 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28820.0, - "then": { - "operation": "boost", - "score": -0.05594290792942047 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14806.0, + "threshold": 11514.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.028243685141205788 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.09804126620292664 + "score": 0.11591194570064545 }, "else": { "operation": "boost", - "score": 0.10919669270515442 + "score": 0.07089252024888992 } - }, - "else": { - "operation": "boost", - "score": 0.004832017235457897 } } }, "else": { "operation": "boost", - "score": -0.2820397913455963 + "score": -0.08801257610321045 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9701.5, + "threshold": 6621.5, "then": { - "operation": "boost", - "score": 0.12504754960536957 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08159781247377396 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.06227152794599533 + "score": 0.11828591674566269 }, "else": { "operation": "boost", - "score": 0.1026548370718956 + "score": 0.012713182717561722 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.010200543329119682 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4452.5, - "then": { - "operation": "boost", - "score": -0.03681870177388191 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3642.5, - "then": { - "operation": "boost", - "score": 0.10273454338312149 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2398.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.06401653587818146 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.09529082477092743 + "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.12461449205875397 + "score": 0.11044429987668991 } + }, + "else": { + "operation": "boost", + "score": 0.08991661667823792 } - }, - "else": { - "operation": "boost", - "score": 0.05221260339021683 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.489080548286438 - }, - "else": { - "operation": "boost", - "score": -0.07827942818403244 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5311.0, + "threshold": 6302.5, "then": { "operation": "boost", - "score": -0.14664696156978607 + "score": -0.07761339098215103 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1820.5, + "threshold": 6177.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04685923457145691 + "score": 0.09033427387475967 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.0991281270980835 + "score": 0.13722360134124756 }, "else": { "operation": "boost", - "score": 0.06510794162750244 + "score": 0.1212383508682251 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 5840.0, "then": { + "operation": "boost", + "score": -0.12434811145067215 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10218359529972076 + "score": 0.07736137509346008 }, "else": { - "operation": "boost", - "score": 0.027443384751677513 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11415122449398041 + }, + "else": { + "operation": "boost", + "score": -0.017926031723618507 + } } - }, - "else": { - "operation": "boost", - "score": -0.06510967016220093 } } } } - }, - "else": { - "operation": "boost", - "score": -0.12612199783325195 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92644.0, - "then": { - "operation": "boost", - "score": -0.13164466619491577 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10082.5, + "threshold": 2801.5, "then": { + "operation": "boost", + "score": -0.06340841948986053 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08466093242168427 + "score": 0.10431721806526184 }, "else": { - "operation": "boost", - "score": 0.12405675649642944 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06437664479017258 + }, + "else": { + "operation": "boost", + "score": -0.15359866619110107 + } } - }, - "else": { - "operation": "boost", - "score": -0.08435022085905075 } }, "else": { "operation": "boost", - "score": 0.018139248713850975 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.002386723179370165 - }, - "else": { - "operation": "boost", - "score": 0.10321324318647385 + "score": 0.0035999994724988937 } - }, - "else": { - "operation": "boost", - "score": -0.16040819883346558 } } } }, "else": { - "operation": "boost", - "score": 0.004382286686450243 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 736.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.10216610878705978 - }, - "else": { - "operation": "boost", - "score": 0.1343572586774826 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "feature": "NumReferences", + "threshold": 19126.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 20562.0, "then": { "operation": "boost", - "score": -0.41964223980903625 + "score": 0.01754256710410118 }, "else": { - "operation": "boost", - "score": 0.11052516847848892 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.06032571941614151 + "score": 0.05572693794965744 }, "else": { - "operation": "boost", - "score": 0.11784320324659348 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.12477817386388779 - }, - "else": { - "operation": "boost", - "score": 0.02960164286196232 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.08716484159231186 - }, - "else": { - "operation": "boost", - "score": 0.03227541595697403 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 680.0, - "then": { - "operation": "boost", - "score": 0.07797672599554062 - }, - "else": { - "operation": "boost", - "score": 0.12118407338857651 - } - }, - "else": { - "operation": "boost", - "score": -0.026644034311175346 - } - } - } + "operation": "boost", + "score": 0.12623336911201477 }, "else": { "operation": "boost", - "score": 0.0059364475309848785 + "score": 0.22298505902290344 } - }, - "else": { - "operation": "boost", - "score": -0.059402983635663986 } } + }, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" + "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": 2.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4053.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.0182010717689991 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23685.0, + "threshold": 6509.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23701.5, + "threshold": 9416.5, "then": { "operation": "boost", - "score": -0.006812397390604019 + "score": 0.030808184295892715 }, "else": { - "operation": "boost", - "score": -0.26575198769569397 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4059.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6801.5, "then": { - "operation": "boost", - "score": -0.0021321491803973913 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.045330822467803955 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 8791.5, "then": { "operation": "boost", - "score": 0.10768810659646988 + "score": 0.1142587810754776 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4288.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07486631721258163 + "score": 0.11348212510347366 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4286.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1377675086259842 - }, - "else": { - "operation": "boost", - "score": 0.111336350440979 - } - }, - "else": { - "operation": "boost", - "score": -0.08408012241125107 - } + "operation": "boost", + "score": 0.053836554288864136 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 6955.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 7447.5, "then": { "operation": "boost", - "score": 0.05509185418486595 + "score": 0.12353023141622543 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4847.0, - "then": { - "operation": "boost", - "score": 0.08581790328025818 - }, - "else": { - "operation": "boost", - "score": 0.13053321838378906 - } + "operation": "boost", + "score": 0.14488574862480164 } }, "else": { "operation": "boost", - "score": 0.038005657494068146 + "score": -0.13919131457805634 } } + }, + "else": { + "operation": "boost", + "score": 0.10202479362487793 } + }, + "else": { + "operation": "boost", + "score": -0.07669851928949356 } }, "else": { - "operation": "boost", - "score": 0.13073857128620148 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18885.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20039.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.06546502560377121 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.0342852808535099 + "score": 0.21894051134586334 }, "else": { "operation": "boost", - "score": -0.31608787178993225 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.1042357087135315 - }, - "else": { - "operation": "boost", - "score": 0.08906123787164688 - } - }, - "else": { - "operation": "boost", - "score": 0.10307028889656067 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "boost", - "score": -0.1722307801246643 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19345.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04211300611495972 - }, - "else": { - "operation": "boost", - "score": 0.097643181681633 - } - }, - "else": { - "operation": "boost", - "score": 0.03618893772363663 - } - } + "score": 0.10661926865577698 } } - }, - "else": { - "operation": "boost", - "score": 0.022750400006771088 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.10264578461647034 }, "else": { "operation": "boost", - "score": 0.002984974067658186 + "score": 0.0155702019110322 } } }, "else": { "operation": "boost", - "score": -0.004853051621466875 + "score": 0.00865729060024023 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.03854899853467941 + "score": -0.28740614652633667 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10672812163829803 - }, - "else": { - "operation": "boost", - "score": -1.9056731462478638 - } + "operation": "boost", + "score": 0.10977301001548767 } }, "else": { - "operation": "boost", - "score": -0.01863204874098301 + "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 + } } } }, "else": { "operation": "boost", - "score": -0.0004298514104448259 + "score": -0.0004324068140704185 } }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", + "CCC_TopLevel", "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": -0.02714647725224495 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.014991589821875095 + "score": 0.06199165806174278 }, "else": { - "operation": "boost", - "score": -0.081790491938591 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10187771916389465 + }, + "else": { + "operation": "boost", + "score": 0.06210935115814209 + } } - }, - "else": { - "operation": "boost", - "score": -0.008401202037930489 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.032847169786691666 - }, - "else": { - "operation": "boost", - "score": 0.002573409816250205 - } + "operation": "boost", + "score": -0.03131107985973358 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.17711803317070007 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.8797081708908081 + "score": -0.13818764686584473 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -2.4447319507598877 + "score": 0.10429204255342484 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1105552539229393 - }, - "else": { - "operation": "boost", - "score": 0.09047411382198334 - } + "operation": "boost", + "score": -0.10709366202354431 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.015922216698527336 - }, - "else": { - "operation": "boost", - "score": -0.008963488042354584 - } } }, + "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": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope", - "FileScope" + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.014581015333533287 + "score": 0.0580025352537632 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.037451889365911484 - }, - "else": { - "operation": "boost", - "score": -0.1491658240556717 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.08263534307479858 - }, - "else": { - "operation": "boost", - "score": -0.40594443678855896 - } - } + "operation": "boost", + "score": 0.03967678174376488 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003029491053894162 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.005825365427881479 - }, - "else": { - "operation": "boost", - "score": -0.01127883791923523 - } - } + "operation": "boost", + "score": 0.03253020718693733 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.02659694291651249 + } + }, + "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", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "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_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05872528254985809 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09199193865060806 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.001127553405240178 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.14868193864822388 + "score": 0.14170248806476593 }, "else": { "operation": "boost", - "score": 0.08847705274820328 + "score": 0.14193764328956604 } + }, + "else": { + "operation": "boost", + "score": -0.02269809879362583 } }, - "else": { - "operation": "boost", - "score": -0.10133767873048782 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006068591494113207 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.024446874856948853 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.12430379539728165 - }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "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.10795661807060242 + "score": 0.09780614078044891 }, "else": { "operation": "boost", - "score": 0.036125872284173965 + "score": -0.10650908946990967 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.12531447410583496 - }, - "else": { - "operation": "boost", - "score": 0.027292311191558838 - } + "operation": "boost", + "score": -0.06240458786487579 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13091.5, + "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": "NumReferences", - "threshold": 13971.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17656.5, - "then": { - "operation": "boost", - "score": -0.12868614494800568 - }, - "else": { - "operation": "boost", - "score": 0.09161144495010376 - } + "operation": "boost", + "score": 0.021712908521294594 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11630174517631531 - }, - "else": { - "operation": "boost", - "score": -1.0995001792907715 - } + "operation": "boost", + "score": -0.042126815766096115 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09703124314546585 - }, - "else": { - "operation": "boost", - "score": 0.031656913459300995 - } + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02430972270667553 + }, + "else": { + "operation": "boost", + "score": -0.05106306076049805 + } + }, + "else": { + "operation": "boost", + "score": -0.048281989991664886 } } }, @@ -220936,3666 +220756,3974 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291408.0, - "then": { - "operation": "boost", - "score": 0.08475109934806824 - }, - "else": { - "operation": "boost", - "score": 0.019580939784646034 - } - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FileScope" + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09695927798748016 + }, + "else": { + "operation": "boost", + "score": 0.038582365959882736 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0039075156673789024 + "score": -0.09170985221862793 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1658.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1805.0, - "then": { - "operation": "boost", - "score": 0.030980397015810013 - }, - "else": { - "operation": "boost", - "score": 0.12059804797172546 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.1173408031463623 + "score": 0.05527101457118988 }, "else": { "operation": "boost", - "score": -0.0003948641533497721 + "score": 0.06801344454288483 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.023288544267416 - }, - "else": { - "operation": "boost", - "score": -0.10262423753738403 - } + "operation": "boost", + "score": 0.037394240498542786 } + }, + "else": { + "operation": "boost", + "score": 0.012754312716424465 } }, "else": { - "operation": "boost", - "score": -0.004515393637120724 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03558293730020523 + }, + "else": { + "operation": "boost", + "score": 0.004017225932329893 + } } } - }, - "else": { - "operation": "boost", - "score": -0.17739762365818024 } + }, + "else": { + "operation": "boost", + "score": 0.003925848752260208 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.004229987505823374 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.003930103033781052 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 622.0, "then": { - "operation": "boost", - "score": 0.006588230840861797 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 782.5, + "then": { + "operation": "boost", + "score": -0.06373970955610275 + }, + "else": { + "operation": "boost", + "score": 0.12241753935813904 + } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 125.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": -0.29995301365852356 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": 0.02650938555598259 + }, + "else": { + "operation": "boost", + "score": 0.11305049806833267 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08922693133354187 + "score": -0.02062896639108658 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.054939769208431244 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.154471293091774 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05306583270430565 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11639788001775742 + }, + "else": { + "operation": "boost", + "score": 0.3180559277534485 + } + } + } + }, + "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": "boost", - "score": 0.06300617754459381 + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03252769261598587 + } + }, + "else": { + "operation": "boost", + "score": -0.04328471049666405 + } } } - }, - "else": { - "operation": "boost", - "score": 0.019210094586014748 } - }, - "else": { - "operation": "boost", - "score": -0.10756663233041763 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.00027405275614000857 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.033369340002536774 - }, - "else": { - "operation": "boost", - "score": 0.11597419530153275 } - }, - "else": { - "operation": "boost", - "score": 0.01663251593708992 } }, "else": { - "operation": "boost", - "score": -0.04959721863269806 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "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" + ], "then": { - "operation": "boost", - "score": -0.12151240557432175 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 980.0, "then": { - "operation": "boost", - "score": -0.10075349360704422 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1017.5, "then": { "operation": "boost", - "score": 0.08946523815393448 + "score": -0.02060674875974655 }, "else": { "operation": "boost", - "score": 0.10623537749052048 + "score": 0.09202103316783905 } + }, + "else": { + "operation": "boost", + "score": -0.016303544864058495 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08540776371955872 }, "else": { - "operation": "boost", - "score": -0.00868547335267067 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.061624880880117416 + }, + "else": { + "operation": "boost", + "score": -0.0961180031299591 + } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.1371486634016037 + "score": -0.009726238436996937 }, "else": { - "operation": "boost", - "score": 0.04491962492465973 - } - }, - "else": { - "operation": "boost", - "score": 0.016293734312057495 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 37.0, "then": { "operation": "boost", - "score": 0.1184830516576767 + "score": -0.28097325563430786 }, "else": { "operation": "boost", - "score": 0.07268884778022766 + "score": 0.05481754243373871 } }, "else": { "operation": "boost", - "score": -0.2598522901535034 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "boost", - "score": 0.10919800400733948 - }, - "else": { - "operation": "boost", - "score": 0.06522232294082642 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 358.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 415.0, - "then": { - "operation": "boost", - "score": 0.10613339394330978 - }, - "else": { - "operation": "boost", - "score": 0.12441324442625046 + "score": -0.021741805598139763 } }, "else": { - "operation": "boost", - "score": -0.23152726888656616 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 218.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.14384502172470093 + "score": -0.02554154023528099 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.0, + "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" + ], "then": { "operation": "boost", - "score": 0.10653939843177795 + "score": 0.03767605498433113 }, "else": { "operation": "boost", - "score": 0.06319122761487961 + "score": -0.06359204649925232 } } - }, - "else": { - "operation": "boost", - "score": -0.03196236863732338 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.5, + "then": { + "operation": "boost", + "score": 0.08027110248804092 }, "else": { "operation": "boost", - "score": -0.08165161311626434 + "score": -0.14270538091659546 } } - } - }, - "else": { - "operation": "boost", - "score": 0.00317783048376441 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.009583299048244953 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63437.0, + "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": "FileProximityDistance", - "threshold": 19.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.15291404724121094 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381517.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.06759338080883026 + "score": 0.07779430598020554 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { - "operation": "boost", - "score": -0.9725502133369446 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12735214829444885 + }, + "else": { + "operation": "boost", + "score": -0.4140154719352722 + } }, "else": { "operation": "boost", - "score": 0.06981374323368073 + "score": -0.1256183534860611 } } }, "else": { "operation": "boost", - "score": 0.08591904491186142 + "score": 0.03505042940378189 } }, "else": { "operation": "boost", - "score": -0.026728583499789238 + "score": 0.004156079608947039 } + }, + "else": { + "operation": "boost", + "score": -0.014969026669859886 } }, "else": { - "operation": "boost", - "score": -0.022372515872120857 + "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": "boost", - "score": -0.010676574893295765 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 373.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 554.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "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": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 45.5, "then": { - "operation": "boost", - "score": 0.009390813298523426 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "boost", + "score": -0.0010545147815719247 + }, + "else": { + "operation": "boost", + "score": 0.1060086190700531 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 124.0, + "threshold": 23.5, "then": { - "operation": "boost", - "score": 0.04463093727827072 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.0, + "then": { + "operation": "boost", + "score": -0.10974128544330597 + }, + "else": { + "operation": "boost", + "score": 0.11389646679162979 + } }, "else": { "operation": "boost", - "score": -0.2065969705581665 + "score": -0.31735458970069885 } }, - "else": { - "operation": "boost", - "score": -0.0052712103351950645 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "boost", - "score": -0.05321887135505676 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25.0, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.12031470239162445 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.14363282918930054 + "score": 0.059216830879449844 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.07592084258794785 - }, - "else": { - "operation": "boost", - "score": 0.15009449422359467 - } + "operation": "boost", + "score": 0.10121805965900421 } + }, + "else": { + "operation": "boost", + "score": 0.06431355327367783 } } - }, - "else": { - "operation": "boost", - "score": 0.0020115559455007315 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08721362054347992 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.14275677502155304 - }, - "else": { - "operation": "boost", - "score": 0.0770774632692337 } }, "else": { "operation": "boost", - "score": 0.008941153064370155 + "score": -0.0047311075031757355 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Namespace" ], "then": { - "operation": "boost", - "score": 0.04251929745078087 - }, - "else": { - "operation": "boost", - "score": -0.013605654239654541 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0006636656471528113 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08894146233797073 - }, - "else": { - "operation": "boost", - "score": -0.005763258785009384 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.28485316038131714 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.054883237928152084 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "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.1000380590558052 + "score": 0.11465109139680862 }, "else": { "operation": "boost", - "score": 0.10895100235939026 + "score": -0.1055285707116127 } + }, + "else": { + "operation": "boost", + "score": 0.0494859404861927 } - } - }, - "else": { - "operation": "boost", - "score": -0.1260283887386322 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1208370104432106 }, "else": { - "operation": "boost", - "score": 0.07096419483423233 - } - }, - "else": { - "operation": "boost", - "score": -0.04394127056002617 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16899.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": -0.3140382170677185 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1069488674402237 - }, - "else": { - "operation": "boost", - "score": -0.001462488784454763 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.011133690364658833 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.0, + "then": { + "operation": "boost", + "score": 0.4962131083011627 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0950574204325676 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0023724378552287817 + } + } + } + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.013122358359396458 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.01616905815899372 - }, - "else": { - "operation": "boost", - "score": -0.05430373176932335 - } - } + "operation": "boost", + "score": 0.0023666981142014265 } - }, - "else": { - "operation": "boost", - "score": -0.1017620861530304 } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0012376824161037803 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.009114042855799198 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 329.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 621.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.060243841260671616 - }, - "else": { - "operation": "boost", - "score": 0.11118073761463165 - } + "operation": "boost", + "score": 0.03895523026585579 }, "else": { "operation": "boost", - "score": -0.14699651300907135 + "score": 0.12190929055213928 } }, "else": { "operation": "boost", - "score": 0.04696270078420639 + "score": -0.03760452941060066 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155314.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0984765961766243 - }, - "else": { - "operation": "boost", - "score": -0.09239580482244492 - } - }, - "else": { - "operation": "boost", - "score": 0.1197480782866478 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.01165411714464426 }, "else": { "operation": "boost", - "score": -0.003990178927779198 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04929564520716667 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.07902573049068451 - }, - "else": { - "operation": "boost", - "score": 0.09781181067228317 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06877782940864563 - }, - "else": { - "operation": "boost", - "score": 0.014992734417319298 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01404997706413269 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2633550763130188 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.03763261437416077 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "boost", - "score": 0.07518542557954788 - }, - "else": { - "operation": "boost", - "score": 0.13100528717041016 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0007985374541021883 - } + "score": 0.008942605927586555 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.003758508013561368 - } - }, - "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": 2.5, - "then": { - "operation": "boost", - "score": 0.0861770287156105 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "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.11289082467556 + "score": -0.020790396258234978 }, "else": { "operation": "boost", - "score": 0.10334605723619461 + "score": -0.04370567202568054 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.10928414016962051 - }, - "else": { - "operation": "boost", - "score": 0.09315212070941925 - } + "operation": "boost", + "score": -0.004192250315099955 } - }, - "else": { - "operation": "boost", - "score": -0.08113232254981995 } } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1218.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.001117095584049821 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 1412.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 220295.0, "then": { "operation": "boost", - "score": 0.010329578071832657 + "score": -0.006528749596327543 }, "else": { - "operation": "boost", - "score": 0.03646143153309822 - } - }, - "else": { - "operation": "boost", - "score": 0.0194754209369421 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.01547116506844759 - }, - "else": { - "operation": "boost", - "score": 0.00460258312523365 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199261.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.013528301380574703 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.11444959789514542 + "score": -0.25610747933387756 }, "else": { "operation": "boost", - "score": -0.0005002173711545765 + "score": 0.10702486336231232 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.9943063855171204 - }, - "else": { - "operation": "boost", - "score": 0.10362102091312408 - } + "operation": "boost", + "score": 0.08725111931562424 }, "else": { "operation": "boost", - "score": 0.08404205739498138 + "score": -0.14250092208385468 } } + }, + "else": { + "operation": "boost", + "score": 0.0529196672141552 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.048259712755680084 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.10226605087518692 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.09372970461845398 - }, - "else": { - "operation": "boost", - "score": -0.13150042295455933 - } - } - } + "operation": "boost", + "score": 0.10557828843593597 }, "else": { "operation": "boost", - "score": 0.013608583249151707 + "score": -0.3479765057563782 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.00040669203735888004 - }, - "else": { - "operation": "boost", - "score": -0.02670152299106121 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.008615536615252495 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Symbol" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 16206.0, "then": { "operation": "boost", - "score": 0.048776671290397644 + "score": 0.012018291279673576 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.09558641910552979 + "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": "boost", - "score": -0.05747975409030914 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2807.0, + "then": { + "operation": "boost", + "score": 0.1095999926328659 + }, + "else": { + "operation": "boost", + "score": -0.38486552238464355 + } } }, "else": { - "operation": "boost", - "score": 0.14674848318099976 + "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 + } + } } } }, "else": { "operation": "boost", - "score": 0.033553846180438995 + "score": -0.0017814846942201257 } }, "else": { - "operation": "boost", - "score": -0.09260909259319305 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.06201834976673126 + }, + "else": { + "operation": "boost", + "score": 0.11201635003089905 + } } }, "else": { - "operation": "boost", - "score": -0.018388288095593452 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.02147933468222618 + }, + "else": { + "operation": "boost", + "score": -0.305184930562973 + } } } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "boost", + "score": 0.09807323664426804 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1241.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.14472591876983643 + "score": 0.030823878943920135 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1260046809911728 + }, + "else": { + "operation": "boost", + "score": -0.005565082188695669 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3819788992404938 + } + } + } + }, + "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": 20039.5, + "then": { + "operation": "boost", + "score": 0.007722513750195503 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.02440938726067543 + "score": 0.10032157599925995 }, "else": { "operation": "boost", - "score": 0.19441792368888855 + "score": -0.033537041395902634 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.02444012276828289 - }, - "else": { - "operation": "boost", - "score": 0.10915879160165787 - } - }, - "else": { - "operation": "boost", - "score": 0.07915178686380386 - } + "operation": "boost", + "score": -0.1339297741651535 }, "else": { "operation": "boost", - "score": -0.40701302886009216 + "score": -0.021110879257321358 } } + }, + "else": { + "operation": "boost", + "score": 0.10260389000177383 } - }, - "else": { - "operation": "boost", - "score": -0.006571964360773563 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 15147.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 15252.5, + "then": { + "operation": "boost", + "score": 0.12072135508060455 + }, + "else": { + "operation": "boost", + "score": 0.112594373524189 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.08628635853528976 + "score": -0.1716519296169281 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1196654662489891 - }, - "else": { - "operation": "boost", - "score": 0.04736228659749031 - } + "operation": "boost", + "score": 0.09789305925369263 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.3022964894771576 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.9509589076042175 - }, - "else": { - "operation": "boost", - "score": -0.1296953409910202 - } - }, - "else": { - "operation": "boost", - "score": -0.0391799621284008 - } - }, - "else": { - "operation": "boost", - "score": -0.09403172880411148 - } - } + "operation": "boost", + "score": -0.22561956942081451 } - }, - "else": { - "operation": "boost", - "score": -0.23466305434703827 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_ClassOrStructTag" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 7841.5, "then": { "operation": "boost", - "score": -0.13234283030033112 + "score": -0.5244418978691101 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1145789697766304 - }, - "else": { - "operation": "boost", - "score": 0.09210233390331268 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.018853239715099335 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.11045290529727936 + "score": 0.08089829236268997 }, "else": { "operation": "boost", - "score": -1.847869873046875 + "score": -0.18802794814109802 } }, "else": { - "operation": "boost", - "score": 0.1391843557357788 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.043966200202703476 + "score": -0.09206704795360565 }, "else": { "operation": "boost", - "score": -0.006695528980344534 + "score": 0.10229643434286118 } - }, - "else": { - "operation": "boost", - "score": -0.011241006664931774 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { "operation": "boost", - "score": -0.15533725917339325 + "score": -0.14186608791351318 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12036267668008804 - }, - "else": { - "operation": "boost", - "score": 0.09120319783687592 - } - }, - "else": { - "operation": "boost", - "score": 0.041638802736997604 - } - }, - "else": { - "operation": "boost", - "score": -0.05005854740738869 - } + "operation": "boost", + "score": 0.0766717866063118 } } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.020658858120441437 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 5568.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 7038.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.05736343562602997 - }, - "else": { - "operation": "boost", - "score": -0.3157680034637451 - } - }, - "else": { - "operation": "boost", - "score": -0.006639343686401844 - } - }, - "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.00608901446685195 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02897379733622074 - }, - "else": { - "operation": "boost", - "score": -0.014655139297246933 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.039122287184000015 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04459188133478165 - }, - "else": { - "operation": "boost", - "score": -0.12564072012901306 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 9384.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.11347857862710953 + "score": -0.021813731640577316 }, "else": { - "operation": "boost", - "score": 0.11706831306219101 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12942.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08960411697626114 + }, + "else": { + "operation": "boost", + "score": 0.1479395180940628 + } + }, + "else": { + "operation": "boost", + "score": -0.2058699131011963 + } } }, "else": { - "operation": "boost", - "score": -0.15716557204723358 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8213.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8463.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10961298644542694 + }, + "else": { + "operation": "boost", + "score": 0.035338789224624634 + } + }, + "else": { + "operation": "boost", + "score": 0.11733847111463547 + } + }, + "else": { + "operation": "boost", + "score": 0.020895708352327347 + } } }, "else": { "operation": "boost", - "score": 0.023532267659902573 + "score": -0.07194482535123825 } }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10848.5, "then": { - "operation": "boost", - "score": 0.4296131730079651 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.055442873388528824 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 11514.0, "then": { "operation": "boost", - "score": 0.11604781448841095 + "score": 0.02014463022351265 }, "else": { - "operation": "boost", - "score": 0.10044775903224945 + "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.013209611177444458 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.022036535665392876 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02018439956009388 }, "else": { "operation": "boost", - "score": -0.16771796345710754 + "score": -0.08047475665807724 } } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.018643829971551895 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1272227168083191 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 6621.5, "then": { - "operation": "boost", - "score": -0.29260239005088806 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.1121077910065651 + "score": 0.11222612857818604 }, "else": { + "operation": "boost", + "score": 0.007233570329844952 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.371040016412735 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07866676896810532 + "score": -0.22443923354148865 }, "else": { "operation": "boost", - "score": 0.13241437077522278 + "score": 0.12671752274036407 } + }, + "else": { + "operation": "boost", + "score": 0.10941614210605621 } + }, + "else": { + "operation": "boost", + "score": 0.05212504789233208 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6302.5, + "then": { + "operation": "boost", + "score": -0.08466551452875137 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 6177.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13858090341091156 + "score": 0.08348888903856277 }, "else": { + "operation": "boost", + "score": 0.13193760812282562 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.018786504864692688 + "score": 0.016552340239286423 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 5582.5, "then": { - "operation": "boost", - "score": -1.1649128198623657 + "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.09518174082040787 + "score": 0.11960204690694809 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04669554531574249 }, "else": { "operation": "boost", - "score": -0.49581587314605713 + "score": -0.33357948064804077 } } } } + } + }, + "else": { + "operation": "boost", + "score": 0.0035280198790133 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1258.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 137180.0, + "then": { + "operation": "boost", + "score": 0.04715603590011597 }, "else": { + "operation": "boost", + "score": 0.011047939769923687 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1254.0, + "then": { + "operation": "boost", + "score": 0.12059363722801208 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.057197969406843185 - }, - "else": { - "operation": "boost", - "score": -0.15534400939941406 - } + "operation": "boost", + "score": 0.06929069757461548 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11827614903450012 + "score": -0.10016674548387527 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.12247186154127121 - }, - "else": { - "operation": "boost", - "score": -0.08825135976076126 - } + "operation": "boost", + "score": 0.13513655960559845 } } + }, + "else": { + "operation": "boost", + "score": -0.04872008040547371 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.027019822970032692 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6320.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7417.5, + "then": { + "operation": "boost", + "score": 0.0688985213637352 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09808985888957977 + }, + "else": { + "operation": "boost", + "score": 0.229728564620018 } } }, "else": { "operation": "boost", - "score": -0.023108772933483124 + "score": -0.009103828109800816 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3230.5, + "then": { + "operation": "boost", + "score": 0.08509714156389236 + }, + "else": { + "operation": "boost", + "score": 0.154270201921463 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1260.5, + "then": { + "operation": "boost", + "score": 0.004527705255895853 + }, + "else": { + "operation": "boost", + "score": 0.14553865790367126 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.009994464926421642 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1220.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" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.27793610095977783 + }, + "else": { + "operation": "boost", + "score": 0.10723116248846054 } }, "else": { "operation": "boost", - "score": 0.0017737190937623382 + "score": -0.06901135295629501 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13437886536121368 + }, + "else": { + "operation": "boost", + "score": 0.009931406937539577 + } } } + }, + "else": { + "operation": "boost", + "score": -0.0004284012538846582 } }, { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.0033322854433208704 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.03548014163970947 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32511.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35345.0, - "then": { - "operation": "boost", - "score": 0.01313740387558937 - }, - "else": { - "operation": "boost", - "score": -0.14560794830322266 - } + "operation": "boost", + "score": 0.06676482409238815 }, "else": { + "operation": "boost", + "score": 0.11400895565748215 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03456730768084526 + "score": 0.05261502042412758 }, "else": { "operation": "boost", - "score": 0.1211496964097023 + "score": -0.005377460271120071 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.06532648205757141 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.067581407725811 + }, + "else": { + "operation": "boost", + "score": 0.03834790736436844 + } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.16554082930088043 + "score": 0.03701213374733925 }, "else": { "operation": "boost", - "score": 0.1141967847943306 + "score": 0.03092808648943901 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28296.5, - "then": { - "operation": "boost", - "score": -0.18710613250732422 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28021.0, + "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": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03762020170688629 - }, - "else": { - "operation": "boost", - "score": 0.1952436864376068 - } + "operation": "boost", + "score": 0.04902089387178421 }, "else": { + "operation": "boost", + "score": -0.026930220425128937 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Type" + ], + "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" + ], + "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Keyword", - "Function" - ], + "operation": "boost", + "score": 0.17864735424518585 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 1.7750731706619263 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.004642879590392113 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "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" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.006023608148097992 - }, - "else": { - "operation": "boost", - "score": 0.12468558549880981 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.03266701474785805 + "score": 0.12757360935211182 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11695601046085358 - }, - "else": { - "operation": "boost", - "score": 0.07687413692474365 - } + "operation": "boost", + "score": 0.13713344931602478 } }, "else": { "operation": "boost", - "score": 0.015246204100549221 + "score": -0.057509586215019226 } + }, + "else": { + "operation": "boost", + "score": 0.0926205962896347 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.023096762597560883 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12227381020784378 - }, - "else": { - "operation": "boost", - "score": 0.09266379475593567 - } - } + "operation": "boost", + "score": 0.10083439201116562 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9368.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19905.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21974.5, - "then": { - "operation": "boost", - "score": -0.16730499267578125 - }, - "else": { - "operation": "boost", - "score": 0.14516232907772064 - } - }, - "else": { - "operation": "boost", - "score": -0.14372919499874115 - } - }, - "else": { - "operation": "boost", - "score": -0.3123105764389038 - } - }, - "else": { - "operation": "boost", - "score": 0.01797383651137352 - } - }, - "else": { - "operation": "boost", - "score": 0.04877137020230293 - } + "operation": "boost", + "score": -0.25926846265792847 } } + }, + "else": { + "operation": "boost", + "score": 0.07554734498262405 } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.016191918402910233 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 17.5, + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12342067807912827 + }, + "else": { + "operation": "boost", + "score": -1.2744790315628052 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 18.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.044373657554388046 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.09190960228443146 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2801021635532379 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.009809128008782864 + "score": 0.2167663425207138 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.04494843631982803 + "score": 0.18054044246673584 }, "else": { "operation": "boost", - "score": 0.1414354145526886 + "score": 0.23535653948783875 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0950751006603241 }, "else": { "operation": "boost", - "score": -0.020929573103785515 + "score": 0.04766146466135979 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27164.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11847181618213654 + "score": 0.05639800429344177 + }, + "else": { + "operation": "boost", + "score": 0.03406454250216484 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03112015873193741 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsNameInContext", "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03148886561393738 + }, + "else": { + "operation": "boost", + "score": 0.02590988390147686 + } + } + } + } + }, + "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", + "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" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "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, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23639.5, + "threshold": 506.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24921.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.13357029855251312 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 768.0, + "then": { + "operation": "boost", + "score": -0.24395059049129486 + }, + "else": { + "operation": "boost", + "score": 0.1101708859205246 + } }, "else": { "operation": "boost", - "score": 0.15848305821418762 + "score": 0.02181173674762249 } }, "else": { "operation": "boost", - "score": -0.06189463287591934 + "score": 0.10271558165550232 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 675.5, + "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": 693.5, + "threshold": 238.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241.5, "then": { - "operation": "boost", - "score": 0.06318818032741547 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 698.5, + "threshold": 374.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1043.0, + "threshold": 383.5, "then": { "operation": "boost", - "score": -0.003982373047620058 + "score": 0.02814631722867489 }, "else": { "operation": "boost", - "score": 0.054643552750349045 + "score": 0.11416599154472351 } }, "else": { "operation": "boost", - "score": -1.1345672607421875 + "score": 0.03265971317887306 } + }, + "else": { + "operation": "boost", + "score": 0.11525218188762665 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 682.0, + "threshold": 193.5, "then": { "operation": "boost", - "score": 0.12629207968711853 + "score": -0.08890291303396225 }, "else": { - "operation": "boost", - "score": 0.03201841562986374 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 183.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.005403625778853893 + "score": 0.0626181960105896 }, "else": { "operation": "boost", - "score": -0.036866992712020874 + "score": 0.11177628487348557 } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 169.0, "then": { "operation": "boost", - "score": 0.11601322144269943 + "score": -0.38010719418525696 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "boost", - "score": -0.010032928548753262 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "boost", - "score": 0.1098342090845108 - }, - "else": { - "operation": "boost", - "score": 0.03327098488807678 - } - }, - "else": { - "operation": "boost", - "score": 0.11392652988433838 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.1461435705423355 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.04649961739778519 - }, - "else": { - "operation": "boost", - "score": 0.08996045589447021 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.19028933346271515 - }, - "else": { - "operation": "boost", - "score": 0.12835389375686646 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03295086324214935 - }, - "else": { - "operation": "boost", - "score": -0.03574740141630173 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0171238761395216 - } + "operation": "boost", + "score": 0.08933373540639877 } } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.018942512571811676 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -1.0379657745361328 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.05444541946053505 + "score": 0.07777409255504608 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07557613402605057 - }, - "else": { - "operation": "boost", - "score": 0.033937279134988785 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.10806504637002945 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11267930269241333 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.011217761784791946 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10644549876451492 - }, - "else": { - "operation": "boost", - "score": 0.04375854879617691 - } - } - } - } - } + "operation": "boost", + "score": 0.09396517276763916 } }, + "else": { + "operation": "boost", + "score": 0.031456876546144485 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.14417725801467896 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.05997468903660774 - }, - "else": { - "operation": "boost", - "score": 0.07548405975103378 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09316147118806839 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.08459051698446274 - }, - "else": { - "operation": "boost", - "score": 0.0021610248368233442 - } - }, - "else": { - "operation": "boost", - "score": -0.05635462701320648 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.003417175728827715 - }, - "else": { - "operation": "boost", - "score": 0.05714262276887894 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.063848577439785 - }, - "else": { - "operation": "boost", - "score": -0.6385074853897095 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.062158431857824326 - }, - "else": { - "operation": "boost", - "score": 0.1544879674911499 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04664085432887077 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.021049071103334427 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.0990341454744339 - }, - "else": { - "operation": "boost", - "score": 0.09170372784137726 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.39439117908477783 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11024896055459976 - }, - "else": { - "operation": "boost", - "score": 0.11683966964483261 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.3718321919441223 - }, - "else": { - "operation": "boost", - "score": 0.10898789763450623 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.022675903514027596 - } - }, - "else": { - "operation": "boost", - "score": 0.12438683956861496 - } - }, - "else": { - "operation": "boost", - "score": -0.03342026099562645 - } - } - } - } + "operation": "boost", + "score": 0.12594284117221832 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.07086271047592163 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.445635050535202 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.0, - "then": { - "operation": "boost", - "score": 0.10201102495193481 - }, - "else": { - "operation": "boost", - "score": -0.3974713385105133 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10887892544269562 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08850091695785522 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.03191819414496422 - }, - "else": { - "operation": "boost", - "score": -0.3929296135902405 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.05796808376908302 - }, - "else": { - "operation": "boost", - "score": -0.053431108593940735 - } - } - } + "operation": "boost", + "score": 0.04924427345395088 } } + }, + "else": { + "operation": "boost", + "score": -0.1653822362422943 } }, "else": { + "operation": "boost", + "score": 0.09238564223051071 + } + }, + "else": { + "operation": "boost", + "score": 0.010263306088745594 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09872197359800339 + }, + "else": { + "operation": "boost", + "score": 0.06602504849433899 + } + }, + "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" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09860862791538239 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.0, - "then": { - "operation": "boost", - "score": 0.07224530726671219 - }, - "else": { - "operation": "boost", - "score": 0.11572567373514175 - } - }, - "else": { - "operation": "boost", - "score": 0.03536484017968178 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2451649159193039 - } + "operation": "boost", + "score": 0.12393631786108017 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.11674126982688904 + "score": -0.3075336217880249 }, "else": { "operation": "boost", - "score": -0.2323743999004364 + "score": 0.10980275273323059 } } + }, + "else": { + "operation": "boost", + "score": 0.05957324057817459 } + }, + "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 + } + }, + "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", + "set": [ + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0024684264790266752 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_TopLevel", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 35.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10529207438230515 + "score": 0.0028163925744593143 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02145695686340332 + "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.0016108965501189232 + "score": 0.08640828728675842 } } }, "else": { - "operation": "boost", - "score": -0.011410071514546871 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Function" + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.02829042822122574 + "score": 0.031813330948352814 }, "else": { + "operation": "boost", + "score": -0.04832429811358452 + } + } + } + }, + "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.004629898350685835 + }, + "else": { + "operation": "boost", + "score": -0.03079165890812874 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04477576166391373 + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0012686201371252537 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05350995808839798 + }, + "else": { + "operation": "boost", + "score": -0.06162610277533531 + } + } + }, + "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.009947014041244984 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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.07231548428535461 + }, + "else": { + "operation": "boost", + "score": -0.022991620004177094 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0606222003698349 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 791.0, + "threshold": 147.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 817.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.03620182350277901 + "score": 0.05909845232963562 }, "else": { - "operation": "boost", - "score": 0.1114245355129242 + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.0714387521147728 + "score": 0.12012509256601334 }, "else": { "operation": "boost", - "score": -0.008113950490951538 + "score": -0.20034876465797424 } } + }, + "else": { + "operation": "boost", + "score": 0.035212427377700806 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FilterLength", "threshold": 6.5, "then": { "operation": "boost", - "score": -0.37282660603523254 + "score": 0.07888396084308624 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10559495538473129 - }, - "else": { - "operation": "boost", - "score": 0.08223072439432144 - } + "operation": "boost", + "score": -0.1305377036333084 } }, "else": { - "operation": "boost", - "score": -0.007061201147735119 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 588.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 681.5, "then": { "operation": "boost", - "score": 0.25071313977241516 + "score": -0.036379918456077576 }, "else": { "operation": "boost", - "score": 0.11189182847738266 + "score": 0.10109417885541916 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.05526566132903099 - }, - "else": { - "operation": "boost", - "score": 0.11948256939649582 - } - }, - "else": { - "operation": "boost", - "score": -0.1709243506193161 - } + "operation": "boost", + "score": -0.08763673156499863 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 127.5, "then": { "operation": "boost", - "score": -0.005154537968337536 + "score": 0.07770758867263794 }, "else": { "operation": "boost", - "score": 0.03892342001199722 + "score": 0.18528850376605988 } + }, + "else": { + "operation": "boost", + "score": 0.03735090792179108 } } }, "else": { - "operation": "boost", - "score": -0.019724737852811813 - } - } - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00122535799164325 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5293.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16126.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21761.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31005.5, - "then": { - "operation": "boost", - "score": 0.009851484559476376 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30903.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11178568005561829 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 11146.5, "then": { "operation": "boost", - "score": 0.023683946579694748 + "score": 0.09022556990385056 }, "else": { "operation": "boost", - "score": 0.10362127423286438 + "score": -0.23640279471874237 } - }, - "else": { - "operation": "boost", - "score": -0.10020780563354492 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28239.0, + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30221.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.24889522790908813 + "score": 0.007313184905797243 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29812.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.12961634993553162 + }, + "else": { + "operation": "boost", + "score": 0.0008461074903607368 + } + }, + "else": { + "operation": "boost", + "score": -0.10265633463859558 + } + }, + "else": { "operation": "boost", - "score": 0.1439710110425949 + "score": 0.1319207400083542 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.1909184753894806 + }, + "else": { + "operation": "boost", + "score": 0.03708985075354576 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28306.0, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.06908110529184341 + "score": 0.04754271358251572 }, "else": { "operation": "boost", - "score": 0.3501228392124176 + "score": 0.13431096076965332 } }, "else": { @@ -224605,3094 +224733,3288 @@ "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.1075945720076561 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "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, + "then": { + "operation": "boost", + "score": -0.1118987575173378 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10900766402482986 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.13827726244926453 + }, + "else": { + "operation": "boost", + "score": -0.10079415887594223 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02177560329437256 + } }, "else": { - "operation": "boost", - "score": 0.10880634188652039 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.050565607845783234 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.9190685153007507 + }, + "else": { + "operation": "boost", + "score": 0.11123771965503693 + } + } } }, "else": { "operation": "boost", - "score": 0.11482174694538116 + "score": 0.039020851254463196 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.003189836163073778 - }, - "else": { - "operation": "boost", - "score": 0.07523811608552933 - } } - }, - "else": { - "operation": "boost", - "score": -0.009290844202041626 } } + }, + "else": { + "operation": "boost", + "score": -0.023003194481134415 } - }, - "else": { - "operation": "boost", - "score": -0.025288503617048264 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15956.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.0020475429482758045 - }, - "else": { - "operation": "boost", - "score": 0.14198344945907593 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5364.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.03663763031363487 + "score": -0.07761967182159424 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.09484559297561646 + "score": 0.023908937349915504 }, "else": { - "operation": "boost", - "score": 0.3156386911869049 + "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 + } + } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5582.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7358.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.172561913728714 + "score": 0.10277747362852097 }, "else": { "operation": "boost", - "score": 0.09762375056743622 + "score": 0.05657481402158737 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7092.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11694876849651337 + "score": 0.13789300620555878 }, "else": { "operation": "boost", - "score": 0.10491044074296951 + "score": 0.08209671080112457 } } }, - "else": { - "operation": "boost", - "score": -0.16798873245716095 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15458.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15687.5, - "then": { - "operation": "boost", - "score": -0.14799030125141144 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "boost", - "score": 0.14292208850383759 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "feature": "NumReferences", + "threshold": 24.0, "then": { - "operation": "boost", - "score": 0.23519432544708252 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumReferences", + "threshold": 27.0, "then": { "operation": "boost", - "score": -0.10701824724674225 + "score": 0.08119107782840729 }, "else": { "operation": "boost", - "score": 0.4212114214897156 + "score": 0.1255498081445694 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15389.0, - "then": { - "operation": "boost", - "score": -0.1564735323190689 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15267.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.23738862574100494 }, "else": { - "operation": "boost", - "score": 0.021913541480898857 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.03138618916273117 + }, + "else": { + "operation": "boost", + "score": 0.11146789789199829 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6801.5, + "threshold": 315.0, "then": { + "operation": "boost", + "score": -0.13658881187438965 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6811.5, + "threshold": 186.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.039016976952552795 + "score": -5.476819038391113 }, "else": { "operation": "boost", - "score": 0.09374688565731049 + "score": 0.11412452906370163 } }, "else": { + "operation": "boost", + "score": 0.03156457841396332 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.6019424200057983 + }, + "else": { + "operation": "boost", + "score": 0.005340032745152712 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "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": "if_greater", + "feature": "NumReferences", + "threshold": 62267.0, + "then": { + "operation": "boost", + "score": -0.18932202458381653 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.08821801096200943 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11919128149747849 + "score": 0.10145341604948044 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11019767075777054 - }, - "else": { - "operation": "boost", - "score": -0.549742579460144 - } + "operation": "boost", + "score": 0.10884398967027664 } - }, - "else": { - "operation": "boost", - "score": 0.1365334838628769 } + }, + "else": { + "operation": "boost", + "score": 0.08791298419237137 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "boost", + "score": 0.12595131993293762 }, "else": { "operation": "boost", - "score": 0.004359901417046785 + "score": 0.11284949630498886 } } + }, + "else": { + "operation": "boost", + "score": 0.0012922517489641905 + } + }, + "else": { + "operation": "boost", + "score": -0.017303353175520897 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10052713751792908 + }, + "else": { + "operation": "boost", + "score": 0.11872754991054535 + } + }, + "else": { + "operation": "boost", + "score": 0.10188861936330795 } + }, + "else": { + "operation": "boost", + "score": 0.03921220451593399 } } } } }, "else": { - "operation": "boost", - "score": 0.09095724672079086 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, - "then": { - "operation": "boost", - "score": 0.008961725980043411 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { + "operation": "boost", + "score": 0.02831890434026718 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.1677759438753128 + "score": 0.09727713465690613 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.17238670587539673 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.06805355101823807 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.12647703289985657 + }, + "else": { + "operation": "boost", + "score": 0.13901783525943756 + } + } }, "else": { "operation": "boost", - "score": -0.10601700842380524 + "score": -0.027732787653803825 } }, "else": { - "operation": "boost", - "score": 0.17032009363174438 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01607632450759411 - }, - "else": { - "operation": "boost", - "score": 0.19554078578948975 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.13340355455875397 + }, + "else": { + "operation": "boost", + "score": -0.05889086797833443 + } } - }, - "else": { - "operation": "boost", - "score": 0.05578019842505455 } } } + }, + "else": { + "operation": "boost", + "score": -0.0038831315468996763 } - }, - "else": { - "operation": "boost", - "score": 0.003661742899566889 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Keyword", + "Variable", + "Unknown", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.007920835167169571 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.11630687862634659 + }, + "else": { + "operation": "boost", + "score": 0.09119097143411636 + } + }, + "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 + } + } }, "else": { "operation": "boost", - "score": 0.0784917026758194 + "score": -0.035121552646160126 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.10060897469520569 + "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": "NumReferences", - "threshold": 2153.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08100152760744095 + "score": -0.010270551778376102 }, "else": { "operation": "boost", - "score": 0.10553058981895447 + "score": -0.15333999693393707 } + }, + "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 } } - }, - "else": { - "operation": "boost", - "score": 0.029717260971665382 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.00877221766859293 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199261.5, + "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_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.031207239255309105 + }, + "else": { + "operation": "boost", + "score": -0.025657465681433678 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02907327562570572 + "score": 0.045209772884845734 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0093385623767972 + }, + "else": { + "operation": "boost", + "score": -0.018689608201384544 + } + }, + "else": { + "operation": "boost", + "score": -0.14808255434036255 + } + } + } + }, + "else": { + "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.11469127237796783 + "score": -0.47281041741371155 }, "else": { "operation": "boost", - "score": -0.1013728454709053 + "score": 0.0033310274593532085 } + }, + "else": { + "operation": "boost", + "score": 0.047527652233839035 } }, + "else": { + "operation": "boost", + "score": 0.04153118655085564 + } + } + } + }, + "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": 2.5, + "then": { + "operation": "boost", + "score": 0.036701951175928116 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7106.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26287.0, - "then": { - "operation": "boost", - "score": 0.012834655120968819 - }, - "else": { - "operation": "boost", - "score": -1.07220458984375 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10488558560609818 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15402.5, - "then": { - "operation": "boost", - "score": -0.1433984935283661 - }, - "else": { - "operation": "boost", - "score": 0.10340456664562225 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14351.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.24720989167690277 - }, - "else": { - "operation": "boost", - "score": 0.07232877612113953 - } - }, - "else": { - "operation": "boost", - "score": -0.3341638743877411 - } - }, - "else": { - "operation": "boost", - "score": 0.14742936193943024 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14033.5, - "then": { - "operation": "boost", - "score": -0.02898772619664669 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11738.5, - "then": { - "operation": "boost", - "score": 0.10843859612941742 - }, - "else": { - "operation": "boost", - "score": 0.06742789596319199 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.12013998627662659 - }, - "else": { - "operation": "boost", - "score": -0.1528306007385254 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.16165906190872192 - }, - "else": { - "operation": "boost", - "score": 0.03848014771938324 - } - } - } - } + "operation": "boost", + "score": 0.08193009346723557 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 701.5, - "then": { - "operation": "boost", - "score": -0.06486338376998901 - }, - "else": { - "operation": "boost", - "score": 0.14663934707641602 - } + "operation": "boost", + "score": 0.025386113673448563 } }, "else": { "operation": "boost", - "score": -0.03775697574019432 + "score": -0.04975855350494385 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85559.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.1759895384311676 + "score": 0.058778636157512665 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.057236019521951675 - }, - "else": { - "operation": "boost", - "score": -0.08671709150075912 - } + "operation": "boost", + "score": 0.057635802775621414 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2244.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10621752589941025 + "score": -0.7032470107078552 }, "else": { "operation": "boost", - "score": -0.0802176371216774 + "score": 0.038002338260412216 } } } } } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005093058105558157 + }, + "else": { + "operation": "boost", + "score": 0.04383694380521774 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.004529738798737526 + }, + "else": { + "operation": "boost", + "score": -0.041089240461587906 + } + } + } + }, + "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": "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_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07878474146127701 + }, + "else": { + "operation": "boost", + "score": 0.007429932709783316 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74277.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86920.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": 0.07361035794019699 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "boost", - "score": 0.09898166358470917 - }, - "else": { - "operation": "boost", - "score": -0.014746381901204586 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12060246616601944 - } + "operation": "boost", + "score": -0.08885827660560608 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.09090504795312881 + "score": 0.13233643770217896 }, "else": { "operation": "boost", - "score": -0.20491762459278107 + "score": 0.10974359512329102 } }, "else": { "operation": "boost", - "score": -0.2655734419822693 + "score": 0.013807513751089573 } } }, "else": { "operation": "boost", - "score": 0.10894680768251419 + "score": 0.0800895020365715 } }, "else": { + "operation": "boost", + "score": 0.02264370210468769 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0037990580312907696 + }, + "else": { + "operation": "boost", + "score": -0.006439375691115856 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05875939875841141 + }, + "else": { + "operation": "boost", + "score": -0.06419984251260757 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8641.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.10586483031511307 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13861.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.05130641162395477 + "score": 0.08756247907876968 }, "else": { "operation": "boost", - "score": 0.0878639817237854 + "score": -0.020969880744814873 } - }, - "else": { - "operation": "boost", - "score": -0.09299374371767044 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 8.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.062421202659606934 + "score": 0.051933448761701584 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1514.5, - "then": { - "operation": "boost", - "score": 0.0702228769659996 - }, - "else": { - "operation": "boost", - "score": 0.10739479959011078 - } + "operation": "boost", + "score": 0.13685989379882812 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16141.5, - "then": { - "operation": "boost", - "score": 0.0669785812497139 - }, - "else": { - "operation": "boost", - "score": -0.11163005232810974 - } + "operation": "boost", + "score": 0.6037192940711975 } }, "else": { + "operation": "boost", + "score": 0.045424070209264755 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 41.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 254.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14033.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.10350735485553741 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11551117897033691 + }, + "else": { + "operation": "boost", + "score": -0.06630448251962662 + } }, "else": { - "operation": "boost", - "score": 0.03393780440092087 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1017.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1082.5, + "then": { + "operation": "boost", + "score": -0.07761402428150177 + }, + "else": { + "operation": "boost", + "score": 0.1266629546880722 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 699.0, + "then": { + "operation": "boost", + "score": -0.3797342777252197 + }, + "else": { + "operation": "boost", + "score": -0.04336072877049446 + } + } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1114097610116005 + "score": 0.1393737494945526 }, "else": { "operation": "boost", - "score": 0.08805052191019058 + "score": 0.09195809066295624 } }, "else": { - "operation": "boost", - "score": -0.3408568203449249 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08370338380336761 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 751.5, - "then": { - "operation": "boost", - "score": -0.14863313734531403 - }, - "else": { - "operation": "boost", - "score": 0.09931495785713196 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.458721399307251 - }, - "else": { - "operation": "boost", - "score": 0.10477843880653381 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 737.5, - "then": { - "operation": "boost", - "score": 0.0033268386032432318 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 736.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.10194733738899231 - }, - "else": { - "operation": "boost", - "score": 0.1306835114955902 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0456060916185379 - }, - "else": { - "operation": "boost", - "score": 0.11571962386369705 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.12800297141075134 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 690.5, - "then": { - "operation": "boost", - "score": 0.11171011626720428 - }, - "else": { - "operation": "boost", - "score": 0.18942219018936157 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 241.0, "then": { "operation": "boost", - "score": -0.18499121069908142 + "score": 0.15008200705051422 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 139.5, "then": { - "operation": "boost", - "score": 0.10522186011075974 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.0, + "then": { + "operation": "boost", + "score": 0.06653214246034622 + }, + "else": { + "operation": "boost", + "score": 0.11969684809446335 + } }, "else": { - "operation": "boost", - "score": -0.2876666486263275 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005206044297665358 + }, + "else": { + "operation": "boost", + "score": 0.08830820024013519 + } } } - }, - "else": { - "operation": "boost", - "score": 0.10787229239940643 } } }, "else": { "operation": "boost", - "score": -0.5016683340072632 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13020208477973938 - } - }, - "else": { - "operation": "boost", - "score": -0.05434222146868706 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0002395340707153082 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00041686883196234703 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.037306077778339386 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55767.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.10534767061471939 - }, - "else": { - "operation": "boost", - "score": -0.05205794796347618 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.12485432624816895 - }, - "else": { - "operation": "boost", - "score": 0.07217961549758911 - } - }, - "else": { - "operation": "boost", - "score": 0.01340059656649828 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.09035327285528183 - }, - "else": { - "operation": "boost", - "score": -0.4379841983318329 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92287.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 993748.0, - "then": { - "operation": "boost", - "score": 0.11108952015638351 - }, - "else": { - "operation": "boost", - "score": 0.08849938213825226 + "score": -0.09014682471752167 } }, "else": { - "operation": "boost", - "score": -0.023405371233820915 - } - }, - "else": { - "operation": "boost", - "score": 0.11265718191862106 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47838.0, + "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 6.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.011145038530230522 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.03736323490738869 - }, - "else": { - "operation": "boost", - "score": 0.09191729873418808 - } - } + "operation": "boost", + "score": 0.11571376770734787 }, "else": { "operation": "boost", - "score": 0.03612912446260452 + "score": -0.11810611933469772 } }, "else": { + "operation": "boost", + "score": 0.11760580539703369 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.13456758856773376 + "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": 220112.0, + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.18476170301437378 + "score": 0.10776451230049133 }, "else": { - "operation": "boost", - "score": 0.08151273429393768 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.03881087154150009 + }, + "else": { + "operation": "boost", + "score": 0.10722175985574722 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.12506826221942902 - } - } - }, - "else": { - "operation": "boost", - "score": 0.17667828500270844 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045288242399692535 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57593.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10159365087747574 }, "else": { "operation": "boost", - "score": 0.11545860767364502 + "score": -0.0812382772564888 } - }, - "else": { - "operation": "boost", - "score": -0.19949524104595184 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, - "then": { - "operation": "boost", - "score": 0.1087140366435051 - }, - "else": { - "operation": "boost", - "score": -0.2402416318655014 } }, "else": { "operation": "boost", - "score": -0.18124087154865265 + "score": -0.07007706165313721 } } } }, "else": { - "operation": "boost", - "score": 0.009383274242281914 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.024157943204045296 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10575198382139206 + "score": 0.19143299758434296 }, "else": { "operation": "boost", - "score": 0.11438186466693878 + "score": -0.05594972148537636 } - }, - "else": { - "operation": "boost", - "score": -0.109939806163311 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.008047782815992832 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220295.0, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.05974501743912697 + "score": 0.05121050029993057 }, "else": { - "operation": "boost", - "score": -0.24323023855686188 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.11699740588665009 + "score": -0.02200036309659481 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.13775582611560822 + "score": 0.02282494306564331 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 52.5, "then": { - "operation": "boost", - "score": 0.1201130747795105 + "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.12192049622535706 + "score": 0.13330884277820587 } } } - }, - "else": { - "operation": "boost", - "score": -0.11661338061094284 } + }, + "else": { + "operation": "boost", + "score": -0.06873512268066406 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136489.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0011407050769776106 + "score": 0.11822322010993958 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.10413507372140884 + "score": 0.06114513799548149 }, "else": { "operation": "boost", - "score": 0.10955427587032318 + "score": -0.017653517425060272 } } }, "else": { - "operation": "boost", - "score": -0.12212656438350677 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.1387990117073059 + "score": 0.02033083513379097 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10284953564405441 - }, - "else": { - "operation": "boost", - "score": 0.09016240388154984 - } - }, - "else": { - "operation": "boost", - "score": -0.0409667007625103 - } - } - }, - "else": { - "operation": "boost", - "score": -0.009255453012883663 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56793.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "boost", - "score": 0.08390438556671143 - }, - "else": { - "operation": "boost", - "score": 0.11081330478191376 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.005449093412607908 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75566.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.050679806619882584 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.09597484022378922 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09047471731901169 + "score": -0.13474580645561218 }, "else": { "operation": "boost", - "score": -0.7689108848571777 + "score": 0.09154242277145386 } }, "else": { "operation": "boost", - "score": 0.048020992428064346 + "score": 0.014656325802206993 } + }, + "else": { + "operation": "boost", + "score": 0.0294413510710001 } + }, + "else": { + "operation": "boost", + "score": 0.0814627856016159 } }, "else": { "operation": "boost", - "score": 0.015793919563293457 + "score": 0.03238701820373535 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.12164358049631119 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10505946725606918 }, "else": { "operation": "boost", - "score": -0.12045134603977203 + "score": 0.08295987546443939 } } } }, "else": { "operation": "boost", - "score": -0.06833169609308243 + "score": 0.030076628550887108 } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1339406669139862 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.2062671184539795 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90096.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.07132478058338165 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12692837417125702 + }, + "else": { + "operation": "boost", + "score": 0.11250381171703339 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1230863556265831 - }, - "else": { - "operation": "boost", - "score": 0.07216399163007736 - } + "operation": "boost", + "score": 0.03834899142384529 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46094.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.06177925318479538 + "score": 0.11060649156570435 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1048327162861824 - }, - "else": { - "operation": "boost", - "score": 0.03608769178390503 - } + "operation": "boost", + "score": 0.8624885082244873 } } } + }, + "else": { + "operation": "boost", + "score": 0.15848729014396667 } } + }, + "else": { + "operation": "boost", + "score": 0.06319660693407059 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "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": 92429.0, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 62.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09495062381029129 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09774550050497055 - }, - "else": { - "operation": "boost", - "score": 0.7348135113716125 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0875164121389389 - }, - "else": { - "operation": "boost", - "score": 0.09399086982011795 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.028172878548502922 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.26192814111709595 - }, - "else": { - "operation": "boost", - "score": -0.5018269419670105 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98458.0, - "then": { - "operation": "boost", - "score": -0.05172888934612274 - }, - "else": { - "operation": "boost", - "score": -0.634087085723877 - } - }, - "else": { - "operation": "boost", - "score": 0.0433320552110672 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.03848423808813095 - } + "operation": "boost", + "score": 0.11187689751386642 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.027404122054576874 + "score": 0.1705411672592163 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11210687458515167 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97784.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.1214890331029892 - }, - "else": { - "operation": "boost", - "score": 0.1092698872089386 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.07227540761232376 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102876.0, - "then": { - "operation": "boost", - "score": -0.12023396790027618 - }, - "else": { - "operation": "boost", - "score": 0.06581613421440125 - } - }, - "else": { - "operation": "boost", - "score": -0.3866351246833801 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": 0.08738350123167038 - }, - "else": { - "operation": "boost", - "score": -0.009339599870145321 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.04425201937556267 - }, - "else": { - "operation": "boost", - "score": 0.08657602965831757 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.1518634706735611 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1660960465669632 - }, - "else": { - "operation": "boost", - "score": -0.1075587347149849 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04644728824496269 - } - } - } - } + "operation": "boost", + "score": -0.15364687144756317 } } }, "else": { "operation": "boost", - "score": -0.0017434987239539623 + "score": 0.10895030945539474 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55801.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.011539608240127563 + "score": -0.008549611084163189 }, "else": { "operation": "boost", - "score": -0.1253959983587265 + "score": 0.1096864640712738 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "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", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.12490510940551758 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.008970653638243675 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.16116656363010406 - }, - "else": { - "operation": "boost", - "score": 0.13472330570220947 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11369554698467255 - }, - "else": { - "operation": "boost", - "score": 0.15530984103679657 - } - } - } + "operation": "boost", + "score": 0.047506291419267654 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10664255172014236 - }, - "else": { - "operation": "boost", - "score": 0.18026429414749146 - } + "operation": "boost", + "score": 0.13116107881069183 } + }, + "else": { + "operation": "boost", + "score": -0.08969245105981827 } }, "else": { "operation": "boost", - "score": 0.11419364809989929 + "score": 0.10088367015123367 } }, + "else": { + "operation": "boost", + "score": 0.033195942640304565 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1561691164970398 + }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02448534034192562 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.06530293822288513 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53478.0, - "then": { - "operation": "boost", - "score": 0.15698526799678802 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08055579662322998 - }, - "else": { - "operation": "boost", - "score": 0.09759747236967087 - } - } - } - } + "operation": "boost", + "score": 0.09047278016805649 }, "else": { "operation": "boost", - "score": -0.02597954124212265 + "score": 0.12909498810768127 } } } + }, + "else": { + "operation": "boost", + "score": -0.19641530513763428 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.04368690028786659 - }, - "else": { - "operation": "boost", - "score": -0.017799613997340202 - } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": -0.001786733279004693 + "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.035262394696474075 + }, + "else": { + "operation": "boost", + "score": 0.13816651701927185 + } + }, + "else": { + "operation": "boost", + "score": -0.05149456858634949 + } + }, + "else": { + "operation": "boost", + "score": 0.03983277082443237 + } }, "else": { - "operation": "boost", - "score": -0.07819006592035294 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.029462816193699837 + }, + "else": { + "operation": "boost", + "score": -0.09019868820905685 + } } } } + }, + "else": { + "operation": "boost", + "score": 0.011549800634384155 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 359.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09918895363807678 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 851.0, + "then": { + "operation": "boost", + "score": 0.04426773637533188 + }, + "else": { + "operation": "boost", + "score": 0.0714932307600975 + } + }, + "else": { + "operation": "boost", + "score": -0.03177884221076965 + } } }, "else": { - "operation": "boost", - "score": 0.006166409235447645 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17712457478046417 + }, + "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.025263819843530655 + }, + "else": { + "operation": "boost", + "score": -0.1764257252216339 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.003805599408224225 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], "then": { + "operation": "boost", + "score": -0.01951495371758938 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08297191560268402 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10942943394184113 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07733341306447983 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.051324497908353806 + }, + "else": { + "operation": "boost", + "score": 0.0921962633728981 + } + } }, "else": { "operation": "boost", - "score": 0.10403326153755188 + "score": 0.0062956134788692 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.10700356215238571 }, "else": { - "operation": "boost", - "score": 0.08900901675224304 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -2.25527286529541 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.11129515618085861 + }, + "else": { + "operation": "boost", + "score": 0.08919243514537811 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02475498616695404 + }, + "else": { + "operation": "boost", + "score": -0.39417341351509094 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.11174436658620834 } - }, - "else": { - "operation": "boost", - "score": -0.05801903456449509 } } }, "else": { "operation": "boost", - "score": -0.00020122250134591013 + "score": -0.0004264278686605394 } }, { "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_SymbolOrNewName", + "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_ClassStructUnion", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { + "operation": "boost", + "score": 0.002987643238157034 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 234860.0, + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 768345.5, + "threshold": 21.5, "then": { + "operation": "boost", + "score": 0.006763484328985214 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.06416931003332138 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.0, + "threshold": 6.0, "then": { + "operation": "boost", + "score": -0.13619622588157654 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.1159689798951149 + "score": 0.1110730841755867 }, "else": { "operation": "boost", - "score": 0.10765113681554794 + "score": 0.06165629252791405 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10669496655464172 }, "else": { - "operation": "boost", - "score": -0.3496112525463104 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.1117468997836113 + }, + "else": { + "operation": "boost", + "score": 0.11219148337841034 + } } } }, "else": { "operation": "boost", - "score": 0.022097457200288773 + "score": -0.03804606571793556 } - }, - "else": { - "operation": "boost", - "score": -0.011609654873609543 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "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": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 24802.0, "then": { + "operation": "boost", + "score": -0.6865056753158569 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 618.0, "then": { "operation": "boost", - "score": 0.07167714089155197 + "score": 0.09326910972595215 }, "else": { - "operation": "boost", - "score": 0.10615062713623047 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.15003082156181335 + }, + "else": { + "operation": "boost", + "score": 0.04653552547097206 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08317594975233078 + }, + "else": { + "operation": "boost", + "score": 0.10634998977184296 + } + }, + "else": { + "operation": "boost", + "score": 0.04099518060684204 + } + } } + } + } + }, + "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.14855897426605225 + "score": 0.09120277315378189 } }, "else": { - "operation": "boost", - "score": 0.035806141793727875 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.0, + "then": { + "operation": "boost", + "score": 1.007369875907898 + }, + "else": { + "operation": "boost", + "score": 0.03170266002416611 + } } } - }, - "else": { + } + } + }, + "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": "NumReferences", - "threshold": 155314.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.09729493409395218 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.003025685204192996 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009104850701987743 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.023562509566545486 + } + } }, "else": { - "operation": "boost", - "score": -0.08001921325922012 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05333009734749794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10877250880002975 + }, + "else": { + "operation": "boost", + "score": 0.1570809930562973 + } + } } }, "else": { "operation": "boost", - "score": 0.1150415912270546 + "score": -0.022285766899585724 } + }, + "else": { + "operation": "boost", + "score": -0.04374217614531517 } }, "else": { + "operation": "boost", + "score": -0.04378262162208557 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.013656419701874256 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, + "then": { + "operation": "boost", + "score": 0.03304498642683029 + }, + "else": { + "operation": "boost", + "score": 0.1147015169262886 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05735696479678154 + }, + "else": { + "operation": "boost", + "score": 0.1147204115986824 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "boost", + "score": 0.039298128336668015 + }, + "else": { + "operation": "boost", + "score": 0.1133953407406807 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06926585733890533 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.031517427414655685 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 161.5, + "then": { + "operation": "boost", + "score": -0.0559065006673336 + }, + "else": { + "operation": "boost", + "score": 0.10646555572748184 + } + }, + "else": { + "operation": "boost", + "score": -0.2501525282859802 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.0, + "then": { + "operation": "boost", + "score": 0.11528375744819641 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": -0.06629298627376556 + }, + "else": { + "operation": "boost", + "score": 0.090629942715168 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200884.5, + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.0, "then": { "operation": "boost", - "score": 0.10800372809171677 + "score": 0.10084366053342819 }, "else": { "operation": "boost", - "score": -0.05839770659804344 + "score": 0.119362473487854 } }, "else": { + "operation": "boost", + "score": 0.09793730080127716 + } + }, + "else": { + "operation": "boost", + "score": -0.22381173074245453 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220112.0, + "threshold": 112.5, "then": { - "operation": "boost", - "score": -0.17864102125167847 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.05020562559366226 + "score": 0.0744423121213913 }, "else": { "operation": "boost", - "score": 0.07875872403383255 + "score": 0.11707417666912079 } + }, + "else": { + "operation": "boost", + "score": -0.24271777272224426 } + }, + "else": { + "operation": "boost", + "score": 0.10020679980516434 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 98088.5, + "threshold": 56.5, "then": { "operation": "boost", - "score": -0.13501355051994324 + "score": 0.06281420588493347 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.14843302965164185 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09057218581438065 - }, - "else": { - "operation": "boost", - "score": -0.261121541261673 - } - } + "operation": "boost", + "score": -0.25942549109458923 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.04860876500606537 + "score": -0.18267704546451569 }, "else": { "operation": "boost", - "score": 0.09352530539035797 + "score": 0.10168681293725967 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.10607759654521942 - }, - "else": { - "operation": "boost", - "score": 0.09365237504243851 - } - }, - "else": { - "operation": "boost", - "score": 0.05427117645740509 - } + "operation": "boost", + "score": 0.09109578281641006 } } }, - "else": { - "operation": "boost", - "score": -0.004263018257915974 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.025639723986387253 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 152.0, "then": { - "operation": "boost", - "score": 0.10278745740652084 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, + "feature": "NumReferences", + "threshold": 213.0, "then": { "operation": "boost", - "score": -0.008115149103105068 + "score": 0.004712610971182585 }, "else": { "operation": "boost", - "score": -1.058704137802124 + "score": 0.12106175720691681 } + }, + "else": { + "operation": "boost", + "score": -0.11126815527677536 } } + }, + "else": { + "operation": "boost", + "score": -0.14751887321472168 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "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": 2.5, + "feature": "NumReferences", + "threshold": 42.0, "then": { "operation": "boost", - "score": 0.13594461977481842 + "score": 0.09471195936203003 }, "else": { "operation": "boost", - "score": 0.15563619136810303 + "score": -0.137730211019516 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.11084316670894623 + "operation": "boost", + "score": -0.23374895751476288 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "boost", + "score": 0.0376536063849926 + }, + "else": { + "operation": "boost", + "score": 0.11378654837608337 + } + }, + "else": { + "operation": "boost", + "score": -0.030824050307273865 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "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 + } + } }, "else": { + "operation": "boost", + "score": -0.10436521470546722 + } + }, + "else": { + "operation": "boost", + "score": -0.004364111460745335 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54992.0, + "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 + } + }, + "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": 55726.0, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "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.11789992451667786 + "score": 0.11192444711923599 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": -0.10733252018690109 + } + } + }, + "else": { + "operation": "boost", + "score": -0.38739094138145447 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10606599599123001 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.09253909438848495 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.12783654034137726 + "score": -0.4336182177066803 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70036.5, - "then": { - "operation": "boost", - "score": -0.5283215641975403 - }, - "else": { - "operation": "boost", - "score": 0.006314538419246674 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.07692059129476547 + "score": 0.16761745512485504 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73487.5, + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76669.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03934391960501671 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.05235261470079422 - }, - "else": { - "operation": "boost", - "score": 0.0816127359867096 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10496915131807327 - }, - "else": { - "operation": "boost", - "score": -0.44838276505470276 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1501208394765854 - }, - "else": { - "operation": "boost", - "score": -0.18683990836143494 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10727804154157639 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67668.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10568992793560028 - }, - "else": { - "operation": "boost", - "score": 0.11544419825077057 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12227088212966919 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62601.0, - "then": { - "operation": "boost", - "score": 0.06420300155878067 - }, - "else": { - "operation": "boost", - "score": -0.2911785840988159 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67917.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10095648467540741 + "score": 0.01476842351257801 }, "else": { "operation": "boost", - "score": 0.11026954650878906 + "score": 0.10685862600803375 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08267715573310852 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10125403851270676 - }, - "else": { - "operation": "boost", - "score": -0.2120923101902008 - } - } + "operation": "boost", + "score": -0.1524084061384201 } - }, - "else": { - "operation": "boost", - "score": -0.21993684768676758 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.12297046184539795 }, "else": { - "operation": "boost", - "score": 0.1333354115486145 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.13762669265270233 + }, + "else": { + "operation": "boost", + "score": 0.11249828338623047 + } } }, "else": { "operation": "boost", - "score": 0.11185943335294724 + "score": -0.15808500349521637 } } - }, - "else": { - "operation": "boost", - "score": -0.08043629676103592 } + }, + "else": { + "operation": "boost", + "score": -0.00902304146438837 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.09389390796422958 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75472.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.047335535287857056 + "score": 0.12231747061014175 }, "else": { "operation": "boost", - "score": 0.007627703715115786 + "score": -0.045735254883766174 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.1534622311592102 + "score": 0.1305980086326599 }, "else": { "operation": "boost", - "score": 0.11377712339162827 + "score": -0.14541399478912354 } }, "else": { - "operation": "boost", - "score": 0.06110816076397896 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.03133971989154816 + }, + "else": { + "operation": "boost", + "score": 0.09995579719543457 + } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.006096601951867342 - }, - "else": { - "operation": "boost", - "score": -0.04880065098404884 - } } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.024496441707015038 + "score": -0.24325628578662872 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.031097233295440674 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61550.0, + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.1570228636264801 + "score": -0.07802195101976395 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61294.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10837571322917938 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08612003922462463 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0812181755900383 + }, + "else": { + "operation": "boost", + "score": -0.12275335937738419 + } + } }, "else": { "operation": "boost", - "score": -0.14114944636821747 + "score": 0.06289684772491455 } } + }, + "else": { + "operation": "boost", + "score": -0.1365058273077011 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 51599.0, + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.009095638990402222 + "score": -0.07452430576086044 }, "else": { - "operation": "boost", - "score": 0.0856160894036293 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.05051310360431671 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11692226678133011 + }, + "else": { + "operation": "boost", + "score": 0.18690137565135956 + } + } } } } @@ -227700,312 +228022,264 @@ }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.04261014237999916 + "score": 0.11708724498748779 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.07211431115865707 + "score": 0.029470127075910568 }, "else": { "operation": "boost", - "score": 0.09362825751304626 + "score": -0.1639707088470459 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.06827718764543533 + "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.23239728808403015 + "score": -0.0700974240899086 } }, "else": { "operation": "boost", - "score": 0.00989427138119936 + "score": -0.00989763718098402 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.022731972858309746 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.23942404985427856 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.04142267256975174 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "boost", - "score": 0.06373707205057144 - }, - "else": { - "operation": "boost", - "score": 0.11703851819038391 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004705250321421772 - } + "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": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46801.5, + "operation": "boost", + "score": -0.12408822029829025 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48070.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49945.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.022684220224618912 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09147631376981735 - }, - "else": { - "operation": "boost", - "score": 0.11362697929143906 - } - }, - "else": { - "operation": "boost", - "score": 0.04192201420664787 - } - }, - "else": { - "operation": "boost", - "score": 0.041350968182086945 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2644974887371063 - } - }, - "else": { - "operation": "boost", - "score": 0.11475829780101776 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153790.0, - "then": { - "operation": "boost", - "score": -0.028648095205426216 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.4144282341003418 - }, - "else": { - "operation": "boost", - "score": -0.06678815931081772 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91114.0, - "then": { - "operation": "boost", - "score": -0.04434717819094658 - }, - "else": { - "operation": "boost", - "score": 0.022102365270256996 - } - } - } + "operation": "boost", + "score": -0.2879208028316498 }, "else": { "operation": "boost", - "score": -0.24581138789653778 + "score": -0.14223049581050873 } - }, - "else": { - "operation": "boost", - "score": 0.006989848800003529 } }, "else": { "operation": "boost", - "score": -0.017001168802380562 + "score": -0.07719717174768448 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.07181569188833237 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1272.0, "then": { - "operation": "boost", - "score": 0.07021013647317886 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10773753374814987 + "score": 0.3873768448829651 }, "else": { "operation": "boost", - "score": 0.10205268859863281 + "score": -0.11338190734386444 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.08319564908742905 }, "else": { - "operation": "boost", - "score": 0.08192748576402664 + "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.07011227309703827 } }, "else": { "operation": "boost", - "score": 0.14367584884166718 + "score": -0.038484279066324234 } } }, @@ -228017,829 +228291,925 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110.5, + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, - "then": { - "operation": "boost", - "score": -0.015706920996308327 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.0, - "then": { - "operation": "boost", - "score": 0.11340261250734329 - }, - "else": { - "operation": "boost", - "score": -0.13371598720550537 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 116.5, + "threshold": 59.5, "then": { - "operation": "boost", - "score": 0.04820775240659714 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": -0.30951523780822754 + }, + "else": { + "operation": "boost", + "score": -0.6217468976974487 + } }, "else": { - "operation": "boost", - "score": 0.12814442813396454 + "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": 10008.5, + "threshold": 10863.0, "then": { - "operation": "boost", - "score": -0.006202103570103645 + "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": 6228.0, + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6390.5, + "threshold": 315.0, "then": { - "operation": "boost", - "score": 0.015020917169749737 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09603853523731232 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 341.0, "then": { - "operation": "boost", - "score": 0.09990213811397552 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, + "feature": "FilterLength", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09914732724428177 + "score": -0.0279241930693388 }, "else": { "operation": "boost", - "score": 0.11509724706411362 + "score": 0.1301061064004898 } + }, + "else": { + "operation": "boost", + "score": 0.11971411854028702 } }, "else": { "operation": "boost", - "score": -0.08311206102371216 + "score": 0.12438186258077621 } + }, + "else": { + "operation": "boost", + "score": 0.03291323035955429 } + }, + "else": { + "operation": "boost", + "score": 0.02802639827132225 } }, "else": { - "operation": "boost", - "score": 0.012902514077723026 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.00419591786339879 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011025817133486271 - }, - "else": { - "operation": "boost", - "score": 0.0008248885278590024 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0005775226163677871 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32457.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32671.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105803.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.03561101481318474 + "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_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.07556027173995972 + "score": -0.039677694439888 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "FilterLength", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.10736952722072601 + "score": -0.4988269507884979 }, "else": { - "operation": "boost", - "score": 0.09388155490159988 + "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.05157311633229256 + "score": -0.012766093946993351 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.023629801347851753 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.0031870687380433083 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.06026165559887886 + "score": 0.10371610522270203 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10835456848144531 + "score": 0.13465553522109985 }, "else": { "operation": "boost", - "score": -0.14471666514873505 + "score": -0.15171626210212708 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 306389.0, - "then": { - "operation": "boost", - "score": 0.023639436811208725 }, "else": { "operation": "boost", - "score": -0.008568806573748589 + "score": 0.08025682717561722 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.13875161111354828 - }, - "else": { - "operation": "boost", - "score": 0.12567292153835297 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.04256700724363327 - }, - "else": { - "operation": "boost", - "score": -0.08593662083148956 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.008969453163444996 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2235.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.11022678017616272 - }, - "else": { - "operation": "boost", - "score": 0.012945237569510937 - } + "operation": "boost", + "score": 0.10874247550964355 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.053244698792696 + }, + "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09275316447019577 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.34021905064582825 + }, + "else": { + "operation": "boost", + "score": 0.09150953590869904 + } }, "else": { - "operation": "boost", - "score": -0.10448667407035828 + "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.12045781314373016 } } } - }, - "else": { + } + }, + "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": "NumReferences", - "threshold": 88678.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1839.5, "then": { "operation": "boost", - "score": 0.13243860006332397 + "score": 0.09561043977737427 }, "else": { - "operation": "boost", - "score": 0.1448666900396347 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 501.5, + "then": { + "operation": "boost", + "score": -0.22753921151161194 + }, + "else": { + "operation": "boost", + "score": 0.006636401172727346 + } } }, - "else": { - "operation": "boost", - "score": -0.044517066329717636 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.09864640235900879 - }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, + "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": 60891.5, + "threshold": 18.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "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": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.04067166894674301 + "score": -0.012936791405081749 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.12073612213134766 + "score": 0.04959540814161301 }, "else": { "operation": "boost", - "score": -0.2767285704612732 + "score": 0.13480810821056366 } }, "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": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 141.5, "then": { + "operation": "boost", + "score": 0.021743157878518105 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 119.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62617.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02736509218811989 + "score": 0.11796277016401291 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08808927983045578 - }, - "else": { - "operation": "boost", - "score": 0.12845709919929504 - } + "operation": "boost", + "score": -0.23153725266456604 } }, "else": { - "operation": "boost", - "score": 0.0899231880903244 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12176613509654999 + }, + "else": { + "operation": "boost", + "score": -0.14140069484710693 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.014791748486459255 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62601.0, + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.06396222114562988 + }, + "else": { + "operation": "boost", + "score": 0.12633544206619263 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 10.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, - "then": { - "operation": "boost", - "score": 0.04725038632750511 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11330514401197433 - }, - "else": { - "operation": "boost", - "score": -0.32368549704551697 - } - } + "operation": "boost", + "score": 0.1118730753660202 }, "else": { + "operation": "boost", + "score": -0.14979925751686096 + } + }, + "else": { + "operation": "boost", + "score": 0.11442156136035919 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.09233160316944122 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.0, + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.1529873013496399 + "score": 0.04435697942972183 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.002455689711496234 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1003674641251564 - }, - "else": { - "operation": "boost", - "score": 0.10953186452388763 - } - } - }, - "else": { - "operation": "boost", - "score": 0.051605865359306335 - } - }, - "else": { - "operation": "boost", - "score": -0.11657993495464325 - } + "operation": "boost", + "score": 0.11969397962093353 } + }, + "else": { + "operation": "boost", + "score": -0.07018359750509262 } - }, - "else": { - "operation": "boost", - "score": -0.26842033863067627 } } + }, + "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": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 234.0, "then": { + "operation": "boost", + "score": 0.07874462008476257 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 36.5, "then": { "operation": "boost", - "score": -0.25010138750076294 + "score": -0.10469905287027359 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 32.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.0985589474439621 + "score": 0.02193715237081051 }, "else": { "operation": "boost", - "score": 0.10070633143186569 + "score": 0.10483294725418091 } }, "else": { - "operation": "boost", - "score": -0.9126728773117065 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06254669278860092 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.028418028727173805 - }, - "else": { - "operation": "boost", - "score": -0.20576655864715576 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10098050534725189 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": -0.33082446455955505 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11832374334335327 + }, + "else": { + "operation": "boost", + "score": -0.0015079390723258257 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09583292156457901 + } + }, + "else": { + "operation": "boost", + "score": -0.07243554294109344 + } + }, + "else": { + "operation": "boost", + "score": -0.6921550631523132 + } + } } } } } }, "else": { - "operation": "boost", - "score": 0.12374462932348251 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47029.0, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 112.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 179.0, "then": { "operation": "boost", - "score": 0.11328207701444626 + "score": 0.0410318523645401 }, "else": { "operation": "boost", - "score": 0.12582536041736603 + "score": 0.12125296145677567 } }, "else": { "operation": "boost", - "score": -0.024860838428139687 + "score": -0.03050893358886242 } }, "else": { - "operation": "boost", - "score": -0.09246071428060532 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46801.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 29.5, "then": { "operation": "boost", - "score": 0.0829877108335495 + "score": 0.08675692975521088 }, "else": { "operation": "boost", - "score": 0.13961061835289001 + "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": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46337.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.28928282856941223 + "score": -0.11412575095891953 }, "else": { + "operation": "boost", + "score": 0.12279364466667175 + } + }, + "else": { + "operation": "boost", + "score": 0.020892083644866943 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33937.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.09344615042209625 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1359325796365738 + "score": 0.13900305330753326 }, "else": { "operation": "boost", - "score": 0.04302031546831131 + "score": 0.02532198466360569 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40616.0, - "then": { - "operation": "boost", - "score": 0.12158198654651642 }, "else": { "operation": "boost", - "score": 0.07559113949537277 + "score": -0.09464459121227264 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 41673.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.08340031653642654 + "score": -0.027534935623407364 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35026.0, + "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, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0064534153789281845 + "score": 0.13500787317752838 }, "else": { "operation": "boost", - "score": 0.09509319067001343 + "score": 0.09154918789863586 } }, "else": { "operation": "boost", - "score": -0.01010142546147108 + "score": -0.1349981725215912 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33282.5, - "then": { - "operation": "boost", - "score": -0.04388447850942612 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.07428714632987976 - }, - "else": { - "operation": "boost", - "score": 0.10740738362073898 - } - }, - "else": { - "operation": "boost", - "score": 0.012905162759125233 - } + "operation": "boost", + "score": -0.07286402583122253 } } }, @@ -228847,529 +229217,398 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type" + "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": 0.1824839860200882 + "score": 0.1001436784863472 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "boost", - "score": -0.037680357694625854 - }, - "else": { - "operation": "boost", - "score": 0.09974807500839233 - } - }, - "else": { - "operation": "boost", - "score": -0.2938128709793091 - } + "operation": "boost", + "score": 0.028122689574956894 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.22737224400043488 + }, + "else": { + "operation": "boost", + "score": -0.037410952150821686 + } } } - }, - "else": { - "operation": "boost", - "score": -0.09071651101112366 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.175228089094162 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, - "then": { - "operation": "boost", - "score": 0.005844549275934696 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.0729287788271904 }, "else": { "operation": "boost", - "score": -0.2051297277212143 + "score": 0.02660672925412655 } - }, - "else": { - "operation": "boost", - "score": 0.15052160620689392 - } - }, - "else": { - "operation": "boost", - "score": 0.029310965910553932 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34626.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.12212707102298737 - }, - "else": { - "operation": "boost", - "score": 0.010635490529239178 } }, "else": { - "operation": "boost", - "score": 0.4148329794406891 - } - }, - "else": { - "operation": "boost", - "score": 0.005764211528003216 - } - }, - "else": { - "operation": "boost", - "score": -0.021240299567580223 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, - "then": { - "operation": "boost", - "score": -0.05707290768623352 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32016.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.03961697593331337 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.04914279282093048 + "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 + } }, "else": { "operation": "boost", - "score": 0.10449963063001633 + "score": -0.03270494565367699 } }, "else": { "operation": "boost", - "score": 0.10824085772037506 + "score": 0.01864231377840042 } }, "else": { "operation": "boost", - "score": 0.09312183409929276 + "score": 0.00583090353757143 } }, + "else": { + "operation": "boost", + "score": -0.026421571150422096 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 264.0, + "then": { + "operation": "boost", + "score": -0.4386032521724701 + }, + "else": { + "operation": "boost", + "score": 0.02225569635629654 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00020145418238826096 + } + } + }, + { + "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": 1412.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": -0.008209028281271458 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 199261.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.09956802427768707 + "score": -0.18777012825012207 }, "else": { "operation": "boost", - "score": 0.06463852524757385 + "score": 0.1050480306148529 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.08979039639234543 + "score": 0.08403901010751724 }, "else": { "operation": "boost", - "score": 0.13767842948436737 + "score": -0.09828488528728485 } } }, "else": { "operation": "boost", - "score": -0.022191274911165237 + "score": 0.045570265501737595 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.0019460044568404555 - }, - "else": { - "operation": "boost", - "score": 0.07846280187368393 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.2942277193069458 - } - }, - "else": { - "operation": "boost", - "score": 0.09530109167098999 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0025182131212204695 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05360408499836922 - }, - "else": { - "operation": "boost", - "score": 0.026722151786088943 - } - }, - "else": { - "operation": "boost", - "score": -0.05491114407777786 - } - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16206.0, "then": { "operation": "boost", - "score": -0.015062574297189713 + "score": 0.010128199122846127 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10048358887434006 - }, - "else": { - "operation": "boost", - "score": -0.17299294471740723 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50007.5, - "then": { - "operation": "boost", - "score": -0.3554631769657135 - }, - "else": { - "operation": "boost", - "score": 0.08943410962820053 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08911477029323578 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "feature": "NumReferences", + "threshold": 3077.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.05789753049612045 - }, - "else": { - "operation": "boost", - "score": 0.11607278138399124 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 3241.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 7547.0, "then": { - "operation": "boost", - "score": 0.04575926437973976 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8723.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07232190668582916 + }, + "else": { + "operation": "boost", + "score": -0.5370262265205383 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, + "then": { + "operation": "boost", + "score": 0.11776309460401535 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.09738503396511078 + }, + "else": { + "operation": "boost", + "score": 0.008431429974734783 + } + } + } }, "else": { "operation": "boost", - "score": 0.12378557026386261 + "score": 0.035415634512901306 } }, "else": { "operation": "boost", - "score": -0.4571670889854431 + "score": -0.03212020918726921 } }, - "else": { - "operation": "boost", - "score": 0.038021791726350784 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.07812149077653885 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11190827935934067 + "score": 0.011139802634716034 }, "else": { "operation": "boost", - "score": 0.07189775258302689 + "score": 0.1044839397072792 } } }, "else": { "operation": "boost", - "score": -0.20702750980854034 + "score": -0.04012124612927437 } } }, "else": { "operation": "boost", - "score": -0.015599837526679039 + "score": -0.018409358337521553 } } } @@ -229377,253 +229616,126 @@ "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Constructor", - "Type" - ], + "operation": "boost", + "score": -0.06512115895748138 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25183.5, + "threshold": 97230.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26697.0, + "threshold": 254260.5, "then": { "operation": "boost", - "score": -0.016873052343726158 + "score": -0.052828311920166016 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11309843510389328 + "score": 0.10759350657463074 }, "else": { "operation": "boost", - "score": 0.06368878483772278 + "score": 0.10688687115907669 } } }, - "else": { - "operation": "boost", - "score": 0.006401074584573507 - } - }, - "else": { - "operation": "boost", - "score": -0.00519008981063962 - } - }, - "else": { - "operation": "boost", - "score": -0.019538545981049538 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0014513167552649975 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 693.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5942.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9213.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03211519122123718 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10037.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10264.0, - "then": { - "operation": "boost", - "score": 0.00498976232483983 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 32098.5, "then": { - "operation": "boost", - "score": 0.03452524170279503 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "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": 1.5, + "feature": "NumReferences", + "threshold": 36980.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10131.0, - "then": { - "operation": "boost", - "score": 0.017185000702738762 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12807294726371765 - }, - "else": { - "operation": "boost", - "score": 0.11961806565523148 - } - } + "operation": "boost", + "score": 0.1221500113606453 }, "else": { "operation": "boost", - "score": 0.13322965800762177 + "score": 0.1292692869901657 } }, "else": { "operation": "boost", - "score": -0.024643409997224808 + "score": -0.14795707166194916 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5323.5, + "then": { + "operation": "boost", + "score": -0.12158460170030594 + }, + "else": { + "operation": "boost", + "score": 0.10443536937236786 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.04973924160003662 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3339.0, "then": { "operation": "boost", - "score": -0.17768645286560059 + "score": 0.0296745877712965 }, "else": { - "operation": "boost", - "score": -0.14639322459697723 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3012.5, + "then": { + "operation": "boost", + "score": 0.10995916277170181 + }, + "else": { + "operation": "boost", + "score": -0.13639555871486664 + } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8831.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8849.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.108934685587883 - }, - "else": { - "operation": "boost", - "score": 0.050101447850465775 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10202911496162415 - }, - "else": { - "operation": "boost", - "score": -0.15185633301734924 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.04864784702658653 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08100847154855728 }, "else": { "operation": "boost", - "score": 0.11631063371896744 + "score": -0.039432596415281296 } } } @@ -229631,2528 +229743,2666 @@ }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.02347046323120594 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.3280150890350342 + "score": 0.11988922208547592 }, "else": { - "operation": "boost", - "score": 0.009577927179634571 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.08762840181589127 + }, + "else": { + "operation": "boost", + "score": -0.026724830269813538 + } } - }, - "else": { - "operation": "boost", - "score": -0.15129895508289337 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.020809948444366455 - }, - "else": { - "operation": "boost", - "score": -0.012996399775147438 - } + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.018547028303146362 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 686.5, + "threshold": 11154.5, "then": { - "operation": "boost", - "score": 0.12308274209499359 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 638.0, - "then": { - "operation": "boost", - "score": 0.11562558263540268 - }, - "else": { - "operation": "boost", - "score": 0.5854271054267883 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "threshold": 200884.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 676.5, + "threshold": 220112.0, "then": { "operation": "boost", - "score": 0.10764293372631073 + "score": -0.02447957918047905 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 625.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.24385036528110504 + "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.14538705348968506 + "score": 0.08495788276195526 } } }, "else": { "operation": "boost", - "score": -0.6719989776611328 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 650.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 674.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06767722219228745 - }, - "else": { - "operation": "boost", - "score": 0.6536048650741577 - } - }, - "else": { - "operation": "boost", - "score": -0.1090177446603775 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 634.0, - "then": { - "operation": "boost", - "score": 0.14413481950759888 - }, - "else": { - "operation": "boost", - "score": 0.08862794935703278 + "score": -0.0057794805616140366 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.044528380036354065 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 668.5, + "threshold": 11467.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 669.5, + "threshold": 219439.0, "then": { "operation": "boost", - "score": 0.05948084592819214 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.16028739511966705 - }, - "else": { - "operation": "boost", - "score": -0.11489415168762207 - } - } - }, - "else": { - "operation": "boost", - "score": 0.030583202838897705 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.0038359910249710083 - }, - "else": { - "operation": "boost", - "score": -0.2609110474586487 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.029002215713262558 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10909722000360489 - }, - "else": { - "operation": "boost", - "score": -0.04192657396197319 - } - } + "score": -0.00776694668456912 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108984.0, - "then": { - "operation": "boost", - "score": -0.0007075414177961648 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.13301756978034973 - }, - "else": { - "operation": "boost", - "score": -0.054462142288684845 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80816.0, + "threshold": 35026.0, "then": { - "operation": "boost", - "score": -0.1782352328300476 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8573.5, + "threshold": 49106.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8701.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9853.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24366.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03257152438163757 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20562.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.14110226929187775 + "score": 0.11027498543262482 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20210.5, - "then": { - "operation": "boost", - "score": -0.20461530983448029 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15623.0, - "then": { - "operation": "boost", - "score": 0.08503518253564835 - }, - "else": { - "operation": "boost", - "score": 0.07451923191547394 - } - }, - "else": { - "operation": "boost", - "score": 0.06608963757753372 - } - } + "operation": "boost", + "score": 0.08389124274253845 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07375869154930115 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30619.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33827.0, - "then": { - "operation": "boost", - "score": 0.016903990879654884 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10102712363004684 - }, - "else": { - "operation": "boost", - "score": 0.10736673325300217 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.04097806662321091 - }, - "else": { - "operation": "boost", - "score": -0.5377203226089478 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9701.5, - "then": { - "operation": "boost", - "score": 0.1157408058643341 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16066515445709229 + "score": 0.09797867387533188 }, "else": { "operation": "boost", - "score": 0.03076946549117565 + "score": 0.047057077288627625 } - }, - "else": { - "operation": "boost", - "score": -0.10247737169265747 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11183606088161469 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5573.5, - "then": { - "operation": "boost", - "score": -0.10045269131660461 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5179.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10278309881687164 - }, - "else": { - "operation": "boost", - "score": 0.10727173835039139 } }, "else": { + "operation": "boost", + "score": -0.09700322896242142 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 93657.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1860.5, + "threshold": 97784.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2144.5, + "threshold": 102876.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2939.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02038315124809742 + "score": -0.10640688985586166 }, "else": { - "operation": "boost", - "score": 0.11278467625379562 + "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.5094999074935913 + "score": -0.019955020397901535 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1670.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11591064929962158 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.03430425375699997 + "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": 13.5, + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13619644939899445 - }, - "else": { - "operation": "boost", - "score": 0.0716789960861206 - } + "operation": "boost", + "score": -0.19299833476543427 }, "else": { "operation": "boost", - "score": -0.015230324119329453 + "score": 0.09218146651983261 } + }, + "else": { + "operation": "boost", + "score": 0.10909270495176315 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.02979995496571064 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.09122619777917862 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 73487.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 4.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.5539910197257996 + "score": 0.1053927093744278 }, "else": { "operation": "boost", - "score": 0.11750074476003647 + "score": -0.5529049038887024 } }, "else": { + "operation": "boost", + "score": 0.09841644018888474 + } + }, + "else": { + "operation": "boost", + "score": -0.013782525435090065 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "boost", + "score": -0.10174140334129333 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87637.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2222.5, + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3212.0, - "then": { - "operation": "boost", - "score": -0.06860308349132538 - }, - "else": { - "operation": "boost", - "score": 0.09457860141992569 - } + "operation": "boost", + "score": -0.2331061065196991 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1130.5, - "then": { - "operation": "boost", - "score": -0.029549824073910713 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 763.0, - "then": { - "operation": "boost", - "score": 0.10205531865358353 - }, - "else": { - "operation": "boost", - "score": 0.0650799572467804 - } - } + "operation": "boost", + "score": 0.06170634552836418 }, "else": { "operation": "boost", - "score": -0.3070106506347656 + "score": 0.102862149477005 } } + }, + "else": { + "operation": "boost", + "score": 0.0323173888027668 } } } } + }, + "else": { + "operation": "boost", + "score": -0.0003562315250746906 } - }, - "else": { - "operation": "boost", - "score": -0.11003776639699936 } + }, + "else": { + "operation": "boost", + "score": -0.020639510825276375 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02846520021557808 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74277.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86920.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104520.5, - "then": { - "operation": "boost", - "score": 0.08311539143323898 - }, - "else": { - "operation": "boost", - "score": 0.10494919121265411 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0882941409945488 }, "else": { - "operation": "boost", - "score": -0.1980973333120346 - } - }, - "else": { - "operation": "boost", - "score": -0.20509293675422668 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10751669853925705 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 739.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14674.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18424.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.02755902148783207 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.10954123735427856 + "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 + } + } }, "else": { - "operation": "boost", - "score": 0.10307751595973969 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08730768412351608 + }, + "else": { + "operation": "boost", + "score": 0.034261107444763184 + } } - } - }, - "else": { - "operation": "boost", - "score": -0.1064748540520668 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1861.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0715063214302063 - }, - "else": { - "operation": "boost", - "score": -0.20429515838623047 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.048725295811891556 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 35805.0, "then": { - "operation": "boost", - "score": -0.07300446182489395 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.05043250694870949 + }, + "else": { + "operation": "boost", + "score": -0.01702474057674408 + } }, "else": { - "operation": "boost", - "score": 0.10112499445676804 + "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 + } + } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.12158474326133728 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.10404705256223679 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 724.5, - "then": { - "operation": "boost", - "score": 0.10834847390651703 }, "else": { - "operation": "boost", - "score": -0.06512287259101868 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 737.5, - "then": { - "operation": "boost", - "score": 0.002576000289991498 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 736.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.1017528846859932 - }, - "else": { - "operation": "boost", - "score": 0.127669095993042 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.051968544721603394 - }, - "else": { - "operation": "boost", - "score": 0.11353611201047897 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 686.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.18532246351242065 - }, - "else": { - "operation": "boost", - "score": 0.10981633514165878 - } + "operation": "boost", + "score": 0.10454107075929642 }, "else": { "operation": "boost", - "score": -0.2451622486114502 + "score": -0.23080971837043762 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 671.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.018680132925510406 - }, - "else": { - "operation": "boost", - "score": 0.12351135164499283 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 647.5, + "threshold": 16817.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19474.5, "then": { "operation": "boost", - "score": 0.09700320661067963 + "score": -0.040144845843315125 }, "else": { - "operation": "boost", - "score": -0.45906323194503784 + "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 + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 640.0, + "threshold": 11952.5, "then": { "operation": "boost", - "score": 0.1119619756937027 + "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 624.5, + "threshold": 20253.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": [ - "Operator", - "Variable", + "Keyword", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", - "Constructor", "Type" ], "then": { "operation": "boost", - "score": 0.31453418731689453 + "score": 0.09141042828559875 }, "else": { "operation": "boost", - "score": -0.1299481838941574 + "score": -0.1429699808359146 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18474.5, + "then": { + "operation": "boost", + "score": -0.15522004663944244 }, "else": { - "operation": "boost", - "score": -0.26210248470306396 + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19823.0, + "then": { + "operation": "boost", + "score": -0.2357441931962967 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17950.5, + "then": { + "operation": "boost", + "score": 0.12705029547214508 + }, + "else": { + "operation": "boost", + "score": 0.5013631582260132 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31400.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33342.0, + "then": { + "operation": "boost", + "score": -0.10554318875074387 + }, + "else": { + "operation": "boost", + "score": 0.15554344654083252 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1320531964302063 + }, + "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 + } + } + } + } } } } } } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11250372976064682 + }, + "else": { + "operation": "boost", + "score": 0.10692249983549118 + } }, "else": { "operation": "boost", - "score": -0.11273407936096191 + "score": -0.010620025917887688 } }, "else": { "operation": "boost", - "score": -0.04591681435704231 + "score": 0.05982687696814537 } } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0616728700697422 + }, + "else": { + "operation": "boost", + "score": -0.008237339556217194 + } } } }, "else": { - "operation": "boost", - "score": -0.0006647040136158466 + "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.000380202429369092 + "score": -0.00039998465217649937 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 618.5, + "threshold": 41.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "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": "NumReferences", - "threshold": 6801.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.01758459024131298 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1127694621682167 + }, + "else": { + "operation": "boost", + "score": -0.018887480720877647 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6811.5, + "threshold": 11154.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9216.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.00042260007467120886 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9283.0, + "threshold": 185218.0, "then": { "operation": "boost", - "score": 0.015449251048266888 + "score": -0.005997000727802515 }, "else": { "operation": "boost", - "score": -0.15221628546714783 + "score": 0.028660131618380547 } - }, - "else": { + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.01755037158727646 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8831.5, + "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", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 37.5, "then": { + "operation": "boost", + "score": -0.10397972911596298 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.11564113944768906 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_ClassStructUnion", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10720705986022949 + "score": 0.07672049105167389 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1475246548652649 + }, + "else": { + "operation": "boost", + "score": 0.053795382380485535 + } + } + }, + "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.0192877184599638 + "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_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": "HadContextType", - "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.10308396071195602 + }, + "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, "then": { "operation": "boost", - "score": 0.14491374790668488 + "score": 0.11371657252311707 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07694189250469208 + "score": 0.10849402844905853 }, "else": { "operation": "boost", - "score": 0.11689931899309158 + "score": -0.20037873089313507 } }, "else": { "operation": "boost", - "score": -0.12233731895685196 + "score": 0.11060479283332825 } } + }, + "else": { + "operation": "boost", + "score": -0.004078893922269344 } } }, "else": { "operation": "boost", - "score": -0.03505535051226616 + "score": -0.14833028614521027 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9108.5, + "threshold": 38.5, "then": { "operation": "boost", - "score": 0.09409958869218826 + "score": 0.055941883474588394 }, "else": { "operation": "boost", - "score": -0.014385971240699291 + "score": -0.07362175732851028 } } - }, - "else": { + } + }, + "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": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.0349457822740078 + "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": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 31.5, "then": { "operation": "boost", - "score": 0.13387103378772736 + "score": 0.21046972274780273 }, "else": { "operation": "boost", - "score": -0.10160070657730103 + "score": 0.05861881375312805 } } }, "else": { "operation": "boost", - "score": 0.041883695870637894 + "score": 0.022002335637807846 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { - "operation": "boost", - "score": 0.0201718807220459 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7768.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.06936172395944595 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7637.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.13970744609832764 + "score": -0.12043686211109161 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7142.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0005243822815828025 + "score": 0.1272381991147995 }, "else": { "operation": "boost", - "score": 0.11584465950727463 + "score": -0.11110451072454453 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7419.0, - "then": { - "operation": "boost", - "score": 0.12338190525770187 - }, - "else": { - "operation": "boost", - "score": 0.07419344037771225 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11128085851669312 - }, - "else": { - "operation": "boost", - "score": 0.13213524222373962 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, - "then": { - "operation": "boost", - "score": 0.010950572788715363 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16150502860546112 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.10089987516403198 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.15919795632362366 - }, - "else": { - "operation": "boost", - "score": 0.15152166783809662 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10637634247541428 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 642.5, - "then": { - "operation": "boost", - "score": 0.13263970613479614 + }, + "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.015660231932997704 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.04253675788640976 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 624.0, - "then": { - "operation": "boost", - "score": -0.18137121200561523 - }, - "else": { - "operation": "boost", - "score": 0.15843498706817627 - } + "score": -0.04380081221461296 } } + }, + "else": { + "operation": "boost", + "score": -0.004130261018872261 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.004869092721492052 }, "else": { "operation": "boost", - "score": -0.14206762611865997 + "score": -0.050505734980106354 } + }, + "else": { + "operation": "boost", + "score": 0.0044548227451741695 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 737.5, + "feature": "IsImplementationDetail", + "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_ParenthesizedExpression", "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.0028495320584625006 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94786.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04736258089542389 - }, - "else": { - "operation": "boost", - "score": 0.08672817796468735 - } - }, - "else": { - "operation": "boost", - "score": 0.0366629958152771 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.10447927564382553 - }, - "else": { - "operation": "boost", - "score": -0.03610796481370926 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80816.0, - "then": { - "operation": "boost", - "score": -0.29794198274612427 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7105.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9853.5, - "then": { - "operation": "boost", - "score": 0.03788265213370323 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06476373225450516 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10505752265453339 - }, - "else": { - "operation": "boost", - "score": -0.1830025464296341 - } - } - } + "operation": "boost", + "score": -0.10264390707015991 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5327.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12447196245193481 + "score": 0.024144019931554794 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5179.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.09939973056316376 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.019449152052402496 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2398.5, - "then": { - "operation": "boost", - "score": -0.06305030733346939 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.09108221530914307 - }, - "else": { - "operation": "boost", - "score": 0.11593418568372726 - } - } + "operation": "boost", + "score": 0.08878441154956818 }, "else": { "operation": "boost", - "score": 0.05318956449627876 + "score": 0.06581185013055801 } - }, - "else": { - "operation": "boost", - "score": 0.005304272752255201 } + }, + "else": { + "operation": "boost", + "score": 0.06565598398447037 } } } + }, + "else": { + "operation": "boost", + "score": -0.0009428478660993278 } }, "else": { - "operation": "boost", - "score": -0.054194655269384384 + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.06039436534047127 + }, + "else": { + "operation": "boost", + "score": -0.015247092582285404 + } } + }, + "else": { + "operation": "boost", + "score": 0.007452378980815411 } + }, + "else": { + "operation": "boost", + "score": 0.005925206001847982 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.0008377032936550677 + } + }, + "else": { + "operation": "boost", + "score": 0.0011095565278083086 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": "NumReferences", - "threshold": 92644.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.10087403655052185 + "score": -0.043587297201156616 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.051213592290878296 + "score": 0.06533707678318024 }, "else": { - "operation": "boost", - "score": -0.17494291067123413 + "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 + } + } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": -0.045675452798604965 - }, - "else": { - "operation": "boost", - "score": 0.09905347228050232 - } - }, - "else": { - "operation": "boost", - "score": -0.12610207498073578 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7609.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11877.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12172.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18715.0, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 29288.0, - "then": { - "operation": "boost", - "score": -0.005966535769402981 - }, - "else": { - "operation": "boost", - "score": 0.03849685192108154 - } + "operation": "boost", + "score": 0.041232138872146606 }, "else": { "operation": "boost", - "score": -0.05386405438184738 + "score": -0.02493251860141754 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011491521261632442 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.13588997721672058 + "score": 0.0609004870057106 }, "else": { "operation": "boost", - "score": -0.6580158472061157 + "score": 0.014004012569785118 } } - }, - "else": { - "operation": "boost", - "score": -0.17478719353675842 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.09731851518154144 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6230.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7289.0, - "then": { - "operation": "boost", - "score": -0.2497967630624771 - }, - "else": { - "operation": "boost", - "score": 0.08472511917352676 - } + "operation": "boost", + "score": 0.02280914969742298 }, "else": { "operation": "boost", - "score": -0.01977449096739292 + "score": 0.024953462183475494 } + }, + "else": { + "operation": "boost", + "score": 0.005347174126654863 } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6573.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6689.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.028944911435246468 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": -0.03034706600010395 + }, + "else": { + "operation": "boost", + "score": 0.1763128936290741 + } + } + }, + "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": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11497373133897781 + "score": 0.08133211731910706 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6962.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.03498788923025131 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.03302076831459999 - }, - "else": { - "operation": "boost", - "score": 0.08974045515060425 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20297.5, - "then": { - "operation": "boost", - "score": -0.1283113807439804 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13941.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.04132864624261856 - }, - "else": { - "operation": "boost", - "score": 0.1080145463347435 - } - }, - "else": { - "operation": "boost", - "score": 0.054112937301397324 - } - } - } - } + "operation": "boost", + "score": 0.020408527925610542 }, "else": { "operation": "boost", - "score": 0.13131096959114075 + "score": 0.20060837268829346 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.07165727764368057 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00627591647207737 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.10639595240354538 + }, + "else": { + "operation": "boost", + "score": 0.10131648182868958 + } + } }, "else": { - "operation": "boost", - "score": 0.18208056688308716 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10476826876401901 + }, + "else": { + "operation": "boost", + "score": 0.10465893894433975 + } } }, "else": { "operation": "boost", - "score": 0.12844382226467133 + "score": -0.030497577041387558 } }, "else": { - "operation": "boost", - "score": -0.02465939149260521 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32297.5, - "then": { - "operation": "boost", - "score": 0.1068529263138771 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03461772948503494 + "score": -0.0005112877697683871 }, "else": { "operation": "boost", - "score": 0.09412164241075516 + "score": -0.0665026530623436 } - }, - "else": { - "operation": "boost", - "score": -0.13735361397266388 } } + }, + "else": { + "operation": "boost", + "score": 0.042406268417835236 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": -0.18927811086177826 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.0, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.1025831550359726 + "score": -0.07501308619976044 }, "else": { "operation": "boost", - "score": 0.10482612252235413 + "score": -0.24257464706897736 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017545174807310104 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09777361154556274 }, "else": { "operation": "boost", - "score": 0.20071423053741455 + "score": 0.08369125425815582 } } }, + "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": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11713370680809021 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1038.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.002515910193324089 + "score": -0.020458223298192024 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 874.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13925866782665253 - }, - "else": { - "operation": "boost", - "score": 0.1291266232728958 - } - }, - "else": { - "operation": "boost", - "score": -0.10862506926059723 - } + "operation": "boost", + "score": 0.08836674690246582 } + }, + "else": { + "operation": "boost", + "score": 0.014299564994871616 } }, + "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": "NumReferences", - "threshold": 6175.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.5, - "then": { - "operation": "boost", - "score": -0.14127828180789948 - }, - "else": { - "operation": "boost", - "score": 0.12261313199996948 - } + "operation": "boost", + "score": 0.004041273146867752 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1214.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06868094950914383 + "score": -0.008707613684237003 }, "else": { - "operation": "boost", - "score": -0.17456728219985962 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01504200417548418 + }, + "else": { + "operation": "boost", + "score": 0.0028684765566140413 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.11477009952068329 } } }, "else": { "operation": "boost", - "score": 0.01588408276438713 + "score": -0.10859336704015732 } } - }, - "else": { - "operation": "boost", - "score": -0.0012538833543658257 } + }, + "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": "NumReferences", - "threshold": 736.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.10157932341098785 + "score": 0.02012431062757969 }, "else": { - "operation": "boost", - "score": 0.12413688749074936 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.4174467921257019 - }, - "else": { - "operation": "boost", - "score": 0.1055726483464241 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "feature": "NumReferences", + "threshold": 154.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.12091334909200668 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 724.5, + "threshold": 204.5, "then": { - "operation": "boost", - "score": 0.11441341042518616 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09093685448169708 + }, + "else": { + "operation": "boost", + "score": -0.02737201377749443 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 644.5, + "threshold": 180.5, "then": { "operation": "boost", - "score": -0.22203025221824646 + "score": 0.11857152730226517 }, "else": { "operation": "boost", - "score": 0.15996474027633667 + "score": 0.060268569737672806 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6203.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 1.8206694221589714e-05 + }, + "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": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 740.5, "then": { "operation": "boost", - "score": -1.616946816444397 + "score": 0.05616992712020874 }, "else": { "operation": "boost", - "score": 0.06793468445539474 + "score": 0.11792157590389252 } }, "else": { "operation": "boost", - "score": 0.11267869919538498 + "score": -0.0023483445402234793 } }, "else": { + "operation": "boost", + "score": 0.11215230077505112 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 178.5, + "then": { + "operation": "boost", + "score": 0.03992035612463951 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 173.5, "then": { "operation": "boost", - "score": 0.10870661586523056 + "score": 0.13906234502792358 }, "else": { "operation": "boost", - "score": -0.017789658159017563 + "score": 0.06247392296791077 } + }, + "else": { + "operation": "boost", + "score": 0.10843773931264877 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 175.5, "then": { - "operation": "boost", - "score": 0.12176864594221115 - }, - "else": { - "operation": "boost", - "score": 0.06137534976005554 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1150192841887474 + }, + "else": { + "operation": "boost", + "score": 0.10140737891197205 + } + }, + "else": { + "operation": "boost", + "score": 0.07817649841308594 } } - }, - "else": { - "operation": "boost", - "score": -0.1791878640651703 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 64.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 75.5, "then": { "operation": "boost", - "score": -0.20651602745056152 + "score": 0.06533866375684738 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 621.5, + "threshold": 74.5, "then": { "operation": "boost", - "score": 0.016883281990885735 - }, - "else": { - "operation": "boost", - "score": 0.10243625193834305 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11143812537193298 - } - }, - "else": { - "operation": "boost", - "score": -0.03506753593683243 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00035005135578103364 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00039268829277716577 - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.037805136293172836 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.010791508480906487 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10121437162160873 - }, - "else": { - "operation": "boost", - "score": 0.10745489597320557 - } + "score": 0.11944660544395447 }, "else": { "operation": "boost", - "score": -0.11338197439908981 + "score": 0.0975392684340477 } - }, - "else": { - "operation": "boost", - "score": 0.11766814440488815 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.0781809538602829 + "score": -0.003934008534997702 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Expression" + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type" ], "then": { - "operation": "boost", - "score": 0.10806675255298615 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.017420154064893723 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.21195253729820251 + }, + "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 + } + } + } + } + } }, "else": { "operation": "boost", - "score": 0.024839403107762337 + "score": -0.04101613909006119 } } } }, "else": { "operation": "boost", - "score": 0.03481408581137657 + "score": 0.02726280875504017 } + } + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.023608556017279625 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { "operation": "boost", - "score": 0.03633305802941322 + "score": 0.022289326414465904 }, "else": { "operation": "boost", - "score": 0.0014458831865340471 + "score": -0.2585180401802063 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1662.5, "then": { "operation": "boost", - "score": -0.005103431176394224 + "score": -0.097439706325531 }, "else": { - "operation": "boost", - "score": -0.023491738364100456 - } - } - } - } - }, - "else": { - "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1451.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.1286807656288147 + "score": 0.009708196856081486 }, "else": { "operation": "boost", - "score": -0.25372111797332764 + "score": 0.15329720079898834 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11835714429616928 - }, - "else": { - "operation": "boost", - "score": -0.22082218527793884 - } - }, - "else": { - "operation": "boost", - "score": 0.09987086057662964 - } + "operation": "boost", + "score": -0.001935973996296525 } - }, - "else": { - "operation": "boost", - "score": 0.05107663571834564 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.013868873938918114 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.030353033915162086 - }, - "else": { - "operation": "boost", - "score": 0.0046182963997125626 - } + "operation": "boost", + "score": -0.12848542630672455 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.029568428173661232 + "score": -0.016505656763911247 }, "else": { "operation": "boost", - "score": -0.02367558889091015 + "score": -0.0580422468483448 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.04854663088917732 - }, - "else": { - "operation": "boost", - "score": -0.004139109514653683 - } } } }, @@ -232160,1615 +232410,1586 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Type" + "Keyword", + "Destructor", + "Constructor", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.1090698167681694 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.05384831875562668 + "score": 0.10911185294389725 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.1002957746386528 + "score": 0.04672197625041008 }, "else": { - "operation": "boost", - "score": 0.12181715667247772 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12432903051376343 + }, + "else": { + "operation": "boost", + "score": -0.3063431680202484 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.7188640832901001 + }, + "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 + } + } + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.04713942110538483 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "boost", - "score": -0.03551483899354935 + "score": 0.08884534239768982 }, "else": { - "operation": "boost", - "score": 0.06011708080768585 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.020744547247886658 + }, + "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 + } + } } } }, - "else": { - "operation": "boost", - "score": 0.015293505974113941 - } - }, - "else": { - "operation": "boost", - "score": 0.0002817573840729892 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.00493652606382966 - }, - "else": { - "operation": "boost", - "score": 0.004060838837176561 - } - }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.11684750765562057 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10557655245065689 + }, + "else": { + "operation": "boost", + "score": 0.11708196997642517 + } + }, + "else": { + "operation": "boost", + "score": -0.1421816200017929 + } + }, + "else": { + "operation": "boost", + "score": 0.09747406095266342 + } }, "else": { "operation": "boost", - "score": 0.07640363276004791 + "score": 0.00903636496514082 } }, "else": { + "operation": "boost", + "score": -0.050461702048778534 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ArrowMemberAccess" + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10021568089723587 + "score": 0.11374961584806442 }, "else": { "operation": "boost", - "score": 0.08900503069162369 + "score": 0.11447665840387344 } }, "else": { "operation": "boost", - "score": 0.05031456798315048 + "score": 0.05068778991699219 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.34004315733909607 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.02896467037498951 + }, + "else": { + "operation": "boost", + "score": 0.07223940640687943 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "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.1351151466369629 + }, + "else": { + "operation": "boost", + "score": 0.11166781187057495 + } + }, + "else": { + "operation": "boost", + "score": -0.395682692527771 + } + }, + "else": { + "operation": "boost", + "score": 0.017524270340800285 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1110948771238327 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04367154464125633 + }, + "else": { + "operation": "boost", + "score": 0.09851019829511642 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010873881168663502 + } + }, + "else": { + "operation": "boost", + "score": -0.10086347907781601 + } + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.028478914871811867 } } }, "else": { "operation": "boost", - "score": -0.007036048918962479 + "score": -0.004529192578047514 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.007984789088368416 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.014539694413542747 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 481.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 524.0, "then": { "operation": "boost", - "score": 0.054933562874794006 + "score": -0.06324490159749985 }, "else": { - "operation": "boost", - "score": -0.0028816775884479284 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 504.0, + "then": { + "operation": "boost", + "score": 0.11528678238391876 + }, + "else": { + "operation": "boost", + "score": 0.09825824946165085 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "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.26802223920822144 + "score": 0.10949261486530304 }, "else": { "operation": "boost", - "score": 0.013656397350132465 + "score": 0.014970039017498493 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11707.5, - "then": { - "operation": "boost", - "score": -0.04237615689635277 }, "else": { - "operation": "boost", - "score": -0.006471164990216494 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62087.0, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 79592.0, + "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Type" + "Operator", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13767948746681213 + "score": 0.12792706489562988 }, "else": { "operation": "boost", - "score": 0.050920601934194565 + "score": -0.05995502322912216 } }, "else": { "operation": "boost", - "score": -0.9212311506271362 + "score": -0.05111478269100189 } }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.048737578094005585 - }, - "else": { - "operation": "boost", - "score": 0.11372949928045273 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008749227970838547 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.024180183187127113 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.34750717878341675 - }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", "CCC_ClassOrStructTag", - "CCC_Symbol", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", "CCC_UnionTag", - "CCC_Other" + "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.11068252474069595 - }, - "else": { - "operation": "boost", - "score": 0.12334626913070679 - } + "operation": "boost", + "score": -0.004774325992912054 }, "else": { "operation": "boost", - "score": -0.183037668466568 + "score": -0.13142244517803192 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35884.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", + "CCC_TopLevel", "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Type" ], "then": { - "operation": "boost", - "score": -0.013496281579136848 - }, - "else": { - "operation": "boost", - "score": -0.2445087432861328 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35345.0, - "then": { - "operation": "boost", - "score": 0.09185391664505005 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Function" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9059.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.10252588242292404 - }, - "else": { - "operation": "boost", - "score": -0.013647825457155704 - } - }, - "else": { - "operation": "boost", - "score": -0.051754180341959 - } + "operation": "boost", + "score": -0.03676087409257889 }, "else": { "operation": "boost", - "score": -0.055969588458538055 + "score": 0.07265793532133102 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.02235352247953415 + "score": -0.05946781486272812 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 22.5, "then": { + "operation": "boost", + "score": 0.17824716866016388 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6604.5, + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.10679557174444199 + "score": 0.10967651754617691 }, "else": { - "operation": "boost", - "score": 0.053386855870485306 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.13335594534873962 + "score": 0.0019443468190729618 }, "else": { "operation": "boost", - "score": 0.11700396984815598 + "score": 0.09395311027765274 } - }, - "else": { - "operation": "boost", - "score": 0.03404129669070244 } - } - }, - "else": { - "operation": "boost", - "score": -0.01958015188574791 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.11712351441383362 }, "else": { "operation": "boost", - "score": 0.10567789524793625 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1263667196035385 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.08703326433897018 - }, - "else": { - "operation": "boost", - "score": 0.16900643706321716 - } + "score": 0.13369332253932953 } } - }, - "else": { - "operation": "boost", - "score": -0.010080947540700436 } + }, + "else": { + "operation": "boost", + "score": 0.025435779243707657 } } }, "else": { "operation": "boost", - "score": 0.00309291435405612 + "score": -0.03628062829375267 } + }, + "else": { + "operation": "boost", + "score": 0.020336216315627098 } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_ClassStructUnion", + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.032006263732910156 + "score": -0.09603410214185715 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12371453642845154 + "score": 0.11825219541788101 }, "else": { "operation": "boost", - "score": 0.0951986163854599 + "score": -0.1441810429096222 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "boost", - "score": -0.22268982231616974 - }, - "else": { - "operation": "boost", - "score": 0.12898743152618408 - } - }, - "else": { - "operation": "boost", - "score": 0.05296185240149498 - } - }, - "else": { - "operation": "boost", - "score": -0.3351166248321533 - } + "operation": "boost", + "score": 0.019338048994541168 } }, "else": { "operation": "boost", - "score": 0.018185492604970932 + "score": 0.0029984943103045225 } }, "else": { - "operation": "boost", - "score": -0.01088037434965372 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06706328690052032 + }, + "else": { + "operation": "boost", + "score": 0.08091114461421967 + } + }, + "else": { + "operation": "boost", + "score": 0.01824582740664482 + } } } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005014815367758274 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1535.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.001451138756237924 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1538.5, + "then": { + "operation": "boost", + "score": 0.01856742799282074 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1259223073720932 + }, + "else": { + "operation": "boost", + "score": -0.10916101932525635 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11154.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0012551081599667668 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 11467.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 417741.0, "then": { - "operation": "boost", - "score": -0.012776698917150497 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, "then": { "operation": "boost", - "score": 0.031132686883211136 + "score": 0.07144788652658463 }, "else": { "operation": "boost", - "score": -0.06704463809728622 + "score": -0.01213014591485262 } }, "else": { "operation": "boost", - "score": -0.015274394303560257 + "score": -0.023665713146328926 } + }, + "else": { + "operation": "boost", + "score": 0.018479226157069206 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11209.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.02637607976794243 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11245.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.023545904085040092 - }, - "else": { - "operation": "boost", - "score": 0.07188250869512558 - } + "operation": "boost", + "score": 0.10750532895326614 }, "else": { "operation": "boost", - "score": 0.0044966163113713264 + "score": 0.10373962670564651 } + }, + "else": { + "operation": "boost", + "score": -0.01263643242418766 } }, "else": { "operation": "boost", - "score": -0.11703946441411972 + "score": 0.048261817544698715 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.008296347223222256 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_ClassOrStructTag" + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Namespace" ], "then": { - "operation": "boost", - "score": 0.021167922765016556 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.006864702794700861 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 42.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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, "then": { "operation": "boost", - "score": -0.01968182437121868 + "score": 0.16276830434799194 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "boost", - "score": 0.03372607007622719 + "score": -0.2716638445854187 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1589.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.09270669519901276 + "score": -0.03186918795108795 }, "else": { "operation": "boost", - "score": -0.06814524531364441 + "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": 7.5, + "threshold": 20.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.00941387563943863 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.002186436438933015 - }, - "else": { - "operation": "boost", - "score": 0.0889568105340004 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { - "operation": "boost", - "score": -0.08419520407915115 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 50.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.11555378884077072 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11943266540765762 - }, - "else": { - "operation": "boost", - "score": 0.12452420592308044 - } - } - }, - "else": { - "operation": "boost", - "score": 0.022870950400829315 - } + "operation": "boost", + "score": 0.1138281300663948 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.143234521150589 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11997994035482407 - }, - "else": { - "operation": "boost", - "score": 0.08725918084383011 - } - }, - "else": { - "operation": "boost", - "score": -0.022298160940408707 - } - } + "operation": "boost", + "score": -0.10081258416175842 } }, "else": { "operation": "boost", - "score": 0.04022262245416641 + "score": 0.14175692200660706 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.11996686458587646 - }, - "else": { - "operation": "boost", - "score": 0.09250917285680771 - } + "operation": "boost", + "score": -0.10222800076007843 }, "else": { "operation": "boost", - "score": 0.004307667259126902 + "score": 0.13123618066310883 } }, "else": { "operation": "boost", - "score": 0.017332563176751137 + "score": 0.03734009712934494 } - }, - "else": { - "operation": "boost", - "score": 0.00615103030577302 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.08901528269052505 + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12207594513893127 + "score": 0.11474881321191788 }, "else": { "operation": "boost", - "score": -0.061104483902454376 + "score": 11.944103240966797 } - }, - "else": { - "operation": "boost", - "score": -0.02442556619644165 } } + }, + "else": { + "operation": "boost", + "score": 0.033778201788663864 } } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0026704680640250444 - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "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_greater", - "feature": "NumReferences", - "threshold": 47906.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.10545091331005096 - }, - "else": { - "operation": "boost", - "score": 0.11193600296974182 - } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.039132826030254364 - }, - "else": { - "operation": "boost", - "score": -0.03633423149585724 - } + "operation": "boost", + "score": -0.041745152324438095 } - }, - "else": { - "operation": "boost", - "score": -0.10157201439142227 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 708.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 780.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.00430723512545228 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 761.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "operation": "boost", + "score": 0.1033463329076767 + }, + "else": { + "operation": "boost", + "score": 0.07833552360534668 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 347.0, + "then": { + "operation": "boost", + "score": -0.08526018261909485 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 334.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.10306549817323685 + "score": 0.19001387059688568 }, "else": { "operation": "boost", - "score": -0.1317025125026703 + "score": -0.05326344445347786 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.04487801715731621 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.11733539402484894 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11328056454658508 + }, + "else": { + "operation": "boost", + "score": -0.02846226841211319 + } }, "else": { - "operation": "boost", - "score": 0.04895386844873428 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.18837487697601318 + "score": 0.11583967506885529 }, "else": { "operation": "boost", - "score": 0.14599362015724182 + "score": 0.04611942917108536 } }, "else": { - "operation": "boost", - "score": -1.0219820737838745 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11490143835544586 + }, + "else": { + "operation": "boost", + "score": -0.02469170093536377 + } } - }, - "else": { - "operation": "boost", - "score": 0.08396419137716293 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.005969710182398558 + "score": 0.13502250611782074 }, "else": { "operation": "boost", - "score": 0.7055105566978455 + "score": -0.1117861196398735 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.010686345398426056 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1232.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.1357625424861908 - }, - "else": { - "operation": "boost", - "score": 0.11856092512607574 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.004071228671818972 }, "else": { - "operation": "boost", - "score": -1.1007282733917236 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 81.5, "then": { - "operation": "boost", - "score": 0.06739433854818344 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.31017613410949707 + "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": 101.0, + "threshold": 180.0, "then": { "operation": "boost", - "score": 0.09993629157543182 + "score": -0.00044780559255741537 }, "else": { - "operation": "boost", - "score": -0.11941829323768616 + "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 + } + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.15270377695560455 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.766234815120697 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.053572241216897964 + }, + "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.17305274307727814 + "score": -0.008798763155937195 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": 0.3809197247028351 - }, - "else": { - "operation": "boost", - "score": 0.12989817559719086 - } }, "else": { - "operation": "boost", - "score": -0.32396799325942993 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2587772011756897 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.06775779277086258 - }, - "else": { - "operation": "boost", - "score": 0.12489520758390427 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4856.0, - "then": { - "operation": "boost", - "score": 0.0888357013463974 - }, - "else": { - "operation": "boost", - "score": 0.09767606109380722 + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0381096713244915 + } + }, + "else": { + "operation": "boost", + "score": -0.44628235697746277 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.10605261474847794 } - }, - "else": { - "operation": "boost", - "score": 0.01733621582388878 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12393079698085785 - }, - "else": { - "operation": "boost", - "score": -0.10783487558364868 } } }, "else": { - "operation": "boost", - "score": 0.03999418392777443 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0071033900603652 - }, - "else": { - "operation": "boost", - "score": -0.07570438086986542 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.2773592472076416 + "score": -0.025287173688411713 }, "else": { - "operation": "boost", - "score": 0.15322107076644897 - } - }, - "else": { - "operation": "boost", - "score": -0.1071208268404007 - } - }, - "else": { - "operation": "boost", - "score": -0.04256496950984001 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1318.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1321.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.04112936928868294 + "score": 0.11546028405427933 }, "else": { "operation": "boost", - "score": 0.1298350691795349 + "score": 0.03308621421456337 } }, "else": { "operation": "boost", - "score": -0.12419094890356064 + "score": -0.06653737276792526 } }, "else": { - "operation": "boost", - "score": 0.11767274141311646 + "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 + } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "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.12410926818847656 + "score": 0.12455190718173981 }, "else": { "operation": "boost", - "score": 0.1097436472773552 + "score": -0.1008075475692749 } } }, @@ -233776,108 +233997,127 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.12378928810358047 - }, - "else": { - "operation": "boost", - "score": 0.09875164180994034 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11201443523168564 - }, - "else": { - "operation": "boost", - "score": 0.12034355103969574 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 515.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 1.0083857774734497 + "score": 0.1245310828089714 }, "else": { - "operation": "boost", - "score": 0.10984820872545242 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 548.0, + "then": { + "operation": "boost", + "score": 0.11441385000944138 + }, + "else": { + "operation": "boost", + "score": 0.12676286697387695 + } } }, "else": { - "operation": "boost", - "score": -0.10617868602275848 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.13511952757835388 + }, + "else": { + "operation": "boost", + "score": 0.13175716996192932 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07254110276699066 + } } }, "else": { "operation": "boost", - "score": 0.06747026741504669 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018751094117760658 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.08174248039722443 - }, - "else": { - "operation": "boost", - "score": -0.38129138946533203 + "score": 0.03923127055168152 } - }, - "else": { - "operation": "boost", - "score": -0.11116989701986313 } } } @@ -233886,1058 +234126,1106 @@ "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.015253931283950806 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.11156228929758072 - }, - "else": { - "operation": "boost", - "score": -0.053474828600883484 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25329.0, - "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": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.0952446237206459 - }, - "else": { - "operation": "boost", - "score": 0.05363761633634567 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.0396304689347744 - }, - "else": { - "operation": "boost", - "score": 0.1347154825925827 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2750679850578308 - } - }, - "else": { - "operation": "boost", - "score": -0.14899107813835144 - } - }, - "else": { - "operation": "boost", - "score": -0.009196356870234013 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 161.5, "then": { + "operation": "boost", + "score": -0.07371591031551361 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025015586987137794 - }, - "else": { - "operation": "boost", - "score": 0.007713931612670422 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11429138481616974 + "score": 0.006179125979542732 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.2676362991333008 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10708598047494888 + "score": 0.10754141211509705 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": -0.16078072786331177 - }, - "else": { - "operation": "boost", - "score": 0.09968177229166031 - } + "operation": "boost", + "score": 0.134567990899086 }, "else": { "operation": "boost", - "score": -0.7581793069839478 + "score": 0.05615997686982155 } } + }, + "else": { + "operation": "boost", + "score": -0.012850450351834297 } } + }, + "else": { + "operation": "boost", + "score": 0.007534489035606384 } }, "else": { - "operation": "boost", - "score": -0.12632542848587036 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "boost", + "score": 0.12080085277557373 + }, + "else": { + "operation": "boost", + "score": 0.06250199675559998 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.361244261264801 - }, - "else": { - "operation": "boost", - "score": 0.0778755396604538 - } + "operation": "boost", + "score": 0.03050844371318817 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 10.0, "then": { - "operation": "boost", - "score": -0.06597132235765457 + "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.6952729821205139 + "score": -0.09701814502477646 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.025342293083667755 - }, - "else": { - "operation": "boost", - "score": 0.5886037349700928 - } + "operation": "boost", + "score": -0.030086059123277664 } } - }, - "else": { - "operation": "boost", - "score": 0.02355121821165085 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.014554494991898537 - }, - "else": { - "operation": "boost", - "score": 0.0958867073059082 - } + "operation": "boost", + "score": 0.019997214898467064 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.03712396323680878 - }, - "else": { - "operation": "boost", - "score": -0.2497263252735138 - } - }, - "else": { - "operation": "boost", - "score": -0.042157065123319626 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "feature": "NumReferences", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.14768095314502716 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.08965716511011124 - }, - "else": { - "operation": "boost", - "score": 0.11141284555196762 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.12617576122283936 + "score": -0.03855415806174278 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.10466267168521881 + "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": "boost", - "score": 0.04633386805653572 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11721235513687134 + }, + "else": { + "operation": "boost", + "score": -0.2231960892677307 + } } } }, "else": { "operation": "boost", - "score": 0.03473270684480667 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04992466792464256 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.07987751811742783 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1185481995344162 - }, - "else": { - "operation": "boost", - "score": -0.05004354566335678 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "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.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.10288204252719879 - }, - "else": { - "operation": "boost", - "score": 0.13490523397922516 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08811646699905396 - }, - "else": { - "operation": "boost", - "score": 0.11700688302516937 + "score": -0.04931119084358215 } }, "else": { "operation": "boost", - "score": 0.11847971379756927 + "score": -0.10647132247686386 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.03999245539307594 + "score": -0.41894280910491943 }, "else": { "operation": "boost", - "score": 0.22436724603176117 + "score": -0.10627700388431549 } } - }, - "else": { - "operation": "boost", - "score": 0.00686732679605484 } }, "else": { "operation": "boost", - "score": 0.02362929657101631 + "score": 0.02703881449997425 } } }, "else": { "operation": "boost", - "score": -0.04501465708017349 + "score": -0.004086284898221493 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2419336438179016 - }, - "else": { - "operation": "boost", - "score": -0.39833512902259827 - } - }, - "else": { - "operation": "boost", - "score": -0.09149449318647385 - } - }, - "else": { - "operation": "boost", - "score": 0.019686982035636902 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.12978053092956543 - }, - "else": { - "operation": "boost", - "score": -1.0753253698349 - } - }, - "else": { - "operation": "boost", - "score": -0.0833873525261879 - } - }, - "else": { - "operation": "boost", - "score": -0.08016450703144073 - } - } + "operation": "boost", + "score": -0.04050224646925926 } - }, - "else": { - "operation": "boost", - "score": -0.08350449055433273 } }, "else": { "operation": "boost", - "score": -0.1240752562880516 + "score": -0.00010490298882359639 } + }, + "else": { + "operation": "boost", + "score": 0.0031944899819791317 } - }, - "else": { - "operation": "boost", - "score": 0.00027668694383464754 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30903.0, + "threshold": 11522.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32026.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 89117.0, + "threshold": 241916.0, "then": { + "operation": "boost", + "score": -0.09842358529567719 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.011832544580101967 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 25208.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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, "then": { + "operation": "boost", + "score": 0.12072981148958206 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08978936821222305 + "score": -0.12630848586559296 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 266510.0, + "threshold": 16761.5, "then": { "operation": "boost", - "score": 0.08775906264781952 + "score": 1.2999589443206787 }, "else": { "operation": "boost", - "score": 0.004019073210656643 + "score": -0.10312832146883011 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.2269560843706131 - }, - "else": { - "operation": "boost", - "score": -0.07058686017990112 - } } - }, - "else": { - "operation": "boost", - "score": -0.0581185445189476 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 60891.5, + "threshold": 50563.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 51599.0, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable", + "Namespace" ], - "then": { - "operation": "boost", - "score": 0.0588676892220974 - }, - "else": { - "operation": "boost", - "score": -0.08986499160528183 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88678.0, + "threshold": 76938.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10150158405303955 + "score": 0.12887944281101227 }, "else": { - "operation": "boost", - "score": 0.12720054388046265 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "boost", - "score": -0.3022053837776184 + "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.1626768857240677 + "score": 0.0839545801281929 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10120672732591629 }, "else": { + "operation": "boost", + "score": -0.029228227213025093 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.010647900402545929 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75477.5, + "threshold": 199646.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", + "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.058727871626615524 + "score": 0.034804925322532654 }, "else": { "operation": "boost", - "score": -0.3099285662174225 + "score": 0.08582144230604172 } }, "else": { "operation": "boost", - "score": -0.04923410341143608 + "score": -0.10178247094154358 } }, "else": { - "operation": "boost", - "score": 0.10910521447658539 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10409494489431381 + }, + "else": { + "operation": "boost", + "score": -0.11807815730571747 + } + }, + "else": { + "operation": "boost", + "score": -0.16514979302883148 + } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09456217288970947 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.06999775767326355 + }, + "else": { + "operation": "boost", + "score": 0.015657221898436546 + } }, "else": { "operation": "boost", - "score": -0.107223279774189 + "score": 0.10438898205757141 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04721760377287865 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 64514.0, + "threshold": 90101.0, "then": { "operation": "boost", - "score": 0.04192575812339783 + "score": 0.010304376482963562 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12990395724773407 - }, - "else": { - "operation": "boost", - "score": 0.11968503892421722 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69581.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 89371.5, "then": { - "operation": "boost", - "score": 0.08643604815006256 + "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": "boost", - "score": 0.1019630953669548 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74638.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77386.0, + "then": { + "operation": "boost", + "score": 0.1119823157787323 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.08288905024528503 + }, + "else": { + "operation": "boost", + "score": 0.044186972081661224 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06489657610654831 + } } - }, - "else": { - "operation": "boost", - "score": 0.025950001552700996 } } } } - } - }, - "else": { - "operation": "boost", - "score": 0.11854930222034454 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47029.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.10956577956676483 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.0, + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.1059882864356041 + "score": -0.11384521424770355 }, "else": { "operation": "boost", - "score": 0.12165039032697678 + "score": 0.15047436952590942 } - }, - "else": { - "operation": "boost", - "score": -0.04356459528207779 } - }, - "else": { - "operation": "boost", - "score": -0.08698529005050659 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46801.5, + "threshold": 46240.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07912946492433548 - }, - "else": { - "operation": "boost", - "score": 0.12991228699684143 - } + "operation": "boost", + "score": -0.19975335896015167 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44693.0, + "threshold": 45617.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10415030270814896 - }, - "else": { - "operation": "boost", - "score": 0.10960010439157486 - } + "operation": "boost", + "score": -0.21664725244045258 }, "else": { "operation": "boost", - "score": -0.016631800681352615 + "score": 0.14975258708000183 } }, "else": { - "operation": "boost", - "score": 0.03270886838436127 + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 33610.5, "then": { - "operation": "boost", - "score": 0.02460407093167305 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "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" + ], + "then": { + "operation": "boost", + "score": -0.05309849604964256 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013414968736469746 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.6585590839385986 + }, + "else": { + "operation": "boost", + "score": -0.1202315017580986 + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.10171694308519363 + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.6075589656829834 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25175.0, + "then": { + "operation": "boost", + "score": 0.09905315190553665 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12693.0, + "then": { + "operation": "boost", + "score": -0.01524352841079235 + }, + "else": { + "operation": "boost", + "score": 0.22319211065769196 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24555.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.5210919380187988 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.26558858156204224 + }, + "else": { + "operation": "boost", + "score": -0.1729172021150589 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, + "then": { + "operation": "boost", + "score": 0.11500298231840134 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23004.5, + "then": { + "operation": "boost", + "score": -0.09641029685735703 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09987791627645493 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01931658573448658 + } + } + } + } + } } } } @@ -234946,2064 +235234,1327 @@ } }, "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.06331092119216919 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12372563779354095 + }, + "else": { + "operation": "boost", + "score": 0.11006079614162445 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 68345.0, + "threshold": 11605.0, "then": { "operation": "boost", - "score": 0.10223647207021713 + "score": -0.1287040412425995 }, "else": { "operation": "boost", - "score": -0.026768306270241737 + "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_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "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, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91957.5, - "then": { - "operation": "boost", - "score": 0.0990167036652565 - }, - "else": { - "operation": "boost", - "score": -0.1151222512125969 - } + "operation": "boost", + "score": -0.130430668592453 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FilterLength", + "threshold": 2.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "boost", - "score": 0.06654349714517593 - }, - "else": { - "operation": "boost", - "score": 0.09292230755090714 - } + "operation": "boost", + "score": 0.07146132737398148 }, "else": { "operation": "boost", - "score": -0.0860605239868164 + "score": -0.10008649528026581 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2445629984140396 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "feature": "FilterLength", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.08598700165748596 + "score": -0.28687432408332825 }, "else": { "operation": "boost", - "score": -0.18051454424858093 + "score": 0.07794879376888275 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.07747108489274979 - }, - "else": { - "operation": "boost", - "score": 0.10708630830049515 - } - }, - "else": { - "operation": "boost", - "score": -0.14425085484981537 - } + "operation": "boost", + "score": -0.011257611215114594 } } } + }, + "else": { + "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.07686857879161835 + }, + "else": { + "operation": "boost", + "score": -0.11716097593307495 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43360.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 478260.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.08886618167161942 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.02860299125313759 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_Namespace" + ], "then": { - "operation": "boost", - "score": 0.052057165652513504 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 8573.5, "then": { - "operation": "boost", - "score": -0.4037850797176361 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8751.0, + "then": { + "operation": "boost", + "score": 0.10061737895011902 + }, + "else": { + "operation": "boost", + "score": 0.11481203883886337 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 432212.0, + "threshold": 84.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.01364094577729702 - }, - "else": { - "operation": "boost", - "score": -1.2194139957427979 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04269425943493843 - }, - "else": { - "operation": "boost", - "score": 0.08491643518209457 - } - }, - "else": { - "operation": "boost", - "score": -0.002231097547337413 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.18952807784080505 - }, - "else": { - "operation": "boost", - "score": 0.06036413460969925 - } - }, - "else": { - "operation": "boost", - "score": 0.03823476657271385 - } - } - } + "operation": "boost", + "score": 0.050147153437137604 }, "else": { "operation": "boost", - "score": 0.07771176844835281 + "score": -0.2922656536102295 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07601885497570038 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 258522.5, - "then": { - "operation": "boost", - "score": -0.12439363449811935 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124497.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.12200375646352768 - }, - "else": { - "operation": "boost", - "score": 0.05721820890903473 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, - "then": { - "operation": "boost", - "score": -0.06756240874528885 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.042616259306669235 - }, - "else": { - "operation": "boost", - "score": 0.22110562026500702 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09739465266466141 - } + "operation": "boost", + "score": -0.13518324494361877 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.6086193919181824 - }, - "else": { - "operation": "boost", - "score": 0.1000218614935875 - } - }, - "else": { - "operation": "boost", - "score": -0.44629761576652527 - } + "operation": "boost", + "score": 0.020134465768933296 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "boost", - "score": -0.06999354064464569 + "score": 0.18206118047237396 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 258522.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09043749421834946 + "score": 0.06873802840709686 }, "else": { "operation": "boost", - "score": 0.02678825333714485 + "score": 0.10393980145454407 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.034790799021720886 - }, - "else": { - "operation": "boost", - "score": -0.8627147078514099 - } + "operation": "boost", + "score": 0.032910484820604324 } } } } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03654118627309799 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37723.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10419988632202148 - }, - "else": { - "operation": "boost", - "score": 0.017136061564087868 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.060537129640579224 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33041.5, - "then": { - "operation": "boost", - "score": -0.5769695043563843 }, "else": { "operation": "boost", - "score": 0.06287198513746262 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0377383828163147 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08376994729042053 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.05883196368813515 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0999201089143753 - }, - "else": { - "operation": "boost", - "score": 0.11716655641794205 - } - } + "score": 0.01189308613538742 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.061650753021240234 }, "else": { "operation": "boost", - "score": 0.08459103852510452 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34422.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47123.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11521897464990616 - }, - "else": { - "operation": "boost", - "score": 0.04859994724392891 - } - }, - "else": { - "operation": "boost", - "score": -0.004114535171538591 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, - "then": { - "operation": "boost", - "score": -0.04256647080183029 - }, - "else": { - "operation": "boost", - "score": 0.07895195484161377 - } + "score": -0.0233839713037014 } }, "else": { "operation": "boost", - "score": -0.21132613718509674 + "score": 0.018350915983319283 } }, "else": { "operation": "boost", - "score": 0.0635082870721817 + "score": 0.00462611997500062 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.015216528438031673 - }, - "else": { - "operation": "boost", - "score": -0.2895332872867584 - } + "operation": "boost", + "score": -0.04779021814465523 } + }, + "else": { + "operation": "boost", + "score": 0.0010464375372976065 } } }, "else": { "operation": "boost", - "score": 0.002136330120265484 + "score": -0.10718642175197601 } - }, - "else": { + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2963.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 22368.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "boost", + "score": 0.03377360850572586 + }, + "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.11276005208492279 + "score": -0.009367668069899082 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 35650.5, "then": { - "operation": "boost", - "score": -0.21538227796554565 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 45618.0, "then": { + "operation": "boost", + "score": -0.04009340703487396 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.0438234880566597 + "score": 0.09745971858501434 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10906127095222473 - }, - "else": { - "operation": "boost", - "score": 0.1017543375492096 - } + "operation": "boost", + "score": -0.52498859167099 } - }, - "else": { - "operation": "boost", - "score": 0.05328463390469551 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31239.0, - "then": { - "operation": "boost", - "score": -0.13247764110565186 - }, - "else": { - "operation": "boost", - "score": 0.07548216730356216 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 34894.5, "then": { + "operation": "boost", + "score": 0.10999801754951477 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 28526.5, "then": { - "operation": "boost", - "score": 0.038978949189186096 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.0444534532725811 + "score": 0.058329880237579346 }, "else": { "operation": "boost", - "score": 0.1033397763967514 + "score": 0.10420862585306168 } }, "else": { "operation": "boost", - "score": 0.1073063313961029 + "score": -0.4348093271255493 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09882858395576477 - }, - "else": { - "operation": "boost", - "score": 0.062108296900987625 - } - }, - "else": { - "operation": "boost", - "score": 0.10924878716468811 - } + "operation": "boost", + "score": -0.12098034471273422 } + }, + "else": { + "operation": "boost", + "score": -0.19575124979019165 } - }, - "else": { - "operation": "boost", - "score": 0.026966456323862076 } - }, - "else": { - "operation": "boost", - "score": -0.11027022451162338 } - }, - "else": { - "operation": "boost", - "score": 0.10928693413734436 - } - }, - "else": { - "operation": "boost", - "score": -0.03197874501347542 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10163487493991852 - }, - "else": { - "operation": "boost", - "score": -0.20192265510559082 } - }, - "else": { - "operation": "boost", - "score": 0.16527202725410461 - } - }, - "else": { - "operation": "boost", - "score": -0.10640963166952133 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28939.5, - "then": { - "operation": "boost", - "score": -0.048037052154541016 - }, - "else": { - "operation": "boost", - "score": -0.0001697179104667157 - } - } - }, - { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07707677036523819 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.001474970718845725 - }, - "else": { - "operation": "boost", - "score": 0.011307887732982635 } }, "else": { - "operation": "boost", - "score": -0.11010556668043137 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 18672.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 19203.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_ClassStructUnion", + "CCC_Namespace" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Destructor", + "Operator", "Unknown", - "Keyword", - "Macro", - "Function" + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10559206455945969 - }, - "else": { - "operation": "boost", - "score": 0.10326449573040009 - } + "operation": "boost", + "score": 0.09605246037244797 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20414.5, "then": { - "operation": "boost", - "score": 0.10156518965959549 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20708.0, + "then": { + "operation": "boost", + "score": 0.043660640716552734 + }, + "else": { + "operation": "boost", + "score": 0.11916402727365494 + } }, "else": { "operation": "boost", - "score": -0.022710807621479034 + "score": 0.042522333562374115 } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08822695165872574 - }, - "else": { - "operation": "boost", - "score": -0.015148302540183067 - } + "operation": "boost", + "score": -0.10179968923330307 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21996.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.04404781386256218 + "score": -0.008649052120745182 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.009648547507822514 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0015535200946033 + }, + "else": { + "operation": "boost", + "score": 0.11427240818738937 + } }, "else": { "operation": "boost", - "score": 0.13866010308265686 + "score": -1.0578292608261108 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10252059251070023 + "score": 0.04896285757422447 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.01743023842573166 - }, - "else": { - "operation": "boost", - "score": -0.05844404920935631 - } + "operation": "boost", + "score": 0.20092681050300598 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": -0.19480884075164795 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "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_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 19792.5, "then": { - "operation": "boost", - "score": 0.11625353991985321 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11409372836351395 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.5997214317321777 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10585367679595947 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.14823468029499054 + }, + "else": { + "operation": "boost", + "score": -0.12753723561763763 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03057844564318657 + } }, "else": { - "operation": "boost", - "score": 0.09588615596294403 + "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 + } + } } }, "else": { - "operation": "boost", - "score": -0.22514435648918152 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12458661198616028 + }, + "else": { + "operation": "boost", + "score": -0.014535917900502682 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.5227401852607727 + }, + "else": { + "operation": "boost", + "score": 0.1254224330186844 + } + }, + "else": { + "operation": "boost", + "score": -0.23271845281124115 + } + }, + "else": { + "operation": "boost", + "score": 0.038890253752470016 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07194910943508148 + } } }, "else": { - "operation": "boost", - "score": -0.10581177473068237 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21823.0, + "then": { + "operation": "boost", + "score": -0.7859443426132202 + }, + "else": { + "operation": "boost", + "score": 0.0034780350979417562 + } } + }, + "else": { + "operation": "boost", + "score": -0.08294659107923508 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19035.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.12649011611938477 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18751.5, "then": { + "operation": "boost", + "score": 0.027439303696155548 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09977942705154419 - }, - "else": { - "operation": "boost", - "score": 0.038805074989795685 - } + "operation": "boost", + "score": 0.00013063081132713705 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.012723087333142757 + "score": 0.11796627193689346 }, "else": { "operation": "boost", - "score": -0.1404978334903717 + "score": 0.15003293752670288 } } - }, - "else": { - "operation": "boost", - "score": -0.18639233708381653 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, + } + } + }, + "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": 100378.5, + "threshold": 4883.0, "then": { "operation": "boost", - "score": -0.3536892235279083 + "score": 0.06965842097997665 }, "else": { - "operation": "boost", - "score": 0.11693503707647324 + "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": "NumReferences", - "threshold": 18.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.0239457618445158 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 4586.5, "then": { "operation": "boost", - "score": 0.12485383450984955 + "score": 0.03521665185689926 }, "else": { + "operation": "boost", + "score": 0.10108499228954315 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 6390.5, "then": { - "operation": "boost", - "score": -0.833876371383667 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 8266.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0959024429321289 - }, - "else": { - "operation": "boost", - "score": -0.22203326225280762 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "feature": "NumReferences", + "threshold": 9244.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.11540215462446213 - }, - "else": { - "operation": "boost", - "score": -0.17681337893009186 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13648.0, + "then": { + "operation": "boost", + "score": 0.08708252012729645 + }, + "else": { + "operation": "boost", + "score": -0.046510327607393265 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.014302845112979412 + }, + "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 + } + } + } } }, "else": { - "operation": "boost", - "score": 0.07899916172027588 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8504.5, + "then": { + "operation": "boost", + "score": 0.09855704009532928 + }, + "else": { + "operation": "boost", + "score": 0.11253786087036133 + } + }, + "else": { + "operation": "boost", + "score": 0.10460109263658524 + } } + }, + "else": { + "operation": "boost", + "score": -0.027642134577035904 } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.024323077872395515 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11400101333856583 - }, - "else": { - "operation": "boost", - "score": 0.08872148394584656 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06296222656965256 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08894343674182892 }, "else": { - "operation": "boost", - "score": -0.02431575395166874 - } - }, - "else": { - "operation": "boost", - "score": 0.023399706929922104 - } - }, - "else": { - "operation": "boost", - "score": -0.14314372837543488 - } - }, - "else": { - "operation": "boost", - "score": 0.01558320876210928 - } - }, - "else": { - "operation": "boost", - "score": 0.0050147403962910175 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Macro", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 6388.5, "then": { - "operation": "boost", - "score": 0.09852895140647888 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11525100469589233 + }, + "else": { + "operation": "boost", + "score": 0.1049511656165123 + } }, "else": { "operation": "boost", - "score": 0.1365201473236084 + "score": 0.04652930051088333 } - }, - "else": { - "operation": "boost", - "score": 0.10335035622119904 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03834304213523865 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11292644590139389 - }, - "else": { - "operation": "boost", - "score": 0.09002231806516647 - } - } + "operation": "boost", + "score": -0.14450420439243317 }, "else": { "operation": "boost", - "score": 0.022474326193332672 + "score": 0.10840052366256714 } }, - "else": { - "operation": "boost", - "score": -0.035604946315288544 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12110721319913864 - }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3727.5, "then": { "operation": "boost", - "score": -0.1006549820303917 + "score": -0.05654770880937576 }, "else": { "operation": "boost", - "score": 0.0980372279882431 + "score": 0.0795750692486763 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10228785872459412 - }, - "else": { - "operation": "boost", - "score": 0.019390756264328957 - } } } - }, - "else": { - "operation": "boost", - "score": 0.07033347338438034 } }, "else": { + "operation": "boost", + "score": -0.10116156935691833 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 6404.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 6676.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": 0.017334921285510063 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 54245.5, + "threshold": 6642.0, "then": { "operation": "boost", - "score": 0.08316923677921295 + "score": 0.13806840777397156 }, "else": { - "operation": "boost", - "score": -0.06075282767415047 - } - }, - "else": { - "operation": "boost", - "score": 0.09965476393699646 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.003149112220853567 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.10791407525539398 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 6418.5, "then": { "operation": "boost", - "score": -0.018834205344319344 + "score": 0.11333335936069489 }, "else": { "operation": "boost", - "score": 0.09329685568809509 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08716649562120438 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.1771087944507599 - }, - "else": { - "operation": "boost", - "score": 0.0586685836315155 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12028458714485168 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09922647476196289 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05805264040827751 - }, - "else": { - "operation": "boost", - "score": 0.08497844636440277 - } - } + "score": 0.1324397176504135 } }, "else": { "operation": "boost", - "score": -0.012544531375169754 + "score": -0.11348031461238861 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21097.0, - "then": { - "operation": "boost", - "score": 0.055830806493759155 }, "else": { - "operation": "boost", - "score": 0.12080621719360352 - } - }, - "else": { - "operation": "boost", - "score": -0.0032162158749997616 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.024371281266212463 + "score": 0.06559960544109344 }, "else": { "operation": "boost", - "score": 0.0772751048207283 + "score": 0.11387267708778381 } }, "else": { "operation": "boost", - "score": 0.12095402926206589 + "score": 0.08279432356357574 } - }, - "else": { - "operation": "boost", - "score": -0.0061669801361858845 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Function" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 128.5, - "then": { - "operation": "boost", - "score": -0.1031726747751236 - }, - "else": { - "operation": "boost", - "score": 0.1306241899728775 - } - }, - "else": { - "operation": "boost", - "score": -0.006571303121745586 - } + "operation": "boost", + "score": 0.08378748595714569 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.033128947019577026 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.004784539807587862 + "score": 0.08991323411464691 }, "else": { "operation": "boost", - "score": 0.07287614047527313 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.015542521141469479 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05984090268611908 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06844581663608551 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.020800437778234482 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.012658508494496346 - }, - "else": { - "operation": "boost", - "score": 0.06742845475673676 - } + "score": 0.12514232099056244 } }, "else": { "operation": "boost", - "score": 0.07715803384780884 + "score": -0.11945128440856934 } - }, - "else": { - "operation": "boost", - "score": 0.04047595337033272 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.1030515730381012 - }, - "else": { - "operation": "boost", - "score": -0.07385881245136261 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07185721397399902 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32056.0, - "then": { - "operation": "boost", - "score": 0.02449836954474449 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.15482866764068604 - }, - "else": { - "operation": "boost", - "score": 0.13982705771923065 - } - } - } + "operation": "boost", + "score": 0.27667200565338135 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25849.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.03139107674360275 + "score": 0.01350487396121025 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 6495.0, "then": { "operation": "boost", - "score": -0.11428173631429672 + "score": -0.04119542986154556 }, "else": { "operation": "boost", - "score": 3.071434497833252 + "score": 0.10940928757190704 } } } - }, - "else": { - "operation": "boost", - "score": 0.026054613292217255 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04644279554486275 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.001094511360861361 - }, - "else": { - "operation": "boost", - "score": -0.009277638979256153 - } + "operation": "boost", + "score": 0.0024592955596745014 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3188.0, "then": { "operation": "boost", - "score": 0.05620117485523224 + "score": 0.028402650728821754 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50011.5, - "then": { - "operation": "boost", - "score": -0.22006671130657196 - }, - "else": { - "operation": "boost", - "score": -0.05067335441708565 - } + "operation": "boost", + "score": 0.11774332821369171 }, "else": { "operation": "boost", - "score": -0.029824580997228622 + "score": 0.06300542503595352 } } } @@ -237011,1724 +236562,1633 @@ }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.011716604232788086 + "score": -0.0937422662973404 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.001276765251532197 - }, - "else": { - "operation": "boost", - "score": -0.03596556931734085 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045310284942388535 - }, - "else": { - "operation": "boost", - "score": 0.10076017677783966 - } - }, - "else": { - "operation": "boost", - "score": -0.02934146299958229 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.004087494686245918 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7417.5, "then": { + "operation": "boost", + "score": 0.04416098818182945 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 6923.5, "then": { "operation": "boost", - "score": 0.009683379903435707 + "score": 0.1074562668800354 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06821265816688538 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03713053837418556 - }, - "else": { - "operation": "boost", - "score": 0.10356710106134415 - } - } + "operation": "boost", + "score": 0.10721231251955032 } - }, - "else": { - "operation": "boost", - "score": 0.06482688337564468 } }, "else": { "operation": "boost", - "score": 0.008908316493034363 + "score": 0.009781773202121258 } } - }, - "else": { - "operation": "boost", - "score": -0.0005708100507035851 } } } } + }, + "else": { + "operation": "boost", + "score": -0.0015003113076090813 } - } - }, - "else": { - "operation": "boost", - "score": -0.10683892667293549 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0026377772446721792 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 296854.0, + "threshold": 2990.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6495.0, + "then": { + "operation": "boost", + "score": -0.03587713837623596 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5805.5, + "then": { + "operation": "boost", + "score": 0.1175604984164238 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.16423480212688446 + }, + "else": { + "operation": "boost", + "score": -0.13404347002506256 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.017102396115660667 + } + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.024671243503689766 + "score": 0.11149261146783829 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 2974.5, "then": { "operation": "boost", - "score": 0.11447112262248993 + "score": 0.031132705509662628 }, "else": { "operation": "boost", - "score": 0.06738048046827316 + "score": 0.13686998188495636 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.011243102140724659 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1734.5, + "threshold": 73593.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32511.5, + "threshold": 83201.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33610.5, + "threshold": 110939.5, "then": { + "operation": "boost", + "score": -0.19983072578907013 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35345.0, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.34687182307243347 + }, + "else": { + "operation": "boost", + "score": 0.04762778431177139 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17148029804229736 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35311.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 158335.0, + "threshold": 57114.0, "then": { "operation": "boost", - "score": -0.0221986286342144 + "score": 0.047585126012563705 }, "else": { + "operation": "boost", + "score": 0.10785537213087082 + } + }, + "else": { + "operation": "boost", + "score": 0.05490680783987045 + } + }, + "else": { + "operation": "boost", + "score": -0.3739854693412781 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3982.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04505482688546181 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9754.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99880.5, + "threshold": 19464.5, "then": { "operation": "boost", - "score": 0.020663131028413773 + "score": -0.4437645375728607 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98110.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10407256335020065 - }, - "else": { - "operation": "boost", - "score": 0.11030720919370651 - } - }, - "else": { - "operation": "boost", - "score": -0.0757892057299614 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98110.0, - "then": { - "operation": "boost", - "score": 0.14435023069381714 - }, - "else": { - "operation": "boost", - "score": 0.08452478051185608 - } - }, - "else": { - "operation": "boost", - "score": -0.1037396714091301 - } - } + "operation": "boost", + "score": 0.07964643836021423 } }, "else": { + "operation": "boost", + "score": -0.041336990892887115 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75566.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.034783340990543365 + "score": -1.6902390718460083 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.011644897982478142 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.09465280175209045 - }, - "else": { - "operation": "boost", - "score": 0.02409345842897892 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11015120893716812 - } + "operation": "boost", + "score": -0.33862340450286865 } + }, + "else": { + "operation": "boost", + "score": -0.15369239449501038 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3975.0, + "then": { + "operation": "boost", + "score": 0.1200091689825058 }, "else": { - "operation": "boost", - "score": -0.1332085132598877 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3566.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.037015728652477264 + }, + "else": { + "operation": "boost", + "score": 0.12766851484775543 + } + }, + "else": { + "operation": "boost", + "score": -0.44697993993759155 + } + }, + "else": { + "operation": "boost", + "score": -0.21708306670188904 + } } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2958.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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" + ], + "then": { + "operation": "boost", + "score": -0.5386044383049011 + }, + "else": { + "operation": "boost", + "score": -0.6634206175804138 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.07335355132818222 + }, + "else": { + "operation": "boost", + "score": 0.1521046906709671 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.03867156058549881 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33508.5, + "threshold": 360.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 448.5, "then": { "operation": "boost", - "score": 0.004405690357089043 + "score": 0.08298827707767487 }, "else": { "operation": "boost", - "score": 0.11501584947109222 + "score": 0.12063411623239517 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "boost", - "score": -0.05407561734318733 + "score": -0.14451369643211365 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1613156497478485 - }, - "else": { - "operation": "boost", - "score": 0.1099172905087471 - } + "operation": "boost", + "score": 0.5685080885887146 } } } - }, - "else": { + } + }, + "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, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 138.0, "then": { "operation": "boost", - "score": -0.00815933384001255 + "score": -0.03431535139679909 }, "else": { "operation": "boost", - "score": -0.035811569541692734 + "score": 0.12515433132648468 } + }, + "else": { + "operation": "boost", + "score": 0.01003093458712101 } }, + "else": { + "operation": "boost", + "score": -0.12710942327976227 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.021590258926153183 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "boost", + "score": 0.05462047830224037 + }, + "else": { + "operation": "boost", + "score": 0.12714138627052307 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 81.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 150.0, "then": { - "operation": "boost", - "score": 0.04932888597249985 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 157.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.11405844241380692 - }, - "else": { - "operation": "boost", - "score": -0.13372203707695007 - } + "operation": "boost", + "score": 0.06846949458122253 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.046252720057964325 - }, - "else": { - "operation": "boost", - "score": 0.10395165532827377 - } - }, - "else": { - "operation": "boost", - "score": -0.0802043080329895 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1190718486905098 - }, - "else": { - "operation": "boost", - "score": -0.1319189965724945 - } - } + "operation": "boost", + "score": 0.10726751387119293 } + }, + "else": { + "operation": "boost", + "score": -0.024184560403227806 } }, "else": { + "operation": "boost", + "score": 0.14069314301013947 + } + }, + "else": { + "operation": "boost", + "score": -0.11561789363622665 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0013622869737446308 + } + }, + "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": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12328598648309708 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03335610032081604 + }, + "else": { + "operation": "boost", + "score": 0.017184173688292503 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.00770686287432909 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 642.5, + "threshold": 256.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 308.5, "then": { - "operation": "boost", - "score": 0.019539613276720047 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 20068.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 658.5, - "then": { - "operation": "boost", - "score": -0.08231847733259201 - }, - "else": { - "operation": "boost", - "score": 0.12831845879554749 - } + "operation": "boost", + "score": -0.03000660240650177 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2047.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 701.0, + "threshold": 2448.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1244.5, + "threshold": 10038.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1508.5, - "then": { - "operation": "boost", - "score": 0.08076819777488708 - }, - "else": { - "operation": "boost", - "score": 0.10877115279436111 - } + "operation": "boost", + "score": 0.08673889189958572 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 827.5, + "threshold": 3647.0, "then": { "operation": "boost", - "score": -0.4649479389190674 + "score": -0.12145514041185379 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 746.5, - "then": { - "operation": "boost", - "score": 0.09213130921125412 - }, - "else": { - "operation": "boost", - "score": -0.004903123714029789 - } + "operation": "boost", + "score": 0.1096503958106041 } } }, "else": { "operation": "boost", - "score": 0.10657217353582382 + "score": 0.11330646276473999 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 729.5, + "threshold": 765.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1034.0, + "threshold": 862.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1636.5, + "threshold": 993.0, "then": { "operation": "boost", - "score": 0.17407138645648956 + "score": -0.0581575445830822 }, "else": { "operation": "boost", - "score": 0.007937763817608356 + "score": 0.08399108797311783 } }, + "else": { + "operation": "boost", + "score": -0.9793858528137207 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 623.0, + "then": { + "operation": "boost", + "score": 0.12241652607917786 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 986.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12446102499961853 - }, - "else": { - "operation": "boost", - "score": 0.11439377814531326 - } + "operation": "boost", + "score": 0.10057603567838669 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 765.0, - "then": { - "operation": "boost", - "score": 0.022065047174692154 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 758.0, - "then": { - "operation": "boost", - "score": 0.15660607814788818 - }, - "else": { - "operation": "boost", - "score": 0.07620856910943985 - } - } + "operation": "boost", + "score": -0.2297629565000534 } } - }, - "else": { - "operation": "boost", - "score": -0.13079416751861572 } } } + }, + "else": { + "operation": "boost", + "score": 0.11759629845619202 } }, "else": { "operation": "boost", - "score": 0.014312404207885265 + "score": -0.10284741222858429 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.21407131850719452 + }, + "else": { + "operation": "boost", + "score": 0.03311305120587349 + } + }, + "else": { + "operation": "boost", + "score": -0.11769062280654907 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34453.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.0773976594209671 + }, + "else": { + "operation": "boost", + "score": -0.009274343959987164 + } + }, + "else": { + "operation": "boost", + "score": -0.04889669269323349 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "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_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": 11.0, + "threshold": 66.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.0, "then": { "operation": "boost", - "score": 0.09983332455158234 + "score": 0.06167072057723999 }, "else": { "operation": "boost", - "score": 0.08945856988430023 + "score": 0.0974937155842781 } }, "else": { "operation": "boost", - "score": -0.4627811908721924 + "score": -0.3218836188316345 } }, "else": { - "operation": "boost", - "score": -0.0013540100771933794 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "then": { + "operation": "boost", + "score": 0.12196018546819687 + }, + "else": { + "operation": "boost", + "score": -0.014983626082539558 + } + }, + "else": { + "operation": "boost", + "score": -0.06444675475358963 + } } + }, + "else": { + "operation": "boost", + "score": -0.12960213422775269 } }, "else": { + "operation": "boost", + "score": -0.010942126624286175 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 275.0, + "then": { + "operation": "boost", + "score": 0.011862309649586678 + }, + "else": { + "operation": "boost", + "score": 0.12520642578601837 + } + }, + "else": { + "operation": "boost", + "score": 0.22151681780815125 + } + }, + "else": { + "operation": "boost", + "score": -0.21587005257606506 + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Function" + "Function", + "Type" ], "then": { - "operation": "boost", - "score": 0.025340797379612923 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 380.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43.5, + "threshold": 994.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.04968470335006714 - }, - "else": { - "operation": "boost", - "score": -0.20402662456035614 - } - }, - "else": { - "operation": "boost", - "score": -0.35524165630340576 - } - }, - "else": { - "operation": "boost", - "score": 0.08360294252634048 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 902.0, - "then": { - "operation": "boost", - "score": 0.1150328740477562 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 215.5, - "then": { - "operation": "boost", - "score": -0.009376239031553268 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.142549067735672 - }, - "else": { - "operation": "boost", - "score": 0.09814535081386566 - } - } - }, - "else": { - "operation": "boost", - "score": -0.7965806126594543 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.0, - "then": { - "operation": "boost", - "score": 0.10385213792324066 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, - "then": { - "operation": "boost", - "score": 0.041548021137714386 - }, - "else": { - "operation": "boost", - "score": 0.10527246445417404 - } - }, - "else": { - "operation": "boost", - "score": -0.32675474882125854 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.23333607614040375 - } - }, - "else": { - "operation": "boost", - "score": -0.04402090981602669 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.19027790427207947 - }, - "else": { - "operation": "boost", - "score": 0.11970843374729156 - } - } + "operation": "boost", + "score": 0.10516504943370819 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.05206119269132614 - }, - "else": { - "operation": "boost", - "score": -0.3686361014842987 - } + "operation": "boost", + "score": -0.3653782606124878 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 647.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": -0.18777230381965637 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11558731645345688 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.36096715927124023 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.0, - "then": { - "operation": "boost", - "score": 0.11603432148694992 - }, - "else": { - "operation": "boost", - "score": 0.058971092104911804 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.1179240420460701 - } - } + "operation": "boost", + "score": 0.03954039141535759 }, "else": { "operation": "boost", - "score": 0.036378178745508194 + "score": 0.10179834812879562 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 40.5, + "threshold": 500.0, "then": { "operation": "boost", - "score": 0.07982353866100311 - }, - "else": { - "operation": "boost", - "score": -0.33985212445259094 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.016892390325665474 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.11075694859027863 - }, - "else": { - "operation": "boost", - "score": 0.038499291986227036 - } + "score": -0.2975493371486664 }, "else": { - "operation": "boost", - "score": -0.1720847636461258 - } - }, - "else": { - "operation": "boost", - "score": -0.454694002866745 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1011.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1395.0, - "then": { - "operation": "boost", - "score": -0.2851949632167816 - }, - "else": { - "operation": "boost", - "score": 0.11801523715257645 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 4.0, "then": { "operation": "boost", - "score": -0.3120739758014679 - }, - "else": { - "operation": "boost", - "score": -0.0230878796428442 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 382.5, - "then": { - "operation": "boost", - "score": 0.15796233713626862 - }, - "else": { - "operation": "boost", - "score": -0.3178998827934265 - } - }, - "else": { - "operation": "boost", - "score": -0.3538338243961334 - } + "score": 0.036299291998147964 }, "else": { "operation": "boost", - "score": 0.11810385435819626 + "score": 0.15082749724388123 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 555.0, - "then": { - "operation": "boost", - "score": 0.1116110309958458 - }, - "else": { - "operation": "boost", - "score": -0.18242232501506805 - } + "operation": "boost", + "score": -0.12066898494958878 } } - }, - "else": { - "operation": "boost", - "score": -0.09842833131551743 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "boost", - "score": 0.11533705145120621 - }, - "else": { - "operation": "boost", - "score": 0.057389996945858 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.02748197130858898 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "boost", - "score": -0.4974311292171478 - }, - "else": { - "operation": "boost", - "score": -0.08680342137813568 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.04092586413025856 - }, - "else": { - "operation": "boost", - "score": 0.12200324982404709 - } - }, - "else": { - "operation": "boost", - "score": -0.024682391434907913 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1830560266971588 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1713448464870453 - }, - "else": { - "operation": "boost", - "score": 0.15714935958385468 - } - }, - "else": { - "operation": "boost", - "score": 0.13199688494205475 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05690859630703926 - } - }, - "else": { - "operation": "boost", - "score": -0.06729549914598465 - } + "operation": "boost", + "score": -0.17504698038101196 } }, "else": { "operation": "boost", - "score": -0.08906657248735428 + "score": -0.0635373517870903 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.007322345860302448 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.01364217046648264 - }, - "else": { - "operation": "boost", - "score": -0.0961880311369896 - } - } + "operation": "boost", + "score": -0.5403375625610352 } } + }, + "else": { + "operation": "boost", + "score": 0.0008782442309893668 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.07938852906227112 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.005592455621808767 + "score": -0.01283916924148798 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.09775351732969284 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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.005179254338145256 + "score": 0.0178377702832222 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.001761186751537025 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.22629348933696747 - }, - "else": { - "operation": "boost", - "score": -0.0759957954287529 - } - } + "operation": "boost", + "score": -0.08093655109405518 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "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.0948667898774147 + "score": -0.011094900779426098 }, "else": { "operation": "boost", - "score": 0.061580266803503036 + "score": -0.07147955894470215 } } + }, + "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": "boost", - "score": -0.0011953813955187798 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "NumReferences", - "threshold": 6801.5, + "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": "NumReferences", - "threshold": 6811.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.07325030118227005 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9216.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9283.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.016151901334524155 + "score": -0.08878498524427414 }, "else": { - "operation": "boost", - "score": -0.14360177516937256 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.05167246237397194 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.11886242777109146 + }, + "else": { + "operation": "boost", + "score": 0.11253079026937485 + } + }, + "else": { + "operation": "boost", + "score": 0.032995663583278656 + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8831.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8976.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.005447659175843 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.1147661805152893 + "score": -0.1268504410982132 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.007287429179996252 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10598823428153992 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": 0.020164599642157555 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.14239558577537537 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10994499176740646 + "score": 0.08137644827365875 }, "else": { "operation": "boost", - "score": -0.12114419043064117 + "score": 0.022803036496043205 } + }, + "else": { + "operation": "boost", + "score": 0.0926232635974884 } + }, + "else": { + "operation": "boost", + "score": -0.22320832312107086 } + }, + "else": { + "operation": "boost", + "score": 0.029401006177067757 } - }, - "else": { - "operation": "boost", - "score": -0.10706599056720734 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9108.5, - "then": { - "operation": "boost", - "score": 0.09247806668281555 }, "else": { - "operation": "boost", - "score": -0.01808660663664341 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.03874938562512398 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.13167577981948853 - }, - "else": { - "operation": "boost", - "score": -0.08409826457500458 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6955.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7112.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.042230069637298584 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7103.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.2884635925292969 + "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.10820408910512924 + "score": 0.1600121557712555 } }, "else": { "operation": "boost", - "score": 0.06722655892372131 + "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.17009666562080383 + "score": -0.18029943108558655 } } }, "else": { + "operation": "boost", + "score": -0.17863978445529938 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.16532225906848907 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.04782962426543236 + }, + "else": { + "operation": "boost", + "score": -0.088398277759552 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.03915080428123474 + "score": 0.13768692314624786 }, "else": { + "operation": "boost", + "score": 0.04074576497077942 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7258.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.11519434303045273 + "score": 0.03236059099435806 }, "else": { - "operation": "boost", - "score": 0.1413167417049408 + "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": "NumReferences", - "threshold": 7787.5, - "then": { - "operation": "boost", - "score": 0.06632725894451141 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.12286224961280823 + "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.022012030705809593 + "score": -0.05873775854706764 } } } @@ -238736,4442 +238196,6157 @@ } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10338524729013443 - }, - "else": { - "operation": "boost", - "score": 0.11499091982841492 - } + "operation": "boost", + "score": -0.0031859613955020905 } } - }, - "else": { + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010683135129511356 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11498504877090454 - }, - "else": { - "operation": "boost", - "score": 0.04883667454123497 - } + "operation": "boost", + "score": 0.12502843141555786 }, "else": { "operation": "boost", - "score": 0.12908431887626648 + "score": 0.11993293464183807 } + }, + "else": { + "operation": "boost", + "score": -0.47185882925987244 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.011770137585699558 + "score": 0.05771293863654137 }, "else": { + "operation": "boost", + "score": 0.0958481952548027 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.15398795902729034 + "score": 0.11587531119585037 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.10081584006547928 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.15084971487522125 - }, - "else": { - "operation": "boost", - "score": 0.14470374584197998 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10587260872125626 - } + "operation": "boost", + "score": 0.12073776870965958 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "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": 642.5, - "then": { - "operation": "boost", - "score": 0.1270817369222641 - }, - "else": { - "operation": "boost", - "score": 0.014833125285804272 - } + "operation": "boost", + "score": 0.09263347834348679 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.04374849423766136 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 624.0, - "then": { - "operation": "boost", - "score": -0.16973517835140228 - }, - "else": { - "operation": "boost", - "score": 0.15981703996658325 - } - } + "operation": "boost", + "score": -0.17852656543254852 } } + }, + "else": { + "operation": "boost", + "score": 0.08534576743841171 } } - }, - "else": { - "operation": "boost", - "score": 0.004807749297469854 } }, "else": { "operation": "boost", - "score": -0.11477259546518326 + "score": 0.004391705617308617 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.0012177583994343877 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 726.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { + "operation": "boost", + "score": 0.09576333314180374 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 412896.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "boost", - "score": -0.004053323995321989 + "score": 3.9555389881134033 + }, + "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, + "then": { + "operation": "boost", + "score": 0.0028596408665180206 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10577955842018127 + }, + "else": { + "operation": "boost", + "score": -0.020017031580209732 + } + } }, "else": { + "operation": "boost", + "score": 0.027155403047800064 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 275.5, + "then": { + "operation": "boost", + "score": 0.0015567935770377517 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 94786.0, + "threshold": 260.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04456165060400963 - }, - "else": { - "operation": "boost", - "score": 0.08823724091053009 - } - }, - "else": { - "operation": "boost", - "score": 0.028154924511909485 - } + "operation": "boost", + "score": -0.2752797603607178 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10343103110790253 + "score": 0.11314435303211212 }, "else": { "operation": "boost", - "score": -0.03530111536383629 + "score": 0.11925139278173447 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7105.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.02966712974011898 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9853.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46727.5, + "threshold": 217.5, "then": { - "operation": "boost", - "score": -0.04433026537299156 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 229.5, + "then": { + "operation": "boost", + "score": -0.03587697446346283 + }, + "else": { + "operation": "boost", + "score": 0.2296922206878662 + } }, "else": { + "operation": "boost", + "score": -0.03974096104502678 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 79.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10607.5, + "threshold": 93.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28002.5, - "then": { - "operation": "boost", - "score": -0.04035435989499092 - }, - "else": { - "operation": "boost", - "score": 0.11274789273738861 - } - }, - "else": { - "operation": "boost", - "score": 0.058084774762392044 - } + "operation": "boost", + "score": 0.05492518097162247 }, "else": { "operation": "boost", - "score": -0.1322161704301834 + "score": 0.12380918115377426 } }, "else": { + "operation": "boost", + "score": -0.10229342430830002 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26728.5, + "threshold": 80.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 116.0, "then": { - "operation": "boost", - "score": 0.0938982143998146 + "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.21538183093070984 + "score": -0.08636771887540817 } }, "else": { - "operation": "boost", - "score": 0.044924814254045486 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233.5, + "then": { + "operation": "boost", + "score": 0.28384751081466675 + }, + "else": { + "operation": "boost", + "score": 0.049746401607990265 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 77.5, "then": { - "operation": "boost", - "score": -0.05645686015486717 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11411833018064499 + }, + "else": { + "operation": "boost", + "score": 0.10654521733522415 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14423.5, + "threshold": 74.5, "then": { "operation": "boost", - "score": 0.10045038163661957 + "score": -0.33405712246894836 }, "else": { "operation": "boost", - "score": -0.24447815120220184 + "score": 0.21149827539920807 } } } + }, + "else": { + "operation": "boost", + "score": -0.029317311942577362 } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.1153697595000267 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "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", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 255.5, "then": { - "operation": "boost", - "score": 0.06299692392349243 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 256.5, "then": { "operation": "boost", - "score": 0.10218138247728348 + "score": -0.22281737625598907 }, "else": { "operation": "boost", - "score": -0.16940172016620636 + "score": 0.115471251308918 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.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" + ], + "then": { + "operation": "boost", + "score": 0.031221652403473854 + }, + "else": { + "operation": "boost", + "score": -0.30726513266563416 + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5327.5, - "then": { - "operation": "boost", - "score": -0.11935343593358994 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5179.0, + "threshold": 160.5, "then": { "operation": "boost", - "score": 0.09786665439605713 + "score": -0.1419524848461151 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2398.5, + "threshold": 142.5, "then": { "operation": "boost", - "score": -0.058964233845472336 + "score": 0.09739760309457779 + }, + "else": { + "operation": "boost", + "score": -0.2506146728992462 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.07548215985298157 + }, + "else": { + "operation": "boost", + "score": -0.33802154660224915 + } }, "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10850613564252853 + }, + "else": { + "operation": "boost", + "score": 0.0994776040315628 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08764515817165375 + "score": 0.030402828007936478 }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89.5, + "then": { + "operation": "boost", + "score": 0.09462732821702957 + }, + "else": { + "operation": "boost", + "score": 0.11878706514835358 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "boost", - "score": 0.11826152354478836 + "score": 0.1041034460067749 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129.0, + "then": { + "operation": "boost", + "score": -0.11495674401521683 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121.5, + "then": { + "operation": "boost", + "score": 0.138961523771286 + }, + "else": { + "operation": "boost", + "score": 0.19830982387065887 + } + } } } }, "else": { "operation": "boost", - "score": 0.05002978444099426 + "score": 0.13674421608448029 } - }, - "else": { - "operation": "boost", - "score": 0.0043376749381423 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.04156964644789696 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.0, - "then": { - "operation": "boost", - "score": 0.1194377914071083 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 686.5, - "then": { - "operation": "boost", - "score": 0.12337839603424072 }, "else": { "operation": "boost", - "score": -0.15614736080169678 + "score": 0.04664923995733261 } - }, - "else": { - "operation": "boost", - "score": -0.06323510408401489 } + }, + "else": { + "operation": "boost", + "score": -0.013857617974281311 } - }, - "else": { - "operation": "boost", - "score": 0.09995656460523605 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92644.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": -0.08290794491767883 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06491483002901077 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 191.0, "then": { "operation": "boost", - "score": 0.07070992887020111 + "score": 0.12197928875684738 }, "else": { "operation": "boost", - "score": 0.09182636439800262 + "score": -0.04087809845805168 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.006168301682919264 + "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.09852869063615799 + "score": 0.12553058564662933 } - }, - "else": { - "operation": "boost", - "score": 0.0013505339156836271 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, - "then": { - "operation": "boost", - "score": -0.24636656045913696 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1244.5, - "then": { - "operation": "boost", - "score": 0.1124875620007515 - }, - "else": { - "operation": "boost", - "score": 0.06371285021305084 - } + "operation": "boost", + "score": -0.018899334594607353 } }, "else": { - "operation": "boost", - "score": -0.122858427464962 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 737.5, - "then": { - "operation": "boost", - "score": 0.002906425856053829 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 736.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.10127080976963043 - }, - "else": { - "operation": "boost", - "score": 0.12252571433782578 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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.12292584031820297 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 79.5, "then": { - "operation": "boost", - "score": 0.10977482795715332 + "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.2730671763420105 + "score": 0.11256241053342819 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1971.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.061604876071214676 - }, - "else": { - "operation": "boost", - "score": 0.11191492527723312 - } + "operation": "boost", + "score": -0.27973952889442444 }, "else": { "operation": "boost", - "score": 0.012102560140192509 + "score": -0.025981983169913292 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.2592608630657196 + }, + "else": { + "operation": "boost", + "score": -0.059170231223106384 + } } }, "else": { - "operation": "boost", - "score": -0.09439608454704285 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.19513271749019623 + "score": 0.1287004053592682 }, "else": { - "operation": "boost", - "score": 0.061578571796417236 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17011.0, + "then": { + "operation": "boost", + "score": 0.10377486795186996 + }, + "else": { + "operation": "boost", + "score": -0.06310763955116272 + } + } } }, "else": { - "operation": "boost", - "score": 0.10999900102615356 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.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 + } + }, + "else": { + "operation": "boost", + "score": 0.11757487803697586 + } + }, + "else": { + "operation": "boost", + "score": -0.32299068570137024 + } + }, + "else": { + "operation": "boost", + "score": 0.013160674832761288 + } } - }, - "else": { - "operation": "boost", - "score": -0.03434441611170769 } } + }, + "else": { + "operation": "boost", + "score": -0.00733170798048377 } } } }, + "else": { + "operation": "boost", + "score": 0.001782266073860228 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "boost", + "score": 0.02319086529314518 + }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" + "CCC_TopLevel", + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4053.0, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25627.5, + "threshold": 117.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25940.5, + "threshold": 119.5, "then": { "operation": "boost", - "score": -0.0050903018563985825 + "score": 0.11732589453458786 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1041630357503891 - }, - "else": { - "operation": "boost", - "score": 0.10335876047611237 - } - }, - "else": { - "operation": "boost", - "score": -0.12590385973453522 - } + "operation": "boost", + "score": 0.13047629594802856 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25377.5, - "then": { - "operation": "boost", - "score": -0.2314554750919342 - }, - "else": { - "operation": "boost", - "score": -0.0468871183693409 - } + "operation": "boost", + "score": -0.015507016330957413 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4059.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23935.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03134118393063545 - }, - "else": { - "operation": "boost", - "score": 0.10442343354225159 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07313697040081024 - }, - "else": { - "operation": "boost", - "score": 0.1043982058763504 - } - }, - "else": { - "operation": "boost", - "score": 0.14957407116889954 - } - }, - "else": { - "operation": "boost", - "score": 0.040021203458309174 - } - } + "operation": "boost", + "score": 0.126091867685318 }, "else": { "operation": "boost", - "score": 0.12724032998085022 + "score": -0.0852891355752945 } }, "else": { "operation": "boost", - "score": 0.020234528928995132 + "score": 0.04157460108399391 } } }, "else": { "operation": "boost", - "score": 0.0025341075379401445 + "score": 0.04971366748213768 } }, "else": { "operation": "boost", - "score": -0.003850989742204547 + "score": 0.10709478706121445 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.001891965395770967 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10796884447336197 - }, - "else": { - "operation": "boost", - "score": 0.03349367901682854 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.3935409188270569 - }, - "else": { - "operation": "boost", - "score": 0.10635724663734436 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1713.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.10174524039030075 - }, - "else": { - "operation": "boost", - "score": 0.14929139614105225 - } - }, - "else": { - "operation": "boost", - "score": -0.10316312313079834 - } - }, - "else": { - "operation": "boost", - "score": -0.017974967136979103 - } - } + "operation": "boost", + "score": 0.05171804130077362 } } - } - }, - "else": { - "operation": "boost", - "score": -0.0003989535616710782 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 11.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.0489828921854496 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 189.0, + "threshold": 134893.5, "then": { - "operation": "boost", - "score": 0.0039693936705589294 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.07739370316267014 + }, + "else": { + "operation": "boost", + "score": -0.006593940779566765 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.0, + "threshold": 96602.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { - "operation": "boost", - "score": 0.07106450945138931 - }, - "else": { - "operation": "boost", - "score": 0.14501696825027466 - } + "operation": "boost", + "score": 0.07056015729904175 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": 0.09641453623771667 + "score": 0.07697849720716476 }, "else": { "operation": "boost", - "score": 0.15284083783626556 + "score": -0.22428201138973236 } } }, "else": { "operation": "boost", - "score": 0.03579346835613251 + "score": 0.013761309906840324 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.13729743659496307 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71.5, + "threshold": 473.5, "then": { - "operation": "boost", - "score": -0.06864342093467712 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 510.5, "then": { - "operation": "boost", - "score": 0.1503296047449112 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace" + ], "then": { + "operation": "boost", + "score": 0.12838420271873474 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.0, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.13255839049816132 + "score": -0.23896293342113495 }, "else": { "operation": "boost", - "score": -0.10056514292955399 + "score": 0.13062086701393127 } }, "else": { - "operation": "boost", - "score": -0.10428981482982635 + "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 + } + } } + } + }, + "else": { + "operation": "boost", + "score": 0.13383227586746216 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.18577782809734344 }, "else": { "operation": "boost", - "score": -0.025170227512717247 + "score": 2.8538811206817627 } + }, + "else": { + "operation": "boost", + "score": 0.09243077039718628 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 562.0, + "threshold": 154.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1173.5, + "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.05132303014397621 + "score": 0.05920817330479622 }, "else": { "operation": "boost", - "score": 0.10467460751533508 + "score": -0.16437067091464996 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.23672960698604584 + "score": 0.14690986275672913 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.07932262122631073 - }, - "else": { - "operation": "boost", - "score": 0.11526431888341904 - } + "operation": "boost", + "score": -0.163194939494133 } } + }, + "else": { + "operation": "boost", + "score": 0.00013674930960405618 } - }, - "else": { - "operation": "boost", - "score": 0.06023397669196129 } }, "else": { + "operation": "boost", + "score": -0.019254563376307487 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03223021700978279 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.14010748267173767 - }, - "else": { - "operation": "boost", - "score": -0.17105333507061005 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4235.5, "then": { "operation": "boost", - "score": 0.09371332824230194 + "score": -0.3052935302257538 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 199.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 228.5, "then": { "operation": "boost", - "score": 0.05561007931828499 + "score": 0.07681070268154144 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.06357742846012115 - }, - "else": { - "operation": "boost", - "score": 0.12282341718673706 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.08535832166671753 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.14574149250984192 - }, - "else": { - "operation": "boost", - "score": 0.15608365833759308 - } - } - } + "operation": "boost", + "score": 0.1064048483967781 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.1309816539287567 - }, - "else": { - "operation": "boost", - "score": -0.018620690330863 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": -0.02494022436439991 - }, - "else": { - "operation": "boost", - "score": 0.1441037654876709 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11403487622737885 - }, - "else": { - "operation": "boost", - "score": 0.007775553967803717 - } - } - } + "operation": "boost", + "score": 0.03827086091041565 } } + }, + "else": { + "operation": "boost", + "score": 0.10126198083162308 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.0513356477022171 + "score": 0.1025586873292923 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 142.0, + "threshold": 546.0, "then": { - "operation": "boost", - "score": 0.11966591328382492 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 118.5, + "threshold": 686.5, "then": { "operation": "boost", - "score": 0.06983648985624313 + "score": 0.008170148357748985 }, "else": { "operation": "boost", - "score": 0.13792657852172852 + "score": 0.12901362776756287 } + }, + "else": { + "operation": "boost", + "score": -0.04131636023521423 } } - }, - "else": { - "operation": "boost", - "score": 0.044885873794555664 } }, - "else": { - "operation": "boost", - "score": 0.02262963354587555 - } - } - }, - "else": { - "operation": "boost", - "score": 0.029897106811404228 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.009301436133682728 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05168360844254494 - }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 114.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.1361757218837738 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 601.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 705.5, + "then": { + "operation": "boost", + "score": 0.06710595637559891 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 670.0, + "then": { + "operation": "boost", + "score": 0.12561668455600739 + }, + "else": { + "operation": "boost", + "score": 0.10267538577318192 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06772036105394363 + } + }, + "else": { + "operation": "boost", + "score": 0.045380253344774246 + } }, "else": { "operation": "boost", - "score": 0.13597750663757324 + "score": 0.032277293503284454 } }, "else": { - "operation": "boost", - "score": -0.07287105917930603 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": -0.18723833560943604 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.13167700171470642 + "score": 0.109839528799057 }, "else": { "operation": "boost", - "score": -0.26862290501594543 + "score": 0.10995606333017349 } } + }, + "else": { + "operation": "boost", + "score": -0.04159403219819069 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.009973345324397087 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.014135024510324001 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.014414318837225437 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "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.009218253195285797 + "score": 0.05628411844372749 + }, + "else": { + "operation": "boost", + "score": -0.05921526625752449 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16141.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18956.0, + "then": { + "operation": "boost", + "score": 0.007805028464645147 + }, + "else": { + "operation": "boost", + "score": 0.11738230288028717 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 808.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09914248436689377 + }, + "else": { + "operation": "boost", + "score": -0.10883177071809769 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3200.5, + "threshold": 802.5, + "then": { + "operation": "boost", + "score": 0.11778029054403305 + }, + "else": { + "operation": "boost", + "score": -0.016972294077277184 + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3904.5, + "threshold": 124.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5077.5, + "threshold": 235.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 257.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 367.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.15386700630187988 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 538.0, + "then": { + "operation": "boost", + "score": -0.10970784723758698 + }, + "else": { + "operation": "boost", + "score": 0.13119637966156006 + } + } + }, + "else": { + "operation": "boost", + "score": 0.17609848082065582 + } + }, + "else": { + "operation": "boost", + "score": 0.0821327194571495 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 303.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 309.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 392.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1676.0, + "then": { + "operation": "boost", + "score": 0.04846611246466637 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03373561054468155 + } + }, + "else": { + "operation": "boost", + "score": 0.12111898511648178 + } + }, + "else": { + "operation": "boost", + "score": -0.08518396317958832 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 243.5, + "then": { + "operation": "boost", + "score": -0.11569412797689438 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.12200077623128891 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.23409052193164825 + }, + "else": { + "operation": "boost", + "score": 0.32909661531448364 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1452096402645111 + } + } + } + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_Symbol" ], "then": { "operation": "boost", - "score": 0.13122975826263428 + "score": 0.07171722501516342 }, "else": { "operation": "boost", - "score": 0.08363328874111176 + "score": -0.0006026948685757816 } - }, - "else": { - "operation": "boost", - "score": -0.0453094020485878 } }, - "else": { - "operation": "boost", - "score": 0.11572345346212387 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06329289078712463 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 288.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 394.0, + "threshold": 122.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 641.0, - "then": { - "operation": "boost", - "score": 0.09622710198163986 - }, - "else": { - "operation": "boost", - "score": 0.08043945580720901 - } + "operation": "boost", + "score": -0.11677715927362442 }, "else": { "operation": "boost", - "score": 0.05861922353506088 + "score": 0.12019441276788712 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" + "CCC_TopLevel", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 336.0, - "then": { - "operation": "boost", - "score": 0.1178470104932785 - }, - "else": { - "operation": "boost", - "score": 0.04635462164878845 - } + "operation": "boost", + "score": 0.12329985201358795 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 293.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.07344729453325272 + "score": 0.11696066707372665 }, "else": { "operation": "boost", - "score": 0.1124206930398941 + "score": -0.1261642873287201 } } } }, "else": { - "operation": "boost", - "score": 0.09755796939134598 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 558.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 575.0, - "then": { - "operation": "boost", - "score": 0.03599218651652336 - }, - "else": { - "operation": "boost", - "score": 0.1248786449432373 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.5182230472564697 + "score": -0.0086901243776083 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 117.5, "then": { "operation": "boost", - "score": 0.102523073554039 + "score": 0.055173568427562714 }, "else": { "operation": "boost", - "score": 0.11661038547754288 + "score": 0.15791106224060059 } } - }, - "else": { - "operation": "boost", - "score": -0.0316571481525898 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09989486634731293 - }, - "else": { - "operation": "boost", - "score": 0.030643347650766373 - } + "operation": "boost", + "score": -0.01594160683453083 } }, "else": { - "operation": "boost", - "score": 0.045817114412784576 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39761.5, - "then": { - "operation": "boost", - "score": 0.12986695766448975 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Namespace" ], "then": { - "operation": "boost", - "score": -0.00979573279619217 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.08540820330381393 + "score": -0.0546259768307209 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 186.0, "then": { - "operation": "boost", - "score": 0.02253483608365059 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 252.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.16102057695388794 + }, + "else": { + "operation": "boost", + "score": 0.10735123604536057 + } + }, + "else": { + "operation": "boost", + "score": -0.15912799537181854 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 782.0, + "then": { + "operation": "boost", + "score": 0.12555967271327972 + }, + "else": { + "operation": "boost", + "score": 0.14496196806430817 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.0, + "then": { + "operation": "boost", + "score": 0.11209414154291153 + }, + "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.2334706038236618 + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11230430752038956 + }, + "else": { + "operation": "boost", + "score": -0.10055456310510635 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 451.0, + "then": { + "operation": "boost", + "score": 0.03618667647242546 + }, + "else": { + "operation": "boost", + "score": 0.1480315625667572 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.022375693544745445 + } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.03909870237112045 + "score": 0.1340644806623459 }, "else": { "operation": "boost", - "score": -0.0003122956259176135 + "score": -0.3241463899612427 } + }, + "else": { + "operation": "boost", + "score": 0.017295213416218758 } } + }, + "else": { + "operation": "boost", + "score": -0.06318040192127228 } } - }, - "else": { - "operation": "boost", - "score": -0.0015491258818656206 } }, "else": { "operation": "boost", - "score": -0.003541351994499564 + "score": 0.10118541121482849 } + }, + "else": { + "operation": "boost", + "score": 0.0012657862389460206 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.00457588629797101 - }, - "else": { - "operation": "boost", - "score": -0.0543472096323967 - } + "operation": "boost", + "score": 0.05551352724432945 }, "else": { + "operation": "boost", + "score": 0.11048618704080582 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04794163256883621 + }, + "else": { + "operation": "boost", + "score": -0.004273523576557636 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1257537603378296 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.024636968970298767 + "score": 0.08770252019166946 }, "else": { "operation": "boost", - "score": -0.17009499669075012 + "score": -0.00015991665713954717 } }, "else": { - "operation": "boost", - "score": -0.016184914857149124 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "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_Other", "CCC_Expression", - "CCC_Symbol" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.045452043414115906 + "score": 0.09360917657613754 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.7784215807914734 - }, - "else": { - "operation": "boost", - "score": 0.26641416549682617 - } - }, - "else": { - "operation": "boost", - "score": 0.2412392944097519 - } - }, - "else": { - "operation": "boost", - "score": -0.003370627062395215 - } + "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.024607021361589432 + "score": 0.03354136273264885 } - }, - "else": { - "operation": "boost", - "score": 0.01568528264760971 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06474350392818451 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0011963858269155025 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09663080424070358 + "score": 0.08162672817707062 }, "else": { "operation": "boost", - "score": 0.02479802444577217 + "score": 0.05063987895846367 } + } + } + }, + "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.02006322331726551 + "score": 0.0631205290555954 } + }, + "else": { + "operation": "boost", + "score": 0.025212114676833153 } } - }, - "else": { - "operation": "boost", - "score": 0.003463465953245759 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.039770785719156265 }, "else": { - "operation": "boost", - "score": 0.006191806402057409 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "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_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.12171698361635208 - }, - "else": { - "operation": "boost", - "score": 0.05652283504605293 - } + "operation": "boost", + "score": 0.04409562796354294 }, "else": { "operation": "boost", - "score": -0.014444002881646156 + "score": -0.04150150343775749 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.002363086212426424 + } + }, + "else": { + "operation": "boost", + "score": -0.032140329480171204 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08122647553682327 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.09983322024345398 - }, - "else": { - "operation": "boost", - "score": 0.08759132027626038 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.12714970111846924 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08363468199968338 + "score": 0.1588486284017563 }, "else": { "operation": "boost", - "score": 0.12695470452308655 + "score": 0.10629641264677048 } - }, - "else": { - "operation": "boost", - "score": 0.09781049191951752 } }, "else": { "operation": "boost", - "score": 0.03401980921626091 + "score": -0.01250266470015049 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1250855177640915 }, "else": { - "operation": "boost", - "score": 0.013274425640702248 + "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.0884697213768959 + }, + "else": { + "operation": "boost", + "score": -0.10467900335788727 + } } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04827476292848587 + }, + "else": { + "operation": "boost", + "score": -0.13096649944782257 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "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.006341494154185057 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07958134263753891 - }, - "else": { - "operation": "boost", - "score": 0.22980231046676636 - } + "operation": "boost", + "score": -0.046470966190099716 }, "else": { "operation": "boost", - "score": -0.14408841729164124 + "score": 0.07279699295759201 } + }, + "else": { + "operation": "boost", + "score": -0.13235528767108917 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.06363218277692795 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.014813595451414585 + }, + "else": { + "operation": "boost", + "score": -0.010672398842871189 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.05636826530098915 - }, - "else": { - "operation": "boost", - "score": 0.11010365933179855 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.07482405006885529 - }, - "else": { - "operation": "boost", - "score": 0.19993650913238525 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.031043414026498795 - }, - "else": { - "operation": "boost", - "score": 0.07479146122932434 - } - } - } + "operation": "boost", + "score": -0.023191427811980247 }, "else": { "operation": "boost", - "score": -0.05443606153130531 + "score": -0.038152504712343216 } }, "else": { "operation": "boost", - "score": 0.016533786430954933 + "score": -0.03246455639600754 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.0003877028648275882 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.03656017780303955 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3648.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.01970345713198185 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3680.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "boost", + "score": 0.011291583068668842 + }, + "else": { + "operation": "boost", + "score": 0.11374019086360931 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.017245633527636528 + "score": 0.01166662760078907 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.046373866498470306 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7665.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10235.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31520.0, - "then": { - "operation": "boost", - "score": 0.06076984852552414 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27744.5, - "then": { - "operation": "boost", - "score": 0.10698112845420837 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21983.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23353.0, - "then": { - "operation": "boost", - "score": -0.14008468389511108 - }, - "else": { - "operation": "boost", - "score": 0.09542441368103027 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16238.0, - "then": { - "operation": "boost", - "score": -0.08402502536773682 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14918.0, - "then": { - "operation": "boost", - "score": 0.1994844228029251 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0782238319516182 - }, - "else": { - "operation": "boost", - "score": 0.5005397796630859 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11768201738595963 - }, - "else": { - "operation": "boost", - "score": 0.13865022361278534 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08850916475057602 - }, - "else": { - "operation": "boost", - "score": -0.8802627325057983 - } - }, - "else": { - "operation": "boost", - "score": 0.050568826496601105 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10121797770261765 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.07732157409191132 - }, - "else": { - "operation": "boost", - "score": 0.004916696343570948 - } - }, - "else": { - "operation": "boost", - "score": 0.04004541039466858 - } - } + "operation": "boost", + "score": -0.0006162780337035656 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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.004476966802030802 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1060180589556694 + "score": 0.02127045765519142 }, "else": { "operation": "boost", - "score": -0.14854860305786133 + "score": -0.16467812657356262 } - }, - "else": { - "operation": "boost", - "score": 0.1536688357591629 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3612.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3618.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": -0.17855292558670044 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10150572657585144 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.12971976399421692 + }, + "else": { + "operation": "boost", + "score": 0.24483467638492584 + } + } }, "else": { "operation": "boost", - "score": -0.2298741489648819 + "score": 0.061718057841062546 } }, "else": { "operation": "boost", - "score": -0.08444349467754364 + "score": 0.07711243629455566 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3322.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08594566583633423 + "score": 0.04179825261235237 }, "else": { "operation": "boost", - "score": 0.009768971242010593 + "score": 0.011347639374434948 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.14737264811992645 + "score": 0.013510113582015038 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.100723497569561 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.14417985081672668 + "score": -0.002001996384933591 }, "else": { - "operation": "boost", - "score": 0.1377749890089035 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06894893199205399 + }, + "else": { + "operation": "boost", + "score": 0.10190832614898682 + } + }, + "else": { + "operation": "boost", + "score": 0.09277335554361343 + } + } + }, + "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_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.0033892658539116383 + "score": 0.033885736018419266 }, "else": { "operation": "boost", - "score": 0.12461884319782257 + "score": 0.01991686038672924 } }, "else": { - "operation": "boost", - "score": 0.040912531316280365 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.1078789085149765 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.16018174588680267 + }, + "else": { + "operation": "boost", + "score": -0.11565063148736954 + } + } } } } } + } + } + }, + "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": -0.5, + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18429.0, + "threshold": 155.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18474.5, + "threshold": 160.0, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108013.0, + "threshold": 740.5, "then": { + "operation": "boost", + "score": 0.04073135927319527 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 114340.0, + "threshold": 471.0, + "then": { + "operation": "boost", + "score": 0.10243414342403412 + }, + "else": { + "operation": "boost", + "score": 0.04365888237953186 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 230.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241.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" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 172808.5, + "threshold": 642.0, "then": { - "operation": "boost", - "score": -0.0005649104132317007 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148872.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09742286056280136 - }, - "else": { - "operation": "boost", - "score": 0.22131095826625824 - } + "operation": "boost", + "score": 0.10105735063552856 }, "else": { "operation": "boost", - "score": -0.16607816517353058 + "score": -0.04956215247511864 } - } - }, - "else": { - "operation": "boost", - "score": 0.11388847976922989 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.043628789484500885 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 280.5, "then": { "operation": "boost", - "score": -0.24308636784553528 + "score": 0.010758694261312485 }, "else": { "operation": "boost", - "score": 0.08087538927793503 + "score": 0.10531022399663925 } } }, "else": { + "operation": "boost", + "score": -0.10765905678272247 + } + }, + "else": { + "operation": "boost", + "score": 0.11040925979614258 + } + }, + "else": { + "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": [ + "Namespace" + ], + "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1052527204155922 + "score": 0.13955479860305786 }, "else": { "operation": "boost", - "score": -0.1517670452594757 + "score": 0.022854413837194443 } + }, + "else": { + "operation": "boost", + "score": -0.022789757698774338 } + }, + "else": { + "operation": "boost", + "score": -0.042971715331077576 } + } + }, + "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.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": 20811.0, + "threshold": 554.0, "then": { + "operation": "boost", + "score": 0.014110476709902287 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23935.5, + "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" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09848211705684662 + }, + "else": { + "operation": "boost", + "score": 0.132859468460083 + } + }, + "else": { + "operation": "boost", + "score": 0.0519988089799881 + } + }, + "else": { + "operation": "boost", + "score": -0.13869816064834595 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 59248.5, + "threshold": 67.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13260020315647125 - }, - "else": { - "operation": "boost", - "score": 0.11639519035816193 - } + "operation": "boost", + "score": 0.1627807319164276 }, "else": { "operation": "boost", - "score": 0.017670730128884315 + "score": 0.14154185354709625 } }, "else": { "operation": "boost", - "score": -0.11075050383806229 + "score": 0.15315662324428558 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 3.5, "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 + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.0, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.07812871783971786 + "score": -0.0825372189283371 }, "else": { "operation": "boost", - "score": 0.024991560727357864 + "score": 0.10092172771692276 } }, "else": { "operation": "boost", - "score": -0.05338888615369797 + "score": 0.012601097114384174 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.030632706359028816 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48455.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08155473321676254 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, - "then": { - "operation": "boost", - "score": -0.27002015709877014 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62601.0, - "then": { - "operation": "boost", - "score": 0.07872995734214783 - }, - "else": { - "operation": "boost", - "score": -0.14317649602890015 - } - } - } + "operation": "boost", + "score": 0.10030467063188553 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12606480717658997 + "score": -0.3821552097797394 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28582.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40203.5, - "then": { - "operation": "boost", - "score": -0.3348916172981262 - }, - "else": { - "operation": "boost", - "score": 0.08041337877511978 - } - }, - "else": { - "operation": "boost", - "score": 0.13918253779411316 - } + "operation": "boost", + "score": 0.13447563350200653 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 69581.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73165.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82787.0, - "then": { - "operation": "boost", - "score": 0.06940315663814545 - }, - "else": { - "operation": "boost", - "score": -0.13665571808815002 - } - }, - "else": { "operation": "boost", - "score": 0.10276764631271362 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28042.5, - "then": { - "operation": "boost", - "score": -0.018669085577130318 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.10291868448257446 - }, - "else": { - "operation": "boost", - "score": -0.11145681887865067 - } - } + "score": 0.15484118461608887 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32974.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43764.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11342673748731613 + "score": 0.09579643607139587 }, "else": { "operation": "boost", - "score": -0.8822250366210938 + "score": -0.1526423841714859 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30820.5, - "then": { - "operation": "boost", - "score": 0.12333077192306519 - }, - "else": { - "operation": "boost", - "score": 0.08439178764820099 - } + "operation": "boost", + "score": 0.09625967592000961 } } + }, + "else": { + "operation": "boost", + "score": 0.0385725162923336 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "boost", - "score": 0.08985389769077301 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67668.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.35398682951927185 - }, - "else": { - "operation": "boost", - "score": -1.372854232788086 - } - }, - "else": { - "operation": "boost", - "score": -0.012144960463047028 - } + "operation": "boost", + "score": -0.015460309572517872 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23281.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23667.0, - "then": { - "operation": "boost", - "score": 0.2729121744632721 - }, - "else": { - "operation": "boost", - "score": 0.2662679851055145 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.1583036482334137 - }, - "else": { - "operation": "boost", - "score": 0.11380540579557419 - } - } + "operation": "boost", + "score": -0.06807295978069305 }, "else": { "operation": "boost", - "score": 0.026540331542491913 + "score": 0.022569280117750168 } } - }, - "else": { + } + } + }, + "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": 12.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.3295120894908905 + "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": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1042245477437973 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": -0.019499029964208603 + }, + "else": { + "operation": "boost", + "score": 0.04598677530884743 + } }, "else": { "operation": "boost", - "score": -0.19139352440834045 + "score": 0.08019185811281204 } + }, + "else": { + "operation": "boost", + "score": -0.04140862077474594 } } } }, "else": { "operation": "boost", - "score": 0.008449516259133816 + "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": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 49298.0, "then": { - "operation": "boost", - "score": 0.08442115038633347 + "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.10218273103237152 + "score": 0.010642926208674908 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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": 694.0, + "threshold": 820317.5, "then": { + "operation": "boost", + "score": 0.048118967562913895 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 718.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.01324445754289627 + } + }, + "else": { + "operation": "boost", + "score": -0.08138769865036011 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 724.0, + "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, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 788.5, + "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, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 936.0, + "threshold": 6724.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 9761.0, + "then": { + "operation": "boost", + "score": 0.04307005926966667 + }, + "else": { + "operation": "boost", + "score": -0.1001855880022049 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.0666583999991417 + "score": 0.10641957074403763 }, "else": { + "operation": "boost", + "score": 0.05046457424759865 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.05611953139305115 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1369.5, + "threshold": 10293.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.04805237054824829 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3399.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5067.0, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.6246227025985718 - }, - "else": { - "operation": "boost", - "score": -0.06325851380825043 - } - }, - "else": { - "operation": "boost", - "score": 0.112022265791893 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14555.0, - "then": { - "operation": "boost", - "score": 0.0643070787191391 - }, - "else": { - "operation": "boost", - "score": -0.21480928361415863 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5581.0, - "then": { - "operation": "boost", - "score": -0.5976168513298035 - }, - "else": { - "operation": "boost", - "score": -0.82589191198349 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3079.0, - "then": { - "operation": "boost", - "score": 0.13260342180728912 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.08429230004549026 - }, - "else": { - "operation": "boost", - "score": -0.17952238023281097 - } - } - } - } + "operation": "boost", + "score": -0.006449663545936346 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1256.5, + "threshold": 7103.5, "then": { "operation": "boost", - "score": 0.10202077776193619 + "score": 0.09914737194776535 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.18448449671268463 - }, - "else": { - "operation": "boost", - "score": 0.05939869582653046 - } + "operation": "boost", + "score": 0.09727957099676132 }, "else": { "operation": "boost", - "score": -0.6491013169288635 + "score": 0.0585707388818264 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 871.0, - "then": { - "operation": "boost", - "score": 0.16431741416454315 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.4651232063770294 - }, - "else": { - "operation": "boost", - "score": 0.07276342064142227 - } + "operation": "boost", + "score": -0.3252536654472351 } } - }, - "else": { - "operation": "boost", - "score": -0.5588502287864685 } - }, - "else": { - "operation": "boost", - "score": 0.07140057533979416 } }, "else": { - "operation": "boost", - "score": -1.2691960334777832 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 659.5, - "then": { - "operation": "boost", - "score": 0.10086660832166672 - }, - "else": { - "operation": "boost", - "score": 0.13276275992393494 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3083.0, - "then": { - "operation": "boost", - "score": 0.0927153155207634 - }, - "else": { - "operation": "boost", - "score": 0.04613327980041504 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1011.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3192.5, + "threshold": 23701.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 24227.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.17901504039764404 + }, + "else": { + "operation": "boost", + "score": 0.11175227165222168 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24093.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.16809910535812378 + "score": 0.06442433595657349 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "boost", + "score": 0.11088764667510986 + } + }, + "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.11081051081418991 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 23872.5, "then": { "operation": "boost", - "score": 0.07235854864120483 + "score": -0.10449951142072678 }, "else": { - "operation": "boost", - "score": 0.11224465817213058 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06354279816150665 + }, + "else": { + "operation": "boost", + "score": 0.09275268763303757 + } } - }, - "else": { - "operation": "boost", - "score": -0.03192984685301781 } + }, + "else": { + "operation": "boost", + "score": 0.08161254227161407 } - }, - "else": { - "operation": "boost", - "score": 0.1148589476943016 } - }, - "else": { - "operation": "boost", - "score": 0.0004741361190099269 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.32594358921051025 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.08412657678127289 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8978.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9213.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10967.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14555.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.038773030042648315 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08660639077425003 + }, + "else": { + "operation": "boost", + "score": 0.10230939835309982 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.21839463710784912 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11560484021902084 + } + }, + "else": { + "operation": "boost", + "score": 0.0019269773038104177 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.11088556051254272 + }, + "else": { + "operation": "boost", + "score": 0.11619365960359573 + } + }, + "else": { + "operation": "boost", + "score": 0.030601978302001953 + } + }, + "else": { + "operation": "boost", + "score": 0.021598560735583305 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027856241911649704 + } }, "else": { - "operation": "boost", - "score": -0.3771739602088928 + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14649.0, + "then": { + "operation": "boost", + "score": 0.19664829969406128 + }, + "else": { + "operation": "boost", + "score": 0.13677996397018433 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06052790582180023 + }, + "else": { + "operation": "boost", + "score": 0.10906316339969635 + } + } + }, + "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": 825.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 857.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 986.5, + "threshold": 8158.0, "then": { - "operation": "boost", - "score": 0.15135586261749268 + "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 + } + } }, "else": { - "operation": "boost", - "score": -0.1494504064321518 + "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 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.16846926510334015 } - }, - "else": { - "operation": "boost", - "score": 0.04567382112145424 } + }, + "else": { + "operation": "boost", + "score": 0.014804106205701828 } } - }, - "else": { - "operation": "boost", - "score": -0.0003297872026450932 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.13321691751480103 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.001320278039202094 - } - }, - "else": { - "operation": "boost", - "score": -0.00037857741699554026 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.016047347337007523 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0865354835987091 - }, - "else": { - "operation": "boost", - "score": -0.12398187071084976 - } - }, - "else": { - "operation": "boost", - "score": 0.007559485267847776 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007091642823070288 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.016137976199388504 - }, - "else": { - "operation": "boost", - "score": -0.009026871994137764 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.0, - "then": { - "operation": "boost", - "score": 0.06877124309539795 - }, - "else": { - "operation": "boost", - "score": 0.11435475945472717 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.01663830131292343 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "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": 9.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11164785921573639 + "score": -0.1198887974023819 }, "else": { "operation": "boost", - "score": -0.15312045812606812 + "score": 0.09922939538955688 } }, "else": { "operation": "boost", - "score": -0.10187138617038727 + "score": -0.005309075582772493 } - }, - "else": { - "operation": "boost", - "score": -0.06247011199593544 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9626.0, - "then": { - "operation": "boost", - "score": -0.06995437294244766 - }, - "else": { - "operation": "boost", - "score": 0.0001324424083577469 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 3824.0, "then": { "operation": "boost", - "score": 0.027133893221616745 + "score": -1.1102079153060913 }, "else": { - "operation": "boost", - "score": 0.00447690486907959 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.004561835899949074 + "score": -0.09096372872591019 }, "else": { "operation": "boost", - "score": -0.08717361092567444 + "score": 0.12393452972173691 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.09957420080900192 }, "else": { "operation": "boost", - "score": -0.010702229104936123 + "score": 0.10191347450017929 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + }, + "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.00861631240695715 + "score": 0.008383634500205517 }, "else": { "operation": "boost", - "score": 0.0654992014169693 + "score": -0.10667984932661057 } - }, - "else": { - "operation": "boost", - "score": -0.051097746938467026 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "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": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.0005472165648825467 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.011823105625808239 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.0, - "then": { - "operation": "boost", - "score": -0.4514411389827728 - }, - "else": { - "operation": "boost", - "score": 0.10373786091804504 - } - }, - "else": { - "operation": "boost", - "score": -0.1607600301504135 - } - }, - "else": { - "operation": "boost", - "score": 0.12441208958625793 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.036403633654117584 - }, - "else": { - "operation": "boost", - "score": -0.18470698595046997 - } - } + "operation": "boost", + "score": 0.03585141897201538 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1854.0, + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2192.0, - "then": { - "operation": "boost", - "score": 0.04675537720322609 - }, - "else": { - "operation": "boost", - "score": 0.11790302395820618 - } + "operation": "boost", + "score": 0.06938082724809647 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 194.0, - "then": { - "operation": "boost", - "score": -0.07880204170942307 - }, - "else": { - "operation": "boost", - "score": 0.10705357789993286 - } - }, - "else": { - "operation": "boost", - "score": -0.07319895178079605 - } - }, - "else": { - "operation": "boost", - "score": 0.10569695383310318 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.06380453705787659 - }, - "else": { - "operation": "boost", - "score": -0.5487062931060791 - } - }, - "else": { - "operation": "boost", - "score": -0.08047863095998764 - } - } + "operation": "boost", + "score": 0.10389994829893112 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10909205675125122 - }, - "else": { - "operation": "boost", - "score": -0.0051793442107737064 - } + "operation": "boost", + "score": 0.07473351061344147 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09860844165086746 - }, - "else": { - "operation": "boost", - "score": -0.12646135687828064 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11735986173152924 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.2891005575656891 - }, - "else": { - "operation": "boost", - "score": 0.11418146640062332 - } - } - } + "operation": "boost", + "score": -0.12375029176473618 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.1058899387717247 + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.003013435984030366 + "score": 0.1537100374698639 }, "else": { - "operation": "boost", - "score": -0.036847397685050964 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11857855319976807 + }, + "else": { + "operation": "boost", + "score": 0.14737381041049957 + } } + }, + "else": { + "operation": "boost", + "score": 0.3494124710559845 } }, "else": { - "operation": "boost", - "score": 0.032460205256938934 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.016983916983008385 + "score": 0.009860390797257423 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -1.0446230173110962 + "score": 0.03947374224662781 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "boost", + "score": 0.09205294400453568 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.03171803429722786 + "score": 0.09835256636142731 }, "else": { "operation": "boost", - "score": 0.12118861079216003 + "score": -0.44468948245048523 } - }, - "else": { - "operation": "boost", - "score": 0.09801987558603287 } } } }, "else": { - "operation": "boost", - "score": -0.020781055092811584 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.22736483812332153 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.08074765652418137 + "score": 0.09706006199121475 }, "else": { "operation": "boost", - "score": -0.275274395942688 + "score": -0.037799686193466187 } + }, + "else": { + "operation": "boost", + "score": 0.04079410061240196 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.02457071654498577 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.10214284807443619 + "score": 0.07118396461009979 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.1395709365606308 - }, - "else": { - "operation": "boost", - "score": 0.10823086649179459 - } - }, - "else": { - "operation": "boost", - "score": -0.3052441477775574 - } + "operation": "boost", + "score": -0.2115284651517868 } } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.030442185699939728 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10043615847826004 + }, + "else": { + "operation": "boost", + "score": -0.1174759492278099 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.11159104108810425 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.16266386210918427 + "score": 0.11978894472122192 }, "else": { "operation": "boost", - "score": -0.006716256961226463 + "score": 0.1341351568698883 } }, "else": { - "operation": "boost", - "score": 0.059318214654922485 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.08363352715969086 + "score": -0.17058111727237701 }, "else": { "operation": "boost", - "score": -0.05778129771351814 + "score": 0.10572981834411621 } - }, - "else": { + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.11468446999788284 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "boost", + "score": -0.06418168544769287 + }, + "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.061328377574682236 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.13245801627635956 + }, + "else": { + "operation": "boost", + "score": 0.08818858116865158 + } }, "else": { "operation": "boost", - "score": 0.1238294169306755 + "score": -0.18370117247104645 } + } + }, + "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.10063698887825012 + "score": -0.33916619420051575 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07849424332380295 + }, + "else": { + "operation": "boost", + "score": 0.06991683691740036 + } } } + }, + "else": { + "operation": "boost", + "score": -0.04489394649863243 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "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": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 341.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 471.5, "then": { - "operation": "boost", - "score": -0.005916582886129618 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 548.0, + "then": { + "operation": "boost", + "score": -0.26498255133628845 + }, + "else": { + "operation": "boost", + "score": 0.1468205600976944 + } }, "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": "NumReferences", - "threshold": 6228.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6390.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.011852193623781204 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 113.5, "then": { + "operation": "boost", + "score": 0.08836523443460464 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 82.0, "then": { "operation": "boost", - "score": 0.1196354553103447 + "score": -0.7048563957214355 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 69.0, "then": { "operation": "boost", - "score": 0.09586285799741745 + "score": 0.11259346455335617 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6388.5, + "threshold": 51.0, "then": { + "operation": "boost", + "score": -0.653089702129364 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { - "operation": "boost", - "score": 0.10956844687461853 + "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.10272935032844543 + "score": 0.1264055371284485 } }, "else": { "operation": "boost", - "score": 0.06825829297304153 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.334211528301239 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11944399774074554 - }, - "else": { - "operation": "boost", - "score": 0.11198028177022934 - } + "score": -0.044162798672914505 } } } } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.05253228545188904 }, "else": { "operation": "boost", - "score": -0.04067307338118553 + "score": -0.04196186736226082 } } - }, - "else": { - "operation": "boost", - "score": 0.01499416958540678 } + }, + "else": { + "operation": "boost", + "score": -0.7329940795898438 } }, "else": { "operation": "boost", - "score": 0.004025277681648731 + "score": -0.16300928592681885 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9065.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10163340717554092 - }, - "else": { - "operation": "boost", - "score": 0.10063100606203079 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3166.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.5548511743545532 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 688.0, + "threshold": 73.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 77.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2163.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.1318100243806839 + "score": 0.11963906139135361 }, "else": { "operation": "boost", - "score": 0.19296401739120483 + "score": 0.02975742146372795 } }, "else": { "operation": "boost", - "score": 0.12207599729299545 + "score": 0.147582545876503 } }, "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": "NumReferences", - "threshold": 175.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.2513517737388611 + "score": 0.024875197559595108 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08613468706607819 + "score": 0.07114722579717636 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.08434567600488663 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.03011513687670231 + "score": 0.1430804431438446 }, "else": { - "operation": "boost", - "score": 0.0704205185174942 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 151.0, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.04013461992144585 + "score": 0.13438349962234497 }, "else": { "operation": "boost", - "score": 0.09937433153390884 + "score": 0.12295523285865784 } - }, - "else": { - "operation": "boost", - "score": 0.012041239999234676 } } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 1.5532363653182983 + }, + "else": { + "operation": "boost", + "score": -0.33138176798820496 + } + }, + "else": { + "operation": "boost", + "score": 0.10290662199258804 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.014349429868161678 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.11280368268489838 + }, + "else": { + "operation": "boost", + "score": 0.07757479697465897 + } } + }, + "else": { + "operation": "boost", + "score": 0.10841555893421173 } }, "else": { "operation": "boost", - "score": -0.007484344765543938 + "score": -0.10302449762821198 } } }, "else": { - "operation": "boost", - "score": -0.06549414992332458 + "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 + } + } } } } @@ -243179,744 +244354,1351 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1896.0, + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 257.5, "then": { - "operation": "boost", - "score": 0.12486381828784943 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.019347794353961945 + } + } }, "else": { - "operation": "boost", - "score": -0.9712957143783569 - } - }, - "else": { - "operation": "boost", - "score": -0.04108823090791702 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.025166720151901245 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13176128268241882 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.020178545266389847 + }, + "else": { + "operation": "boost", + "score": 0.278547465801239 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.11904450505971909 + }, + "else": { + "operation": "boost", + "score": 0.12024897336959839 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0430031418800354 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.9399462938308716 + }, + "else": { + "operation": "boost", + "score": 0.02240973897278309 + } + }, + "else": { + "operation": "boost", + "score": -0.05981216952204704 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0395403616130352 + }, + "else": { + "operation": "boost", + "score": -0.21952542662620544 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.17868472635746002 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.26924532651901245 + }, + "else": { + "operation": "boost", + "score": 0.00801692996174097 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.03989424556493759 + }, + "else": { + "operation": "boost", + "score": 0.018861623480916023 + } + } + } } } + }, + "else": { + "operation": "boost", + "score": 0.01802072674036026 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + } + }, + "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": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 232885.0, "then": { + "operation": "boost", + "score": 0.018861528486013412 + }, + "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.08965470641851425 + "score": -0.9632329940795898 }, "else": { "operation": "boost", - "score": 0.005447221454232931 + "score": -0.20064540207386017 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.007834178395569324 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204563.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 15.0, "then": { - "operation": "boost", - "score": -0.136294886469841 + "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": 17.0, + "then": { + "operation": "boost", + "score": -0.042006660252809525 + }, + "else": { + "operation": "boost", + "score": 0.09463946521282196 + } + }, + "else": { + "operation": "boost", + "score": -0.10907211154699326 + } }, "else": { "operation": "boost", - "score": 1.6059589385986328 + "score": 0.050334036350250244 } }, "else": { "operation": "boost", - "score": 0.11988049745559692 + "score": 0.10568984597921371 } }, "else": { + "operation": "boost", + "score": 0.03816407918930054 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope", - "FunctionScope" + "CCC_Statement", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.05436353012919426 + }, + "else": { + "operation": "boost", + "score": 0.01603144034743309 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1864.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2663.0, - "then": { - "operation": "boost", - "score": 0.07036082446575165 - }, - "else": { - "operation": "boost", - "score": 0.11990167945623398 - } + "operation": "boost", + "score": 0.12831269204616547 }, "else": { "operation": "boost", - "score": -0.1168045923113823 + "score": -0.17591996490955353 } }, "else": { - "operation": "boost", - "score": -1.7130190134048462 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.07983196526765823 + }, + "else": { + "operation": "boost", + "score": 0.6775498986244202 + } } }, "else": { "operation": "boost", - "score": -0.5155287384986877 + "score": 0.08456474542617798 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0033540658187121153 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026679454371333122 + }, + "else": { + "operation": "boost", + "score": 0.05669360235333443 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.03832484409213066 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06798110902309418 + "score": 0.029036905616521835 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "boost", + "score": 0.04053816571831703 + }, + "else": { + "operation": "boost", + "score": 0.08982595056295395 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0478372685611248 + }, + "else": { + "operation": "boost", + "score": 0.10744226723909378 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013070895336568356 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19775372743606567 + }, + "else": { + "operation": "boost", + "score": -0.03739601746201515 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "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": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09172490984201431 + "score": 0.10274937003850937 }, "else": { "operation": "boost", - "score": -0.12165475636720657 + "score": 0.1262647956609726 } }, "else": { "operation": "boost", - "score": 0.14648914337158203 + "score": 0.10095318406820297 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.06448664516210556 + }, + "else": { + "operation": "boost", + "score": 0.12747874855995178 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "boost", + "score": -0.15191099047660828 }, "else": { "operation": "boost", - "score": 0.10692773759365082 + "score": 0.07799927890300751 } } }, "else": { "operation": "boost", - "score": -0.018089042976498604 + "score": 0.021107885986566544 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.9915549755096436 + "score": -0.5768528580665588 }, "else": { "operation": "boost", - "score": -0.11717112362384796 + "score": -0.13208819925785065 } } + }, + "else": { + "operation": "boost", + "score": 0.054419733583927155 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 167779.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.05889385938644409 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 196353.5, + "then": { + "operation": "boost", + "score": -0.12372381240129471 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08312270790338516 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.008100307546555996 + }, + "else": { + "operation": "boost", + "score": 0.10492578148841858 + } + }, + "else": { + "operation": "boost", + "score": -0.21380206942558289 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010651192627847195 + } + } }, "else": { - "operation": "boost", - "score": 0.06630974262952805 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11145269125699997 + }, + "else": { + "operation": "boost", + "score": -0.18584361672401428 + } } }, "else": { - "operation": "boost", - "score": -0.066327303647995 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.08321207761764526 + }, + "else": { + "operation": "boost", + "score": -0.10279015451669693 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0753999799489975 + }, + "else": { + "operation": "boost", + "score": 0.004501848015934229 + } + } } }, "else": { "operation": "boost", - "score": 0.10934604704380035 + "score": -0.019870104268193245 } }, "else": { - "operation": "boost", - "score": -0.00724110659211874 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.00880824588239193 - }, - "else": { - "operation": "boost", - "score": -0.04587330296635628 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0003471529053058475 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.03455062955617905 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 114921.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3648.0, + "threshold": 129672.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3680.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.0198780857026577 + "score": -0.03190569207072258 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.103279247879982 + "score": -0.1563921421766281 }, "else": { "operation": "boost", - "score": -0.12548044323921204 + "score": 0.04564862325787544 } }, "else": { - "operation": "boost", - "score": 0.15608012676239014 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.19218063354492188 + }, + "else": { + "operation": "boost", + "score": 0.06392879039049149 + } + }, + "else": { + "operation": "boost", + "score": 0.10163265466690063 + } } } }, "else": { - "operation": "boost", - "score": 0.013229534029960632 + "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 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23935.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, + "feature": "FileProximityDistance", + "threshold": 22.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93746.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.0495062917470932 + "score": -2.9826931953430176 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.07459323108196259 - }, - "else": { - "operation": "boost", - "score": 0.038130227476358414 - } + "operation": "boost", + "score": 0.05258181318640709 } }, "else": { - "operation": "boost", - "score": -0.7012007832527161 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.025808440521359444 + "score": 0.0878627747297287 }, "else": { "operation": "boost", - "score": -0.10944060981273651 + "score": 0.10129183530807495 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.06028907373547554 + "score": 0.08755278587341309 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220925.5, - "then": { - "operation": "boost", - "score": 0.02426360361278057 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06359405815601349 - }, - "else": { - "operation": "boost", - "score": 0.037859346717596054 - } - } + "operation": "boost", + "score": -2.1559653282165527 } } }, + "else": { + "operation": "boost", + "score": -0.04652903601527214 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "boost", + "score": -0.22154691815376282 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 148872.5, + "threshold": 93657.0, + "then": { + "operation": "boost", + "score": 0.06841582804918289 + }, + "else": { + "operation": "boost", + "score": 0.04687878489494324 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10681731253862381 + "score": 0.0963914766907692 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114340.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.09259973466396332 + "score": 0.08218677341938019 }, "else": { - "operation": "boost", - "score": 0.11412706226110458 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.14189018309116364 + }, + "else": { + "operation": "boost", + "score": 0.08305387198925018 + } } } + }, + "else": { + "operation": "boost", + "score": 0.03679914027452469 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09862205386161804 + } + }, + "else": { + "operation": "boost", + "score": -0.060743581503629684 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00802328996360302 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.021519774571061134 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91274.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92148.5, + "then": { + "operation": "boost", + "score": -0.11027367413043976 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03633487597107887 }, "else": { "operation": "boost", - "score": -0.05100160837173462 + "score": 0.10422708094120026 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108013.0, "then": { "operation": "boost", - "score": -0.14952075481414795 + "score": 0.13280701637268066 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.13401171565055847 + }, + "else": { + "operation": "boost", + "score": -0.022527674213051796 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102876.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.09913288801908493 + "score": -0.1898101568222046 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.04051687568426132 + "score": 0.08992201834917068 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.08874339610338211 + "score": -0.23955577611923218 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73165.5, - "then": { - "operation": "boost", - "score": -0.05310606211423874 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.008719086647033691 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67668.5, - "then": { - "operation": "boost", - "score": 0.08405997604131699 - }, - "else": { - "operation": "boost", - "score": 0.06766548752784729 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67668.5, - "then": { - "operation": "boost", - "score": 0.08350463211536407 - }, - "else": { - "operation": "boost", - "score": 0.025890756398439407 - } - } - }, - "else": { - "operation": "boost", - "score": -0.3978009819984436 - } + "operation": "boost", + "score": 0.06460661441087723 } } } + }, + "else": { + "operation": "boost", + "score": -0.045493513345718384 } - }, - "else": { - "operation": "boost", - "score": 0.10387513041496277 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 97784.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10533898323774338 - }, - "else": { - "operation": "boost", - "score": -0.0579870343208313 - } + "operation": "boost", + "score": 0.020827781409025192 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28247.0, + "threshold": 93657.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29484.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33508.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47029.0, - "then": { - "operation": "boost", - "score": 0.013403934426605701 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46485.0, - "then": { - "operation": "boost", - "score": 0.13538962602615356 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2737073302268982 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.3915261924266815 - }, - "else": { - "operation": "boost", - "score": 0.054975476115942 - } - }, - "else": { - "operation": "boost", - "score": 0.0985085666179657 - } - } - } - } + "operation": "boost", + "score": -0.11188798397779465 }, "else": { "operation": "boost", - "score": -0.08666875958442688 + "score": 0.07357277721166611 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11609164625406265 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32329.5, - "then": { - "operation": "boost", - "score": 0.12490203231573105 - }, - "else": { - "operation": "boost", - "score": 0.06339184194803238 - } - } + "operation": "boost", + "score": -0.7416446208953857 } }, "else": { - "operation": "boost", - "score": -0.26202642917633057 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.08908560872077942 + }, + "else": { + "operation": "boost", + "score": 0.1030626893043518 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27163.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.1463826298713684 + "score": 0.04677218198776245 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.07341615855693817 - }, - "else": { - "operation": "boost", - "score": -0.1153993085026741 - } + "operation": "boost", + "score": -0.14599435031414032 } } } @@ -243925,2377 +245707,2462 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1298854649066925 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23281.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.2067287713289261 - }, - "else": { - "operation": "boost", - "score": -0.14529798924922943 - } + "operation": "boost", + "score": -0.10234072059392929 }, "else": { "operation": "boost", - "score": 0.019311361014842987 + "score": 0.1105690523982048 } + }, + "else": { + "operation": "boost", + "score": -0.1238141879439354 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2241523712873459 + "score": -0.016217947006225586 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.06333870440721512 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03954344987869263 - }, - "else": { - "operation": "boost", - "score": 0.10836241394281387 - } + "operation": "boost", + "score": 0.07429914176464081 }, "else": { "operation": "boost", - "score": -0.03258277475833893 + "score": 0.08852383494377136 } - }, - "else": { - "operation": "boost", - "score": -0.11079250276088715 } } } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12505796551704407 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.20143763720989227 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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": 13537.0, + "threshold": 183.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.006440675351768732 + "score": 0.0008257080335170031 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 204.5, "then": { - "operation": "boost", - "score": -0.24832789599895477 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18301.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "boost", - "score": -0.03220631927251816 - }, - "else": { - "operation": "boost", - "score": 0.06011706963181496 - } + "operation": "boost", + "score": -0.04156972095370293 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16175.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.6107710003852844 + "score": 0.06941788643598557 }, "else": { - "operation": "boost", - "score": -0.12395860999822617 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10468878597021103 + }, + "else": { + "operation": "boost", + "score": 0.11372073739767075 + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.23123419284820557 - }, - "else": { - "operation": "boost", - "score": 0.025575777515769005 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11886.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12320.0, - "then": { - "operation": "boost", - "score": -0.042577192187309265 }, "else": { "operation": "boost", - "score": 0.09502992033958435 + "score": 0.10408541560173035 } }, "else": { - "operation": "boost", - "score": 0.11124201118946075 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13468.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.17212238907814026 - }, - "else": { - "operation": "boost", - "score": 0.4397542178630829 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "feature": "NumReferences", + "threshold": 508.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 523.5, "then": { - "operation": "boost", - "score": 0.10628204792737961 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13290.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.1089615598320961 + "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": "boost", - "score": 0.25520646572113037 + "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 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12997.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13067.5, + "threshold": 186.5, "then": { "operation": "boost", - "score": 0.2084449678659439 + "score": 0.05727195367217064 }, "else": { - "operation": "boost", - "score": 0.150756374001503 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.1021253913640976 + }, + "else": { + "operation": "boost", + "score": 0.09715889394283295 + } } }, "else": { "operation": "boost", - "score": 0.06031319126486778 + "score": -0.05964173376560211 } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1096.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_SymbolOrNewName", + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.17187725007534027 - }, - "else": { - "operation": "boost", - "score": -0.03367135673761368 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.04414844885468483 - }, - "else": { - "operation": "boost", - "score": -0.3249768316745758 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.07686015218496323 - }, - "else": { - "operation": "boost", - "score": -0.010883528739213943 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 812.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 835.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14060810208320618 - }, - "else": { - "operation": "boost", - "score": -0.15909044444561005 - } + "score": 0.103324756026268 }, "else": { - "operation": "boost", - "score": 0.1186424270272255 - } - }, - "else": { - "operation": "boost", - "score": 0.07177857309579849 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 988.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 989.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1008.5, + "threshold": 180.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1023.5, - "then": { - "operation": "boost", - "score": 0.1286121904850006 - }, - "else": { - "operation": "boost", - "score": 0.08390363305807114 - } - }, - "else": { - "operation": "boost", - "score": -0.13734720647335052 - } + "operation": "boost", + "score": 0.13763149082660675 }, "else": { "operation": "boost", - "score": 0.03514041751623154 + "score": -0.24623745679855347 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.15373648703098297 - }, - "else": { - "operation": "boost", - "score": 0.13990148901939392 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10077650099992752 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 788.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 936.0, + "threshold": 174.5, "then": { - "operation": "boost", - "score": -0.927029013633728 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 177.0, + "then": { + "operation": "boost", + "score": 0.2203044295310974 + }, + "else": { + "operation": "boost", + "score": 0.12700727581977844 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 865.0, + "threshold": 144.5, "then": { "operation": "boost", - "score": 0.18073232471942902 + "score": 0.014120208099484444 }, "else": { - "operation": "boost", - "score": 0.011384655721485615 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 140.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12087619304656982 + }, + "else": { + "operation": "boost", + "score": -0.12597578763961792 + } + }, + "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 + } + } } } }, "else": { - "operation": "boost", - "score": -0.4773922562599182 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 692.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 111.5, "then": { "operation": "boost", - "score": 0.10373418778181076 + "score": 0.025382783263921738 }, "else": { "operation": "boost", - "score": 0.11090265214443207 + "score": 0.1205490455031395 } - }, - "else": { - "operation": "boost", - "score": -0.06848399341106415 } } - }, - "else": { - "operation": "boost", - "score": -0.0013498099287971854 } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7768.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.04878081753849983 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23252.5, + "threshold": 114.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, - "then": { - "operation": "boost", - "score": -0.8071089386940002 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.20309580862522125 - }, - "else": { - "operation": "boost", - "score": 0.05405811220407486 - } - } + "operation": "boost", + "score": 0.05822465941309929 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.04526318982243538 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14158.5, + "threshold": 113.5, "then": { "operation": "boost", - "score": -3.073795795440674 + "score": 0.13097618520259857 }, "else": { "operation": "boost", - "score": -0.44779670238494873 + "score": -0.22968271374702454 } + }, + "else": { + "operation": "boost", + "score": 0.044026292860507965 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1083376333117485 - }, - "else": { - "operation": "boost", - "score": 0.11164234578609467 - } - }, - "else": { - "operation": "boost", - "score": 0.36314383149147034 - } } }, "else": { "operation": "boost", - "score": -0.03712322190403938 + "score": 0.027214914560317993 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, + } + }, + "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" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7477.0, + "threshold": 2252.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { - "operation": "boost", - "score": 0.1560443788766861 - }, - "else": { - "operation": "boost", - "score": -0.02449868991971016 - } + "operation": "boost", + "score": 0.14553318917751312 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.0865425392985344 - }, - "else": { - "operation": "boost", - "score": 0.13564810156822205 - } + "operation": "boost", + "score": 0.02170334756374359 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5280.5, + "threshold": 1662.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5914.0, - "then": { - "operation": "boost", - "score": 0.02015784941613674 - }, - "else": { - "operation": "boost", - "score": 0.09898041188716888 - } - }, - "else": { - "operation": "boost", - "score": 0.021258944645524025 - } + "operation": "boost", + "score": -0.1678009182214737 }, "else": { "operation": "boost", - "score": 0.17893707752227783 + "score": -0.0035083331167697906 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3748.5, - "then": { - "operation": "boost", - "score": -0.07630624622106552 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3229.0, + "threshold": 179.5, "then": { + "operation": "boost", + "score": -0.11866634339094162 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3251.5, + "threshold": 172.5, "then": { - "operation": "boost", - "score": 0.1068536788225174 - }, - "else": { - "operation": "boost", - "score": 0.10604828596115112 - } - }, - "else": { - "operation": "boost", - "score": 0.01217624545097351 - } + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11775092780590057 + }, + "else": { + "operation": "boost", + "score": -0.15889328718185425 + } + }, + "else": { + "operation": "boost", + "score": -0.043129242956638336 + } + } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09243647009134293 - }, - "else": { - "operation": "boost", - "score": -0.12727822363376617 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0013840078609064221 - } - }, - "else": { - "operation": "boost", - "score": -0.0003761719272006303 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, - "then": { - "operation": "boost", - "score": 0.006754576228559017 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.0, - "then": { - "operation": "boost", - "score": 0.11053626239299774 - }, - "else": { - "operation": "boost", - "score": -0.12648485600948334 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.04786716029047966 - }, - "else": { - "operation": "boost", - "score": 0.127114936709404 - } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Constructor", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 395.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.025921856984496117 + "score": -0.07510194927453995 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12543486058712006 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.04610450565814972 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 122.0, + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.04990680515766144 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.12958233058452606 + "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": "NumReferences", - "threshold": 206.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.15789787471294403 + "score": -1.2583636045455933 }, "else": { "operation": "boost", - "score": 0.07772255688905716 + "score": 0.08467915654182434 } } + } + }, + "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.11191094666719437 + "score": -0.41252630949020386 } - }, - "else": { - "operation": "boost", - "score": 0.0807594582438469 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09324606508016586 - }, - "else": { - "operation": "boost", - "score": -0.261335551738739 } } + }, + "else": { + "operation": "boost", + "score": -0.011524293571710587 } } }, "else": { - "operation": "boost", - "score": -0.020395981147885323 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16362.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18783.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10819359123706818 + }, + "else": { + "operation": "boost", + "score": 0.1754177063703537 + } + }, + "else": { + "operation": "boost", + "score": 0.08576332032680511 + } + }, + "else": { + "operation": "boost", + "score": -0.060169391334056854 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32342.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 85788.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, + "operation": "boost", + "score": -0.1882905662059784 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.010881743393838406 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93017.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.10323575884103775 + "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.23721595108509064 + "score": 0.08242727071046829 } }, "else": { - "operation": "boost", - "score": 0.08364401012659073 + "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": "NumReferences", - "threshold": 68531.0, - "then": { - "operation": "boost", - "score": -0.20051495730876923 }, "else": { - "operation": "boost", - "score": -0.017231279984116554 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25461.0, - "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.10013700276613235 + "score": 0.04109983891248703 }, "else": { - "operation": "boost", - "score": 0.051214177161455154 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23639.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24475.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.06583692878484726 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.1193108856678009 + }, + "else": { + "operation": "boost", + "score": 0.11367261409759521 + } }, "else": { "operation": "boost", - "score": -1.8424793481826782 + "score": 0.05036367475986481 } - }, - "else": { - "operation": "boost", - "score": 0.00995137169957161 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.009853770025074482 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 303.5, + "then": { + "operation": "boost", + "score": 0.016557427123188972 + }, + "else": { + "operation": "boost", + "score": 0.16327694058418274 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11328981071710587 + }, + "else": { + "operation": "boost", + "score": 0.11813759058713913 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11736618727445602 + }, + "else": { + "operation": "boost", + "score": -0.22044648230075836 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.001643267460167408 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 98.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31239.0, + "threshold": 101.5, "then": { "operation": "boost", - "score": 0.11216498166322708 + "score": -0.00042185778147540987 }, "else": { "operation": "boost", - "score": -0.16166046261787415 + "score": 0.12907543778419495 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22914.5, + "operation": "boost", + "score": -0.08128846436738968 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 31879.0, + "threshold": 26.0, "then": { "operation": "boost", - "score": -0.068461112678051 + "score": 0.05023809149861336 }, "else": { + "operation": "boost", + "score": 0.11293022334575653 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29601.0, + "threshold": 31.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10059594362974167 - }, - "else": { - "operation": "boost", - "score": 0.06017223373055458 - } + "operation": "boost", + "score": 0.10658109933137894 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26223.5, + "threshold": 26.5, "then": { "operation": "boost", - "score": -0.1366811841726303 + "score": 0.11599211394786835 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.09743717312812805 + "score": -0.05098200589418411 }, "else": { "operation": "boost", - "score": -0.2946058213710785 + "score": 0.11422167718410492 } } } + }, + "else": { + "operation": "boost", + "score": -0.003094401676207781 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.11515689641237259 + "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 + } }, "else": { - "operation": "boost", - "score": 0.06837921589612961 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.12801535427570343 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04184556007385254 + }, + "else": { + "operation": "boost", + "score": 0.09298670291900635 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.030515681952238083 } } } + }, + "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.018750259652733803 + "score": 0.028728563338518143 } }, "else": { - "operation": "boost", - "score": -0.11307986080646515 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12576.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 66.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13627.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.1667841672897339 + "score": 0.12974846363067627 }, "else": { - "operation": "boost", - "score": -0.10711019486188889 + "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": "NumReferences", - "threshold": 13507.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11525177210569382 + "score": -0.07376749813556671 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13196.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.10505417734384537 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.2866542339324951 + "score": -0.41931089758872986 }, "else": { "operation": "boost", - "score": 0.18999314308166504 + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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 + }, + "else": { + "operation": "boost", + "score": -0.0016804623883217573 + } + }, + "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.7577286958694458 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.2232036292552948 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 858647.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06352725625038147 + "score": 0.11600559204816818 }, "else": { "operation": "boost", - "score": 0.11959019303321838 + "score": 0.10687128454446793 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05248893052339554 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14457.5, - "then": { - "operation": "boost", - "score": 0.10708019882440567 - }, - "else": { - "operation": "boost", - "score": 0.02842528186738491 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1310521364212036 - } + "operation": "boost", + "score": 0.09032092243432999 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08588755875825882 - }, - "else": { - "operation": "boost", - "score": -0.08263920247554779 - } + "operation": "boost", + "score": 0.009598036296665668 } + }, + "else": { + "operation": "boost", + "score": -0.6179294586181641 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", + "Function", "Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.09949774295091629 - }, - "else": { - "operation": "boost", - "score": -0.6578595638275146 - } + "operation": "boost", + "score": -0.016423799097537994 + }, + "else": { + "operation": "boost", + "score": -0.397688627243042 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.4385615885257721 }, "else": { "operation": "boost", - "score": -0.03795617073774338 + "score": 0.12678831815719604 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6228.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6388.5, + "threshold": 90736.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1043044701218605 - }, - "else": { - "operation": "boost", - "score": -0.38217851519584656 - } + "operation": "boost", + "score": 0.035681869834661484 }, "else": { "operation": "boost", - "score": 0.014435955323278904 + "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.0, + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11674533784389496 + "score": 0.09733376652002335 }, "else": { - "operation": "boost", - "score": 0.11279892921447754 + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.09765000641345978 + "score": 0.04496099427342415 }, "else": { - "operation": "boost", - "score": -0.007882925681769848 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12461510300636292 - }, - "else": { - "operation": "boost", - "score": 0.04572877287864685 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "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.11014940589666367 + "score": 0.043301377445459366 }, "else": { "operation": "boost", - "score": -0.10178980976343155 + "score": 0.16471201181411743 } - }, - "else": { - "operation": "boost", - "score": 0.11302167922258377 } - }, - "else": { - "operation": "boost", - "score": -0.007562633138149977 } + }, + "else": { + "operation": "boost", + "score": 0.0419568195939064 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 98088.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.008731475099921227 - }, - "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": 133.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 279.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 333.5, - "then": { - "operation": "boost", - "score": 0.00880883913487196 - }, - "else": { - "operation": "boost", - "score": 0.09470347315073013 - } - }, - "else": { - "operation": "boost", - "score": -0.32193493843078613 - } - }, - "else": { - "operation": "boost", - "score": 0.13759472966194153 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 612.0, - "then": { - "operation": "boost", - "score": 0.07099231332540512 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09873639792203903 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.09353553503751755 - }, - "else": { - "operation": "boost", - "score": 0.12037114053964615 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.5, - "then": { - "operation": "boost", - "score": -0.09608576446771622 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.18139760196208954 - }, - "else": { - "operation": "boost", - "score": 0.11293314397335052 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 231.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266.5, - "then": { - "operation": "boost", - "score": -0.13238739967346191 - }, - "else": { - "operation": "boost", - "score": 0.12160871922969818 - } - }, - "else": { - "operation": "boost", - "score": 0.0317920446395874 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.3081780672073364 - } - }, - "else": { - "operation": "boost", - "score": -0.05509908124804497 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.03157560154795647 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10630011558532715 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.0, - "then": { - "operation": "boost", - "score": 0.07262837141752243 - }, - "else": { - "operation": "boost", - "score": 0.1192927435040474 - } - }, - "else": { - "operation": "boost", - "score": -0.16421495378017426 - } - } - } - } - } + "operation": "boost", + "score": 0.12997406721115112 }, "else": { "operation": "boost", - "score": 0.0032909014262259007 + "score": 0.006277697626501322 } } } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.0, - "then": { - "operation": "boost", - "score": -0.23444139957427979 - }, - "else": { - "operation": "boost", - "score": 0.11061599850654602 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.03484034538269043 }, "else": { - "operation": "boost", - "score": 0.023492561653256416 + "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 + } + } + }, + "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" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.09529290348291397 + } + } + } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.00037217725184746087 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 54992.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03681964427232742 + "score": -0.0019593392498791218 }, "else": { - "operation": "boost", - "score": -0.10644606500864029 + "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, + "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": "boost", - "score": -0.023520100861787796 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "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": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.025252072140574455 + "score": 0.07090941816568375 }, "else": { "operation": "boost", - "score": -0.0032339561730623245 + "score": 0.0941537544131279 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "NumReferences", + "threshold": 5270.5, "then": { - "operation": "boost", - "score": -0.007767750881612301 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.018921593204140663 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.16124245524406433 + "score": 0.024469753727316856 }, "else": { "operation": "boost", - "score": 0.09082137793302536 + "score": 0.06469163298606873 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 5517.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08197662979364395 + }, + "else": { + "operation": "boost", + "score": 0.017685119062662125 + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 5397.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.004862459842115641 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.05403446778655052 + "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": "NumReferences", + "feature": "FilterLength", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11325487494468689 + "score": 0.0044473265297710896 }, "else": { "operation": "boost", - "score": 0.03288651630282402 + "score": 0.10384680330753326 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5439.5, + "then": { + "operation": "boost", + "score": 0.17470704019069672 + }, + "else": { + "operation": "boost", + "score": -0.35428622364997864 + } } }, + "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": 9.5, + "threshold": 23548.5, "then": { + "operation": "boost", + "score": 0.1598517745733261 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09630802273750305 + }, + "else": { + "operation": "boost", + "score": 0.13865351676940918 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9363.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1072646751999855 + }, + "else": { + "operation": "boost", + "score": 0.008368638344109058 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6955.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7021.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.3754352331161499 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11995244026184082 + "score": 0.113920196890831 }, "else": { "operation": "boost", - "score": 0.06681715697050095 + "score": 0.0036769118160009384 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.08501052111387253 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8658.0, + "then": { + "operation": "boost", + "score": 0.1066553145647049 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8063.0, + "then": { + "operation": "boost", + "score": -0.2929460108280182 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.14569279551506042 + }, + "else": { + "operation": "boost", + "score": 0.26574188470840454 + } + } + } }, "else": { "operation": "boost", - "score": 0.09117846190929413 + "score": 0.09175771474838257 } - }, - "else": { - "operation": "boost", - "score": -0.41361141204833984 } + }, + "else": { + "operation": "boost", + "score": 0.11515478789806366 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.055388450622558594 + "score": 0.10593409091234207 }, "else": { "operation": "boost", - "score": 0.027150364592671394 + "score": 0.007101776078343391 } } } - }, - "else": { - "operation": "boost", - "score": -0.05225759744644165 } } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.010595360770821571 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0953463762998581 - }, - "else": { - "operation": "boost", - "score": -0.21656009554862976 - } }, "else": { "operation": "boost", - "score": -0.17775866389274597 + "score": 0.008593929931521416 } - }, - "else": { - "operation": "boost", - "score": 0.10599002242088318 } - }, - "else": { - "operation": "boost", - "score": 0.026475854218006134 } } - }, - "else": { - "operation": "boost", - "score": 0.005273914430290461 } + }, + "else": { + "operation": "boost", + "score": 0.008004298433661461 } } }, "else": { - "operation": "boost", - "score": -0.0043076686561107635 + "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": "boost", - "score": -0.0003607104008551687 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.004318078048527241 + "score": -0.0010796734131872654 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Keyword", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01825655624270439 - }, - "else": { - "operation": "boost", - "score": 0.009376530535519123 - } + "operation": "boost", + "score": 0.0036041205748915672 }, "else": { + "operation": "boost", + "score": -0.12322156131267548 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 98.5, "then": { "operation": "boost", - "score": 0.007138236425817013 + "score": 0.04981774091720581 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10609066486358643 - }, - "else": { - "operation": "boost", - "score": -0.043281104415655136 - } - }, - "else": { - "operation": "boost", - "score": 0.06982407718896866 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.027756353840231895 - }, - "else": { - "operation": "boost", - "score": -0.06303537636995316 - } - } + "operation": "boost", + "score": 0.11638416349887848 }, "else": { "operation": "boost", - "score": -0.017728552222251892 + "score": 0.024397965520620346 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 101.5, "then": { "operation": "boost", - "score": 0.008132505230605602 + "score": -0.01406221091747284 }, "else": { - "operation": "boost", - "score": 0.11948536336421967 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 98.5, "then": { - "operation": "boost", - "score": 0.028873277828097343 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.11474396288394928 + "score": 0.11370135843753815 }, "else": { "operation": "boost", - "score": -0.08754376322031021 + "score": -1.4089674949645996 } + }, + "else": { + "operation": "boost", + "score": 0.11262576282024384 } }, "else": { - "operation": "boost", - "score": -0.007926037535071373 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13187357783317566 - }, - "else": { - "operation": "boost", - "score": 0.06841117143630981 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3587.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "boost", - "score": 0.019752424210309982 - }, - "else": { - "operation": "boost", - "score": -0.13825133442878723 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07678908854722977 - }, - "else": { - "operation": "boost", - "score": 0.026935594156384468 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18942.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.29665809869766235 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25248.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor" + ], "then": { + "operation": "boost", + "score": 0.1124652847647667 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53939.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 100.5, "then": { "operation": "boost", - "score": 0.09167485684156418 + "score": 0.10205201059579849 }, "else": { "operation": "boost", - "score": 0.11242745071649551 + "score": 0.03888333588838577 } }, "else": { "operation": "boost", - "score": 0.03968406468629837 + "score": -0.25310996174812317 } - }, - "else": { - "operation": "boost", - "score": 0.10955334454774857 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.13781124353408813 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.11982367187738419 - }, - "else": { - "operation": "boost", - "score": 0.32557687163352966 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.009098991751670837 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.04695379361510277 }, "else": { - "operation": "boost", - "score": 0.1352018266916275 - } - } - }, - "else": { - "operation": "boost", - "score": -0.017810041084885597 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.02533922903239727 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.0015744608826935291 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 42.5, + "threshold": 564.0, "then": { - "operation": "boost", - "score": -0.3554709553718567 + "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": 39.5, + "threshold": 191.0, "then": { "operation": "boost", - "score": 0.10956859588623047 + "score": 0.03388834744691849 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 180.5, "then": { "operation": "boost", - "score": -0.3205747902393341 + "score": 0.13092373311519623 }, "else": { - "operation": "boost", - "score": -0.05479123443365097 + "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 + } } } } @@ -246303,1962 +248170,2448 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 98.5, "then": { "operation": "boost", - "score": -0.1669626384973526 + "score": 0.06905611604452133 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.022549526765942574 - }, - "else": { - "operation": "boost", - "score": 0.11447156965732574 - } + "operation": "boost", + "score": 0.20588472485542297 } } - } - }, - "else": { - "operation": "boost", - "score": 0.008693459443747997 - } - }, - "else": { - "operation": "boost", - "score": 0.023760957643389702 - } - }, - "else": { - "operation": "boost", - "score": -0.007379148621112108 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.004043220076709986 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1135621964931488 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 442.5, "then": { - "operation": "boost", - "score": -0.1488846093416214 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 586.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 842.5, "then": { - "operation": "boost", - "score": -0.015102327801287174 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09891107678413391 + }, + "else": { + "operation": "boost", + "score": -0.2576806843280792 + } }, "else": { - "operation": "boost", - "score": 0.04544816538691521 + "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.10457019507884979 + "score": -0.13718825578689575 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09090350568294525 - }, - "else": { - "operation": "boost", - "score": -0.030471710488200188 - } + "operation": "boost", + "score": -0.011222929693758488 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 529.5, "then": { "operation": "boost", - "score": 0.04099752753973007 + "score": 0.051663901656866074 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 522.5, "then": { "operation": "boost", - "score": -0.10786452144384384 + "score": 0.11262300610542297 }, "else": { - "operation": "boost", - "score": 0.134621262550354 + "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 } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.0012109772069379687 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0052179801277816296 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.001957952743396163 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.019517920911312103 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.003599967574700713 + }, + "else": { + "operation": "boost", + "score": 0.03165510296821594 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004858333617448807 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.024799969047307968 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.0025130624417215586 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62267.0, "then": { + "operation": "boost", + "score": -0.12152841687202454 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009755976498126984 + }, + "else": { + "operation": "boost", + "score": 0.11432109773159027 + } + } + }, + "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.05681560933589935 + "score": 0.003173365956172347 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 54332.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { + "operation": "boost", + "score": -0.2587938904762268 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.2567221224308014 - }, - "else": { - "operation": "boost", - "score": 0.11089964210987091 - } - }, - "else": { - "operation": "boost", - "score": 0.012045937590301037 - } + "operation": "boost", + "score": 0.13011938333511353 }, "else": { "operation": "boost", - "score": 0.01755480095744133 + "score": -0.22364374995231628 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.0028035594150424004 + "score": -0.11702004820108414 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.03809349983930588 - }, - "else": { - "operation": "boost", - "score": 0.10235890001058578 - } - }, - "else": { - "operation": "boost", - "score": 0.03208581730723381 - } + "operation": "boost", + "score": 0.10776357352733612 } } - }, - "else": { - "operation": "boost", - "score": -0.20854167640209198 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08345051854848862 - }, - "else": { - "operation": "boost", - "score": 0.022918937727808952 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.03224898874759674 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.09681559354066849 - }, - "else": { - "operation": "boost", - "score": 0.09313788264989853 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06682829558849335 - } - } + "operation": "boost", + "score": 0.17520132660865784 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "boost", + "score": 0.11427861452102661 }, "else": { + "operation": "boost", + "score": -0.1121353805065155 + } + }, + "else": { + "operation": "boost", + "score": 0.021840322762727737 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03466985374689102 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 50006.5, + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.040905579924583435 + "score": 0.0890997126698494 }, "else": { "operation": "boost", - "score": -0.05599326267838478 + "score": 0.0987483561038971 } + }, + "else": { + "operation": "boost", + "score": 0.08961034566164017 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.06455900520086288 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 199646.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Function" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.003987181931734085 + "score": -0.051741670817136765 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13304877281188965 - }, - "else": { - "operation": "boost", - "score": 0.13785263895988464 - } + "operation": "boost", + "score": 0.05063067376613617 } }, "else": { - "operation": "boost", - "score": 0.013894816860556602 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.13636058568954468 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.06335301697254181 + }, + "else": { + "operation": "boost", + "score": 0.09005101025104523 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.10465323179960251 + }, + "else": { + "operation": "boost", + "score": -0.1662767082452774 + } + } }, "else": { - "operation": "boost", - "score": 0.01905507594347 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.10425090789794922 + }, + "else": { + "operation": "boost", + "score": 0.013573933392763138 + } } }, - "else": { - "operation": "boost", - "score": -0.2677905857563019 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.025870338082313538 - }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.13010656833648682 + "score": -0.35275357961654663 }, "else": { "operation": "boost", - "score": 0.06918656826019287 + "score": 0.10805914551019669 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.04403750225901604 }, "else": { "operation": "boost", - "score": -0.07774446904659271 + "score": -0.11296004801988602 } + }, + "else": { + "operation": "boost", + "score": -0.10629314184188843 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "boost", + "score": 0.06948653608560562 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": 0.062900610268116 + }, + "else": { + "operation": "boost", + "score": 0.026735633611679077 + } + }, + "else": { + "operation": "boost", + "score": 1.0757086277008057 + } + }, + "else": { + "operation": "boost", + "score": -0.0031563127413392067 + } + }, + "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": 200884.5, + "then": { + "operation": "boost", + "score": 0.04925679415464401 + }, + "else": { + "operation": "boost", + "score": -0.23938989639282227 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 200884.5, "then": { "operation": "boost", - "score": -0.18119505047798157 + "score": 0.06229858100414276 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.03980272635817528 + }, + "else": { + "operation": "boost", + "score": -0.6762242317199707 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "boost", + "score": 0.017065171152353287 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0023857185151427984 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.022969216108322144 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.047908537089824677 + }, + "else": { + "operation": "boost", + "score": 0.1060318574309349 + } + } + }, + "else": { + "operation": "boost", + "score": 0.030098095536231995 + } }, "else": { - "operation": "boost", - "score": 0.05148214474320412 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.07502651959657669 + }, + "else": { + "operation": "boost", + "score": 0.032173383980989456 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.08203922212123871 + "score": 0.09954150766134262 }, "else": { "operation": "boost", - "score": 0.10784747451543808 + "score": 0.04962644726037979 } }, "else": { "operation": "boost", - "score": -0.2592635750770569 + "score": -0.030195197090506554 } } } - }, - "else": { - "operation": "boost", - "score": -0.1527729630470276 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.10174042731523514 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11889557540416718 + }, + "else": { + "operation": "boost", + "score": 0.04351089522242546 + } }, "else": { "operation": "boost", - "score": 0.06624046713113785 + "score": -0.15346308052539825 } } } } }, - "else": { - "operation": "boost", - "score": -0.006363626103848219 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1493818312883377 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15918.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18069.5, - "then": { - "operation": "boost", - "score": 0.033446941524744034 - }, - "else": { - "operation": "boost", - "score": 0.14298158884048462 - } - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 55854.0, "then": { + "operation": "boost", + "score": -0.030056888237595558 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Statement" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.03670505806803703 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.005546958185732365 + "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.023792073130607605 + "score": 0.11716797947883606 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.020131848752498627 }, "else": { "operation": "boost", - "score": -0.08342909812927246 + "score": 0.3541710078716278 } + }, + "else": { + "operation": "boost", + "score": 0.08137481659650803 } }, "else": { "operation": "boost", - "score": -0.004822640214115381 + "score": 0.015231349505484104 } - }, - "else": { - "operation": "boost", - "score": 0.05753950774669647 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 167779.0, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.11397098749876022 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.11756367236375809 - }, - "else": { - "operation": "boost", - "score": 0.026317941024899483 - } + "operation": "boost", + "score": -0.21691080927848816 }, "else": { "operation": "boost", - "score": -0.20850428938865662 + "score": 0.07853665947914124 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { + "operation": "boost", + "score": -0.11822674423456192 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.09144560247659683 + "score": 0.10573211312294006 }, "else": { "operation": "boost", - "score": -0.2822485566139221 + "score": 0.11099665611982346 } - }, - "else": { - "operation": "boost", - "score": 0.0913442000746727 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08565351366996765 + }, + "else": { + "operation": "boost", + "score": 0.04456792771816254 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { "operation": "boost", - "score": -0.07167288661003113 + "score": 0.10678915679454803 }, "else": { "operation": "boost", - "score": 0.4309422969818115 + "score": 0.04568135738372803 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.045624494552612305 + "score": 0.12438300251960754 }, "else": { "operation": "boost", - "score": -0.197071373462677 + "score": -0.17351655662059784 } } + }, + "else": { + "operation": "boost", + "score": 0.03835234045982361 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 159641.0, "then": { "operation": "boost", - "score": -0.040408097207546234 + "score": -0.24673616886138916 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": 0.11719834804534912 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 49850.5, "then": { - "operation": "boost", - "score": 0.04306972771883011 - }, - "else": { - "operation": "boost", - "score": 0.15830488502979279 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.0, - "then": { - "operation": "boost", - "score": 0.08453476428985596 - }, - "else": { - "operation": "boost", - "score": 0.039417561143636703 - } - } - }, - "else": { - "operation": "boost", - "score": -0.001524518127553165 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08714070916175842 - }, - "else": { - "operation": "boost", - "score": 0.09703190624713898 + "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 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02369603142142296 + }, + "else": { + "operation": "boost", + "score": -0.040469054132699966 + } + } + } + }, + "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 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.0580151230096817 } } } } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08208077400922775 + } } } }, "else": { "operation": "boost", - "score": -0.0011840666411444545 + "score": -0.00019983640231657773 } }, { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0007359985029324889 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "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": 54.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.0032919663935899734 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.13433034718036652 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.06847026944160461 - }, - "else": { - "operation": "boost", - "score": 0.10942131280899048 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12230588495731354 - } - }, - "else": { - "operation": "boost", - "score": -0.2645583152770996 - } + "operation": "boost", + "score": -0.11667540669441223 }, "else": { + "operation": "boost", + "score": 0.017757631838321686 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 454.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 514.5, - "then": { - "operation": "boost", - "score": 0.036822352558374405 - }, - "else": { - "operation": "boost", - "score": 0.10837385803461075 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 122.0, + "threshold": 123.5, "then": { "operation": "boost", - "score": -0.012911477126181126 + "score": 0.12098591774702072 }, "else": { "operation": "boost", - "score": -0.3634599447250366 + "score": -0.1995338797569275 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.0, - "then": { - "operation": "boost", - "score": 0.11130180209875107 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.0, - "then": { - "operation": "boost", - "score": -0.4570402204990387 - }, - "else": { - "operation": "boost", - "score": 0.08645910769701004 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.14467394351959229 - }, - "else": { - "operation": "boost", - "score": 0.08275426179170609 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10501758754253387 - } + "operation": "boost", + "score": -0.22943823039531708 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.025421738624572754 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 57.5, + "threshold": 75.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 26223.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 312.5, + "threshold": 93258.0, "then": { "operation": "boost", - "score": 0.01694772019982338 + "score": 0.049426138401031494 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.10442473739385605 + "score": -0.0950610339641571 }, "else": { "operation": "boost", - "score": -0.13934458792209625 + "score": -2.094815492630005 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 21082.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "boost", - "score": 0.01435232162475586 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "boost", - "score": 0.11719623953104019 - }, - "else": { - "operation": "boost", - "score": 0.12121155112981796 - } - } + "operation": "boost", + "score": 0.1185123547911644 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 449.0, - "then": { - "operation": "boost", - "score": 0.10915607959032059 - }, - "else": { - "operation": "boost", - "score": 0.10045631229877472 - } + "operation": "boost", + "score": -0.0774393305182457 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.0, - "then": { - "operation": "boost", - "score": 0.11014876514673233 - }, - "else": { - "operation": "boost", - "score": -0.9019745588302612 - } + "operation": "boost", + "score": -0.5161000490188599 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220727.0, + "then": { + "operation": "boost", + "score": 0.07329950481653214 }, "else": { "operation": "boost", - "score": -0.1517147570848465 + "score": 0.0007717356784269214 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "boost", + "score": -0.2453574687242508 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { + "operation": "boost", + "score": 0.10329015552997589 + }, + "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.0292245764285326 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.10867756605148315 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.00790038425475359 + }, + "else": { + "operation": "boost", + "score": -0.27181029319763184 + } }, "else": { "operation": "boost", - "score": 0.14542369544506073 + "score": -0.15401563048362732 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 322.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.054559383541345596 + "score": -0.10726620256900787 }, "else": { - "operation": "boost", - "score": 0.13070008158683777 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.01457598339766264 + }, + "else": { + "operation": "boost", + "score": 0.12545067071914673 + } } }, "else": { - "operation": "boost", - "score": 0.02145080268383026 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08826819807291031 + }, + "else": { + "operation": "boost", + "score": -0.1061943992972374 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": -0.016194863244891167 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 306.5, + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14205.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.04546534642577171 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11125742644071579 + }, + "else": { + "operation": "boost", + "score": -0.0014798172051087022 + } + }, + "else": { + "operation": "boost", + "score": -0.002110391156747937 + } }, "else": { + "operation": "boost", + "score": -0.027992350980639458 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 888.0, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1073.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { + "operation": "boost", + "score": -0.21680191159248352 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10457.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11721695214509964 - }, - "else": { - "operation": "boost", - "score": -0.2473779320716858 - } + "operation": "boost", + "score": -0.09842640906572342 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.022071024402976036 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.0268248338252306 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.12512654066085815 + "score": -0.7864907383918762 }, "else": { "operation": "boost", - "score": -0.05354425683617592 + "score": 0.10708120465278625 } + }, + "else": { + "operation": "boost", + "score": 0.11744161695241928 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1737750619649887 + }, + "else": { + "operation": "boost", + "score": 0.11166975647211075 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "boost", - "score": -0.5368549227714539 + "score": 0.14071716368198395 }, "else": { + "operation": "boost", + "score": 0.11420426517724991 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1051.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11052221804857254 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 990.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.022142887115478516 + "score": 0.12110215425491333 }, "else": { "operation": "boost", - "score": 0.10850337892770767 + "score": 0.019885176792740822 } + }, + "else": { + "operation": "boost", + "score": -0.08303086459636688 } + }, + "else": { + "operation": "boost", + "score": -0.04471200332045555 } } - }, - "else": { - "operation": "boost", - "score": -0.01678605005145073 } - } - }, - "else": { - "operation": "boost", - "score": 0.1068507507443428 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.14556784927845 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 255.5, - "then": { - "operation": "boost", - "score": -0.49300187826156616 }, "else": { "operation": "boost", - "score": 0.0020603465382009745 + "score": -0.2414136826992035 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.017355604097247124 + "score": 0.11277304589748383 }, "else": { "operation": "boost", - "score": -0.05430563911795616 + "score": 0.06883733719587326 } + }, + "else": { + "operation": "boost", + "score": 0.012369712814688683 } + }, + "else": { + "operation": "boost", + "score": 0.04722859337925911 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ClassOrStructTag" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2919.5, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09784070402383804 + }, + "else": { + "operation": "boost", + "score": 0.10680165886878967 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.01360538974404335 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6305.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.14014719426631927 + "score": -0.6876611709594727 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.03860975429415703 - }, - "else": { - "operation": "boost", - "score": 0.12553341686725616 - } + "operation": "boost", + "score": -0.1085275337100029 } - }, - "else": { - "operation": "boost", - "score": 0.0353664793074131 } - }, - "else": { - "operation": "boost", - "score": -0.005882533732801676 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.028064481914043427 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "feature": "FilterLength", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.02379334159195423 + "score": -0.1747686117887497 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": -0.15144631266593933 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.07741770893335342 + }, + "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.10630558431148529 + "score": 0.1613553911447525 }, "else": { "operation": "boost", - "score": -0.23707479238510132 + "score": -0.10416405647993088 } } - }, - "else": { - "operation": "boost", - "score": -0.0665341317653656 } + }, + "else": { + "operation": "boost", + "score": -0.008649606257677078 } } + }, + "else": { + "operation": "boost", + "score": 0.005329661071300507 } - }, - "else": { - "operation": "boost", - "score": 0.00915766041725874 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6110.5, + "then": { + "operation": "boost", + "score": -0.1460363268852234 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "boost", + "score": -0.0040051620453596115 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "boost", + "score": 0.002665842417627573 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { - "operation": "boost", - "score": -0.0011715965811163187 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.01200128998607397 + "score": 0.0876900851726532 }, "else": { - "operation": "boost", - "score": 0.042652975767850876 - } - }, - "else": { - "operation": "boost", - "score": 0.042374882847070694 - } - }, - "else": { - "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_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0011909283930435777 - }, - "else": { - "operation": "boost", - "score": 0.028184588998556137 - } + "operation": "boost", + "score": -0.12554243206977844 }, "else": { - "operation": "boost", - "score": -0.02089052088558674 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.17078490555286407 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.13120783865451813 + "score": 0.14855866134166718 }, "else": { "operation": "boost", - "score": -0.400514155626297 + "score": 0.15189075469970703 } + }, + "else": { + "operation": "boost", + "score": 0.1792319118976593 } }, "else": { "operation": "boost", - "score": 0.039823032915592194 + "score": 0.5407537221908569 } - }, - "else": { - "operation": "boost", - "score": -0.016682885587215424 } } }, "else": { "operation": "boost", - "score": 0.010416978038847446 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.0189871434122324 - }, - "else": { - "operation": "boost", - "score": -0.019589081406593323 + "score": -0.15814252197742462 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48070.0, "then": { "operation": "boost", - "score": 0.11203450709581375 + "score": 0.0008354012970812619 }, "else": { - "operation": "boost", - "score": 0.09596232324838638 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": -0.054353199899196625 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47253.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07196138799190521 + }, + "else": { + "operation": "boost", + "score": 0.11162998527288437 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.06763219088315964 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13669916987419128 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.034905631095170975 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 53478.0, "then": { "operation": "boost", - "score": -0.0038011556025594473 + "score": 0.12388943880796432 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50371.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.17552487552165985 + "score": -0.13862648606300354 }, "else": { - "operation": "boost", - "score": 0.11463261395692825 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.12030206620693207 + }, + "else": { + "operation": "boost", + "score": 0.13288313150405884 + } } }, "else": { - "operation": "boost", - "score": -0.2607153058052063 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.025115950033068657 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.12861306965351105 + }, + "else": { + "operation": "boost", + "score": -0.06424444913864136 + } + }, + "else": { + "operation": "boost", + "score": 0.25069761276245117 + } + } } } + }, + "else": { + "operation": "boost", + "score": 0.040485452860593796 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.12604063749313354 - }, - "else": { - "operation": "boost", - "score": -0.04680994525551796 - } + "operation": "boost", + "score": 0.06084238737821579 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0399506576359272 - }, - "else": { - "operation": "boost", - "score": 0.008408155292272568 - } + "operation": "boost", + "score": -0.07079961150884628 } } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.031518738716840744 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02424299716949463 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25208.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.08152884989976883 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08939715474843979 + }, + "else": { + "operation": "boost", + "score": 0.0744517520070076 + } }, "else": { - "operation": "boost", - "score": -0.057117853313684464 + "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": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10038064420223236 - }, - "else": { - "operation": "boost", - "score": -0.19891458749771118 - } + "operation": "boost", + "score": 0.11208921670913696 } }, "else": { "operation": "boost", - "score": 0.04612526670098305 - } - }, - "else": { - "operation": "boost", - "score": 0.05029607564210892 - } - }, - "else": { - "operation": "boost", - "score": -0.021001426503062248 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.15103039145469666 - }, - "else": { - "operation": "boost", - "score": -0.027839044108986855 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3111.0, - "then": { - "operation": "boost", - "score": -0.6912059783935547 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1705.0, - "then": { - "operation": "boost", - "score": 0.10168201476335526 - }, - "else": { - "operation": "boost", - "score": 0.0517415888607502 + "score": 0.009998387657105923 } } } @@ -248268,1212 +250621,1388 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.0917130559682846 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.03237501159310341 - }, - "else": { - "operation": "boost", - "score": 0.11169400811195374 - } + "operation": "boost", + "score": 0.10079795867204666 }, "else": { "operation": "boost", - "score": -0.005384335294365883 + "score": 0.8290144801139832 } }, "else": { "operation": "boost", - "score": -0.15459777414798737 + "score": 0.23831889033317566 } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46094.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", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 111.0, + "threshold": 49850.5, "then": { + "operation": "boost", + "score": 0.10337208956480026 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.03631032630801201 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 125.5, + "threshold": 46971.0, "then": { + "operation": "boost", + "score": -0.03362833708524704 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 294.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 612.0, - "then": { - "operation": "boost", - "score": 0.025330377742648125 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 592.0, - "then": { - "operation": "boost", - "score": 0.11450470983982086 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 329.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.18492189049720764 - }, - "else": { - "operation": "boost", - "score": 0.03701058030128479 - } - }, - "else": { - "operation": "boost", - "score": 0.10408813506364822 - } - } - } + "operation": "boost", + "score": 0.05351124331355095 }, "else": { "operation": "boost", - "score": -0.006908026058226824 + "score": 0.1583280861377716 } - }, - "else": { - "operation": "boost", - "score": 0.1189197525382042 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.16045011579990387 }, "else": { "operation": "boost", - "score": -0.10201021283864975 + "score": -0.0731210708618164 } } }, "else": { "operation": "boost", - "score": 0.05428547412157059 + "score": 0.048885297030210495 } + }, + "else": { + "operation": "boost", + "score": -0.19367320835590363 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "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": 3.5, + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.09791732579469681 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.09482176601886749 + "score": 0.12317927181720734 }, "else": { - "operation": "boost", - "score": -0.11494418978691101 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.10562148690223694 + }, + "else": { + "operation": "boost", + "score": 0.03510245308279991 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "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.12194640934467316 + "score": 0.13651694357395172 }, "else": { "operation": "boost", - "score": 0.11932885646820068 + "score": -0.14260683953762054 } } - }, - "else": { - "operation": "boost", - "score": -1.336710810661316 } }, "else": { "operation": "boost", - "score": 0.06978698074817657 + "score": -0.10816345363855362 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.029013771563768387 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0690959244966507 - }, - "else": { - "operation": "boost", - "score": 0.10089071840047836 - } - } + "operation": "boost", + "score": -0.03996129333972931 } } - }, - "else": { - "operation": "boost", - "score": 0.005282811354845762 } }, "else": { - "operation": "boost", - "score": -0.061826441437006 + "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.013004678301513195 } + }, + "else": { + "operation": "boost", + "score": -0.0006172988214530051 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 618.5, + "threshold": 44220.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 87006.5, "then": { - "operation": "boost", - "score": -0.032735321670770645 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 224557.0, "then": { + "operation": "boost", + "score": -0.002770343329757452 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3648.0, + "threshold": 204563.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3680.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.019765404984354973 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.10049723833799362 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006245040334761143 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": -0.10901763290166855 + } + } }, "else": { - "operation": "boost", - "score": -0.10588604211807251 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10620898753404617 + }, + "else": { + "operation": "boost", + "score": -0.2301647961139679 + } } }, "else": { "operation": "boost", - "score": 0.14181771874427795 + "score": 0.017693467438220978 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, - "then": { - "operation": "boost", - "score": 0.009839175269007683 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.13961225748062134 + "score": -0.019600557163357735 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.0, + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.10063879936933517 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.1383054107427597 - }, - "else": { - "operation": "boost", - "score": 0.1327216476202011 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.001954395091161132 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.023902231827378273 + }, + "else": { + "operation": "boost", + "score": -0.07320843636989594 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "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 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.08920706063508987 + }, + "else": { + "operation": "boost", + "score": -0.10406531393527985 + } + } + } }, "else": { "operation": "boost", - "score": 0.12080990523099899 + "score": -0.049059245735406876 } - }, - "else": { - "operation": "boost", - "score": 0.035189997404813766 } + }, + "else": { + "operation": "boost", + "score": 0.0310545414686203 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11209.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.0048681991174817085 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23281.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23935.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": -0.004780489485710859 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0034722578711807728 + "score": 0.03834062069654465 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.0484762117266655 + }, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11253836005926132 - }, - "else": { - "operation": "boost", - "score": 0.11104664951562881 - } + "operation": "boost", + "score": 0.11449505388736725 }, "else": { "operation": "boost", - "score": 0.02984258159995079 + "score": 0.11306073516607285 } }, "else": { "operation": "boost", - "score": -0.09110484272241592 + "score": 0.09335827827453613 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28247.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69581.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84493.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.03120114840567112 - }, - "else": { - "operation": "boost", - "score": 0.06213584169745445 - } - }, - "else": { - "operation": "boost", - "score": -0.08365359157323837 - } - }, - "else": { - "operation": "boost", - "score": 0.09169357270002365 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.014936824329197407 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48455.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59479.0, - "then": { - "operation": "boost", - "score": 0.0793648287653923 - }, - "else": { - "operation": "boost", - "score": -0.11541604995727539 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1202792152762413 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40203.5, - "then": { - "operation": "boost", - "score": -0.24733422696590424 - }, - "else": { - "operation": "boost", - "score": 0.08954295516014099 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01646397076547146 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32974.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1083449125289917 - }, - "else": { - "operation": "boost", - "score": -0.1026042178273201 - } - }, - "else": { - "operation": "boost", - "score": 0.11707662791013718 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27163.5, - "then": { - "operation": "boost", - "score": 0.13123615086078644 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.07296693325042725 - }, - "else": { - "operation": "boost", - "score": -0.1111626997590065 - } - } - } + "operation": "boost", + "score": -0.10374343395233154 } - }, - "else": { - "operation": "boost", - "score": -0.03575976938009262 } } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74638.5, + "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": 14.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23667.0, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.09400486946105957 + "score": -0.09278777986764908 }, "else": { - "operation": "boost", - "score": 0.16251327097415924 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05450892075896263 + }, + "else": { + "operation": "boost", + "score": 0.09038130193948746 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.15769121050834656 - }, - "else": { - "operation": "boost", - "score": 0.11194365471601486 - } + "operation": "boost", + "score": -0.14813587069511414 } + }, + "else": { + "operation": "boost", + "score": 0.09633205085992813 } }, "else": { "operation": "boost", - "score": -0.05191852152347565 + "score": 0.08234942704439163 } }, + "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": 11710.5, + "threshold": 57673.0, "then": { - "operation": "boost", - "score": 0.007176835555583239 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.18729151785373688 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.11358554661273956 + "score": 0.1186022162437439 }, "else": { "operation": "boost", - "score": 0.08554623275995255 + "score": 0.15414515137672424 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12814205884933472 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11590.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": -0.0037674515042454004 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.0, + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.11666606366634369 + "score": 0.11099737137556076 }, "else": { - "operation": "boost", - "score": 0.14203843474388123 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10534145683050156 + }, + "else": { + "operation": "boost", + "score": -0.3277548551559448 + } } - }, - "else": { - "operation": "boost", - "score": 0.056719712913036346 } } } } + } + }, + "else": { + "operation": "boost", + "score": -0.04822300747036934 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62087.0, + "then": { + "operation": "boost", + "score": -0.025134950876235962 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1033.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 58073.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7457.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, - "then": { - "operation": "boost", - "score": -0.2991219162940979 - }, - "else": { - "operation": "boost", - "score": 0.21536576747894287 - } + "operation": "boost", + "score": 0.009962786920368671 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.004949595313519239 + "score": 0.10021830350160599 }, "else": { "operation": "boost", - "score": -1.2340960502624512 + "score": 0.12095815688371658 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6752.0, + "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.35807397961616516 + "score": 0.11176382005214691 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6646.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.09323041886091232 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1301.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.04047626256942749 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4461.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5178.5, - "then": { - "operation": "boost", - "score": -0.19555793702602386 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4548.0, - "then": { - "operation": "boost", - "score": 0.0918952077627182 - }, - "else": { - "operation": "boost", - "score": 0.06818176805973053 - } - } - }, - "else": { - "operation": "boost", - "score": -0.21148832142353058 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3851.0, - "then": { - "operation": "boost", - "score": -0.5851080417633057 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.1069021001458168 - }, - "else": { - "operation": "boost", - "score": 0.048204343765974045 - } - } - } - } + "operation": "boost", + "score": 0.06019841507077217 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1217.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "boost", + "score": -0.10023660957813263 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1264.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.11030407249927521 + "score": 0.10350298136472702 }, "else": { "operation": "boost", - "score": 0.1497173309326172 + "score": 0.12092146277427673 } - }, - "else": { - "operation": "boost", - "score": 0.18055129051208496 } }, "else": { - "operation": "boost", - "score": -0.01898493804037571 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10284067690372467 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.504055917263031 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1241.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2119.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3932.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5593.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.5694319009780884 + "score": 0.0898512452840805 }, "else": { - "operation": "boost", - "score": 0.10502000898122787 + "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.19030076265335083 } - }, - "else": { - "operation": "boost", - "score": 0.10798860341310501 } }, "else": { "operation": "boost", - "score": -0.48863551020622253 + "score": 0.06830720603466034 } } + }, + "else": { + "operation": "boost", + "score": 0.03555838018655777 } } }, + "else": { + "operation": "boost", + "score": -0.09588347375392914 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.007518764119595289 + }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 60891.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07395773380994797 - }, - "else": { - "operation": "boost", - "score": -0.07304679602384567 - } + "operation": "boost", + "score": 0.1215478703379631 }, "else": { "operation": "boost", - "score": -0.0042096832767128944 + "score": 0.11374273151159286 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 988.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.03336590901017189 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 64139.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.18979796767234802 + }, + "else": { + "operation": "boost", + "score": -0.05642814189195633 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02200816199183464 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52893.5, + "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_greater", - "feature": "NumReferences", - "threshold": 1018.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.10153291374444962 + "score": 0.14606937766075134 }, "else": { "operation": "boost", - "score": 0.09798578172922134 + "score": 0.14180463552474976 } }, "else": { "operation": "boost", - "score": 0.38394638895988464 + "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, + "then": { + "operation": "boost", + "score": -0.026593998074531555 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11358156055212021 + }, + "else": { + "operation": "boost", + "score": -0.39089030027389526 + } + }, + "else": { + "operation": "boost", + "score": 0.06814474612474442 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02266082912683487 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.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": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08992475271224976 + }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 13.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1019.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.23550017178058624 - }, - "else": { - "operation": "boost", - "score": -0.14123861491680145 - } + "operation": "boost", + "score": 0.19523859024047852 }, "else": { "operation": "boost", - "score": -0.08769088983535767 + "score": 0.21252192556858063 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.13343007862567902 - }, - "else": { - "operation": "boost", - "score": 0.04102079197764397 - } + "operation": "boost", + "score": 0.26095864176750183 } } }, "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": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 823.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 852.0, + "threshold": 47131.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 986.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14390528202056885 + "score": 0.10346439480781555 }, "else": { "operation": "boost", - "score": -0.1297009438276291 + "score": 0.11549290269613266 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11879140883684158 - }, - "else": { - "operation": "boost", - "score": 0.24722811579704285 - } + "operation": "boost", + "score": -0.1857803910970688 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.173204243183136 + "score": 0.015036522410809994 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 677.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.018478762358427048 + "score": 0.035179223865270615 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.10436457395553589 - }, - "else": { - "operation": "boost", - "score": 0.16459742188453674 - } + "operation": "boost", + "score": 0.07405781745910645 } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.10378134995698929 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.19996796548366547 - }, - "else": { - "operation": "boost", - "score": -0.03279276564717293 - } - }, - "else": { - "operation": "boost", - "score": -0.1799856573343277 - } + "operation": "boost", + "score": 0.06807173043489456 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 692.5, - "then": { - "operation": "boost", - "score": 0.10353662818670273 - }, - "else": { - "operation": "boost", - "score": 0.016714021563529968 - } - }, - "else": { - "operation": "boost", - "score": -0.1822088360786438 - } + "operation": "boost", + "score": 0.07789012044668198 } + } + } + }, + "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.004448383115231991 + "score": 0.11491484194993973 } } } @@ -249482,1756 +252011,1932 @@ }, "else": { "operation": "boost", - "score": -0.12778615951538086 + "score": 0.017236748710274696 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0016445430228486657 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.02305513061583042 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 603.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.14579825103282928 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.20435470342636108 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 607.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.00967901200056076 + "score": 0.06595299392938614 }, "else": { "operation": "boost", - "score": 0.12743590772151947 + "score": 0.10639171302318573 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.04464512690901756 + "score": 0.11130847036838531 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "boost", - "score": 0.12447942793369293 - }, - "else": { - "operation": "boost", - "score": 0.09511373937129974 - } + "operation": "boost", + "score": -0.21607011556625366 } }, "else": { "operation": "boost", - "score": 0.04366188496351242 + "score": 0.1300160139799118 } }, "else": { "operation": "boost", - "score": 0.058608271181583405 + "score": -0.10160165280103683 } }, "else": { "operation": "boost", - "score": 0.026818126440048218 + "score": 0.20704972743988037 } - }, - "else": { - "operation": "boost", - "score": 0.03171870484948158 } } }, "else": { - "operation": "boost", - "score": 0.008067321963608265 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, "then": { + "operation": "boost", + "score": -0.028846880421042442 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": -0.04168112576007843 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.09911972284317017 + }, + "else": { + "operation": "boost", + "score": 0.08998259902000427 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.09294214844703674 + "score": 0.1104075014591217 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.013960203155875206 - }, - "else": { - "operation": "boost", - "score": 0.11023929715156555 - } - }, - "else": { - "operation": "boost", - "score": 0.12873248755931854 - } + "operation": "boost", + "score": -0.23202568292617798 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.1197415366768837 - } - }, - "else": { - "operation": "boost", - "score": 0.07976427674293518 - } + "operation": "boost", + "score": 0.11055511236190796 } }, "else": { "operation": "boost", - "score": 0.0775032714009285 + "score": 0.03773682564496994 } }, "else": { "operation": "boost", - "score": 0.030357617884874344 - } - }, - "else": { - "operation": "boost", - "score": -0.019121285527944565 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.028821013867855072 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.5095698237419128 - }, - "else": { - "operation": "boost", - "score": -0.21813812851905823 + "score": -0.06473498046398163 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02453136071562767 - }, - "else": { - "operation": "boost", - "score": 0.0016915114829316735 - } } } } - }, - "else": { - "operation": "boost", - "score": 0.00035356750595383346 } + }, + "else": { + "operation": "boost", + "score": -0.00020302203483879566 } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44693.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 13.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "FunctionScope" + "Variable" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.06231631711125374 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 71608.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08301389962434769 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.01120732631534338 + "score": 0.09667182713747025 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04579995572566986 - }, - "else": { - "operation": "boost", - "score": 0.07898426055908203 - } + "operation": "boost", + "score": 0.12223724275827408 } - }, - "else": { - "operation": "boost", - "score": 0.0219425056129694 } }, "else": { - "operation": "boost", - "score": 0.0071836551651358604 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.08398978412151337 + "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.10652104020118713 + "score": 0.03949030116200447 } - }, - "else": { - "operation": "boost", - "score": 0.00735055934637785 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00694441981613636 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.015200361609458923 - }, - "else": { - "operation": "boost", - "score": -0.00737456139177084 - } - } + "operation": "boost", + "score": -0.046064313501119614 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50014.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.011731094680726528 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.1107184961438179 - }, - "else": { - "operation": "boost", - "score": -0.1452714055776596 - } - } + "operation": "boost", + "score": -0.06224804371595383 }, "else": { - "operation": "boost", - "score": -0.04374605789780617 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232885.0, "then": { - "operation": "boost", - "score": -0.002311385702341795 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 549246.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.024840515106916428 - }, - "else": { - "operation": "boost", - "score": 0.0024498230777680874 - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 27.5, + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.004163310397416353 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1280205.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.010478499345481396 + "score": 0.04191838949918747 }, "else": { "operation": "boost", - "score": 0.058702778071165085 + "score": -0.2747407853603363 } }, "else": { "operation": "boost", - "score": -0.06329900771379471 + "score": 0.10548911988735199 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.12466563284397125 + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.028817985206842422 + }, + "else": { + "operation": "boost", + "score": 0.025000566616654396 + } + }, + "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.11604779213666916 + "score": 0.015384248457849026 } } } }, - "else": { - "operation": "boost", - "score": -0.006525665055960417 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.006890678312629461 - }, - "else": { - "operation": "boost", - "score": 0.08472742885351181 - } - }, - "else": { - "operation": "boost", - "score": -0.041100382804870605 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.019277557730674744 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1170535460114479 + "score": -0.20734646916389465 }, "else": { - "operation": "boost", - "score": -0.1479329913854599 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 1074118.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "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": 13.5, + "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": 8.5, + "threshold": 1318535.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": -0.10975566506385803 + "score": 0.07242735475301743 }, "else": { "operation": "boost", - "score": 0.10582250356674194 + "score": 0.03735116869211197 } }, "else": { - "operation": "boost", - "score": -0.3586748540401459 + "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.04921211674809456 + }, + "else": { + "operation": "boost", + "score": -0.024630796164274216 + } } - }, - "else": { - "operation": "boost", - "score": 0.10392735153436661 } }, "else": { "operation": "boost", - "score": 0.008556907996535301 + "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": 3.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12379805743694305 + "score": -0.12499213218688965 }, "else": { "operation": "boost", - "score": 0.12275121361017227 + "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": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.1571698635816574 + "score": -0.07391044497489929 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 220295.0, "then": { - "operation": "boost", - "score": -0.13767316937446594 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06409143656492233 + }, + "else": { + "operation": "boost", + "score": -0.3059860169887543 + } }, "else": { - "operation": "boost", - "score": 0.10820633918046951 + "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": 10.5, + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "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.048034120351076126 + "score": 0.09913364052772522 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09230946749448776 - }, - "else": { - "operation": "boost", - "score": 0.1270482838153839 - } + "operation": "boost", + "score": -0.11813697218894958 } }, "else": { "operation": "boost", - "score": -0.1408109813928604 + "score": 0.014892206527292728 } } } } } + }, + "else": { + "operation": "boost", + "score": 0.01330089196562767 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "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": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 138283.5, "then": { "operation": "boost", - "score": 0.10922128707170486 + "score": -0.27037036418914795 }, "else": { - "operation": "boost", - "score": 0.10795003920793533 + "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.007200805004686117 + "score": -0.041766952723264694 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 167779.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.03686525672674179 + "score": 0.10277947038412094 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.22614330053329468 + "score": 0.07356825470924377 }, "else": { "operation": "boost", - "score": 0.10359130799770355 + "score": -0.12051256000995636 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 62487.5, "then": { - "operation": "boost", - "score": -0.023704955354332924 - }, - "else": { - "operation": "boost", - "score": 0.09355375170707703 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.11518624424934387 - }, - "else": { - "operation": "boost", - "score": -0.004901423584669828 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.035772912204265594 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.002934538759291172 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.03991512581706047 - }, - "else": { - "operation": "boost", - "score": 0.020510518923401833 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.03410191088914871 - }, - "else": { - "operation": "boost", - "score": 0.1330987513065338 - } - }, - "else": { - "operation": "boost", - "score": -0.25508400797843933 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.14045512676239014 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 217.0, - "then": { - "operation": "boost", - "score": 0.09535148739814758 - }, - "else": { - "operation": "boost", - "score": -0.20686234533786774 - } - }, - "else": { - "operation": "boost", - "score": 0.07340987771749496 - } - }, - "else": { - "operation": "boost", - "score": -0.13636727631092072 - } - } - }, - "else": { - "operation": "boost", - "score": -0.4825378656387329 - } - }, - "else": { - "operation": "boost", - "score": -0.04578205570578575 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.21382322907447815 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.002445097081363201 - }, - "else": { - "operation": "boost", - "score": 0.11804138869047165 - } - } - }, - "else": { - "operation": "boost", - "score": -0.017948085442185402 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8011.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.853591799736023 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1376078724861145 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.21682573854923248 - }, - "else": { - "operation": "boost", - "score": -0.10447466373443604 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0109464256092906 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.05890333652496338 - }, - "else": { - "operation": "boost", - "score": 0.07805982977151871 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03206467628479004 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6228.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { - "operation": "boost", - "score": 0.011624722741544247 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.1189897209405899 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.11406875401735306 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.09880708158016205 + "score": 0.09790772944688797 }, "else": { "operation": "boost", - "score": -0.010836321860551834 + "score": -0.1347469836473465 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 96014.0, "then": { "operation": "boost", - "score": -0.47299954295158386 + "score": -0.0571746900677681 }, "else": { - "operation": "boost", - "score": 0.1090107336640358 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "boost", + "score": 0.04338795319199562 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87637.0, + "then": { + "operation": "boost", + "score": -0.03261396288871765 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.1316646784543991 + }, + "else": { + "operation": "boost", + "score": 0.09860913455486298 + } + } + }, + "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": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80424.0, + "then": { + "operation": "boost", + "score": -0.2597315311431885 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10262201726436615 + }, + "else": { + "operation": "boost", + "score": 0.08615867048501968 + } + } + }, + "else": { + "operation": "boost", + "score": -0.24452264606952667 + } + }, + "else": { + "operation": "boost", + "score": -0.2840930223464966 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.11177020519971848 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0378696583211422 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01427436713129282 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0024950241204351187 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9065.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10280973464250565 - }, - "else": { - "operation": "boost", - "score": 0.09684469550848007 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3166.0, - "then": { - "operation": "boost", - "score": -0.3982919752597809 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 688.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3021.0, - "then": { - "operation": "boost", - "score": 0.1253376305103302 - }, - "else": { - "operation": "boost", - "score": 0.06420431286096573 - } - }, - "else": { - "operation": "boost", - "score": 0.1148940920829773 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 364.5, - "then": { - "operation": "boost", - "score": -0.4511469900608063 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.012344803661108017 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 61294.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.4048099219799042 + "score": 0.10060480982065201 }, "else": { "operation": "boost", - "score": 0.10348466038703918 + "score": 0.07968879491090775 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.09465466439723969 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02448510006070137 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10743271559476852 + }, + "else": { + "operation": "boost", + "score": 0.1220487654209137 + } + }, + "else": { + "operation": "boost", + "score": -0.023466400802135468 + } }, "else": { "operation": "boost", - "score": 0.1131458580493927 + "score": 0.08918303996324539 } + }, + "else": { + "operation": "boost", + "score": -0.31182119250297546 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.0, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { + "operation": "boost", + "score": -0.2915423810482025 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.010926793329417706 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.1410348117351532 + }, + "else": { + "operation": "boost", + "score": 0.07370457798242569 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46.5, + "threshold": 47476.0, "then": { "operation": "boost", - "score": -0.5174797177314758 + "score": -0.12735632061958313 }, "else": { "operation": "boost", - "score": 0.1080506220459938 + "score": 0.12043626606464386 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10825716704130173 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1015748530626297 + }, + "else": { + "operation": "boost", + "score": -0.15051954984664917 + } }, "else": { - "operation": "boost", - "score": -0.1308128386735916 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.027931103482842445 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48909.0, + "then": { + "operation": "boost", + "score": 0.024372858926653862 + }, + "else": { + "operation": "boost", + "score": -0.4048270583152771 + } + } + } } } } - }, - "else": { - "operation": "boost", - "score": 0.01440613716840744 } } } } } + }, + "else": { + "operation": "boost", + "score": 0.013595976866781712 } - }, - "else": { - "operation": "boost", - "score": -0.008165129460394382 } } - }, - "else": { - "operation": "boost", - "score": -0.0662357360124588 } - } - } - } - }, - "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_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.030927222222089767 }, "else": { "operation": "boost", - "score": -0.04141194373369217 + "score": 0.0038233590312302113 } - }, - "else": { - "operation": "boost", - "score": 0.0037055425345897675 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope", - "FileScope" + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "boost", - "score": 0.04062269255518913 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 306389.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": -0.010555636137723923 + "score": 0.10777366906404495 }, "else": { "operation": "boost", - "score": -0.1223730593919754 + "score": 0.08720039576292038 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48585.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 62324.5, "then": { "operation": "boost", - "score": 0.015916768461465836 + "score": 0.03673981875181198 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", - "score": -0.02312278002500534 + "score": 0.10813306272029877 }, "else": { "operation": "boost", - "score": -0.19948500394821167 + "score": 0.09423363208770752 } } }, "else": { "operation": "boost", - "score": -0.07238084822893143 + "score": -0.45745617151260376 } } }, "else": { - "operation": "boost", - "score": -0.021016405895352364 + "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 + } + } + } } + }, + "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_ClassStructUnion", - "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.05253803730010986 + "score": 0.07930976897478104 }, "else": { "operation": "boost", - "score": 0.021755484864115715 + "score": 0.10690976679325104 } }, "else": { "operation": "boost", - "score": -0.02208254486322403 + "score": -0.11974213272333145 } + }, + "else": { + "operation": "boost", + "score": 0.12105785310268402 } + }, + "else": { + "operation": "boost", + "score": 0.06847895681858063 } } }, "else": { "operation": "boost", - "score": -0.00033371365861967206 + "score": -0.0002049272006843239 } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_Type" ], "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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, + "then": { + "operation": "boost", + "score": -0.0005998198175802827 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "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": 16.5, + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.11127688735723495 + "score": 0.11442865431308746 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.0, - "then": { - "operation": "boost", - "score": 0.0791424810886383 - }, - "else": { - "operation": "boost", - "score": -0.781765878200531 - } + "operation": "boost", + "score": 0.04507727548480034 } }, "else": { + "operation": "boost", + "score": -0.12128010392189026 + } + }, + "else": { + "operation": "boost", + "score": 0.029859021306037903 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, + "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.17477770149707794 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.21973055601119995 + }, + "else": { + "operation": "boost", + "score": -0.16484425961971283 + } }, "else": { "operation": "boost", - "score": -1.21224844455719 + "score": -0.17820584774017334 } }, "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.07968103140592575 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.06755568832159042 + }, + "else": { + "operation": "boost", + "score": -0.08183521032333374 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.008927029557526112 + }, + "else": { + "operation": "boost", + "score": -0.35506242513656616 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": -3.134386639125353e-10 + "score": 0.10162670165300369 }, "else": { "operation": "boost", - "score": -1.7093864679336548 + "score": -0.10187657922506332 } }, "else": { "operation": "boost", - "score": 0.018489886075258255 + "score": -0.6152205467224121 } + } + }, + "else": { + "operation": "boost", + "score": -0.32426485419273376 + } + }, + "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.0059053716249763966 + "score": 0.21921047568321228 } }, "else": { "operation": "boost", - "score": 0.0002785278484225273 + "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_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12484917789697647 + "score": 0.10764851421117783 }, "else": { "operation": "boost", - "score": 0.25032591819763184 + "score": -0.11390747129917145 + } + } + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -1.1033189296722412 + }, + "else": { + "operation": "boost", + "score": 0.006049415562301874 + } + }, + "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": "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.6376132965087891 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.09500283747911453 + }, + "else": { + "operation": "boost", + "score": 0.0023526467848569155 + } + }, + "else": { + "operation": "boost", + "score": 0.07698266953229904 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.12864907085895538 } } } @@ -251239,1412 +253944,1614 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.5, + "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": "NumReferences", - "threshold": 122.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.060733575373888016 + "score": -0.4569120705127716 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10992545634508133 - }, - "else": { - "operation": "boost", - "score": 0.04724763706326485 - } + "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": "FileProximityDistance", - "threshold": 50014.5, + "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, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04027818888425827 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07934907078742981 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1423821896314621 + }, + "else": { + "operation": "boost", + "score": 0.1059902086853981 + } + }, + "else": { + "operation": "boost", + "score": 0.01390969380736351 + } + } }, "else": { - "operation": "boost", - "score": -0.1181899681687355 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.0, + "then": { + "operation": "boost", + "score": 0.23168085515499115 + }, + "else": { + "operation": "boost", + "score": 0.08550652861595154 + } + }, + "else": { + "operation": "boost", + "score": -0.5069703459739685 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045124515891075134 + }, + "else": { + "operation": "boost", + "score": 0.09075822681188583 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.12423147261142731 + }, + "else": { + "operation": "boost", + "score": -0.8440048694610596 + } + } } }, "else": { - "operation": "boost", - "score": -0.03872475028038025 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.0, + "then": { + "operation": "boost", + "score": 0.11212906986474991 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.057723455131053925 + } + }, + "else": { + "operation": "boost", + "score": 0.009877219796180725 + } } } }, "else": { "operation": "boost", - "score": -0.0069594429805874825 + "score": -0.0013719334965571761 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 73.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 394.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.010986186563968658 + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", "Variable", "Destructor", - "Namespace", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type" + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.08318815380334854 + "score": -0.04868387058377266 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3015.0, "then": { + "operation": "boost", + "score": 0.09989485889673233 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0937093049287796 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.15029628574848175 + }, + "else": { + "operation": "boost", + "score": 0.08292298018932343 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 378.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.0986367017030716 + }, + "else": { + "operation": "boost", + "score": -0.23518557846546173 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 237.5, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10191407054662704 + }, + "else": { + "operation": "boost", + "score": -0.020755713805556297 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 428.5, + "threshold": 231.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 507.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.01960666850209236 + "score": 0.09665898233652115 }, "else": { "operation": "boost", - "score": 0.10710330307483673 + "score": 0.11133313924074173 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.018871963024139404 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.09638842195272446 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.09946683794260025 - }, - "else": { - "operation": "boost", - "score": 0.10893399268388748 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.24063703417778015 - }, - "else": { - "operation": "boost", - "score": 0.05327068269252777 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.01663948781788349 + "score": 0.023476561531424522 }, "else": { "operation": "boost", - "score": -0.17087896168231964 + "score": -0.6008599400520325 } }, "else": { - "operation": "boost", - "score": 0.08246785402297974 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": 0.10751906782388687 - }, - "else": { - "operation": "boost", - "score": 0.07609330117702484 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "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": 58.5, + "threshold": 184.0, "then": { "operation": "boost", - "score": 0.09972000867128372 + "score": 0.12520131468772888 }, "else": { "operation": "boost", - "score": -0.10416103154420853 + "score": 0.06342873722314835 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 205.0, "then": { "operation": "boost", - "score": 0.12101730704307556 + "score": 0.8104863166809082 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09576001763343811 - }, - "else": { - "operation": "boost", - "score": 0.07565262168645859 - } + "operation": "boost", + "score": -0.04431649670004845 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06104320287704468 - }, - "else": { - "operation": "boost", - "score": -0.9224026799201965 - } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.0166948065161705 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.38782477378845215 + "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": 12.5, + "threshold": 79.5, "then": { - "operation": "boost", - "score": 0.10075686872005463 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.050106726586818695 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.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 + } + } + }, + "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 + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.17604118585586548 + "score": 0.12685440480709076 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1907404214143753 + "score": -0.3467974066734314 }, "else": { "operation": "boost", - "score": 0.0 + "score": 0.12166900187730789 } } } } + }, + "else": { + "operation": "boost", + "score": 0.012759172357618809 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.09961285442113876 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": -0.0434885136783123 - }, - "else": { - "operation": "boost", - "score": 0.11886083334684372 - } - }, - "else": { - "operation": "boost", - "score": -0.21095594763755798 - } - } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 222.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 223.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.17384402453899384 - }, - "else": { - "operation": "boost", - "score": 0.01607975736260414 - } + "operation": "boost", + "score": 0.040128193795681 }, "else": { "operation": "boost", - "score": -0.15469174087047577 + "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": "NumReferences", - "threshold": 587.0, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 626.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.011120053008198738 + "score": 0.10768821835517883 }, "else": { "operation": "boost", - "score": 0.1377854198217392 + "score": 0.11005992442369461 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 150.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 155.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.2839280068874359 + "score": -0.04727638140320778 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.22015678882598877 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 180.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.006031915545463562 - }, - "else": { - "operation": "boost", - "score": -0.47430768609046936 - } + "operation": "boost", + "score": -0.10123234242200851 }, "else": { + "operation": "boost", + "score": 0.13402435183525085 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 231.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 270.5, "then": { - "operation": "boost", - "score": -0.007335854694247246 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.12667429447174072 + "score": -0.22002601623535156 }, "else": { "operation": "boost", - "score": 0.1100916787981987 + "score": 0.19588230550289154 } + }, + "else": { + "operation": "boost", + "score": 0.143484964966774 } + }, + "else": { + "operation": "boost", + "score": 0.021382829174399376 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.0985119491815567 - }, - "else": { - "operation": "boost", - "score": -0.12883853912353516 - } - }, - "else": { - "operation": "boost", - "score": -0.4359712302684784 - } + "operation": "boost", + "score": 0.11719183623790741 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 46.5, + "threshold": 80.5, "then": { + "operation": "boost", + "score": 0.04502050578594208 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08896935731172562 + "score": -0.10176991671323776 }, "else": { - "operation": "boost", - "score": -0.10240133851766586 - } - }, - "else": { - "operation": "boost", - "score": -0.40053245425224304 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06828311085700989 + "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.11400177329778671 + "score": 0.09270348399877548 } - }, - "else": { - "operation": "boost", - "score": 0.017941690981388092 } - }, - "else": { - "operation": "boost", - "score": -0.18338565528392792 } - }, - "else": { - "operation": "boost", - "score": -0.07550761848688126 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.6003897190093994 }, "else": { "operation": "boost", - "score": -0.04264058917760849 + "score": -0.031666044145822525 } + }, + "else": { + "operation": "boost", + "score": 0.012392024509608746 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.01902136392891407 - } - }, - "else": { + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 369.0, + "then": { + "operation": "boost", + "score": 0.10928968340158463 + }, + "else": { + "operation": "boost", + "score": -0.019412102177739143 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.02853081002831459 + }, + "else": { "operation": "boost", - "score": -0.025823520496487617 + "score": -0.009878017008304596 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "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 + } + } + } + } + }, + "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": 4.5, + "then": { + "operation": "boost", + "score": 0.11321916431188583 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.042822543531656265 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.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": 6.5, - "then": { - "operation": "boost", - "score": -0.025123611092567444 - }, - "else": { - "operation": "boost", - "score": 0.08457329124212265 - } - }, - "else": { - "operation": "boost", - "score": 0.100971519947052 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.03490753099322319 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.26009583473205566 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -6.5835212836873325e-09 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.13707661628723145 - }, - "else": { - "operation": "boost", - "score": 0.0728265717625618 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006283814553171396 - } - } - } + "operation": "boost", + "score": 0.06745143234729767 }, "else": { - "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": "boost", - "score": 0.1046096533536911 - }, - "else": { - "operation": "boost", - "score": 0.03795376047492027 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14394503831863403 - }, - "else": { - "operation": "boost", - "score": 0.08923572301864624 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0936083197593689 - } + "operation": "boost", + "score": -0.2748449742794037 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.0, + "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": 326.0, - "then": { - "operation": "boost", - "score": 0.04773429408669472 - }, - "else": { - "operation": "boost", - "score": 0.10608077794313431 - } + "operation": "boost", + "score": -0.28785890340805054 }, "else": { "operation": "boost", - "score": 0.021747644990682602 + "score": -0.42715194821357727 } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": 0.027782639488577843 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.03295334428548813 + "score": -0.16756296157836914 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, + "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.004280051216483116 + "score": 0.2822599709033966 }, "else": { "operation": "boost", - "score": 0.09855435788631439 + "score": -0.5388970971107483 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1095246896147728 - }, - "else": { - "operation": "boost", - "score": -0.12543614208698273 - } + "operation": "boost", + "score": 0.05006612464785576 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.02225201018154621 + "score": 0.06517916917800903 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.10322007536888123 + "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 + } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.11085508018732071 + "score": -0.4939887821674347 }, "else": { - "operation": "boost", - "score": -0.18414342403411865 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.12453293800354004 + }, + "else": { + "operation": "boost", + "score": -0.08908198028802872 + } } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017822163179516792 - }, - "else": { - "operation": "boost", - "score": -0.043833229690790176 - } + "operation": "boost", + "score": -0.26095589995384216 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.018354440107941628 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "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" + ], "then": { "operation": "boost", - "score": -0.07544081658124924 + "score": 0.013577964156866074 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { + "operation": "boost", + "score": 0.00654907152056694 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09606261551380157 - }, - "else": { - "operation": "boost", - "score": -0.10343620926141739 - } - }, - "else": { - "operation": "boost", - "score": 0.10613203793764114 - } + "operation": "boost", + "score": -0.014812310226261616 + }, + "else": { + "operation": "boost", + "score": -0.23522166907787323 + } + } + }, + "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.05237412080168724 + "score": 0.032951295375823975 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1318535.0, "then": { "operation": "boost", - "score": 0.06930816173553467 + "score": -0.09503155946731567 }, "else": { "operation": "boost", - "score": 0.08756508678197861 + "score": 0.07298140972852707 } } - }, - "else": { - "operation": "boost", - "score": -0.17566320300102234 } } + }, + "else": { + "operation": "boost", + "score": -0.019691571593284607 } + } + }, + "else": { + "operation": "boost", + "score": -0.21147914230823517 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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": 15.5, + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "boost", - "score": -0.031232522800564766 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "boost", - "score": 0.14422795176506042 - }, - "else": { - "operation": "boost", - "score": -0.14060939848423004 - } - } - }, - "else": { - "operation": "boost", - "score": 0.030365701764822006 - } + "operation": "boost", + "score": -0.35673338174819946 }, "else": { "operation": "boost", - "score": -0.00794210284948349 + "score": 0.09127115458250046 } + }, + "else": { + "operation": "boost", + "score": -0.02346820943057537 } - }, - "else": { - "operation": "boost", - "score": 0.0064579881727695465 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 460.0, "then": { - "operation": "boost", - "score": -0.00995994359254837 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07071896642446518 - }, - "else": { - "operation": "boost", - "score": -0.0323905274271965 - } + "operation": "boost", + "score": -0.06760475039482117 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.026346281170845032 + "score": 0.04581015184521675 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50004.5, + "feature": "NumReferences", + "threshold": 1272.0, "then": { - "operation": "boost", - "score": 0.013079412281513214 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.3601023852825165 + }, + "else": { + "operation": "boost", + "score": -0.11216844618320465 + } }, "else": { - "operation": "boost", - "score": -0.06668208539485931 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 897.0, + "then": { + "operation": "boost", + "score": 0.20738470554351807 + }, + "else": { + "operation": "boost", + "score": 0.6085352897644043 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.0336587056517601 } - } - }, - "else": { - "operation": "boost", - "score": -0.0003376977110747248 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.005973345600068569 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Type" + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.03530872240662575 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06465838104486465 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.12115675210952759 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.09879250079393387 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.05803654342889786 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.09791743755340576 - }, - "else": { - "operation": "boost", - "score": 0.0023636301048099995 - } - } - } - } + "operation": "boost", + "score": 0.09756626933813095 }, "else": { - "operation": "boost", - "score": 0.05873122811317444 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.03258492052555084 - }, - "else": { - "operation": "boost", - "score": 0.08800531178712845 - } + "operation": "boost", + "score": 0.06861001998186111 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10669330507516861 - }, - "else": { - "operation": "boost", - "score": -0.11512652784585953 - } + "operation": "boost", + "score": 0.09071037918329239 } - }, - "else": { - "operation": "boost", - "score": 0.030318573117256165 } } - }, - "else": { - "operation": "boost", - "score": -0.09789004921913147 } }, "else": { + "operation": "boost", + "score": 0.009057902731001377 + } + }, + "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": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_Namespace" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.02289370819926262 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.033546824008226395 + "score": 0.09194589406251907 }, "else": { "operation": "boost", - "score": 0.0799306109547615 + "score": -0.21993999183177948 } - }, - "else": { - "operation": "boost", - "score": 0.06901370733976364 } }, "else": { "operation": "boost", - "score": 0.0014812644803896546 + "score": 0.004155417438596487 } + }, + "else": { + "operation": "boost", + "score": -0.02424135059118271 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": -0.0005032608169130981 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": -0.054376643151044846 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0027822493575513363 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.044025029987096786 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.029268363490700722 - }, - "else": { - "operation": "boost", - "score": 0.07856786996126175 - } - }, - "else": { - "operation": "boost", - "score": 0.023508643731474876 - } + "operation": "boost", + "score": 0.08520977199077606 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "boost", + "score": 0.06981419771909714 + }, + "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": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.028367137536406517 + "score": 0.26468175649642944 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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.10388656705617905 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08967097103595734 - }, - "else": { - "operation": "boost", - "score": 0.10140883177518845 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.02964288368821144 - }, - "else": { - "operation": "boost", - "score": 0.11930670589208603 - } - } + "operation": "boost", + "score": 0.3623964190483093 }, "else": { "operation": "boost", - "score": 0.10437647253274918 + "score": 0.11543257534503937 } } }, "else": { "operation": "boost", - "score": 0.01592053659260273 + "score": -0.10275627672672272 } - }, - "else": { - "operation": "boost", - "score": 0.02784722112119198 } } - }, - "else": { - "operation": "boost", - "score": 0.030325530096888542 } }, "else": { - "operation": "boost", - "score": 0.019272010773420334 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105661.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.006804339587688446 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93746.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 94712.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "IsNameInContext", @@ -252652,2936 +255559,2719 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96602.0, + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.053534962236881256 + }, + "else": { + "operation": "boost", + "score": 0.1456594318151474 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 319.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1016547903418541 - }, - "else": { - "operation": "boost", - "score": 0.10199940949678421 - } + "operation": "boost", + "score": 0.08654527366161346 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.004326226189732552 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11050516366958618 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10115119069814682 - }, - "else": { - "operation": "boost", - "score": 0.13415516912937164 - } - } - } + "operation": "boost", + "score": 0.11240243166685104 } }, "else": { "operation": "boost", - "score": -0.14589644968509674 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104028.0, - "then": { - "operation": "boost", - "score": 0.04649703577160835 - }, - "else": { - "operation": "boost", - "score": 0.014738527126610279 + "score": 0.053850896656513214 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.6953859329223633 - }, - "else": { - "operation": "boost", - "score": 0.10708348453044891 - } + "operation": "boost", + "score": -0.09471838921308517 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.09506335854530334 - }, - "else": { - "operation": "boost", - "score": 0.0030161128379404545 - } + "operation": "boost", + "score": 0.07728574424982071 }, "else": { "operation": "boost", - "score": -0.032308533787727356 + "score": 0.11264782398939133 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.18433304131031036 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10.0, "then": { "operation": "boost", - "score": 0.04468638077378273 + "score": 0.013732679188251495 }, "else": { "operation": "boost", - "score": 0.11210747063159943 + "score": 0.1248433068394661 } + }, + "else": { + "operation": "boost", + "score": -0.008373819291591644 } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { "operation": "boost", - "score": 0.010648233816027641 + "score": 0.09157587587833405 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "operation": "boost", + "score": 0.09498380869626999 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005605393089354038 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "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_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": "NumReferences", - "threshold": 56138.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 90101.0, + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.22130896151065826 + "score": 0.0037932998966425657 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89371.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -0.13645830750465393 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1150488406419754 - }, - "else": { - "operation": "boost", - "score": 0.06992737948894501 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.13769961893558502 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71571.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0490964837372303 - }, - "else": { - "operation": "boost", - "score": 0.11418938636779785 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.035543233156204224 - }, - "else": { - "operation": "boost", - "score": 0.0976194441318512 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74638.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81569.0, - "then": { - "operation": "boost", - "score": -0.13156725466251373 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.046805717051029205 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "boost", - "score": 0.09651416540145874 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08711502701044083 - }, - "else": { - "operation": "boost", - "score": -0.100823774933815 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.6111243963241577 - }, - "else": { - "operation": "boost", - "score": 0.07308836281299591 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, - "then": { - "operation": "boost", - "score": -0.15728230774402618 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11128120869398117 - }, - "else": { - "operation": "boost", - "score": 0.1408001333475113 - } - }, - "else": { - "operation": "boost", - "score": 0.001387552241794765 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.018620992079377174 - } - } - } + "operation": "boost", + "score": 0.13058796525001526 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.0984584391117096 + "score": -0.15868908166885376 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.02437658980488777 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67685.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, - "then": { - "operation": "boost", - "score": -0.1934400498867035 - }, - "else": { - "operation": "boost", - "score": 0.09913313388824463 - } - }, - "else": { - "operation": "boost", - "score": -0.11320886760950089 - } - } + "operation": "boost", + "score": 0.047079332172870636 } }, "else": { "operation": "boost", - "score": -0.14352387189865112 + "score": -0.03007330559194088 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.08142010122537613 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.08679994940757751 - }, - "else": { - "operation": "boost", - "score": -0.6611636281013489 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11687718331813812 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, - "then": { - "operation": "boost", - "score": -0.10451406240463257 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12432973831892014 - }, - "else": { - "operation": "boost", - "score": 0.1609809249639511 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13195833563804626 + "score": 0.010344229638576508 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11013594269752502 - }, - "else": { - "operation": "boost", - "score": -0.007994372397661209 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10630374401807785 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, - "then": { - "operation": "boost", - "score": 0.09031021595001221 - }, - "else": { - "operation": "boost", - "score": -0.011355695314705372 - } - } - } + "operation": "boost", + "score": -0.36785173416137695 }, "else": { "operation": "boost", - "score": 0.07532260566949844 + "score": 0.10962851345539093 } } + }, + "else": { + "operation": "boost", + "score": 0.01333782821893692 + } + } + }, + "else": { + "operation": "boost", + "score": 0.049533162266016006 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04521019384264946 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11924507468938828 + }, + "else": { + "operation": "boost", + "score": 0.00015646644169464707 } } }, "else": { "operation": "boost", - "score": -0.05814061313867569 + "score": 0.0036117727868258953 } } + }, + "else": { + "operation": "boost", + "score": 0.02118709124624729 } + }, + "else": { + "operation": "boost", + "score": -0.12365946173667908 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 119809.5, + "threshold": 153.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.036030057817697525 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 225.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 386.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 884.0, + "then": { + "operation": "boost", + "score": 0.16570833325386047 + }, + "else": { + "operation": "boost", + "score": 0.039308030158281326 + } + }, + "else": { + "operation": "boost", + "score": 0.13381066918373108 + } + }, + "else": { + "operation": "boost", + "score": 0.04017520323395729 + } + }, + "else": { + "operation": "boost", + "score": -0.021970104426145554 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 123410.5, + "threshold": 193.5, "then": { "operation": "boost", - "score": 0.006176121532917023 + "score": -0.026708150282502174 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.0, "then": { + "operation": "boost", + "score": 0.1100807711482048 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.047413986176252365 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 174.5, "then": { "operation": "boost", - "score": -0.2752821147441864 + "score": 0.10257354378700256 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 164.0, "then": { "operation": "boost", - "score": 0.1077503114938736 + "score": -0.16925954818725586 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10586181282997131 - }, - "else": { - "operation": "boost", - "score": 0.09567347168922424 - } - }, - "else": { - "operation": "boost", - "score": 0.09957712143659592 - } + "operation": "boost", + "score": 0.11597835272550583 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 181.0, + "then": { + "operation": "boost", + "score": 0.09193149954080582 + }, + "else": { + "operation": "boost", + "score": -0.03772444650530815 + } } - }, - "else": { - "operation": "boost", - "score": -0.117226243019104 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.004203202202916145 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 90948.5, + "threshold": 28.5, "then": { "operation": "boost", - "score": -0.028155077248811722 + "score": 0.13278408348560333 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73888.0, - "then": { - "operation": "boost", - "score": 0.08404748141765594 - }, - "else": { - "operation": "boost", - "score": -0.16509033739566803 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73888.0, - "then": { - "operation": "boost", - "score": -0.23486316204071045 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "boost", - "score": 0.10576419532299042 - }, - "else": { - "operation": "boost", - "score": 0.05023692920804024 - } - } - } + "operation": "boost", + "score": 0.023715414106845856 } + }, + "else": { + "operation": "boost", + "score": -0.019883016124367714 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.06250794231891632 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.01695089228451252 + }, + "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.0467037595808506 + "score": -0.013662959448993206 }, "else": { "operation": "boost", - "score": -0.017450250685214996 + "score": -0.1265299916267395 } } - }, - "else": { + } + } + }, + "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": 47293.0, + "threshold": 87.0, "then": { - "operation": "boost", - "score": -0.013338961638510227 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 127.5, "then": { + "operation": "boost", + "score": 0.024733390659093857 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47131.5, + "threshold": 123.5, "then": { + "operation": "boost", + "score": 0.13016395270824432 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.021057723090052605 + "score": 0.11454609036445618 }, "else": { "operation": "boost", - "score": 0.07398330420255661 + "score": 0.16111363470554352 } - }, - "else": { - "operation": "boost", - "score": 0.05428487807512283 } - }, - "else": { - "operation": "boost", - "score": 0.0077718691900372505 } + }, + "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.029924048110842705 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.10560239106416702 }, "else": { "operation": "boost", - "score": 0.09840739518404007 + "score": -0.011793685145676136 } - }, - "else": { - "operation": "boost", - "score": 0.04544611647725105 } - }, - "else": { - "operation": "boost", - "score": -0.007426267955452204 } } } } - }, - "else": { + } + } + }, + { + "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": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.014248006045818329 + }, + "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": 2.5, - "then": { - "operation": "boost", - "score": 0.07042332738637924 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10611965507268906 - }, - "else": { - "operation": "boost", - "score": 0.10050775855779648 - } - } + "operation": "boost", + "score": -0.00396287627518177 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.16994914412498474 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.0011831175070255995 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09492678195238113 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.08027081936597824 + "score": -0.15175892412662506 }, "else": { "operation": "boost", - "score": 0.08123404532670975 + "score": 0.06812115758657455 } } - }, - "else": { - "operation": "boost", - "score": -0.0665445327758789 } - }, - "else": { - "operation": "boost", - "score": 0.13683758676052094 } - } - }, - "else": { - "operation": "boost", - "score": -0.00019088741100858897 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0030259001068770885 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.09055062383413315 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296854.0, + "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": 12.5, + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.022128891199827194 + "score": 0.08717440068721771 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": 0.10605964064598083 - }, - "else": { - "operation": "boost", - "score": 0.08410247415304184 - } + "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_greater", - "feature": "NumReferences", - "threshold": 1668.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2110.5, - "then": { - "operation": "boost", - "score": -0.0024202056229114532 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2083.0, - "then": { - "operation": "boost", - "score": -0.45565342903137207 - }, - "else": { - "operation": "boost", - "score": -0.04971695691347122 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "threshold": 1318535.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 642.5, + "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": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.03154050186276436 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1301.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.12616470456123352 + "score": 0.09778705984354019 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1264.5, - "then": { - "operation": "boost", - "score": 0.11107601970434189 - }, - "else": { - "operation": "boost", - "score": 0.05479944869875908 - } + "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": 21.5, + "threshold": 12.5, "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0630483403801918 + }, + "else": { + "operation": "boost", + "score": -0.31464478373527527 + } + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.298735111951828 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.25179430842399597 + "score": -0.06312844902276993 }, "else": { "operation": "boost", - "score": 0.06054277345538139 + "score": 0.05098274350166321 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12156980484724045 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01686248742043972 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.08910602331161499 + }, + "else": { + "operation": "boost", + "score": 0.048994265496730804 + } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11411750316619873 + "score": -0.033992599695920944 }, "else": { "operation": "boost", - "score": -0.12603595852851868 + "score": 0.05851421132683754 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.024310536682605743 - }, - "else": { - "operation": "boost", - "score": 0.0963810607790947 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10762716084718704 - }, - "else": { - "operation": "boost", - "score": -0.2829444110393524 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11645928025245667 - }, - "else": { - "operation": "boost", - "score": -0.12574750185012817 - } - } + "operation": "boost", + "score": -0.08708500117063522 } } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06481960415840149 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.6721227765083313 + }, + "else": { + "operation": "boost", + "score": 0.13532572984695435 + } + } + } + } + }, + "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, "then": { + "operation": "boost", + "score": 0.061205800622701645 + }, + "else": { + "operation": "boost", + "score": 0.23144197463989258 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.534878134727478 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1318535.0, "then": { "operation": "boost", - "score": 0.1112842783331871 + "score": 0.05670947581529617 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.0003864605678245425 - }, - "else": { - "operation": "boost", - "score": 0.09755530208349228 - } - }, - "else": { - "operation": "boost", - "score": -1.3122233152389526 - } - }, - "else": { - "operation": "boost", - "score": -0.11978695541620255 - } + "operation": "boost", + "score": 0.0035454982426017523 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.1166112869977951 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 461.5, - "then": { - "operation": "boost", - "score": 0.06594990193843842 - }, - "else": { - "operation": "boost", - "score": 0.0272976066917181 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.5, - "then": { - "operation": "boost", - "score": -0.04097367823123932 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.023321744054555893 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10967892408370972 - }, - "else": { - "operation": "boost", - "score": -0.33544984459877014 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08981499075889587 - }, - "else": { - "operation": "boost", - "score": -0.029995320364832878 - } - } - }, - "else": { - "operation": "boost", - "score": -0.19628237187862396 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.3034500479698181 - }, - "else": { - "operation": "boost", - "score": 0.10752172768115997 - } - }, - "else": { - "operation": "boost", - "score": -0.10779504477977753 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": 0.08025342971086502 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.019762171432375908 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11206567287445068 - }, - "else": { - "operation": "boost", - "score": 0.03661550208926201 - } - } - } - } - } - } + "operation": "boost", + "score": 0.005056262016296387 } - }, - "else": { - "operation": "boost", - "score": 0.017206650227308273 } + }, + "else": { + "operation": "boost", + "score": -0.5547927618026733 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1659.5, + "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": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 418.0, "then": { - "operation": "boost", - "score": -0.11197657138109207 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 496.0, + "then": { + "operation": "boost", + "score": 0.11506509780883789 + }, + "else": { + "operation": "boost", + "score": -0.06424299627542496 + } }, "else": { "operation": "boost", - "score": 0.12455601990222931 + "score": 0.10455629229545593 } }, "else": { "operation": "boost", - "score": -0.006955779157578945 + "score": 0.08163942396640778 } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.00037145978421904147 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 995.5, + "threshold": 1315.0, "then": { "operation": "boost", - "score": 0.08168153464794159 + "score": 0.04040052741765976 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.024865152314305305 - }, - "else": { - "operation": "boost", - "score": -0.14536306262016296 - } + "operation": "boost", + "score": 0.11033417284488678 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.0913558378815651 - }, - "else": { - "operation": "boost", - "score": 0.11435640603303909 - } + "operation": "boost", + "score": 0.08372174948453903 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.15931278467178345 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.1150641068816185 - }, - "else": { - "operation": "boost", - "score": 0.018908394500613213 - } - } + "operation": "boost", + "score": -0.06997493654489517 } } }, "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": 22.5, + "threshold": 820.5, + "then": { + "operation": "boost", + "score": 0.09433823823928833 + }, + "else": { + "operation": "boost", + "score": 0.10704030841588974 + } + }, + "else": { + "operation": "boost", + "score": -0.41609635949134827 + } + } + }, + "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": 70.0, + "threshold": 932.0, "then": { + "operation": "boost", + "score": 0.03096916526556015 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.185228168964386 + "score": -0.4418107569217682 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "boost", - "score": 0.0929427370429039 - }, - "else": { - "operation": "boost", - "score": 0.058767352253198624 - } + "operation": "boost", + "score": -0.15216290950775146 } - }, - "else": { - "operation": "boost", - "score": -0.2114117592573166 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 802.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0664798691868782 + "score": -0.2968344986438751 }, "else": { "operation": "boost", - "score": 0.11820321530103683 + "score": 0.12608838081359863 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.2293136864900589 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": -0.13381004333496094 + "score": 0.13024626672267914 }, "else": { - "operation": "boost", - "score": 0.08933933824300766 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.015344287268817425 + "score": -0.09769793599843979 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 643.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 368.0, - "then": { - "operation": "boost", - "score": 0.11865547299385071 - }, - "else": { - "operation": "boost", - "score": 0.07948372513055801 - } + "operation": "boost", + "score": 0.10352666676044464 }, "else": { "operation": "boost", - "score": 0.0020022913813591003 + "score": 0.11687019467353821 } } - }, - "else": { - "operation": "boost", - "score": -0.10805944353342056 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_Statement", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 160.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 232.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.06979232281446457 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 631.5, + "then": { + "operation": "boost", + "score": 0.12385508418083191 + }, + "else": { + "operation": "boost", + "score": 0.12610983848571777 + } }, "else": { "operation": "boost", - "score": 0.10364844650030136 + "score": -0.10430184006690979 } }, "else": { - "operation": "boost", - "score": 0.07396254688501358 - } - }, - "else": { - "operation": "boost", - "score": -0.03924958407878876 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": 0.06456946581602097 - }, - "else": { - "operation": "boost", - "score": 0.11728404462337494 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "boost", - "score": -0.11198069155216217 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.050014883279800415 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.1007758378982544 + }, + "else": { + "operation": "boost", + "score": -0.32893604040145874 + } + }, + "else": { + "operation": "boost", + "score": 0.0971500352025032 + } }, "else": { - "operation": "boost", - "score": 0.10360845923423767 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10371971130371094 + "score": 0.10330014675855637 }, "else": { "operation": "boost", - "score": -0.09902939945459366 + "score": -0.013346631079912186 } - }, - "else": { - "operation": "boost", - "score": -0.19002042710781097 } } + }, + "else": { + "operation": "boost", + "score": 0.010697031393647194 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.13982699811458588 - }, - "else": { - "operation": "boost", - "score": 0.10615530610084534 - } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.03198401257395744 + "score": 0.09528617560863495 }, "else": { + "operation": "boost", + "score": -0.10578344017267227 + } + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.1054546982049942 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.05768250301480293 + "score": 0.1081521138548851 }, "else": { "operation": "boost", - "score": -0.3937952220439911 + "score": -0.19970297813415527 } - }, - "else": { - "operation": "boost", - "score": -0.0006529513048008084 } + }, + "else": { + "operation": "boost", + "score": -0.019987337291240692 } + }, + "else": { + "operation": "boost", + "score": -0.2675946056842804 } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 509.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.1477203667163849 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 152.5, + "threshold": 1121.5, "then": { + "operation": "boost", + "score": 0.007730187848210335 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199.5, + "threshold": 1043.5, "then": { + "operation": "boost", + "score": 0.11340342462062836 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 324.5, + "threshold": 754.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 787.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 536.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.005964975338429213 + "score": -0.11112749576568604 }, "else": { "operation": "boost", - "score": -0.3705853521823883 + "score": 0.134748175740242 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 419.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 455.5, - "then": { - "operation": "boost", - "score": 0.07841891050338745 - }, - "else": { - "operation": "boost", - "score": 0.13700681924819946 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.14463688433170319 - }, - "else": { - "operation": "boost", - "score": 0.03711594641208649 - } - }, - "else": { - "operation": "boost", - "score": -0.430928498506546 - } - } - }, - "else": { - "operation": "boost", - "score": -0.005922982469201088 - } + "operation": "boost", + "score": -0.10457425564527512 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10841712355613708 - }, - "else": { - "operation": "boost", - "score": -0.015072833746671677 - } + "operation": "boost", + "score": 0.11148767918348312 } }, "else": { "operation": "boost", - "score": -0.17232917249202728 + "score": 0.035980224609375 } + } + } + }, + "else": { + "operation": "boost", + "score": -0.41919776797294617 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.5, + "then": { + "operation": "boost", + "score": 0.12796635925769806 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 414.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 427.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.32383430004119873 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 198.5, + "threshold": 443.5, "then": { - "operation": "boost", - "score": 0.12131361663341522 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 464.0, "then": { "operation": "boost", - "score": 0.09865228831768036 + "score": -0.44815200567245483 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.14419613778591156 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.4874785244464874 - }, - "else": { - "operation": "boost", - "score": 0.09732836484909058 - } - } + "operation": "boost", + "score": 0.12317033857107162 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "boost", - "score": 0.11381617188453674 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09989959001541138 }, "else": { "operation": "boost", - "score": 0.022054491564631462 + "score": -0.09302203357219696 } } + }, + "else": { + "operation": "boost", + "score": 0.12815919518470764 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0056013972498476505 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": -0.15444563329219818 - }, - "else": { - "operation": "boost", - "score": 0.4374667704105377 - } - }, - "else": { - "operation": "boost", - "score": 0.12458112835884094 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "boost", - "score": -0.3769206702709198 - }, - "else": { - "operation": "boost", - "score": -0.032842256128787994 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10274448990821838 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 397.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.17269112169742584 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1545686572790146 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.18031473457813263 - }, - "else": { - "operation": "boost", - "score": 0.11693223565816879 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.07681366801261902 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.16670477390289307 - }, - "else": { - "operation": "boost", - "score": 0.11528743803501129 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.20007912814617157 - }, - "else": { - "operation": "boost", - "score": -0.11097128689289093 - } - }, - "else": { - "operation": "boost", - "score": -0.23135949671268463 - } - } - } - } + "operation": "boost", + "score": -0.18514394760131836 }, "else": { "operation": "boost", - "score": -0.15687242150306702 + "score": 0.08999814838171005 } - }, - "else": { - "operation": "boost", - "score": 0.0015930087538436055 } } } }, "else": { - "operation": "boost", - "score": -0.024151049554347992 - } - } - }, - "else": { - "operation": "boost", - "score": -0.003715137019753456 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010425068903714418 - } - }, - { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12066560983657837 + "score": 0.07862231135368347 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.019068244844675064 + "score": -0.7521237134933472 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "boost", + "score": -0.02404453046619892 + } + } + } + }, + "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": "boost", - "score": 0.06737226992845535 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 460.5, "then": { "operation": "boost", - "score": -0.10013313591480255 + "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.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.07753340154886246 + "score": 0.08140164613723755 }, "else": { "operation": "boost", - "score": 0.11968141794204712 + "score": 0.03870562091469765 } + }, + "else": { + "operation": "boost", + "score": -0.3478417992591858 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02684810571372509 }, "else": { - "operation": "boost", - "score": 0.022612255066633224 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19599084556102753 + }, + "else": { + "operation": "boost", + "score": 0.016061749309301376 + } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.021567607298493385 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 514.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1093.5, "then": { "operation": "boost", - "score": -0.008243770338594913 + "score": 0.13958141207695007 }, "else": { "operation": "boost", - "score": -0.06424612551927567 + "score": 0.07160279899835587 } }, "else": { - "operation": "boost", - "score": -0.013162883929908276 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 446.0, + "then": { + "operation": "boost", + "score": 0.11089428514242172 + }, + "else": { + "operation": "boost", + "score": -0.4578693211078644 + } } }, "else": { "operation": "boost", - "score": 9.697616042103618e-05 + "score": 0.02521582692861557 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 290.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.037606723606586456 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 250.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.14026546478271484 + "score": -0.11874815076589584 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "GlobalScope" + "CCC_Statement", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.10859659314155579 + "score": 0.10702499747276306 }, "else": { "operation": "boost", - "score": 0.1594131886959076 + "score": 0.06891675293445587 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "boost", - "score": 0.08999687433242798 - }, - "else": { - "operation": "boost", - "score": 0.0525566041469574 - } - }, - "else": { - "operation": "boost", - "score": 0.006686401553452015 - } + "operation": "boost", + "score": -0.00240090093575418 } } + }, + "else": { + "operation": "boost", + "score": -0.08013244718313217 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11154.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.001006401376798749 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 11467.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 417741.0, + "then": { + "operation": "boost", + "score": -0.02788316085934639 + }, + "else": { + "operation": "boost", + "score": 0.015869563445448875 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11209.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20.5, + "threshold": 11245.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": 0.09592436254024506 - }, - "else": { - "operation": "boost", - "score": -0.15433794260025024 - } - }, - "else": { - "operation": "boost", - "score": -0.3506685793399811 - } - }, - "else": { - "operation": "boost", - "score": -0.16435390710830688 - } + "operation": "boost", + "score": 0.10251886397600174 }, "else": { "operation": "boost", - "score": 0.1579819619655609 + "score": 0.10076768696308136 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.011804413050413132 - }, - "else": { - "operation": "boost", - "score": -0.21294990181922913 - } + "operation": "boost", + "score": -0.013597220182418823 } }, "else": { "operation": "boost", - "score": -0.40633928775787354 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.01754780113697052 - }, - "else": { - "operation": "boost", - "score": 0.11528800427913666 + "score": 0.027594076469540596 } } } }, "else": { + "operation": "boost", + "score": -0.009662346914410591 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.1008845865726471 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": -0.14445452392101288 + }, + "else": { + "operation": "boost", + "score": 0.06431876122951508 + } + } + } + } + }, + "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_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.01930684596300125 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.027114728465676308 + "score": 0.002316157566383481 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.12016516178846359 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.058991286903619766 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.042467594146728516 + "score": 0.02024233154952526 }, "else": { "operation": "boost", - "score": 0.12071976810693741 + "score": 0.07976624369621277 } }, "else": { - "operation": "boost", - "score": -0.2882717549800873 + "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 + } + }, + "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": "NumReferences", - "threshold": 27.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "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": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10273460298776627 + "score": 0.019900141283869743 }, "else": { "operation": "boost", - "score": 0.13925224542617798 + "score": 0.1179121807217598 } }, "else": { "operation": "boost", - "score": 0.10953641682863235 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.025082573294639587 - }, - "else": { - "operation": "boost", - "score": 0.15732522308826447 + "score": -0.14324845373630524 } } + }, + "else": { + "operation": "boost", + "score": 0.05525245890021324 } }, "else": { "operation": "boost", - "score": 0.11293622851371765 + "score": 0.05810430273413658 } }, "else": { "operation": "boost", - "score": -0.024531124159693718 + "score": 0.014305219985544682 } } } }, "else": { - "operation": "boost", - "score": -0.0027056189719587564 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.11041481792926788 + }, + "else": { + "operation": "boost", + "score": -0.031619805842638016 + } } }, "else": { "operation": "boost", - "score": -0.03157329931855202 + "score": -0.017637385055422783 } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.20321883261203766 + }, + "else": { + "operation": "boost", + "score": 0.02970978058874607 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.13460686802864075 + "score": 0.054250650107860565 }, "else": { + "operation": "boost", + "score": 0.1354769468307495 + } + }, + "else": { + "operation": "boost", + "score": -0.15263499319553375 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017030807211995125 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02732391469180584 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07941841334104538 + }, + "else": { + "operation": "boost", + "score": -0.006125560961663723 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005617315182462335 + } + } + }, + "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": "SymbolScopeDistance", + "threshold": 7.0, + "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_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": -0.17468644678592682 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": 0.10364702343940735 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": -0.3362541198730469 - }, - "else": { - "operation": "boost", - "score": 0.11887363344430923 - } - } - } + "operation": "boost", + "score": 0.0006641975487582386 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 4.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44.0, "then": { "operation": "boost", - "score": -0.1832871437072754 + "score": 0.0803370326757431 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.010153789073228836 + "score": 0.08913838863372803 }, "else": { "operation": "boost", - "score": 0.13816730678081512 + "score": 0.12457022070884705 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.07188581675291061 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10528559237718582 - }, - "else": { - "operation": "boost", - "score": 0.1243201196193695 - } - }, - "else": { - "operation": "boost", - "score": -0.03556926175951958 - } - } - }, - "else": { - "operation": "boost", - "score": -0.15355850756168365 - } + "operation": "boost", + "score": 0.016508983448147774 } } + }, + "else": { + "operation": "boost", + "score": 0.10757023841142654 } + }, + "else": { + "operation": "boost", + "score": -0.0052080461755394936 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.059947021305561066 + }, + "else": { + "operation": "boost", + "score": -0.002667909488081932 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumReferences", "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10565339773893356 - }, - "else": { - "operation": "boost", - "score": -0.06973191350698471 - } - }, - "else": { - "operation": "boost", - "score": 0.1269810050725937 - } + "operation": "boost", + "score": -2.5279407501220703 }, "else": { "operation": "boost", - "score": 0.06542010605335236 + "score": 0.10170585662126541 } }, "else": { + "operation": "boost", + "score": 0.05412573367357254 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.12137679755687714 - }, - "else": { - "operation": "boost", - "score": 0.10540636628866196 - } - }, - "else": { - "operation": "boost", - "score": -0.007610530126839876 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03267471864819527 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11060521006584167 - }, - "else": { - "operation": "boost", - "score": -0.1465936303138733 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.21189799904823303 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10661177337169647 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.10735482722520828 - }, - "else": { - "operation": "boost", - "score": -0.2687079906463623 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.014841470867395401 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.003773787058889866 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.0009521992178633809 - }, - "else": { - "operation": "boost", - "score": 0.15500937402248383 - } - }, - "else": { - "operation": "boost", - "score": -0.10037178546190262 - } - }, - "else": { - "operation": "boost", - "score": 0.1005023866891861 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.027215344831347466 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.09234921634197235 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10148914158344269 + "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 + } + } + } + } }, "else": { "operation": "if_greater", @@ -255589,6058 +258279,5250 @@ "threshold": 14.5, "then": { "operation": "boost", - "score": 0.11376860737800598 + "score": 0.09922514110803604 }, "else": { - "operation": "boost", - "score": 0.10391499847173691 + "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 + } } } + }, + "else": { + "operation": "boost", + "score": 0.11046609282493591 } - }, - "else": { - "operation": "boost", - "score": 0.02613675780594349 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.036865655332803726 - }, - "else": { - "operation": "boost", - "score": 0.11537698656320572 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.03189490735530853 + "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.10780590027570724 + "score": 0.0668802410364151 } }, "else": { "operation": "boost", - "score": 0.09984737634658813 + "score": -0.016626425087451935 } + }, + "else": { + "operation": "boost", + "score": -0.10397011041641235 } }, "else": { + "operation": "boost", + "score": 0.035150814801454544 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.02251380868256092 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.021348435431718826 - }, - "else": { - "operation": "boost", - "score": 0.11980538815259933 - } + "operation": "boost", + "score": 0.10476706922054291 }, "else": { "operation": "boost", - "score": 0.045470230281353 + "score": 0.037177640944719315 } + }, + "else": { + "operation": "boost", + "score": 0.004518701694905758 } + }, + "else": { + "operation": "boost", + "score": -0.0006814105436205864 } - }, - "else": { - "operation": "boost", - "score": 0.03360635042190552 } } } + }, + "else": { + "operation": "boost", + "score": -0.03691780939698219 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006074751261621714 - }, - "else": { - "operation": "boost", - "score": -0.012350792065262794 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0010492342989891768 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50010.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.047779157757759094 - }, - "else": { - "operation": "boost", - "score": 0.0005277236923575401 - } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 935.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.00724770687520504 + "score": 0.00021293730242177844 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.02277580089867115 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.048349667340517044 + "score": -0.11934904009103775 }, "else": { - "operation": "boost", - "score": -0.16869604587554932 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016776930540800095 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11210702359676361 + }, + "else": { + "operation": "boost", + "score": 0.13191205263137817 + } + } + }, + "else": { + "operation": "boost", + "score": 0.052608489990234375 + } } + }, + "else": { + "operation": "boost", + "score": -0.08307820558547974 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.014403898268938065 - }, - "else": { - "operation": "boost", - "score": -0.08590532839298248 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.03572186082601547 + "score": 0.061324089765548706 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.02143869921565056 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.00422327546402812 + "score": -0.015106831677258015 }, "else": { + "operation": "boost", + "score": -0.010564321652054787 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09487650543451309 + "score": -0.07660208642482758 }, "else": { + "operation": "boost", + "score": 0.15584753453731537 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1446908414363861 + "score": 0.10403822362422943 }, "else": { "operation": "boost", - "score": 0.08515714854001999 + "score": 0.01176818273961544 } + }, + "else": { + "operation": "boost", + "score": 0.027325663715600967 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "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", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_ClassOrStructTag" + "Variable" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.021510697901248932 + "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.11654321849346161 + "score": 0.009522299282252789 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13121922314167023 - }, - "else": { - "operation": "boost", - "score": -0.016982700675725937 - } + "operation": "boost", + "score": 0.020633716136217117 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol", + "CCC_Statement", "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.019296104088425636 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.14398688077926636 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.08906871825456619 - }, - "else": { - "operation": "boost", - "score": 0.10276784002780914 - } - }, - "else": { - "operation": "boost", - "score": -0.1467883139848709 - } - }, - "else": { - "operation": "boost", - "score": 0.0450177863240242 - } + "operation": "boost", + "score": -0.1305142641067505 }, "else": { "operation": "boost", - "score": 0.11217045783996582 + "score": 0.0958184003829956 } - }, - "else": { - "operation": "boost", - "score": 0.02583002671599388 } + }, + "else": { + "operation": "boost", + "score": 0.0583610013127327 } }, "else": { "operation": "boost", - "score": -0.04130672290921211 + "score": -0.1070014238357544 } }, "else": { "operation": "boost", - "score": 0.0200638584792614 + "score": 0.02414948120713234 } }, "else": { "operation": "boost", - "score": -0.04333992674946785 + "score": -0.005883995909243822 } } }, "else": { "operation": "boost", - "score": -0.015376543626189232 + "score": -0.031234797090291977 } - }, - "else": { - "operation": "boost", - "score": 0.03327753394842148 } } + }, + "else": { + "operation": "boost", + "score": -0.020651962608098984 } + }, + "else": { + "operation": "boost", + "score": -0.00047630988410674036 } - }, - "else": { - "operation": "boost", - "score": -0.0017437062924727798 } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, "then": { + "operation": "boost", + "score": 0.007739389315247536 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.0003895792178809643 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05325865000486374 - }, - "else": { - "operation": "boost", - "score": -0.4523407220840454 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.12902456521987915 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.028537483885884285 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": -0.3197402358055115 + }, + "else": { + "operation": "boost", + "score": 0.08177152276039124 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.024701323360204697 + }, + "else": { + "operation": "boost", + "score": 0.12364489585161209 + } + }, + "else": { + "operation": "boost", + "score": -0.18159723281860352 + } + } + } + } }, "else": { - "operation": "boost", - "score": -0.6260256171226501 - } - }, - "else": { - "operation": "boost", - "score": -0.18464380502700806 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0037268525920808315 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Unknown", - "Keyword", - "Macro" - ], - "then": { - "operation": "boost", - "score": 0.013723071664571762 - }, - "else": { - "operation": "boost", - "score": -0.056375034153461456 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0037009953521192074 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09604351967573166 - }, - "else": { - "operation": "boost", - "score": 0.013102671131491661 - } - }, - "else": { - "operation": "boost", - "score": 0.0009094738052226603 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.004386113490909338 - }, - "else": { - "operation": "boost", - "score": -0.23546376824378967 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.009879054501652718 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0031902510672807693 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": -0.004056092351675034 - }, - "else": { - "operation": "boost", - "score": -0.11186737567186356 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.005334871355444193 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.013161472976207733 - }, - "else": { - "operation": "boost", - "score": -0.02706143446266651 - } - }, - "else": { - "operation": "boost", - "score": -0.12189927697181702 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.004047183785587549 - }, - "else": { - "operation": "boost", - "score": -0.08691087365150452 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Keyword", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33380.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34237.5, - "then": { - "operation": "boost", - "score": 0.026722276583313942 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.15854991972446442 - }, - "else": { - "operation": "boost", - "score": -0.09054724127054214 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0029180890414863825 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0007158135413192213 - }, - "else": { - "operation": "boost", - "score": 0.15118193626403809 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.02787630446255207 - }, - "else": { - "operation": "boost", - "score": 0.07084906101226807 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10051355510950089 - }, - "else": { - "operation": "boost", - "score": 0.09510884433984756 - } - }, - "else": { - "operation": "boost", - "score": 0.0730610266327858 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04783829301595688 - }, - "else": { - "operation": "boost", - "score": -0.015165140852332115 - } - } - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24900.5, + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.007874312810599804 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 35.5, "then": { - "operation": "boost", - "score": -0.09734019637107849 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53939.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.016926156356930733 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 52.5, "then": { "operation": "boost", - "score": 0.10729003697633743 + "score": 0.050787486135959625 }, "else": { "operation": "boost", - "score": 0.08186046034097672 + "score": 0.12368885427713394 } - }, - "else": { - "operation": "boost", - "score": 0.03623400628566742 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.8886623978614807 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10194329917430878 }, "else": { "operation": "boost", - "score": 0.12016914784908295 + "score": -0.19217398762702942 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1580.0, - "then": { - "operation": "boost", - "score": -0.073310986161232 - }, - "else": { - "operation": "boost", - "score": 0.04988648742437363 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.008751562796533108 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.04857990890741348 - }, - "else": { - "operation": "boost", - "score": 0.12977710366249084 - } - } - }, - "else": { - "operation": "boost", - "score": -0.013295326381921768 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 369.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 372.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 477.0, - "then": { - "operation": "boost", - "score": -0.22168967127799988 }, "else": { "operation": "boost", - "score": 0.156464621424675 + "score": -0.08721726387739182 } }, "else": { - "operation": "boost", - "score": 0.05499408021569252 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1619.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62405.5, + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.006993614602833986 + "score": -0.09411483258008957 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61294.0, + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12464788556098938 - }, - "else": { - "operation": "boost", - "score": 0.11701934784650803 - } + "operation": "boost", + "score": 0.11398769915103912 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 51628.0, + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55801.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.021507255733013153 + "score": 0.07748521119356155 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.08206793665885925 - }, - "else": { - "operation": "boost", - "score": 0.1141013577580452 - } + "operation": "boost", + "score": 0.09928549081087112 } }, + "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": "NumReferences", - "threshold": 14379.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.11094887554645538 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28296.5, + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.020682791247963905 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27164.5, + "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11462537199258804 + "score": -0.5225893259048462 }, "else": { - "operation": "boost", - "score": 0.11979011446237564 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06769383698701859 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.023173784837126732 - }, - "else": { - "operation": "boost", - "score": -0.17279282212257385 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15236.0, - "then": { - "operation": "boost", - "score": 0.03370903804898262 - }, - "else": { - "operation": "boost", - "score": 0.09525611251592636 - } - }, - "else": { - "operation": "boost", - "score": 0.11130364239215851 - } + "score": -0.058416418731212616 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22661.5, - "then": { - "operation": "boost", - "score": 0.1352693736553192 - }, - "else": { - "operation": "boost", - "score": -0.07756293565034866 - } - }, - "else": { - "operation": "boost", - "score": 0.011701753363013268 - } + "operation": "boost", + "score": 0.08653315901756287 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9417.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.024645477533340454 }, "else": { "operation": "boost", - "score": -0.21905559301376343 + "score": -0.027563277631998062 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9338.0, - "then": { - "operation": "boost", - "score": 0.11337941884994507 - }, - "else": { - "operation": "boost", - "score": 0.0011704611824825406 - } + "operation": "boost", + "score": 0.1014089286327362 } } } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.07519113272428513 + }, + "else": { + "operation": "boost", + "score": -0.2819025218486786 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.003294851165264845 }, "else": { "operation": "boost", - "score": -0.03526529669761658 + "score": -0.1675855815410614 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1617.0, - "then": { - "operation": "boost", - "score": 0.11925560981035233 - }, - "else": { - "operation": "boost", - "score": 0.029486145824193954 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.1258082538843155 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.06720548868179321 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 29.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 36.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.25944969058036804 - }, - "else": { - "operation": "boost", - "score": 0.10795148462057114 - } + "operation": "boost", + "score": 0.05763941630721092 }, "else": { "operation": "boost", - "score": 0.2163550704717636 + "score": 0.09022194892168045 } }, "else": { "operation": "boost", - "score": -0.003532242961227894 + "score": -0.0629008561372757 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.000783120165579021 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03986146301031113 }, "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.13477784395217896 - }, - "else": { - "operation": "boost", - "score": 0.08323363959789276 - } - }, - "else": { - "operation": "boost", - "score": -0.10915734618902206 - } + "operation": "boost", + "score": 0.1266094297170639 } - }, - "else": { - "operation": "boost", - "score": -0.016576683148741722 } }, "else": { "operation": "boost", - "score": -0.009370558895170689 + "score": -0.007079871837049723 } }, "else": { "operation": "boost", - "score": -0.005406077951192856 + "score": 0.02697604149580002 } } + }, + "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": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.01788261905312538 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 315.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10310128331184387 - }, - "else": { - "operation": "boost", - "score": 0.14411227405071259 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 341.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09617321938276291 - }, - "else": { - "operation": "boost", - "score": -0.06264955550432205 - } + "operation": "boost", + "score": -0.061129890382289886 }, "else": { "operation": "boost", - "score": 0.10112828761339188 + "score": 0.08614609390497208 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "boost", - "score": 0.04161518067121506 - }, - "else": { - "operation": "boost", - "score": 0.1360509842634201 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3380865454673767 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.2031973898410797 - }, - "else": { - "operation": "boost", - "score": 0.027732418850064278 - } - } - } + "operation": "boost", + "score": 0.10956519097089767 } }, "else": { "operation": "boost", - "score": -0.35287994146347046 + "score": 0.11657475680112839 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.20252086222171783 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "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": 11.0, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10744833201169968 + "score": 0.031699128448963165 }, "else": { "operation": "boost", - "score": 0.1019037663936615 + "score": -0.028880596160888672 } }, "else": { - "operation": "boost", - "score": 0.12407305836677551 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09280028939247131 + }, + "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": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.003910969942808151 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.11133971810340881 + "score": 0.11382262408733368 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.004063819535076618 + "score": -0.48523440957069397 }, "else": { - "operation": "boost", - "score": -0.13848745822906494 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { "operation": "boost", - "score": -0.0008824332617223263 + "score": -0.013476797379553318 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.12695710361003876 + "score": 0.05607042461633682 }, "else": { "operation": "boost", - "score": 0.05173788219690323 + "score": 0.09587884694337845 } } - }, - "else": { - "operation": "boost", - "score": -0.123331718146801 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.13017676770687103 - }, - "else": { - "operation": "boost", - "score": 0.10616067051887512 } } - } - }, - "else": { - "operation": "boost", - "score": -0.15891757607460022 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.39546096324920654 - }, - "else": { - "operation": "boost", - "score": -0.45289555191993713 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.21543629467487335 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.06653717160224915 - }, - "else": { - "operation": "boost", - "score": -0.2782342731952667 - } - } - }, - "else": { - "operation": "boost", - "score": -0.011174928396940231 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0012285360135138035 - } - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10537412017583847 - }, - "else": { - "operation": "boost", - "score": -0.010734830051660538 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.017809920012950897 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.004660612903535366 - }, - "else": { - "operation": "boost", - "score": -0.5215564966201782 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50010.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.005601848941296339 - }, - "else": { - "operation": "boost", - "score": 0.0020671978127211332 - } - }, - "else": { - "operation": "boost", - "score": 2.0520269870758057 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50013.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.03188475966453552 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.012133065611124039 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.12600667774677277 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.011211937293410301 - }, - "else": { - "operation": "boost", - "score": -0.12861070036888123 - } - }, - "else": { - "operation": "boost", - "score": -0.0652153417468071 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.007827207446098328 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03658101707696915 - }, - "else": { - "operation": "boost", - "score": -0.03693216294050217 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.015435487031936646 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.02824700064957142 - }, - "else": { - "operation": "boost", - "score": 0.12112604081630707 - } - }, - "else": { - "operation": "boost", - "score": 0.03702201321721077 - } - }, - "else": { - "operation": "boost", - "score": -0.026269111782312393 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.00737973814830184 - }, - "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": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0018912163795903325 }, "else": { "operation": "boost", - "score": 0.057654086500406265 + "score": 0.2980473041534424 } }, "else": { "operation": "boost", - "score": -0.01238811295479536 + "score": -1.1131967306137085 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.0, - "then": { - "operation": "boost", - "score": -0.49375277757644653 - }, - "else": { - "operation": "boost", - "score": 0.01032724604010582 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.33147671818733215 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.0808902308344841 + "score": -0.005164178553968668 }, "else": { - "operation": "boost", - "score": 0.11988384276628494 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.14149077236652374 + }, + "else": { + "operation": "boost", + "score": -0.22135639190673828 + } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.04945122450590134 - }, - "else": { - "operation": "boost", - "score": -0.0722772553563118 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10037532448768616 + "score": 0.0024388842284679413 }, "else": { "operation": "boost", - "score": 0.019410917535424232 + "score": -0.6253217458724976 } - }, - "else": { - "operation": "boost", - "score": -0.20876508951187134 } }, - "else": { - "operation": "boost", - "score": -0.009206217713654041 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.13060592114925385 - }, - "else": { - "operation": "boost", - "score": 0.0962429940700531 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.03469885513186455 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.10494735836982727 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1983291506767273 - }, - "else": { - "operation": "boost", - "score": 0.15189124643802643 - } + "operation": "boost", + "score": 0.016466598957777023 }, "else": { - "operation": "boost", - "score": -0.10471675544977188 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02355094440281391 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.006622910499572754 - }, - "else": { - "operation": "boost", - "score": 0.036348141729831696 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1298.0, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1976.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.06220504269003868 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1176210567355156 + }, + "else": { + "operation": "boost", + "score": 0.173732727766037 + } + }, + "else": { + "operation": "boost", + "score": -0.03899272158741951 + } }, "else": { "operation": "boost", - "score": 0.10652260482311249 + "score": 0.13789357244968414 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "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.12406162917613983 + "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 + } }, "else": { - "operation": "boost", - "score": -0.4377036988735199 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.10642863810062408 + }, + "else": { + "operation": "boost", + "score": -0.14967665076255798 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03233924135565758 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "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": 154.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.03285100683569908 + "score": -0.0004653522337321192 }, "else": { - "operation": "boost", - "score": 0.2670583128929138 + "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 + } } }, "else": { "operation": "boost", - "score": 0.15372006595134735 + "score": -0.005292579066008329 } } - }, - "else": { - "operation": "boost", - "score": -0.11860382556915283 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 198.0, - "then": { - "operation": "boost", - "score": 0.10377690941095352 - }, - "else": { - "operation": "boost", - "score": 0.15732499957084656 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 259.5, + "threshold": 30.5, "then": { - "operation": "boost", - "score": 0.11769170314073563 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 105.0, + "threshold": 60.0, "then": { "operation": "boost", - "score": -0.03356940299272537 + "score": -0.14379720389842987 }, "else": { "operation": "boost", - "score": 0.12117047607898712 + "score": 0.0988018661737442 } + }, + "else": { + "operation": "boost", + "score": -0.1866455078125 } + }, + "else": { + "operation": "boost", + "score": 0.10194612294435501 } + }, + "else": { + "operation": "boost", + "score": -0.08604786545038223 } - }, - "else": { - "operation": "boost", - "score": 0.016033301129937172 } }, "else": { - "operation": "boost", - "score": -0.015424404293298721 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.0018363979179412127 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "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.028735633939504623 + "score": 0.049084920436143875 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.07819666713476181 + "score": -0.0963142067193985 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.08883380144834518 - }, - "else": { - "operation": "boost", - "score": 0.0391242690384388 - } + "operation": "boost", + "score": -0.13243135809898376 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.050650354474782944 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10627413541078568 - }, - "else": { - "operation": "boost", - "score": 0.09179014712572098 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.1253037005662918 + "score": 0.3095932602882385 }, "else": { "operation": "boost", - "score": 0.0901051014661789 + "score": -0.11073615401983261 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.001409128657542169 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.017984263598918915 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09739615023136139 }, "else": { "operation": "boost", - "score": 0.08149497956037521 + "score": 0.07101621478796005 } }, "else": { "operation": "boost", - "score": 0.014450392685830593 + "score": 0.05984000116586685 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6228.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { - "operation": "boost", - "score": 0.010301255621016026 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.11886502802371979 + "score": -0.41180410981178284 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11409515887498856 - }, - "else": { - "operation": "boost", - "score": 0.045677684247493744 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.7086679339408875 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11128803342580795 - }, - "else": { - "operation": "boost", - "score": 0.11013353615999222 - } - } - } + "operation": "boost", + "score": -0.02151193656027317 } - }, - "else": { - "operation": "boost", - "score": -0.018365224823355675 } } - }, - "else": { - "operation": "boost", - "score": 0.017887689173221588 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.005160749424248934 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 87.0, + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10601330548524857 + "score": -0.1076095923781395 }, "else": { "operation": "boost", - "score": 0.103244848549366 + "score": 0.1042371541261673 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3000.0, + "threshold": 21258.5, "then": { + "operation": "boost", + "score": 0.11495395749807358 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04708632081747055 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8431.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10242440551519394 - }, - "else": { - "operation": "boost", - "score": 0.09955597668886185 - } + "operation": "boost", + "score": -0.3753570020198822 }, "else": { "operation": "boost", - "score": -0.12910890579223633 + "score": -0.10243230313062668 } - }, - "else": { - "operation": "boost", - "score": 0.10228011012077332 } + } + } + }, + "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": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 118.0, + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 218.5, + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.01753952167928219 + "score": 0.0029230352956801653 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.02344602718949318 + "score": 0.12863722443580627 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, - "then": { - "operation": "boost", - "score": 0.11193869262933731 - }, - "else": { - "operation": "boost", - "score": 0.08429889380931854 - } + "operation": "boost", + "score": -0.15420381724834442 } } }, "else": { "operation": "boost", - "score": -0.12564443051815033 + "score": -0.10172433406114578 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 54.5, + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 240.5, "then": { + "operation": "boost", + "score": -0.0338008813560009 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 212.5, "then": { + "operation": "boost", + "score": 0.12077296525239944 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.05108318850398064 + "score": -0.40954989194869995 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "boost", - "score": 0.0983913317322731 - }, - "else": { - "operation": "boost", - "score": 0.16330938041210175 - } + "operation": "boost", + "score": 0.09418761730194092 } - }, - "else": { - "operation": "boost", - "score": -0.1421751081943512 } - }, - "else": { - "operation": "boost", - "score": -0.20324507355690002 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": 0.10189249366521835 - }, - "else": { - "operation": "boost", - "score": 0.08717595785856247 - } + "operation": "boost", + "score": 0.11815714836120605 } } }, "else": { - "operation": "boost", - "score": 0.0299706868827343 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.10898103564977646 + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.017691675573587418 + }, + "else": { + "operation": "boost", + "score": 0.04896999150514603 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.13671055436134338 + }, + "else": { + "operation": "boost", + "score": -0.05015278607606888 + } + } + } + } + } }, "else": { - "operation": "boost", - "score": -0.030813068151474 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.10360851883888245 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.026728054508566856 + }, + "else": { + "operation": "boost", + "score": -0.02870994433760643 + } }, "else": { "operation": "boost", - "score": 0.13849414885044098 + "score": 0.019530437886714935 } - }, - "else": { - "operation": "boost", - "score": -0.24607813358306885 } - }, - "else": { - "operation": "boost", - "score": 0.030580569058656693 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 47.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0018798249075189233 - }, - "else": { - "operation": "boost", - "score": -0.05119206756353378 - } + "operation": "boost", + "score": 0.014327243901789188 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.012949501164257526 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1307452917098999 - }, - "else": { - "operation": "boost", - "score": 0.1503312736749649 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.3964318335056305 - }, - "else": { - "operation": "boost", - "score": 0.06148803234100342 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.009011965245008469 - } + "operation": "boost", + "score": 0.0718604028224945 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.010336642153561115 + "score": -0.021021706983447075 }, "else": { "operation": "boost", - "score": 0.23924487829208374 + "score": 0.10663313418626785 } } }, "else": { "operation": "boost", - "score": 0.027864767238497734 + "score": 0.015953585505485535 } } }, "else": { "operation": "boost", - "score": -0.014688284136354923 + "score": -0.010474073700606823 } }, "else": { "operation": "boost", - "score": -0.0806913822889328 + "score": 0.025431349873542786 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010479837656021118 }, "else": { "operation": "boost", - "score": 0.0026005012914538383 + "score": -0.020546546205878258 } + }, + "else": { + "operation": "boost", + "score": -0.000392021203879267 } - }, - "else": { - "operation": "boost", - "score": -0.0003231024311389774 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18585.0, + "threshold": 820317.5, "then": { + "operation": "boost", + "score": 0.006851886864751577 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 406.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": -0.06715303659439087 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06344889104366302 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1272.0, "then": { + "operation": "boost", + "score": 0.07575211673974991 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25461.0, + "threshold": 897.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55854.0, - "then": { - "operation": "boost", - "score": -0.016981294378638268 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53705.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.07739096134901047 - }, - "else": { - "operation": "boost", - "score": 0.11069987714290619 - } - }, - "else": { - "operation": "boost", - "score": 0.09795587509870529 - } - }, - "else": { - "operation": "boost", - "score": 0.03494446352124214 - } - } + "operation": "boost", + "score": 0.21484492719173431 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23639.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10586034506559372 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.14250211417675018 - }, - "else": { - "operation": "boost", - "score": 0.15508675575256348 - } - } + "operation": "boost", + "score": 0.5471271872520447 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20414.0, - "then": { - "operation": "boost", - "score": 0.12031609565019608 - }, - "else": { - "operation": "boost", - "score": -0.13115103542804718 - } + "operation": "boost", + "score": -0.18817374110221863 } } - }, - "else": { + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.07893627136945724 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.12232354283332825 + "score": -0.040968891233205795 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06190428137779236 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21097.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.041475988924503326 + "score": 0.049499012529850006 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19762.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.12856082618236542 + "score": 0.0959152951836586 }, "else": { "operation": "boost", - "score": -0.09980767220258713 + "score": 0.09194625914096832 } } - }, - "else": { - "operation": "boost", - "score": -0.20666298270225525 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59076.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129900.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10473891347646713 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.018524421378970146 + }, + "else": { + "operation": "boost", + "score": 0.025130782276391983 + } }, "else": { "operation": "boost", - "score": 0.10682777315378189 + "score": -0.004522291943430901 } }, "else": { - "operation": "boost", - "score": 0.0765816792845726 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04000544920563698 + }, + "else": { + "operation": "boost", + "score": 0.025093426927924156 + } } }, "else": { + "operation": "boost", + "score": 0.0048154969699680805 + } + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.24521230161190033 + "score": 0.021947575733065605 }, "else": { "operation": "boost", - "score": 0.1025964766740799 + "score": 0.0869184359908104 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33474.5, - "then": { - "operation": "boost", - "score": -0.11139059066772461 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22628.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28247.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.14375494420528412 - }, - "else": { - "operation": "boost", - "score": 0.11065656691789627 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25248.0, - "then": { - "operation": "boost", - "score": 0.124955914914608 - }, - "else": { - "operation": "boost", - "score": 0.14668041467666626 - } - }, - "else": { - "operation": "boost", - "score": -0.1166519820690155 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1601145714521408 - } + "operation": "boost", + "score": 0.004684971179813147 } + }, + "else": { + "operation": "boost", + "score": -0.05193287879228592 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0426207073032856 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19023.0, + "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": 20597.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212623.0, + "operation": "boost", + "score": 0.0007103539537638426 + }, + "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" + ], "then": { - "operation": "boost", - "score": 0.0033544818870723248 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22052.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.07283517718315125 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, - "then": { - "operation": "boost", - "score": -0.04176286607980728 - }, - "else": { - "operation": "boost", - "score": 0.011961418204009533 - } - } + "operation": "boost", + "score": -0.03238387778401375 }, "else": { "operation": "boost", - "score": 0.12557284533977509 + "score": 0.027564693242311478 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": -0.01603839360177517 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.5133255124092102 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10251931101083755 + "score": 0.14116662740707397 }, "else": { "operation": "boost", - "score": -0.10414578020572662 + "score": 0.18283188343048096 + } + }, + "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 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "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.027970878407359123 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 105803.0, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.08964748680591583 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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, + "then": { + "operation": "boost", + "score": -0.015373938716948032 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.12471210211515427 + }, + "else": { + "operation": "boost", + "score": -0.2032732516527176 + } + } + } }, "else": { - "operation": "boost", - "score": -0.11827795207500458 + "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": "boost", - "score": 0.0165938138961792 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09863382577896118 - }, - "else": { - "operation": "boost", - "score": -0.5555695295333862 - } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28136.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.009404839016497135 + "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 + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 67668.5, + "threshold": 43.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 71954.5, + "threshold": 71.5, "then": { + "operation": "boost", + "score": -0.04994627460837364 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 82787.0, + "threshold": 65.0, "then": { + "operation": "boost", + "score": 0.11795897781848907 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 51.0, "then": { "operation": "boost", - "score": 0.02958444319665432 + "score": -0.2399912029504776 }, "else": { "operation": "boost", - "score": 0.05876605957746506 + "score": 0.09894946962594986 } - }, - "else": { - "operation": "boost", - "score": -0.04193791002035141 } - }, - "else": { - "operation": "boost", - "score": 0.08959317207336426 } }, "else": { "operation": "boost", - "score": 0.026020372286438942 + "score": -0.15072515606880188 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25503.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.10075937211513519 + "score": 0.10413751006126404 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.5, + "then": { + "operation": "boost", + "score": -0.5076966285705566 + }, + "else": { + "operation": "boost", + "score": 0.1267314851284027 + } + }, + "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 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": -0.23355883359909058 + }, + "else": { + "operation": "boost", + "score": 0.12351249158382416 + } }, "else": { "operation": "boost", - "score": -0.45086026191711426 + "score": 0.023855380713939667 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.0, + "then": { + "operation": "boost", + "score": 0.03476638346910477 + }, + "else": { + "operation": "boost", + "score": 0.1106627881526947 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08698362112045288 + }, + "else": { + "operation": "boost", + "score": -0.09773164242506027 + } } } }, "else": { "operation": "boost", - "score": -0.039282362908124924 + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, + "then": { + "operation": "boost", + "score": -0.26008278131484985 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": 0.04652441665530205 + }, + "else": { + "operation": "boost", + "score": 0.14069095253944397 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24712.5, + "threshold": 25.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93518.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.4694424867630005 + "score": -0.038747262209653854 }, "else": { "operation": "boost", - "score": -0.017339229583740234 + "score": -0.2731027603149414 } }, "else": { "operation": "boost", - "score": -0.6493328809738159 + "score": -0.021546589210629463 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.20820343494415283 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12013771384954453 - }, - "else": { - "operation": "boost", - "score": 0.1126144602894783 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46337.5, - "then": { - "operation": "boost", - "score": -0.04691467806696892 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08293959498405457 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28136.0, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.11276016384363174 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.05030452087521553 + } + }, + "else": { + "operation": "boost", + "score": -0.018741009756922722 + } }, "else": { - "operation": "boost", - "score": -0.24152597784996033 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 0.10761498659849167 + }, + "else": { + "operation": "boost", + "score": -0.08527097851037979 + } } } } }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, - "then": { - "operation": "boost", - "score": -0.23115506768226624 - }, - "else": { - "operation": "boost", - "score": 0.11710093915462494 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22073.0, - "then": { - "operation": "boost", - "score": 0.004358828533440828 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21951.5, - "then": { - "operation": "boost", - "score": 0.21599610149860382 - }, - "else": { - "operation": "boost", - "score": 0.08588645607233047 - } - }, - "else": { - "operation": "boost", - "score": 0.015339292585849762 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { - "operation": "boost", - "score": 0.0013438294408842921 - }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_ParenthesizedExpression" + "CCC_SymbolOrNewName", + "CCC_Other" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.025437744334340096 + "score": -0.03406423702836037 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.044340673834085464 - }, - "else": { - "operation": "boost", - "score": 0.10945320129394531 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { "operation": "boost", - "score": -0.25622668862342834 + "score": -0.11302810162305832 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.117431640625 - }, - "else": { - "operation": "boost", - "score": 0.09360741823911667 - } - }, - "else": { - "operation": "boost", - "score": 0.04205375909805298 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09144287556409836 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.05586863309144974 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.24904665350914001 + "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.005627520382404327 + "score": 0.11826110631227493 } + }, + "else": { + "operation": "boost", + "score": -0.011043858714401722 } }, "else": { - "operation": "boost", - "score": -0.18254150450229645 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.014813181944191456 + "score": 0.08842584490776062 }, "else": { "operation": "boost", - "score": 0.09086447954177856 + "score": 0.10719464719295502 } - }, - "else": { - "operation": "boost", - "score": -0.0165561493486166 } }, "else": { "operation": "boost", - "score": -0.029910946264863014 + "score": 0.061219025403261185 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.04302021488547325 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.09452542662620544 - }, - "else": { - "operation": "boost", - "score": -0.10656387358903885 - } - }, - "else": { - "operation": "boost", - "score": -0.19210612773895264 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.04967448115348816 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13053908944129944 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10979466140270233 - }, - "else": { - "operation": "boost", - "score": 0.09385928511619568 - } - } - } - } + "operation": "boost", + "score": 0.020848432555794716 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025970419868826866 + }, + "else": { + "operation": "boost", + "score": 0.07858257740736008 } } } }, "else": { - "operation": "boost", - "score": -0.0012679200153797865 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.07001685351133347 + } + } + } + }, + { + "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": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 241916.0, + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 62087.0, "then": { - "operation": "boost", - "score": -0.09917353093624115 + "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": "boost", - "score": -0.02838880755007267 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1083984225988388 + }, + "else": { + "operation": "boost", + "score": 0.05160350725054741 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 204563.0, + "operation": "boost", + "score": -2.418523217784241e-05 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.01758388988673687 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.019157802686095238 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.02373264729976654 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.019496357068419456 - }, - "else": { - "operation": "boost", - "score": -0.06584703922271729 - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type" + "Function", + "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 158.5, "then": { - "operation": "boost", - "score": 0.11109679937362671 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 431.0, + "then": { + "operation": "boost", + "score": 0.0462900772690773 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10217089205980301 + }, + "else": { + "operation": "boost", + "score": 0.1056140884757042 + } + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.0, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10794250667095184 + "score": -0.0025578744243830442 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2194717973470688 + "score": -0.02989800088107586 }, "else": { "operation": "boost", - "score": 0.07573314011096954 + "score": -1.4933841228485107 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.0, "then": { "operation": "boost", - "score": -0.015832269564270973 + "score": 0.11245419830083847 }, "else": { "operation": "boost", - "score": 0.054910190403461456 + "score": 0.10263665020465851 } } }, "else": { - "operation": "boost", - "score": -0.10606888681650162 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0019302030559629202 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.022538626566529274 - }, - "else": { - "operation": "boost", - "score": 0.07424593716859818 - } - }, - "else": { - "operation": "boost", - "score": 0.020750682801008224 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.027132147923111916 + "score": -0.2127077728509903 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.18747185170650482 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10876984149217606 + }, + "else": { + "operation": "boost", + "score": 0.0462905578315258 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 309.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 372.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 888.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 29053.5, "then": { - "operation": "boost", - "score": 0.10348059982061386 + "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": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.08491724729537964 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08578485250473022 + }, + "else": { + "operation": "boost", + "score": -0.457282692193985 + } }, "else": { - "operation": "boost", - "score": 0.09985729306936264 + "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": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 818.5, "then": { "operation": "boost", - "score": -0.026059694588184357 + "score": 0.10421105474233627 }, "else": { - "operation": "boost", - "score": 0.10590160638093948 + "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": "boost", - "score": 0.10183166712522507 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.00533424923196435 + }, + "else": { + "operation": "boost", + "score": 0.11493932455778122 + } } - } - }, - "else": { - "operation": "boost", - "score": 0.013976708985865116 - } - }, - "else": { - "operation": "boost", - "score": 0.0309792160987854 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.05786127224564552 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.21666644513607025 - }, - "else": { - "operation": "boost", - "score": -0.36304450035095215 - } - } - }, - "else": { - "operation": "boost", - "score": -0.028597736731171608 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.009097450412809849 - }, - "else": { - "operation": "boost", - "score": -0.020376242697238922 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18608.0, - "then": { - "operation": "boost", - "score": -0.012012782506644726 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12445584684610367 - }, - "else": { - "operation": "boost", - "score": -0.13331705331802368 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15309.5, - "then": { - "operation": "boost", - "score": -0.03049810603260994 - }, - "else": { - "operation": "boost", - "score": -0.0001417311723344028 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80816.0, - "then": { - "operation": "boost", - "score": 0.007170693017542362 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10746636986732483 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.07760316878557205 - }, - "else": { - "operation": "boost", - "score": 0.11409510672092438 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69581.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71954.5, - "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.057927023619413376 - }, - "else": { - "operation": "boost", - "score": 0.10481533408164978 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.6365606188774109 + }, + "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 + } + } + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.05068085342645645 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76763.5, + "threshold": 147.5, "then": { - "operation": "boost", - "score": 0.07043594121932983 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 11159.0, "then": { - "operation": "boost", - "score": 0.0767342820763588 + "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 + } + } + } }, "else": { "operation": "boost", - "score": -0.3348245322704315 + "score": -0.027245130389928818 } }, "else": { "operation": "boost", - "score": 0.012967645190656185 + "score": -0.17428363859653473 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01657511293888092 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0851772278547287 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 134.5, "then": { - "operation": "boost", - "score": 0.08682966977357864 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11727790534496307 + }, + "else": { + "operation": "boost", + "score": 0.05446150153875351 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12099126726388931 + }, + "else": { + "operation": "boost", + "score": 0.10118865966796875 + } + } }, "else": { "operation": "boost", - "score": -0.13250890374183655 + "score": 0.0029458908829838037 } } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72.5, "then": { "operation": "boost", - "score": 0.1077430471777916 + "score": -0.09151016175746918 }, "else": { - "operation": "boost", - "score": 0.0474458746612072 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "boost", + "score": 0.10342016816139221 + }, + "else": { + "operation": "boost", + "score": 0.011307849548757076 + } } }, "else": { - "operation": "boost", - "score": -0.1519646942615509 + "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 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66036.0, - "then": { - "operation": "boost", - "score": -0.2399548888206482 - }, - "else": { - "operation": "boost", - "score": 0.014761615544557571 - } + "operation": "boost", + "score": -0.014430858194828033 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.019617535173892975 + }, + "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": 9.5, + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, + "operation": "boost", + "score": -0.006407593376934528 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.002935609547421336 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09804204851388931 + }, + "else": { + "operation": "boost", + "score": 0.028625503182411194 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.0024388963356614113 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.02789751999080181 + "score": 0.051809608936309814 }, "else": { "operation": "boost", - "score": 0.08252768218517303 + "score": 0.12128569930791855 } - }, - "else": { - "operation": "boost", - "score": 0.00043959703180007637 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.07814992964267731 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.03531452640891075 + "score": 0.04083215817809105 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 204563.0, + "threshold": 642.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 1268.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.029037967324256897 - }, - "else": { - "operation": "boost", - "score": 0.09181874245405197 - } - }, - "else": { - "operation": "boost", - "score": -0.007636441383510828 - } + "operation": "boost", + "score": -0.07914097607135773 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.056883376091718674 + "score": 0.07700547575950623 }, "else": { "operation": "boost", - "score": 0.02265121228992939 + "score": 0.11106114834547043 } } }, "else": { - "operation": "boost", - "score": 0.004762368742376566 + "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 + } } } } + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 297177.5, + "then": { + "operation": "boost", + "score": -0.013606654480099678 + }, + "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": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.07780357450246811 - }, - "else": { - "operation": "boost", - "score": -0.4045693874359131 - } + "operation": "boost", + "score": -0.36295580863952637 } }, "else": { "operation": "boost", - "score": -0.010586736723780632 + "score": 0.029491014778614044 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.003962843678891659 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14042095839977264 + "score": -0.020586606115102768 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09211011230945587 - }, - "else": { - "operation": "boost", - "score": -0.02603665553033352 - } - }, - "else": { - "operation": "boost", - "score": -0.005422104150056839 - } + "operation": "boost", + "score": -0.44721490144729614 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.030589958652853966 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": -0.17676059901714325 - }, - "else": { - "operation": "boost", - "score": -2.5898869037628174 - } - } + "operation": "boost", + "score": 0.09204669296741486 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.04168093577027321 + "score": -0.7697036266326904 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12567442655563354 - }, - "else": { - "operation": "boost", - "score": -0.12539348006248474 - } + "operation": "boost", + "score": 0.0937657430768013 } }, "else": { "operation": "boost", - "score": -0.17156097292900085 + "score": 0.10979988425970078 } }, "else": { "operation": "boost", - "score": -0.04701719433069229 + "score": -0.2646870017051697 } } } } + }, + "else": { + "operation": "boost", + "score": -0.0711849257349968 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], + } + } + }, + "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": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45623.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55483.0, + "threshold": 249.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.0, + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10370872169733047 + "score": -0.10742436349391937 }, "else": { - "operation": "boost", - "score": 0.0981406643986702 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28523.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.11260301619768143 + "score": 0.09172344952821732 }, "else": { "operation": "boost", - "score": 0.11288459599018097 + "score": 0.057075291872024536 } }, - "else": { - "operation": "boost", - "score": 0.06266287714242935 - } - }, - "else": { - "operation": "boost", - "score": -0.3655180037021637 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54407.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.10427349805831909 - }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1644909381866455 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 465.0, "then": { + "operation": "boost", + "score": -0.02356892265379429 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 379.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.07399493455886841 - }, - "else": { - "operation": "boost", - "score": 0.08760645240545273 - } + "operation": "boost", + "score": 0.12439907342195511 }, "else": { "operation": "boost", - "score": -0.25445258617401123 + "score": -0.018219074234366417 } - }, - "else": { - "operation": "boost", - "score": -0.012814325280487537 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, - "then": { - "operation": "boost", - "score": -0.0661872923374176 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_SymbolOrNewName", + "CCC_UnionTag", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.08838173002004623 + "score": 0.07598742842674255 }, "else": { "operation": "boost", - "score": 0.08035439252853394 + "score": -0.09301857650279999 } - }, - "else": { - "operation": "boost", - "score": -0.2259638011455536 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07603024691343307 - }, - "else": { - "operation": "boost", - "score": 0.10343967378139496 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { "operation": "boost", - "score": 0.11298924684524536 + "score": 0.01758561283349991 }, "else": { - "operation": "boost", - "score": 0.1023065373301506 - } - }, - "else": { - "operation": "boost", - "score": 0.12463796138763428 - } - }, - "else": { - "operation": "boost", - "score": 0.08509772270917892 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.11024727672338486 - }, - "else": { - "operation": "boost", - "score": 0.1241852268576622 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "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": "boost", - "score": -0.0398746058344841 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.11588111519813538 + "score": -0.11159816384315491 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09620403498411179 + "score": 0.05804390832781792 }, "else": { - "operation": "boost", - "score": 0.1197761595249176 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04272887483239174 + }, + "else": { + "operation": "boost", + "score": 0.10201434046030045 + } } }, "else": { "operation": "boost", - "score": -0.10369675606489182 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.09926239401102066 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.08664169162511826 - }, - "else": { - "operation": "boost", - "score": 0.03745907545089722 - } + "score": 0.025906644761562347 } - }, - "else": { - "operation": "boost", - "score": 0.15946276485919952 } }, "else": { "operation": "boost", - "score": 0.26416951417922974 + "score": -0.2247072011232376 } } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26870.5, "then": { + "operation": "boost", + "score": -0.13698039948940277 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55801.5, + "threshold": 25411.0, "then": { "operation": "boost", - "score": 0.028651194646954536 + "score": 0.09914339333772659 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10323808342218399 - }, - "else": { - "operation": "boost", - "score": 0.08235229551792145 - } + "operation": "boost", + "score": 0.02410721965134144 } - }, - "else": { - "operation": "boost", - "score": 0.013650782406330109 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 63.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.033358681946992874 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 202.0, "then": { - "operation": "boost", - "score": -0.17295025289058685 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 213.5, "then": { "operation": "boost", - "score": -0.08405457437038422 + "score": 0.03969117999076843 }, "else": { + "operation": "boost", + "score": 0.1081932932138443 + } + }, + "else": { + "operation": "boost", + "score": -0.03593844175338745 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50371.5, + "threshold": 76.0, "then": { "operation": "boost", - "score": 0.15525692701339722 + "score": 0.09529612213373184 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 73.0, "then": { "operation": "boost", - "score": -0.4976198673248291 + "score": 0.11512108147144318 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.045857273042201996 - }, - "else": { - "operation": "boost", - "score": 0.0760524719953537 - } + "operation": "boost", + "score": 0.10282683372497559 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "boost", - "score": 0.12554818391799927 - }, - "else": { - "operation": "boost", - "score": -0.2375260293483734 - } - }, - "else": { - "operation": "boost", - "score": 0.12387024611234665 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11256438493728638 - }, - "else": { - "operation": "boost", - "score": -0.18580803275108337 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.9459720253944397 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 6318.5, "then": { "operation": "boost", - "score": 0.25544288754463196 + "score": 0.11862736195325851 }, "else": { "operation": "boost", - "score": 0.21083791553974152 + "score": 0.059083350002765656 } } }, "else": { - "operation": "boost", - "score": -0.006916944403201342 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02437448501586914 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.059830330312252045 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46972.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10091622173786163 - }, - "else": { - "operation": "boost", - "score": 0.27587398886680603 - } - }, - "else": { - "operation": "boost", - "score": -0.10552021116018295 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.3156217038631439 - }, - "else": { - "operation": "boost", - "score": -0.10071154683828354 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11832716315984726 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 162.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 560.5, "then": { - "operation": "boost", - "score": 0.09181740880012512 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 747.0, "then": { "operation": "boost", - "score": 0.10264258086681366 + "score": 0.0491623654961586 }, "else": { "operation": "boost", - "score": 0.12413997948169708 + "score": 0.12126725167036057 } + }, + "else": { + "operation": "boost", + "score": -0.0561734177172184 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46337.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.11607726663351059 + "score": 0.11426349729299545 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 87.5, "then": { - "operation": "boost", - "score": 0.16393354535102844 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "boost", + "score": 0.15749594569206238 + }, + "else": { + "operation": "boost", + "score": -0.04228447750210762 + } }, "else": { - "operation": "boost", - "score": 0.12283500283956528 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.0, + "then": { + "operation": "boost", + "score": 0.11410264670848846 + }, + "else": { + "operation": "boost", + "score": 0.3656020164489746 + } } }, "else": { - "operation": "boost", - "score": 0.17651045322418213 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.0, + "then": { + "operation": "boost", + "score": -0.1296735554933548 + }, + "else": { + "operation": "boost", + "score": 0.13727715611457825 + } + }, + "else": { + "operation": "boost", + "score": -0.11888431757688522 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.12085167318582535 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00698026642203331 }, "else": { "operation": "boost", - "score": -0.05398333817720413 + "score": 0.06251613795757294 } - }, - "else": { - "operation": "boost", - "score": -0.14419201016426086 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.21463850140571594 - }, - "else": { - "operation": "boost", - "score": -0.0428219810128212 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.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": 2.5, - "then": { - "operation": "boost", - "score": 0.06420934200286865 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10442353785037994 }, "else": { - "operation": "boost", - "score": 0.10063016414642334 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.07809396833181381 - }, - "else": { - "operation": "boost", - "score": 0.07403075695037842 - } - } - }, - "else": { - "operation": "boost", - "score": -0.058147601783275604 - } - }, - "else": { - "operation": "boost", - "score": 0.13148637115955353 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00018308727885596454 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129672.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.05645355209708214 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212623.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.01432979665696621 + "score": -0.05030927434563637 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.027463337406516075 - }, - "else": { - "operation": "boost", - "score": -0.030355852097272873 - } + "operation": "boost", + "score": 0.1120791956782341 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 36.5, "then": { "operation": "boost", - "score": 0.05600210279226303 + "score": -0.02020624838769436 }, "else": { - "operation": "boost", - "score": 0.10304519534111023 - } - }, - "else": { - "operation": "boost", - "score": -0.14713820815086365 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0044879065826535225 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.10247249901294708 + "score": 0.12038431316614151 }, "else": { - "operation": "boost", - "score": 0.06261392682790756 + "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": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.07582896202802658 + "score": 0.10043366253376007 }, "else": { "operation": "boost", - "score": -0.12003258615732193 + "score": 0.04238598793745041 } - }, - "else": { - "operation": "boost", - "score": -0.20287516713142395 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.0049793231301009655 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.02633504755795002 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.02940147928893566 + "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_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Function" + ], "then": { - "operation": "boost", - "score": -0.016145501285791397 + "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.6180704236030579 + "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": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.061395078897476196 + "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.02114391326904297 + "score": -0.052434369921684265 } } } } + }, + "else": { + "operation": "boost", + "score": -0.16904820501804352 } } }, "else": { "operation": "boost", - "score": -0.12250147759914398 + "score": -0.025919213891029358 } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.034948382526636124 }, "else": { + "operation": "boost", + "score": -0.014236174523830414 + } + }, + "else": { + "operation": "boost", + "score": -0.0030390487518161535 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 234.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 356.5, "then": { - "operation": "boost", - "score": 0.022554535418748856 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08129493147134781 + }, + "else": { + "operation": "boost", + "score": -0.2533969283103943 + } }, "else": { "operation": "boost", - "score": 0.10881777852773666 + "score": 0.11663801968097687 } }, + "else": { + "operation": "boost", + "score": -0.035544198006391525 + } + }, + "else": { + "operation": "boost", + "score": -0.015505786053836346 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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.01645197905600071 + }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 676.0, "then": { "operation": "boost", - "score": 0.09210918098688126 + "score": -0.6768559813499451 }, "else": { "operation": "boost", - "score": 0.084456667304039 + "score": -0.12150327116250992 } } }, "else": { "operation": "boost", - "score": 0.005875807721167803 + "score": -0.0535847432911396 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04840651527047157 - }, - "else": { - "operation": "boost", - "score": 0.1404331624507904 - } + "operation": "boost", + "score": 0.00684643629938364 }, "else": { "operation": "boost", - "score": 0.007922117598354816 + "score": 0.1071009635925293 } }, "else": { "operation": "boost", - "score": -0.04443205147981644 + "score": -0.008405827917158604 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Constructor", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_Namespace", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.09516641497612 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1037294864654541 + }, + "else": { + "operation": "boost", + "score": 0.06389977782964706 + } }, "else": { "operation": "boost", - "score": 0.054279085248708725 + "score": 0.05567968636751175 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 222060.0, + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.24548014998435974 + "score": -0.5182708501815796 }, "else": { "operation": "boost", - "score": 0.09715446829795837 + "score": 0.1168108806014061 } }, "else": { - "operation": "boost", - "score": -0.12614184617996216 - } - }, - "else": { - "operation": "boost", - "score": -0.43761372566223145 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58073.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60891.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.13614718616008759 + "score": 0.024948392063379288 }, "else": { - "operation": "boost", - "score": 0.13682177662849426 - } - }, - "else": { - "operation": "boost", - "score": -0.04202205315232277 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.10621290653944016 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75477.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76763.5, - "then": { - "operation": "boost", - "score": 0.034844767302274704 - }, - "else": { - "operation": "boost", - "score": 0.08998821675777435 - } + "operation": "boost", + "score": 0.1179603785276413 }, "else": { "operation": "boost", - "score": -0.17029008269309998 + "score": -0.18686848878860474 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.006353101227432489 + "score": -0.5348299741744995 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10673458129167557 - }, - "else": { - "operation": "boost", - "score": -0.232615128159523 - } + "operation": "boost", + "score": 0.08021235466003418 }, "else": { "operation": "if_greater", @@ -261648,3727 +263530,3231 @@ "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.016646970063447952 + "score": 0.10714169591665268 }, "else": { "operation": "boost", - "score": 0.11566895246505737 + "score": 0.29756954312324524 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69581.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07222000509500504 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.0890503004193306 - }, - "else": { - "operation": "boost", - "score": -0.12791264057159424 - } - } + "operation": "boost", + "score": 0.1041909009218216 }, "else": { "operation": "boost", - "score": 0.016308393329381943 + "score": -0.18622790277004242 } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67917.5, - "then": { - "operation": "boost", - "score": 0.043049316853284836 - }, - "else": { - "operation": "boost", - "score": -0.106676384806633 - } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10011961311101913 }, "else": { "operation": "boost", - "score": 0.05561647564172745 + "score": 0.02856064774096012 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47029.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.06931203603744507 - }, - "else": { - "operation": "boost", - "score": 0.10667373239994049 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07655825465917587 - }, - "else": { - "operation": "boost", - "score": -0.09212156385183334 - } - } + "operation": "boost", + "score": 0.013159425929188728 }, "else": { "operation": "boost", - "score": -0.08303656429052353 + "score": -0.03697868064045906 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46801.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.08764490485191345 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11130339652299881 + }, + "else": { + "operation": "boost", + "score": 0.11226142942905426 + } }, "else": { "operation": "boost", - "score": 0.11574158817529678 + "score": 0.04352068901062012 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": -0.025115059688687325 + "score": 0.05358774587512016 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.22551527619361877 + "score": 0.0458683967590332 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "boost", - "score": 0.04104963317513466 - }, - "else": { - "operation": "boost", - "score": 0.09672429412603378 - } - }, - "else": { - "operation": "boost", - "score": -0.1072172299027443 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13157954812049866 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.06278076767921448 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.09715741127729416 - }, - "else": { - "operation": "boost", - "score": 0.11136681586503983 - } - } - }, - "else": { - "operation": "boost", - "score": -0.6567161679267883 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66524.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": 0.04461010918021202 - }, - "else": { - "operation": "boost", - "score": 0.09727191179990768 - } + "score": 0.0954868346452713 }, "else": { - "operation": "boost", - "score": -0.08019334822893143 - } - }, - "else": { - "operation": "boost", - "score": 0.1118898019194603 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91416.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304083.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.00250198389403522 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 286067.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04954252392053604 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.10338503122329712 - }, - "else": { - "operation": "boost", - "score": 0.03152061253786087 - } - } + "operation": "boost", + "score": -0.2776702344417572 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220295.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.10793860256671906 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010829463601112366 - }, - "else": { - "operation": "boost", - "score": 0.03409228101372719 - } - } - }, - "else": { - "operation": "boost", - "score": -0.4119468331336975 - } + "operation": "boost", + "score": 0.10486366599798203 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 207505.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03474384918808937 - }, - "else": { - "operation": "boost", - "score": 0.1060124933719635 - } - }, - "else": { - "operation": "boost", - "score": 0.24902920424938202 - } - }, - "else": { - "operation": "boost", - "score": 0.041678138077259064 - } + "operation": "boost", + "score": 0.07757734507322311 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87637.0, - "then": { - "operation": "boost", - "score": -0.11692141741514206 }, "else": { "operation": "boost", - "score": 0.01678032986819744 + "score": 0.005533803254365921 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.11277218163013458 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11317384243011475 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.038364559412002563 + }, + "else": { + "operation": "boost", + "score": 0.09558075666427612 + } + } }, "else": { "operation": "boost", - "score": 0.09686441719532013 + "score": 0.005463155452162027 } }, "else": { "operation": "boost", - "score": -0.005602747667580843 + "score": -0.0861697643995285 } } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0030549010261893272 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.00675943773239851 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 311.0, + "then": { + "operation": "boost", + "score": 0.034457914531230927 + }, + "else": { + "operation": "boost", + "score": 0.13034245371818542 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0678732767701149 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58696.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.09356430172920227 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08254691958427429 + "score": -0.31903377175331116 }, "else": { "operation": "boost", - "score": 0.1570642590522766 + "score": 0.11019105464220047 } + }, + "else": { + "operation": "boost", + "score": -0.0550861731171608 } } + }, + "else": { + "operation": "boost", + "score": 0.005604830104857683 } + }, + "else": { + "operation": "boost", + "score": -0.010460665449500084 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.2366739809513092 + "score": -0.0679062083363533 }, "else": { "operation": "boost", - "score": 0.0028963498771190643 + "score": 0.01886044256389141 } } - }, - "else": { + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0035477662459015846 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 549246.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { + "operation": "boost", + "score": 0.017608022317290306 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 549246.0, + "threshold": 1074118.5, "then": { "operation": "boost", - "score": -0.01966852881014347 + "score": -0.08015575259923935 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": 0.09079285711050034 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20496970415115356 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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.09976091235876083 + "score": 0.033247824758291245 }, "else": { - "operation": "boost", - "score": 0.10468949377536774 + "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.012191936373710632 + "score": 0.06519957631826401 } }, "else": { "operation": "boost", - "score": 0.030442530289292336 + "score": -0.11160854995250702 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.06650904566049576 + }, + "else": { + "operation": "boost", + "score": 0.026705816388130188 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.055669281631708145 + }, + "else": { + "operation": "boost", + "score": -0.0854288637638092 + } } } - }, - "else": { - "operation": "boost", - "score": -0.00867009162902832 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.1000901311635971 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.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": "boost", + "score": 0.0677383616566658 + }, + "else": { + "operation": "boost", + "score": -0.14747102558612823 + } + }, + "else": { + "operation": "boost", + "score": 0.07001382857561111 + } }, "else": { - "operation": "boost", - "score": 0.12168513983488083 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, + "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": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.043172165751457214 + "score": -0.15632393956184387 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.0, + "threshold": 15.0, "then": { "operation": "boost", - "score": -0.33668699860572815 + "score": -0.005891005974262953 }, "else": { "operation": "boost", - "score": 0.07315246015787125 + "score": 0.04820972681045532 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.019539227709174156 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.1132187694311142 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "boost", - "score": 0.04812440276145935 - }, - "else": { - "operation": "boost", - "score": 0.08551789820194244 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09097100794315338 - }, - "else": { - "operation": "boost", - "score": 0.1653086394071579 - } - }, - "else": { - "operation": "boost", - "score": -0.1261604279279709 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2082960158586502 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004523715935647488 - } + "operation": "boost", + "score": -0.06241333484649658 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3555296063423157 + } + }, + "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": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.18948401510715485 + }, + "else": { + "operation": "boost", + "score": 0.022915048524737358 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.06332023441791534 + }, + "else": { + "operation": "boost", + "score": -0.11832619458436966 } }, "else": { "operation": "boost", - "score": -0.2690153121948242 + "score": 0.0312991589307785 } } + } + } + }, + "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": "boost", - "score": 0.005753308068960905 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09684379398822784 + }, + "else": { + "operation": "boost", + "score": 0.05060715228319168 + } } + }, + "else": { + "operation": "boost", + "score": 0.1690506786108017 } } }, "else": { - "operation": "boost", - "score": 0.0025547808036208153 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.06432218849658966 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "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.1027255430817604 + "score": 0.04420414939522743 }, "else": { - "operation": "boost", - "score": 0.09867963194847107 + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.07542601972818375 + "score": 0.09729444980621338 }, "else": { "operation": "boost", - "score": 0.06883474439382553 + "score": 0.037605345249176025 } } }, "else": { - "operation": "boost", - "score": -0.05351486802101135 + "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 + } } - }, - "else": { - "operation": "boost", - "score": 0.12786650657653809 } - } - }, - "else": { - "operation": "boost", - "score": -0.00017776833556126803 - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 820317.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "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": "boost", - "score": 0.0016659527318552136 + "score": 0.019211038947105408 }, "else": { + "operation": "boost", + "score": -0.2127414345741272 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], + "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, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "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.09243574738502502 + }, + "else": { + "operation": "boost", + "score": 0.08749064058065414 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.05607308819890022 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03398735821247101 + }, + "else": { + "operation": "boost", + "score": -0.05288542062044144 + } + }, + "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.011504556983709335 + "score": 0.08024707436561584 }, "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09153573960065842 + }, + "else": { + "operation": "boost", + "score": 0.03598761558532715 + } + } + } + }, + "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 151.5, + "threshold": 1413.5, + "then": { + "operation": "boost", + "score": 0.014845959842205048 + }, + "else": { + "operation": "boost", + "score": 0.16062921285629272 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.14385637640953064 + }, + "else": { + "operation": "boost", + "score": 0.08400831371545792 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0666273683309555 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2840.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4594.5, + "then": { + "operation": "boost", + "score": 0.10081212967634201 + }, + "else": { + "operation": "boost", + "score": 0.15949225425720215 + } + }, + "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.01787685975432396 + "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, + "then": { + "operation": "boost", + "score": -0.0021893857046961784 + }, + "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_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10748995840549469 + "score": 0.07958962768316269 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 62.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.03326047584414482 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.010007492266595364 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.041352950036525726 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 98.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 112.0, "then": { "operation": "boost", - "score": 0.08030007034540176 + "score": 0.10274002701044083 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.13508835434913635 - }, - "else": { - "operation": "boost", - "score": 0.13884708285331726 - } + "operation": "boost", + "score": -0.17516399919986725 } }, "else": { - "operation": "boost", - "score": 0.020632043480873108 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 86.5, "then": { "operation": "boost", - "score": 0.04805361479520798 + "score": 0.10882662981748581 }, "else": { "operation": "boost", - "score": 0.13475051522254944 + "score": 0.09820151329040527 } - }, - "else": { - "operation": "boost", - "score": 0.026339111849665642 } + }, + "else": { + "operation": "boost", + "score": 0.05478754639625549 } + }, + "else": { + "operation": "boost", + "score": 0.027614939957857132 } }, "else": { "operation": "boost", - "score": 0.019799329340457916 + "score": -0.21550269424915314 } }, "else": { "operation": "boost", - "score": 0.0032223882153630257 + "score": 0.10892102867364883 } - }, - "else": { - "operation": "boost", - "score": -0.07245346158742905 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10919283330440521 + }, + "else": { + "operation": "boost", + "score": 0.14016193151474 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03148956969380379 + } + }, + "else": { + "operation": "boost", + "score": -0.01276147086173296 + } + }, + "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, + "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": "NumReferences", + "threshold": 66.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.0, + "then": { + "operation": "boost", + "score": 0.04502183571457863 + }, + "else": { + "operation": "boost", + "score": 0.0962190330028534 + } + }, + "else": { + "operation": "boost", + "score": -0.18618425726890564 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.047463156282901764 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134.5, + "then": { + "operation": "boost", + "score": -0.10064344108104706 + }, + "else": { + "operation": "boost", + "score": 0.10155478119850159 + } + } + }, + "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.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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.014681218191981316 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.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_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.10894112288951874 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.017613016068935394 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 79.5, + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 102.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.16533364355564117 - }, - "else": { - "operation": "boost", - "score": -0.3051450252532959 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "boost", - "score": 0.08438015729188919 - }, - "else": { - "operation": "boost", - "score": 0.11695504188537598 - } - }, - "else": { - "operation": "boost", - "score": -0.013317305594682693 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.11720868945121765 + "score": 0.15946070849895477 }, "else": { "operation": "boost", - "score": -0.1059110164642334 + "score": 0.11328768730163574 } + }, + "else": { + "operation": "boost", + "score": -0.0917573869228363 } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": -0.10453066974878311 + }, + "else": { + "operation": "boost", + "score": 0.02758372388780117 + } + } + } + } + }, + "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_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Type" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.022547300904989243 + "score": 0.17449761927127838 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08790711313486099 - }, - "else": { - "operation": "boost", - "score": -0.1261182427406311 - } - }, - "else": { - "operation": "boost", - "score": -0.06993242353200912 - } + "operation": "boost", + "score": 0.11900793761014938 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "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": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04605906829237938 - }, - "else": { - "operation": "boost", - "score": 0.12800240516662598 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.10814297199249268 - }, - "else": { - "operation": "boost", - "score": -0.27408984303474426 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05901479348540306 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.003958462737500668 - }, - "else": { - "operation": "boost", - "score": 0.11396896839141846 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05486925318837166 - } - }, - "else": { - "operation": "boost", - "score": 0.1075366735458374 - } + "operation": "boost", + "score": -0.14497621357440948 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.03331299498677254 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.6421222686767578 - }, - "else": { - "operation": "boost", - "score": 0.12729451060295105 - } - }, - "else": { - "operation": "boost", - "score": 0.06055319309234619 - } - } - }, - "else": { - "operation": "boost", - "score": -0.021487267687916756 - } + "operation": "boost", + "score": 0.03248169273138046 } + }, + "else": { + "operation": "boost", + "score": -0.011189529672265053 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "boost", - "score": -0.03279237449169159 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 53.5, + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.019937705248594284 - }, - "else": { - "operation": "boost", - "score": 0.11230289191007614 - } - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.21779562532901764 - }, - "else": { - "operation": "boost", - "score": 0.14369066059589386 - } + "operation": "boost", + "score": 0.1437995433807373 }, "else": { "operation": "boost", - "score": -0.16838812828063965 + "score": -0.023206450045108795 } + }, + "else": { + "operation": "boost", + "score": -0.045622818171978 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03194614127278328 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.004074615892022848 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12304671108722687 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2113751769065857 - }, - "else": { - "operation": "boost", - "score": 0.13028250634670258 - } - }, - "else": { - "operation": "boost", - "score": -0.026385733857750893 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10613925755023956 - }, - "else": { - "operation": "boost", - "score": 0.11136678606271744 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.14337122440338135 - }, - "else": { - "operation": "boost", - "score": 0.006146844942122698 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11125098168849945 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.03160934895277023 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.1439705789089203 - }, - "else": { - "operation": "boost", - "score": 0.16915056109428406 - } - }, - "else": { - "operation": "boost", - "score": -0.12880055606365204 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.2768886685371399 - }, - "else": { - "operation": "boost", - "score": 0.12396394461393356 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.14194442331790924 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10852143913507462 - }, - "else": { - "operation": "boost", - "score": -0.18354877829551697 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004388320725411177 - } - } - } + "operation": "boost", + "score": -0.38761410117149353 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11685771495103836 - }, - "else": { - "operation": "boost", - "score": 0.10709567368030548 - } - }, - "else": { - "operation": "boost", - "score": 0.016018960624933243 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11897623538970947 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.008979788050055504 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.35230982303619385 - }, - "else": { - "operation": "boost", - "score": 0.10327280312776566 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1257963329553604 - }, - "else": { - "operation": "boost", - "score": -0.1991160362958908 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.06950077414512634 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04895027354359627 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.011879906058311462 - }, - "else": { - "operation": "boost", - "score": 0.11908908933401108 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0641382485628128 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10477788746356964 - }, - "else": { - "operation": "boost", - "score": 0.16192741692066193 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07796589285135269 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.35214775800704956 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.017090268433094025 - }, - "else": { - "operation": "boost", - "score": -0.20013023912906647 - } - } + "operation": "boost", + "score": -0.014352276921272278 } } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11875329911708832 }, "else": { - "operation": "boost", - "score": -0.01227685995399952 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11354261636734009 - }, - "else": { - "operation": "boost", - "score": -0.05515751987695694 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.11006533354520798 + "score": 0.03568631783127785 }, "else": { "operation": "boost", - "score": -0.12287801504135132 + "score": 0.008643695153295994 } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.15607966482639313 - }, - "else": { - "operation": "boost", - "score": 0.13438326120376587 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08739578723907471 - }, - "else": { - "operation": "boost", - "score": -0.30627650022506714 - } - }, - "else": { - "operation": "boost", - "score": 0.056620337069034576 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012501395307481289 - } + "operation": "boost", + "score": -0.08387969434261322 } }, "else": { "operation": "boost", - "score": -0.017123837023973465 + "score": -0.02023189701139927 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.5158054232597351 }, "else": { "operation": "boost", - "score": -0.0029873435851186514 + "score": -0.0036049981135874987 } } + }, + "else": { + "operation": "boost", + "score": -0.04431024193763733 } }, "else": { + "operation": "boost", + "score": 0.002995490562170744 + } + }, + "else": { + "operation": "boost", + "score": 0.00030466675525531173 + } + } + } + }, + { + "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, + "then": { + "operation": "boost", + "score": -0.3529350757598877 + }, + "else": { + "operation": "boost", + "score": 0.014127714559435844 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { "operation": "boost", - "score": -0.031847164034843445 + "score": 0.05959952250123024 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.00020479764498304576 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 611.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 677.0, - "then": { - "operation": "boost", - "score": 0.0072809625416994095 - }, - "else": { - "operation": "boost", - "score": 0.10924950242042542 - } - }, - "else": { - "operation": "boost", - "score": -0.05226260796189308 - } - } + "operation": "boost", + "score": 0.10187803208827972 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "boost", + "score": 0.025344526395201683 + }, + "else": { + "operation": "boost", + "score": -0.4062214195728302 } } + } + }, + "else": { + "operation": "boost", + "score": 0.005678664427250624 + } + }, + "else": { + "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": "boost", + "score": 0.00353439268656075 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, - "then": { - "operation": "boost", - "score": -0.22371430695056915 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.032255686819553375 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -1.4348019361495972 - }, - "else": { - "operation": "boost", - "score": 0.12040330469608307 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03308919817209244 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.026430055499076843 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.06246969476342201 + "score": 0.03135960176587105 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.08220809698104858 + "score": -0.09744933247566223 }, "else": { "operation": "boost", - "score": 0.11033187806606293 + "score": 0.1115797609090805 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.10673431307077408 + "score": 0.08755211532115936 }, "else": { "operation": "boost", - "score": 0.1022837683558464 + "score": 0.10045239329338074 } }, "else": { "operation": "boost", - "score": 0.024330761283636093 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.010313306003808975 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.01697673089802265 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.02203638292849064 - }, - "else": { - "operation": "boost", - "score": -0.10157551616430283 + "score": -0.1749553084373474 } - }, - "else": { - "operation": "boost", - "score": 0.004916311241686344 } }, "else": { "operation": "boost", - "score": 0.003295038128271699 + "score": 0.008750151842832565 } }, "else": { - "operation": "boost", - "score": -0.017548350617289543 - } - }, - "else": { - "operation": "boost", - "score": -0.003162223380059004 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04630140960216522 - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.0006789204198867083 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "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": "boost", - "score": 0.025185728445649147 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3202.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3442.5, - "then": { - "operation": "boost", - "score": 0.029989544302225113 - }, - "else": { - "operation": "boost", - "score": 0.15403755009174347 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 309.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200.0, + "threshold": 372.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 822.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25286.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 93518.5, "then": { "operation": "boost", - "score": 0.109374038875103 + "score": -0.05447947978973389 }, "else": { - "operation": "boost", - "score": -3.864729881286621 + "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": "boost", - "score": 0.08512996137142181 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0609462596476078 + }, + "else": { + "operation": "boost", + "score": -0.048810068517923355 + } } }, "else": { - "operation": "boost", - "score": 0.033821459859609604 + "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 + } + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 194.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.14179711043834686 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 366.0, + "then": { + "operation": "boost", + "score": 0.10090555995702744 + }, + "else": { + "operation": "boost", + "score": -0.2900792360305786 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.12392407655715942 + "score": 0.12645691633224487 }, "else": { - "operation": "boost", - "score": 0.08054924756288528 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 362.0, + "then": { + "operation": "boost", + "score": 0.12640169262886047 + }, + "else": { + "operation": "boost", + "score": -0.1106596440076828 + } } }, "else": { "operation": "boost", - "score": -0.010825559496879578 + "score": 0.11488017439842224 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 658.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 798.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0035512177273631096 + "score": -0.08863622695207596 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.03946241736412048 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.1056370660662651 + }, + "else": { + "operation": "boost", + "score": 0.10574911534786224 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.054739195853471756 + }, + "else": { + "operation": "boost", + "score": 0.12619294226169586 + } + }, + "else": { + "operation": "boost", + "score": -0.020272724330425262 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.06304028630256653 + }, + "else": { + "operation": "boost", + "score": 0.1096217930316925 + } + } }, "else": { - "operation": "boost", - "score": 0.14611275494098663 - } - } - }, - "else": { - "operation": "boost", - "score": -0.042605288326740265 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "boost", - "score": 0.11737240850925446 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12325790524482727 - }, - "else": { - "operation": "boost", - "score": -0.349373996257782 - } - } - }, - "else": { - "operation": "boost", - "score": 0.042352087795734406 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10758564621210098 - }, - "else": { - "operation": "boost", - "score": -0.7038271427154541 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": -0.07532459497451782 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205637.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234371.5, - "then": { - "operation": "boost", - "score": -0.13092100620269775 - }, - "else": { - "operation": "boost", - "score": 0.11270500719547272 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6512.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Expression" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13903.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.05118419975042343 + "score": -0.06843451410531998 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8069.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.008998535573482513 + "score": -0.05898715555667877 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.11044690757989883 + "score": 0.06573403626680374 }, "else": { "operation": "boost", - "score": 0.12776951491832733 + "score": 0.10107937455177307 } } }, "else": { "operation": "boost", - "score": 0.11933456361293793 + "score": -0.004828606732189655 } } }, "else": { "operation": "boost", - "score": 0.008491120301187038 + "score": -0.3404685854911804 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.021306414157152176 }, "else": { "operation": "boost", - "score": 0.050552383065223694 + "score": 0.09906167536973953 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.07636754959821701 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28161.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.02086327038705349 + "score": 0.004263921175152063 }, "else": { "operation": "boost", - "score": 0.13541384041309357 + "score": -0.2948804199695587 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.10161051154136658 + "score": 0.09704115241765976 }, "else": { "operation": "boost", - "score": -0.4943397343158722 + "score": -0.05524807795882225 } } }, "else": { "operation": "boost", - "score": 0.08825933933258057 + "score": -0.7399060130119324 } + }, + "else": { + "operation": "boost", + "score": -0.004609002266079187 } } - }, - "else": { - "operation": "boost", - "score": 0.036737844347953796 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.00830802321434021 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.020602574571967125 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" + "Variable" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 224.0, "then": { - "operation": "boost", - "score": 0.10711675137281418 + "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.12630552053451538 + "score": 0.01041356660425663 } }, "else": { - "operation": "boost", - "score": 0.0203480776399374 + "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 + } } }, "else": { + "operation": "boost", + "score": 0.0007205422152765095 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.04141746833920479 + "score": 0.11687703430652618 }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.023761656135320663 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12341353297233582 + }, + "else": { + "operation": "boost", + "score": -0.12006104737520218 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { "operation": "boost", - "score": 0.10491964966058731 + "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 + } } } - }, - "else": { - "operation": "boost", - "score": -0.37184828519821167 } + }, + "else": { + "operation": "boost", + "score": 0.008274541236460209 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0017932112095877528 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04655653238296509 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.01674397476017475 }, "else": { "operation": "boost", - "score": 0.02895425073802471 + "score": 0.023578330874443054 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.014229596592485905 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.11352929472923279 + "score": -0.7611399292945862 }, "else": { - "operation": "boost", - "score": -0.17202551662921906 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.024528922513127327 + }, + "else": { + "operation": "boost", + "score": 0.08434725552797318 + } } }, "else": { - "operation": "boost", - "score": 0.006859248504042625 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.0, + "then": { + "operation": "boost", + "score": 0.10966211557388306 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.04203549027442932 + }, + "else": { + "operation": "boost", + "score": 0.10982923209667206 + } + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 749.0, "then": { - "operation": "boost", - "score": 0.11379852890968323 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 879.5, + "then": { + "operation": "boost", + "score": 0.031022757291793823 + }, + "else": { + "operation": "boost", + "score": 0.09333177655935287 + } }, "else": { "operation": "boost", - "score": -0.1374058574438095 + "score": -0.04217939078807831 } }, "else": { "operation": "boost", - "score": -0.08778397738933563 + "score": 0.01961805671453476 } } }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.1316813826560974 - }, - "else": { - "operation": "boost", - "score": -0.11718796193599701 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.5497542023658752 - }, - "else": { - "operation": "boost", - "score": -0.11502450704574585 - } - }, "else": { "operation": "boost", - "score": -0.9259369373321533 + "score": -0.02267676405608654 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.004778995644301176 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10558327287435532 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.053498201072216034 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.3778221607208252 + "score": -0.001447806367650628 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.08354295790195465 - }, - "else": { - "operation": "boost", - "score": 0.12021603435277939 - } + "operation": "boost", + "score": -0.07556804269552231 } + }, + "else": { + "operation": "boost", + "score": -0.025538699701428413 } }, "else": { "operation": "boost", - "score": 0.08605137467384338 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.4324323832988739 - }, - "else": { - "operation": "boost", - "score": 0.0792502909898758 + "score": 0.02698829397559166 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag" + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.11678744852542877 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.0, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.14347237348556519 + "score": 0.15031063556671143 }, "else": { "operation": "boost", - "score": 0.1085711419582367 + "score": 0.1450325846672058 } - }, - "else": { - "operation": "boost", - "score": 0.08606768399477005 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.008296919986605644 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.019065165892243385 + "score": 0.07592754811048508 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1236448660492897 - }, - "else": { - "operation": "boost", - "score": -0.017286153510212898 - } - }, - "else": { - "operation": "boost", - "score": -0.15518710017204285 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.1302633285522461 - }, - "else": { - "operation": "boost", - "score": 0.11392103135585785 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10159763693809509 - }, - "else": { - "operation": "boost", - "score": -0.2402624934911728 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04205663874745369 - } + "operation": "boost", + "score": -0.37962576746940613 } + }, + "else": { + "operation": "boost", + "score": 0.0995776578783989 } } }, "else": { "operation": "boost", - "score": 0.030902305617928505 + "score": 0.03910455107688904 + } + }, + "else": { + "operation": "boost", + "score": 0.03688960149884224 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03001004084944725 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Destructor", + "Operator", + "Constructor", + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.023992205038666725 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.06647934764623642 + "score": -0.12343194335699081 }, "else": { "operation": "boost", - "score": -0.4971138536930084 + "score": 0.030217107385396957 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.061984833329916 + "score": -0.1830906718969345 }, "else": { - "operation": "boost", - "score": -0.45302924513816833 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09157723188400269 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.17794597148895264 + }, + "else": { + "operation": "boost", + "score": 0.0367981493473053 + } + }, + "else": { + "operation": "boost", + "score": -0.06242894008755684 + } + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.23742128908634186 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.002662548329681158 + }, + "else": { + "operation": "boost", + "score": 0.10410748422145844 + } }, "else": { "operation": "boost", - "score": 0.10562258213758469 + "score": 0.058266881853342056 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + }, + "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.009766699746251106 + "score": 0.07339594513177872 }, "else": { "operation": "boost", - "score": 0.1049950122833252 + "score": -0.3619915246963501 } - }, - "else": { - "operation": "boost", - "score": -0.6870007514953613 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0015789814060553908 - }, - "else": { - "operation": "boost", - "score": -0.070078544318676 - } + "operation": "boost", + "score": -0.002521607792004943 } } }, "else": { "operation": "boost", - "score": 0.0161354411393404 + "score": -0.03745245188474655 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.01712328940629959 - }, - "else": { - "operation": "boost", - "score": -0.12577936053276062 - } + "operation": "boost", + "score": -0.007868895307183266 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.006200236268341541 - }, - "else": { - "operation": "boost", - "score": -0.005674389190971851 - } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], + "operation": "boost", + "score": -0.0010836465517058969 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18618.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19474.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.007041280623525381 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "boost", + "score": 0.08199305087327957 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 98458.0, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1035330519080162 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 104520.5, "then": { "operation": "boost", - "score": -0.03792425990104675 + "score": 0.046499043703079224 }, "else": { - "operation": "boost", - "score": 0.09007394313812256 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.08085692673921585 + }, + "else": { + "operation": "boost", + "score": 0.6916908025741577 + } } - }, - "else": { - "operation": "boost", - "score": 0.04310039430856705 } }, "else": { "operation": "boost", - "score": 0.046150028705596924 - } - }, - "else": { - "operation": "boost", - "score": -0.019221415743231773 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.14955055713653564 - }, - "else": { - "operation": "boost", - "score": -0.023143691942095757 + "score": 0.007677852641791105 } }, "else": { - "operation": "boost", - "score": 0.045535556972026825 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 30903.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 32026.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0824960395693779 - }, - "else": { - "operation": "boost", - "score": -0.09798291325569153 - } + "operation": "boost", + "score": 0.012367373332381248 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96.5, + "threshold": 31775.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02526928298175335 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 303.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 612.0, - "then": { - "operation": "boost", - "score": 0.043748289346694946 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 583.0, - "then": { - "operation": "boost", - "score": 0.11250969022512436 - }, - "else": { - "operation": "boost", - "score": 0.11640636622905731 - } - } - }, - "else": { - "operation": "boost", - "score": -0.038949526846408844 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.18273180723190308 - }, - "else": { - "operation": "boost", - "score": 0.12936533987522125 - } + "score": 0.07721369713544846 }, "else": { "operation": "boost", - "score": 0.09583029896020889 + "score": 0.04433480277657509 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07101662456989288 }, "else": { "operation": "boost", - "score": -0.05502687767148018 + "score": 0.09642582386732101 } + }, + "else": { + "operation": "boost", + "score": 0.034233931452035904 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 270.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 664.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.024812273681163788 + "score": 0.0806955099105835 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 526.0, - "then": { - "operation": "boost", - "score": 0.11300468444824219 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.9047844409942627 - }, - "else": { - "operation": "boost", - "score": 0.0898507758975029 - } - } + "operation": "boost", + "score": -0.224242702126503 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029374854639172554 - }, - "else": { - "operation": "boost", - "score": 0.08149552345275879 - } + "operation": "boost", + "score": -0.07246875762939453 } } - }, - "else": { - "operation": "boost", - "score": 0.006378151010721922 } - }, - "else": { - "operation": "boost", - "score": -0.051301900297403336 } + }, + "else": { + "operation": "boost", + "score": -0.012126963585615158 } - }, - "else": { - "operation": "boost", - "score": -0.013158186338841915 } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19362.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47029.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.013398288749158382 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.005784602835774422 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.09208064526319504 - }, - "else": { - "operation": "boost", - "score": 0.052573561668395996 - } - }, - "else": { - "operation": "boost", - "score": -0.008835956454277039 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13275626301765442 - }, - "else": { - "operation": "boost", - "score": 0.13486401736736298 - } - }, - "else": { - "operation": "boost", - "score": -0.030557231977581978 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73487.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, - "then": { - "operation": "boost", - "score": 0.04090680181980133 - }, - "else": { - "operation": "boost", - "score": -0.1448938548564911 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.037212684750556946 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08325446397066116 - }, - "else": { - "operation": "boost", - "score": 0.11490881443023682 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63761.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08495838940143585 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.08295352011919022 - }, - "else": { - "operation": "boost", - "score": -0.12573136389255524 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0009925958001986146 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.022605694830417633 - } - } - } + "operation": "boost", + "score": 0.11714904755353928 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10003073513507843 - }, - "else": { - "operation": "boost", - "score": 0.10407542437314987 - } + "operation": "boost", + "score": 0.11667528003454208 } }, "else": { "operation": "boost", - "score": -0.1642632782459259 + "score": -0.28751876950263977 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0029182941652834415 + "score": 0.052034150809049606 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.019070541486144066 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11472929269075394 - }, - "else": { - "operation": "boost", - "score": 0.03628234565258026 - } - } + "operation": "boost", + "score": 0.09224221110343933 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51599.0, - "then": { - "operation": "boost", - "score": 0.0029360605403780937 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.10007995367050171 + "score": 0.11521323025226593 }, "else": { "operation": "boost", - "score": 0.11863048374652863 + "score": 0.11733664572238922 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "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": 47131.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.039407894015312195 - }, - "else": { - "operation": "boost", - "score": 0.0677703320980072 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06321718543767929 - }, - "else": { - "operation": "boost", - "score": -0.006145942490547895 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2550561726093292 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0057511297054588795 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0026821622159332037 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.4556494653224945 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06919730454683304 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, "then": { "operation": "boost", - "score": 0.10017239302396774 + "score": 0.08317548781633377 }, "else": { "operation": "boost", - "score": 0.0972706601023674 + "score": -0.15269224345684052 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.09305548667907715 - }, - "else": { - "operation": "boost", - "score": 0.07218996435403824 - } + "operation": "boost", + "score": 0.07534658908843994 } } - }, - "else": { - "operation": "boost", - "score": -0.05367258936166763 } }, "else": { "operation": "boost", - "score": 0.12431050091981888 + "score": 0.0017677274299785495 } } }, @@ -265378,930 +266764,1031 @@ "threshold": 11.5, "then": { "operation": "boost", - "score": -0.0009486092021688819 + "score": -0.00108834367711097 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16.5, + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol" + ], "then": { + "operation": "boost", + "score": 0.018262416124343872 + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": 0.0264977365732193 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.01593923568725586 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], "then": { - "operation": "boost", - "score": -0.01894998922944069 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.7406026721000671 - }, - "else": { - "operation": "boost", - "score": 0.13059931993484497 - } - }, - "else": { - "operation": "boost", - "score": -0.14545179903507233 - } - }, - "else": { - "operation": "boost", - "score": 0.06058001518249512 - } + "operation": "boost", + "score": 0.11664365231990814 }, "else": { "operation": "boost", - "score": 0.014670588076114655 + "score": -0.05763304606080055 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.025518566370010376 }, "else": { - "operation": "boost", - "score": 0.09281184524297714 - } - }, - "else": { - "operation": "boost", - "score": -0.15809430181980133 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16222.0, - "then": { - "operation": "boost", - "score": -0.1285301148891449 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10617.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10719.5, + "threshold": 113.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13415.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Type" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.306618869304657 + "score": 0.036476779729127884 }, "else": { "operation": "boost", - "score": -0.10308368504047394 + "score": -2.1929075717926025 } }, "else": { - "operation": "boost", - "score": -0.10196471959352493 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 249.0, "then": { "operation": "boost", - "score": 0.08037764579057693 + "score": 0.0843239575624466 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.08044679462909698 - }, - "else": { - "operation": "boost", - "score": 0.11681479215621948 - } + "operation": "boost", + "score": -0.14946699142456055 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.06538636237382889 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", + "CCC_EnumTag", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.16241073608398438 + "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.1026073545217514 + "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.00820588693022728 + "score": -0.10153726488351822 } } }, "else": { - "operation": "boost", - "score": 0.12085207551717758 - } - }, - "else": { - "operation": "boost", - "score": 0.026339976117014885 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01491530891507864 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.14701056480407715 - }, - "else": { - "operation": "boost", - "score": -0.529330313205719 + "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 + } + } + } + } + } } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 55.5, "then": { "operation": "boost", - "score": 0.023924777284264565 + "score": -0.019472122192382812 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Type" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.07456252723932266 + "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.038966141641139984 + "score": 0.04020227864384651 } } } } + }, + "else": { + "operation": "boost", + "score": 0.10262931138277054 } }, "else": { "operation": "boost", - "score": 0.011855495162308216 + "score": 0.013460252434015274 } }, "else": { - "operation": "boost", - "score": 0.0012902807211503386 - } - }, - "else": { - "operation": "boost", - "score": -0.012035909108817577 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0006693176692351699 - }, - "else": { - "operation": "boost", - "score": -0.0667775496840477 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Namespace" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.08301860094070435 - }, - "else": { - "operation": "boost", - "score": 0.11142349988222122 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 947.0, "then": { "operation": "boost", - "score": -0.004038545303046703 + "score": 0.0938367173075676 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.05551730468869209 + "score": -0.035231683403253555 }, "else": { - "operation": "boost", - "score": 0.008371374569833279 + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "boost", + "score": -0.03699225187301636 + }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 11.0, + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.11161207407712936 + "score": -0.025116905570030212 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.07166216522455215 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 111.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11033882200717926 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 67.5, "then": { "operation": "boost", - "score": 0.036052558571100235 + "score": -0.16643939912319183 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 44.5, "then": { "operation": "boost", - "score": 0.09074098616838455 + "score": 0.10368507355451584 }, "else": { "operation": "boost", - "score": 0.04983946308493614 + "score": -0.03467744588851929 } } - } - }, - "else": { - "operation": "boost", - "score": -0.15582922101020813 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.10965726524591446 - }, - "else": { - "operation": "boost", - "score": 0.10653617233037949 - } }, "else": { - "operation": "boost", - "score": 0.04710758849978447 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "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.05181282013654709 + "score": -0.21595795452594757 }, "else": { "operation": "boost", - "score": -0.04182669520378113 + "score": -0.004740554839372635 } } } + }, + "else": { + "operation": "boost", + "score": 0.035989124327898026 } } } + }, + "else": { + "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": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.06448911130428314 + }, + "else": { + "operation": "boost", + "score": -0.009410233236849308 + } + }, + "else": { + "operation": "boost", + "score": -0.03687388077378273 + } } } + }, + "else": { + "operation": "boost", + "score": 0.0033876204397529364 } }, "else": { - "operation": "boost", - "score": -0.02180514857172966 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17462460696697235 + }, + "else": { + "operation": "boost", + "score": -0.06662417948246002 + } } - }, - "else": { - "operation": "boost", - "score": -0.006313868332654238 } - }, - "else": { + } + }, + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 1.732500641082879e-05 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.003028303384780884 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11188380420207977 - }, - "else": { - "operation": "boost", - "score": -0.14538608491420746 - } - }, - "else": { - "operation": "boost", - "score": 0.0505143478512764 - } + "operation": "boost", + "score": 0.15364684164524078 }, "else": { "operation": "boost", - "score": 0.013166148215532303 + "score": 0.25574514269828796 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0168373491615057 - }, - "else": { - "operation": "boost", - "score": 0.018692225217819214 - } + "operation": "boost", + "score": 0.022938229143619537 } }, "else": { "operation": "boost", - "score": -0.009188790805637836 + "score": -0.011502997018396854 + } + }, + "else": { + "operation": "boost", + "score": 0.028989968821406364 + } + }, + "else": { + "operation": "boost", + "score": 0.015743335708975792 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Constructor", + "Namespace" + ], + "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": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1017257422208786 + }, + "else": { + "operation": "boost", + "score": 0.026314804330468178 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1531304270029068 - }, - "else": { - "operation": "boost", - "score": 0.08272860199213028 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.2652745842933655 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09970630705356598 - }, - "else": { - "operation": "boost", - "score": 0.07261480391025543 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06942294538021088 - } - }, - "else": { - "operation": "boost", - "score": -0.021132953464984894 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06099538132548332 - } + "operation": "boost", + "score": 0.0266452357172966 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.5055537223815918 + "score": -0.09210959821939468 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.0077340127900242805 - }, - "else": { - "operation": "boost", - "score": 0.12168670445680618 - } + "operation": "boost", + "score": 0.08751055598258972 } }, - "else": { - "operation": "boost", - "score": -0.04468460753560066 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08187364786863327 - }, - "else": { - "operation": "boost", - "score": 0.07398519665002823 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.009558778256177902 - }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04216635972261429 - }, - "else": { - "operation": "boost", - "score": 0.03019959293305874 - } + "operation": "boost", + "score": 0.07791076600551605 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "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.02787671610713005 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": 0.0655573159456253 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11307711899280548 + "score": 0.05843434855341911 }, "else": { - "operation": "boost", - "score": -0.10310040414333344 + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.06056464836001396 } + }, + "else": { + "operation": "boost", + "score": -0.6035733222961426 } } } } - }, - "else": { - "operation": "boost", - "score": 0.021177109330892563 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.011711044237017632 - }, - "else": { - "operation": "boost", - "score": -0.023269755765795708 - } + "operation": "boost", + "score": -0.030052881687879562 } }, "else": { "operation": "boost", - "score": 0.0032637622207403183 + "score": -0.007929716259241104 } } } @@ -266310,1730 +267797,1997 @@ }, { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0012693945318460464 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Constructor" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06807418912649155 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.09561565518379211 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 27.5, "then": { "operation": "boost", - "score": -0.0263572596013546 + "score": 0.004855211824178696 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 290.0, - "then": { - "operation": "boost", - "score": 0.12873628735542297 - }, - "else": { - "operation": "boost", - "score": 0.07230133563280106 - } - }, - "else": { - "operation": "boost", - "score": 0.027322137728333473 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07784394919872284 - }, - "else": { - "operation": "boost", - "score": 0.11096969246864319 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.04401068761944771 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "boost", - "score": 0.11680824309587479 + "score": 0.009175770916044712 }, "else": { + "operation": "boost", + "score": -0.044456083327531815 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.05967341363430023 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14503.0, + "then": { + "operation": "boost", + "score": -0.46834471821784973 + }, + "else": { + "operation": "boost", + "score": 0.07741569727659225 + } + }, + "else": { + "operation": "boost", + "score": 0.19294607639312744 + } }, "else": { - "operation": "boost", - "score": 0.12631076574325562 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08317942172288895 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.03526495769619942 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.031975433230400085 + } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06249772384762764 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.1247214525938034 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.2203681617975235 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0470869280397892 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.037185512483119965 + }, + "else": { + "operation": "boost", + "score": 0.12757045030593872 + } + }, + "else": { + "operation": "boost", + "score": 0.14266616106033325 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": -0.24611681699752808 + }, + "else": { + "operation": "boost", + "score": 0.0910455659031868 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07017568498849869 + }, + "else": { + "operation": "boost", + "score": 0.09719358384609222 + } + } + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.039619069546461105 + "score": 0.07038748264312744 }, "else": { "operation": "boost", - "score": 0.1270970106124878 + "score": -0.11173708736896515 } } } - }, - "else": { - "operation": "boost", - "score": 0.06858329474925995 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06213217228651047 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.13337428867816925 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.028714284300804138 + }, + "else": { + "operation": "boost", + "score": -0.14887316524982452 + } }, "else": { "operation": "boost", - "score": 0.09725083410739899 + "score": -0.09091237932443619 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.12874481081962585 }, "else": { "operation": "boost", - "score": 0.0971861481666565 + "score": 0.02871757559478283 } + }, + "else": { + "operation": "boost", + "score": 0.0006702806567773223 } } - }, - "else": { - "operation": "boost", - "score": 0.025482160970568657 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.020651884377002716 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { + "operation": "boost", + "score": -0.06049693003296852 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 86.5, + "threshold": 36.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3160.0, + "threshold": 37.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3961.5, - "then": { - "operation": "boost", - "score": 0.04440758377313614 - }, - "else": { - "operation": "boost", - "score": 0.11567216366529465 - } + "operation": "boost", + "score": 0.037463437765836716 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06123445928096771 + "score": 0.14581738412380219 }, "else": { "operation": "boost", - "score": -0.050718121230602264 + "score": -0.10769367218017578 } } }, "else": { "operation": "boost", - "score": 0.09380746632814407 + "score": -0.0020317945163697004 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10665084421634674 + "score": 0.11569949984550476 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.14293219149112701 - }, - "else": { - "operation": "boost", - "score": 0.39875805377960205 - } + "operation": "boost", + "score": -0.10214801877737045 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.037235695868730545 + "score": -0.06460803747177124 }, "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": 7.5, + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.004780441056936979 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05276767164468765 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.18540310859680176 - }, - "else": { - "operation": "boost", - "score": 0.11723590642213821 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.16837675869464874 - }, - "else": { - "operation": "boost", - "score": 0.23124757409095764 - } + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12799367308616638 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.34246620535850525 + }, + "else": { + "operation": "boost", + "score": 0.06602393835783005 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02359831891953945 + } + }, + "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.13604475557804108 + "score": -0.07253467291593552 } }, "else": { - "operation": "boost", - "score": 0.10136502236127853 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.016869371756911278 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.06687229126691818 + }, + "else": { + "operation": "boost", + "score": 0.019568277522921562 + } + } } } - } - }, - "else": { - "operation": "boost", - "score": 0.041448917239904404 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006117156241089106 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "boost", - "score": 0.022553307935595512 + "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": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.005159960128366947 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 129.5, - "then": { - "operation": "boost", - "score": 0.12136494368314743 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104.5, - "then": { - "operation": "boost", - "score": 0.012120748870074749 - }, - "else": { - "operation": "boost", - "score": 0.13127993047237396 - } - }, - "else": { - "operation": "boost", - "score": -0.07507631927728653 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.14506441354751587 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.12508827447891235 + "score": 0.025257233530282974 }, "else": { "operation": "boost", - "score": -0.12446139007806778 + "score": 0.05452549830079079 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, - "then": { - "operation": "boost", - "score": 0.13941159844398499 }, "else": { "operation": "boost", - "score": 0.11934279650449753 + "score": -0.01368767861276865 } }, "else": { "operation": "boost", - "score": 0.056730207055807114 + "score": 0.024448905140161514 } } } }, "else": { "operation": "boost", - "score": 0.02983463741838932 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.02050439454615116 - }, - "else": { - "operation": "boost", - "score": -0.09249962121248245 - } - }, - "else": { - "operation": "boost", - "score": -0.005699952598661184 + "score": -0.016318337991833687 } - }, - "else": { - "operation": "boost", - "score": 0.007653925567865372 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.021319057792425156 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.011882000602781773 - }, - "else": { - "operation": "boost", - "score": -0.08898355811834335 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009514657780528069 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01482034008949995 - }, - "else": { - "operation": "boost", - "score": -0.005903820041567087 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13229769468307495 - }, - "else": { - "operation": "boost", - "score": 0.11392059922218323 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.037226613610982895 - }, - "else": { - "operation": "boost", - "score": 0.03279804438352585 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.012712244875729084 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.11597365140914917 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.14793804287910461 - }, - "else": { - "operation": "boost", - "score": -0.059178754687309265 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.04035254940390587 + "score": -0.03951631113886833 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 231.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.6900957822799683 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 390.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24370.0, + "then": { + "operation": "boost", + "score": 0.07497244328260422 + }, + "else": { + "operation": "boost", + "score": 0.030592693015933037 + } + }, + "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 + } + } }, "else": { "operation": "boost", - "score": 0.10816791653633118 + "score": -0.0038913642056286335 } }, "else": { - "operation": "boost", - "score": -0.21987013518810272 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.03754559904336929 - }, - "else": { - "operation": "boost", - "score": -0.2211078405380249 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.03133116662502289 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.02369471825659275 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.11589522659778595 - }, - "else": { - "operation": "boost", - "score": 0.10978768765926361 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.1712917983531952 - }, - "else": { - "operation": "boost", - "score": 0.09110797196626663 - } - } - }, - "else": { - "operation": "boost", - "score": 0.032584112137556076 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 363.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 378.5, - "then": { - "operation": "boost", - "score": 0.04303647205233574 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.10776969790458679 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11458618193864822 - }, - "else": { - "operation": "boost", - "score": 0.11329112946987152 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10098099708557129 - } - } - }, - "else": { - "operation": "boost", - "score": -0.005032705143094063 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005465077701956034 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10302026569843292 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.08431936800479889 + "score": -0.10065226256847382 }, "else": { "operation": "boost", - "score": 0.05342717096209526 + "score": 0.1363212615251541 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.011920181103050709 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.12429366260766983 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.021694505587220192 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 22.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.05823136493563652 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 24.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10655225068330765 + "score": 0.12557491660118103 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.0084063820540905 - }, - "else": { - "operation": "boost", - "score": 0.10284488648176193 - } + "operation": "boost", + "score": 0.084744393825531 } + }, + "else": { + "operation": "boost", + "score": 0.08468074351549149 } }, "else": { "operation": "boost", - "score": -0.06173110753297806 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10826680064201355 - }, - "else": { - "operation": "boost", - "score": 0.10336710512638092 + "score": 0.11913590133190155 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.1272791028022766 - }, - "else": { - "operation": "boost", - "score": 0.10266556590795517 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05826696753501892 - } - }, - "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": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.004810975398868322 + "score": 0.11280497908592224 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 22.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.10329299420118332 + "score": 0.16719986498355865 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.06895477324724197 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.12784558534622192 - }, - "else": { - "operation": "boost", - "score": 0.08175120502710342 - } - } + "operation": "boost", + "score": -0.10497815161943436 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.025625577196478844 + "score": 0.009138679131865501 }, "else": { - "operation": "boost", - "score": 0.10466931015253067 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.0364539697766304 + }, + "else": { + "operation": "boost", + "score": -0.14892715215682983 + } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, + "feature": "NumReferences", + "threshold": 49.0, "then": { + "operation": "boost", + "score": 0.1096452921628952 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.10272084921598434 + "score": -0.4234304428100586 }, "else": { "operation": "boost", - "score": 0.12994085252285004 + "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": "FileProximityDistance", - "threshold": 24.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.06685300916433334 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.10429751873016357 + "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.017907563596963882 + "score": -0.019931234419345856 } - }, - "else": { - "operation": "boost", - "score": 0.01527892891317606 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.01700557768344879 + }, + "else": { + "operation": "boost", + "score": -0.1044330894947052 + } } - }, - "else": { - "operation": "boost", - "score": 0.05925268679857254 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.011433849111199379 + }, + "else": { + "operation": "boost", + "score": 0.03740652650594711 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09687400609254837 + }, + "else": { + "operation": "boost", + "score": -0.028520731255412102 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.09024535864591599 + }, + "else": { + "operation": "boost", + "score": 0.02004646509885788 + } } } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10279273986816406 - }, - "else": { - "operation": "boost", - "score": -0.0598825067281723 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.04753199964761734 - }, - "else": { - "operation": "boost", - "score": 0.006491373758763075 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.06038336083292961 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.029064074158668518 - }, - "else": { - "operation": "boost", - "score": 0.01866881176829338 - } - } + "operation": "boost", + "score": 0.00038580954424105585 } - } - }, - "else": { - "operation": "boost", - "score": -0.005924466997385025 - } - }, - "else": { - "operation": "boost", - "score": -0.010861032642424107 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.000180794348125346 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05957793444395065 - }, - "else": { - "operation": "boost", - "score": 0.14209696650505066 - } + "operation": "boost", + "score": -0.07590065151453018 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2082.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.08450506627559662 - }, - "else": { - "operation": "boost", - "score": 0.08422618359327316 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.029375821352005005 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07276016473770142 + "score": -0.04123705253005028 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.16828086972236633 - }, - "else": { - "operation": "boost", - "score": 0.0436689592897892 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.033833786845207214 - } + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.8903722167015076 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.13301414251327515 + }, + "else": { + "operation": "boost", + "score": 0.001492500538006425 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.16026712954044342 + }, + "else": { + "operation": "boost", + "score": -0.08247492462396622 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1650443971157074 + }, + "else": { + "operation": "boost", + "score": -0.1357921063899994 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10147550702095032 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 4.179494857788086 + }, + "else": { + "operation": "boost", + "score": 0.0 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.020576437935233116 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.5387771129608154 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.11758440732955933 + }, + "else": { + "operation": "boost", + "score": 0.13135604560375214 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.016232207417488098 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02894306369125843 + }, + "else": { + "operation": "boost", + "score": 0.010404223576188087 + } + }, + "else": { + "operation": "boost", + "score": -0.0010687881149351597 + } }, "else": { - "operation": "boost", - "score": 0.014943802729249 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23401.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26223.5, + "then": { + "operation": "boost", + "score": 0.04041058570146561 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.11757349967956543 + }, + "else": { + "operation": "boost", + "score": 0.14888238906860352 + } + } + }, + "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 + } + } } }, "else": { "operation": "boost", - "score": -0.047085024416446686 + "score": 0.013153286650776863 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0008366018300876021 }, "else": { - "operation": "boost", - "score": -0.02060840092599392 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": -0.0160287544131279 + }, + "else": { + "operation": "boost", + "score": -0.13543663918972015 + } } } }, "else": { + "operation": "boost", + "score": -0.0003465033369138837 + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace", - "Function" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.0024400686379522085 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 286067.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 297177.5, "then": { "operation": "boost", - "score": 0.06270921230316162 + "score": -0.010552647523581982 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "boost", + "score": 0.014570512808859348 + }, + "else": { + "operation": "boost", + "score": -0.21327656507492065 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": 0.1006852388381958 + }, + "else": { + "operation": "boost", + "score": 0.09569509327411652 + } + }, + "else": { + "operation": "boost", + "score": 0.005484310910105705 + } + } + } + }, + "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, + "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" + ], + "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": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.012461255304515362 - }, - "else": { - "operation": "boost", - "score": 0.16022418439388275 - } - }, - "else": { - "operation": "boost", - "score": 0.03458254784345627 - } + "operation": "boost", + "score": 0.014800726436078548 }, "else": { "operation": "boost", - "score": -0.0825049951672554 + "score": 0.034731440246105194 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.00604663509875536 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "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.0002276350714964792 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.09503129869699478 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.013953210785984993 + }, + "else": { + "operation": "boost", + "score": 0.04901443421840668 + } }, "else": { "operation": "boost", - "score": 0.12439177185297012 + "score": -0.020047632977366447 } }, "else": { "operation": "boost", - "score": -0.03587411716580391 + "score": -0.026062900200486183 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "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": "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03263884037733078 + }, + "else": { + "operation": "boost", + "score": 0.11526091396808624 + } + } + }, + "else": { + "operation": "boost", + "score": -0.26442381739616394 + } + }, + "else": { + "operation": "boost", + "score": 0.03502590209245682 + } + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.09616227447986603 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.010443628765642643 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.32403311133384705 + } }, "else": { "operation": "boost", - "score": 0.05250190198421478 + "score": 0.7350807189941406 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13539406657218933 + }, + "else": { + "operation": "boost", + "score": 0.0007603028789162636 + } + }, + "else": { "operation": "boost", - "score": 0.05473252013325691 + "score": 0.1290668100118637 + } + }, + "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.10620772838592529 + "score": 0.02756471373140812 } }, "else": { "operation": "boost", - "score": 0.08904644101858139 + "score": -0.10330642759799957 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.06397019326686859 + }, + "else": { + "operation": "boost", + "score": 0.05907880887389183 } } }, "else": { "operation": "boost", - "score": 0.0820946916937828 + "score": 0.05440707132220268 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.013942532241344452 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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, + "then": { + "operation": "boost", + "score": 0.07023251801729202 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.059836067259311676 + }, + "else": { + "operation": "boost", + "score": 0.11577632278203964 + } + } } }, "else": { - "operation": "boost", - "score": 0.002058790298178792 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.3002808690071106 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127.5, + "then": { + "operation": "boost", + "score": -0.03984343260526657 + }, + "else": { + "operation": "boost", + "score": 0.13118195533752441 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07796575874090195 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.21524783968925476 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.029781091958284378 + }, + "else": { + "operation": "boost", + "score": 0.09572633355855942 + } + } + } + } + } } } } }, "else": { - "operation": "boost", - "score": 0.03354491665959358 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59076.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.10087551921606064 + "score": 0.15089809894561768 }, "else": { "operation": "boost", - "score": 0.11485829949378967 + "score": -0.07437112927436829 } }, "else": { - "operation": "boost", - "score": 0.03396041318774223 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "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": "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.05896487459540367 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04522773623466492 + }, + "else": { + "operation": "boost", + "score": -0.004246761091053486 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009248413145542145 + }, + "else": { + "operation": "boost", + "score": 0.046814270317554474 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.009861885569989681 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.027917688712477684 + }, + "else": { + "operation": "boost", + "score": -0.5204707384109497 + } + }, + "else": { + "operation": "boost", + "score": -0.14166752994060516 + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.001821558573283255 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.022736448794603348 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 273152.0, + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.012514726258814335 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.03700707480311394 + "score": -1.3581041097640991 }, "else": { "operation": "boost", - "score": 0.07911112904548645 + "score": -0.0354156419634819 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03503425419330597 }, "else": { "operation": "boost", - "score": 0.05105311796069145 + "score": 0.10436601936817169 } } } }, "else": { - "operation": "boost", - "score": 0.026341037824749947 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10642938315868378 + }, + "else": { + "operation": "boost", + "score": 0.00034292152849957347 + } } } }, @@ -268041,1993 +269795,2313 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_SymbolOrNewName", - "CCC_Namespace" + "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": 1.0, + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.009701582603156567 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09495095908641815 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, - "then": { - "operation": "boost", - "score": 0.22381654381752014 - }, - "else": { - "operation": "boost", - "score": 0.020200209692120552 - } + "operation": "boost", + "score": -0.10544013231992722 }, "else": { "operation": "boost", - "score": 0.1154247373342514 + "score": 0.10009827464818954 } }, "else": { "operation": "boost", - "score": 0.06183721497654915 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.1260237842798233 - }, - "else": { - "operation": "boost", - "score": 0.06027665361762047 + "score": -0.189814493060112 } } + }, + "else": { + "operation": "boost", + "score": -0.0840660110116005 } }, "else": { "operation": "boost", - "score": -0.00796323362737894 + "score": -0.01055991929024458 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "boost", + "score": -0.06510976701974869 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "boost", + "score": 0.02644304931163788 + }, + "else": { + "operation": "boost", + "score": -0.6851146817207336 + } + }, + "else": { + "operation": "boost", + "score": 0.10878200083971024 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.013252598233520985 + }, + "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.10131021589040756 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.0, + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.1243465319275856 + }, + "else": { + "operation": "boost", + "score": 0.2378663271665573 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02532162517309189 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1424.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.04907352849841118 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.12671586871147156 + "score": 0.06360983103513718 }, "else": { "operation": "boost", - "score": 0.028312353417277336 + "score": 0.1803228110074997 } + }, + "else": { + "operation": "boost", + "score": 0.12706013023853302 } }, "else": { "operation": "boost", - "score": 0.08959546685218811 + "score": 0.029213694855570793 } - }, - "else": { - "operation": "boost", - "score": 0.2123754769563675 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.37650957703590393 - }, - "else": { - "operation": "boost", - "score": 0.08013499528169632 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.09511840343475342 - }, - "else": { - "operation": "boost", - "score": 0.024465536698698997 - } + "operation": "boost", + "score": 0.011496446095407009 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85554.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": -0.11665183305740356 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03511415421962738 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00781001104041934 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.25119316577911377 + }, + "else": { + "operation": "boost", + "score": -0.1641658991575241 + } + }, + "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_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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0650385245680809 + }, + "else": { + "operation": "boost", + "score": 0.10822399705648422 + } + }, + "else": { + "operation": "boost", + "score": 0.018214061856269836 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016832904890179634 + }, + "else": { + "operation": "boost", + "score": 0.005291637033224106 + } + } + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "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": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.024214042350649834 + "score": -0.005789491347968578 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73296.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1107548251748085 + "score": -0.0032456654589623213 }, "else": { "operation": "boost", - "score": 0.11279746145009995 + "score": 0.023147305473685265 } } }, "else": { "operation": "boost", - "score": 0.11733512580394745 + "score": -0.060669660568237305 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.07250051945447922 + "score": -0.05405690148472786 }, "else": { - "operation": "boost", - "score": 0.10150379687547684 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06184849143028259 + }, + "else": { + "operation": "boost", + "score": 0.09464267641305923 + } + }, + "else": { + "operation": "boost", + "score": 0.09008818119764328 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73296.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07359202951192856 + "score": -0.006165829487144947 }, "else": { - "operation": "boost", - "score": -0.15508684515953064 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.021338215097784996 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07469461858272552 + }, + "else": { + "operation": "boost", + "score": -0.02771194465458393 + } + } } } } } }, "else": { - "operation": "boost", - "score": 0.07372751086950302 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "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": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.010188711807131767 + "score": 0.03294089064002037 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0801982656121254 + "score": -0.02362982928752899 }, "else": { "operation": "boost", - "score": -0.023738596588373184 + "score": 0.0327276773750782 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.041012249886989594 - }, - "else": { - "operation": "boost", - "score": -0.017819073051214218 - } - } - }, - "else": { - "operation": "boost", - "score": -0.005316398572176695 - } - }, - "else": { - "operation": "boost", - "score": 0.006451924331486225 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.00618539284914732 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": -0.0887126624584198 + "score": -0.1067289263010025 }, "else": { - "operation": "boost", - "score": 0.06397248804569244 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.1534944325685501 + }, + "else": { + "operation": "boost", + "score": -0.11359472572803497 + } } - }, - "else": { - "operation": "boost", - "score": -0.028323322534561157 } - }, - "else": { - "operation": "boost", - "score": -0.046558938920497894 } } } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.005805002525448799 + }, + "else": { + "operation": "boost", + "score": 0.007184136193245649 + } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + } + } + }, + { + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 56138.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { - "operation": "boost", - "score": -0.020758450031280518 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 26.5, "then": { "operation": "boost", - "score": -0.0777885913848877 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006216123700141907 - }, - "else": { - "operation": "boost", - "score": 0.05404301732778549 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.026220478117465973 - }, - "else": { - "operation": "boost", - "score": 0.050842635333538055 - } + "score": -0.25445178151130676 }, "else": { "operation": "boost", - "score": -0.10673630982637405 + "score": 0.06194707006216049 } }, "else": { "operation": "boost", - "score": -0.0007355291745625436 + "score": -0.005044121760874987 } - } - }, - "else": { - "operation": "boost", - "score": 0.00616844417527318 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 52191.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52893.5, "then": { - "operation": "boost", - "score": -0.004644361324608326 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.11566896736621857 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09696172922849655 + "score": 0.06429271399974823 }, "else": { - "operation": "boost", - "score": -0.1039293184876442 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": -0.13746154308319092 + }, + "else": { + "operation": "boost", + "score": 0.14035923779010773 + } + }, + "else": { + "operation": "boost", + "score": 0.15299099683761597 + } + }, + "else": { + "operation": "boost", + "score": 0.15811240673065186 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.015685103833675385 - }, - "else": { - "operation": "boost", - "score": -0.05746820569038391 - } + "operation": "boost", + "score": -0.09027489274740219 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0008468244923278689 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017317108809947968 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100378.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.11517584323883057 + "score": 0.03782785311341286 }, "else": { "operation": "boost", - "score": 0.1112833023071289 + "score": -0.316056489944458 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.01522984728217125 + "score": -0.13358068466186523 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.0986509844660759 - }, - "else": { - "operation": "boost", - "score": -0.014540105126798153 - } + "operation": "boost", + "score": 0.12024819105863571 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10911419242620468 - }, - "else": { - "operation": "boost", - "score": 0.09042041748762131 - } + "operation": "boost", + "score": 0.11920545250177383 } } + }, + "else": { + "operation": "boost", + "score": -0.16464141011238098 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 7569.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5138.5, + "threshold": 13333.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5282.0, - "then": { - "operation": "boost", - "score": 0.044628068804740906 - }, - "else": { - "operation": "boost", - "score": 0.11009427905082703 - } - }, - "else": { - "operation": "boost", - "score": -0.041138287633657455 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "threshold": 28871.5, "then": { - "operation": "boost", - "score": 0.11426986008882523 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": -0.17188115417957306 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34866.5, + "then": { + "operation": "boost", + "score": 0.06749463826417923 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33827.0, + "then": { + "operation": "boost", + "score": 0.12229029089212418 + }, + "else": { + "operation": "boost", + "score": 0.10163851827383041 + } + } + } }, "else": { "operation": "boost", - "score": -0.025213902816176414 + "score": 0.023349424824118614 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 8635.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10480.5, "then": { - "operation": "boost", - "score": -0.1024041622877121 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.03598029166460037 + "score": 0.04998670518398285 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.024774711579084396 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11081.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.21616590023040771 - }, - "else": { - "operation": "boost", - "score": 0.04844599589705467 - } + "operation": "boost", + "score": 0.1123732402920723 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.09215443581342697 - }, - "else": { - "operation": "boost", - "score": -0.13564151525497437 - } - }, - "else": { - "operation": "boost", - "score": 0.11044344305992126 - } + "operation": "boost", + "score": 0.11211082339286804 } - }, - "else": { - "operation": "boost", - "score": 0.06732179969549179 } } + }, + "else": { + "operation": "boost", + "score": 0.010297494009137154 } }, "else": { - "operation": "boost", - "score": 0.06424348056316376 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, + "then": { + "operation": "boost", + "score": 0.11638810485601425 + }, + "else": { + "operation": "boost", + "score": 0.0635736808180809 + } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": -0.505266547203064 + "score": 0.10880625247955322 }, "else": { "operation": "boost", - "score": 0.048464056104421616 + "score": 0.07678180187940598 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.019549638032913208 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3151.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3884.0, + "threshold": 4666.0, "then": { "operation": "boost", - "score": 0.015547121874988079 + "score": -0.06603178381919861 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 4080.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.12213853001594543 + "score": 0.10737422108650208 }, "else": { "operation": "boost", - "score": 0.19491466879844666 + "score": 0.034540772438049316 } }, - "else": { - "operation": "boost", - "score": 0.13025684654712677 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.06272434443235397 - }, - "else": { - "operation": "boost", - "score": 0.009851568378508091 - } - } - }, - "else": { - "operation": "boost", - "score": -0.007225611712783575 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004953383468091488 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 418.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 419.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28306.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29053.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, - "then": { - "operation": "boost", - "score": 0.005668412894010544 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 159753.0, + "threshold": 3940.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05838089808821678 - }, - "else": { - "operation": "boost", - "score": 0.08432243019342422 - } + "operation": "boost", + "score": -0.3930237889289856 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 98110.0, + "threshold": 3740.5, "then": { "operation": "boost", - "score": -0.031889162957668304 + "score": 0.1199222281575203 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, + "operation": "boost", + "score": 0.10743113607168198 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 72744.5, + "threshold": 3079.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77386.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04942468926310539 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90481.5, - "then": { - "operation": "boost", - "score": 0.07525757700204849 - }, - "else": { - "operation": "boost", - "score": 0.12829889357089996 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1455332636833191 - }, - "else": { - "operation": "boost", - "score": -2.001197576522827 - } - }, - "else": { - "operation": "boost", - "score": -0.13544873893260956 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09655334055423737 - } - }, - "else": { - "operation": "boost", - "score": 0.007854490540921688 - } + "operation": "boost", + "score": -0.08714193850755692 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69581.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06473712623119354 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07109281420707703 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.031390462070703506 - }, - "else": { - "operation": "boost", - "score": 0.06580231338739395 - } - }, - "else": { - "operation": "boost", - "score": 0.10353101789951324 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.018867358565330505 - } + "operation": "boost", + "score": 0.10949040949344635 } }, "else": { "operation": "boost", - "score": 0.093903087079525 + "score": -0.4568278193473816 } - }, - "else": { - "operation": "boost", - "score": 0.018778689205646515 } }, "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": "NumReferences", - "threshold": 32879.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 34973.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36661.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.002312432276085019 - }, - "else": { - "operation": "boost", - "score": 0.10995890200138092 - } + "operation": "boost", + "score": 0.009024559520184994 }, "else": { "operation": "boost", - "score": 0.07065382599830627 + "score": 0.1125185638666153 } }, "else": { "operation": "boost", - "score": 0.010493268258869648 + "score": -0.05739501491189003 } }, "else": { - "operation": "boost", - "score": 0.11303965002298355 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.17232026159763336 + }, + "else": { + "operation": "boost", + "score": 0.0639449879527092 + } } + }, + "else": { + "operation": "boost", + "score": 0.09987849742174149 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35345.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "boost", - "score": 0.026920542120933533 - }, - "else": { - "operation": "boost", - "score": -0.027432415634393692 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.12276345491409302 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.1569230705499649 }, "else": { "operation": "boost", - "score": -1.0631238222122192 + "score": 0.013080926612019539 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.39102664589881897 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27939.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1171906590461731 - }, - "else": { - "operation": "boost", - "score": -0.3389497399330139 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26369.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10643220692873001 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.0, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.11365605145692825 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08365986496210098 + }, + "else": { + "operation": "boost", + "score": 0.04236747696995735 + } }, "else": { "operation": "boost", - "score": 0.1012800857424736 + "score": 0.09384621679782867 } - }, - "else": { - "operation": "boost", - "score": 0.10443001240491867 } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1515011191368103 }, "else": { - "operation": "boost", - "score": -0.00032287073554471135 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10896173864603043 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.14247234165668488 - }, - "else": { - "operation": "boost", - "score": 0.14618775248527527 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23608.0, - "then": { - "operation": "boost", - "score": 0.16733478009700775 - }, - "else": { - "operation": "boost", - "score": 0.05316545441746712 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21123.0, - "then": { - "operation": "boost", - "score": 0.02529953047633171 - }, - "else": { - "operation": "boost", - "score": 0.18903020024299622 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 788.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3109.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3163.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11986.0, - "then": { - "operation": "boost", - "score": 0.11047817021608353 - }, - "else": { - "operation": "boost", - "score": -0.30951762199401855 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "threshold": 15389.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20439.5, "then": { - "operation": "boost", - "score": 0.07333008944988251 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.20334933698177338 + }, + "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 + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20118.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10256599634885788 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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 + } + } + }, + "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.09581031650304794 + }, + "else": { + "operation": "boost", + "score": -0.8110145926475525 + } + } }, "else": { "operation": "boost", - "score": -0.05688599497079849 + "score": -0.11700206995010376 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4906.0, + "threshold": 14575.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5011.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.043964892625808716 + "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": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.11914070695638657 + "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.13748015463352203 + "score": -0.04680541530251503 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.07214333862066269 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4519.5, + "threshold": 2795.5, "then": { - "operation": "boost", - "score": -0.5436968803405762 + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6175.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4376.5, + "threshold": 6777.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 11273.5, "then": { - "operation": "boost", - "score": 0.12867122888565063 + "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.4393049478530884 + "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.32033634185791016 + "score": -0.26457729935646057 } } } } } } - }, - "else": { - "operation": "boost", - "score": -0.46334388852119446 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2989.5, + "threshold": 32678.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2990.5, + "threshold": 44699.0, "then": { + "operation": "boost", + "score": -0.12060762941837311 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3079.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 33041.5, "then": { "operation": "boost", - "score": 0.03832749277353287 + "score": 0.039685655385255814 }, "else": { - "operation": "boost", - "score": 0.13206346333026886 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11848372966051102 + }, + "else": { + "operation": "boost", + "score": -0.11459625512361526 + } } }, "else": { - "operation": "boost", - "score": -0.558603823184967 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.0028698768001049757 + }, + "else": { + "operation": "boost", + "score": 0.08920980989933014 + } } - }, - "else": { - "operation": "boost", - "score": 0.11392012983560562 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2965.0, + "threshold": 24366.0, "then": { "operation": "boost", - "score": 0.09845741838216782 + "score": -0.11261744052171707 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 18534.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 791.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "operation": "boost", + "score": -0.05430222675204277 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.13879360258579254 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.04387671872973442 + "score": 0.10311765968799591 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05224648490548134 - }, - "else": { - "operation": "boost", - "score": -0.6758942604064941 - } + "operation": "boost", + "score": 0.07260771840810776 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "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": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 15708.5, "then": { "operation": "boost", - "score": -0.047329094260931015 + "score": -0.24305488169193268 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 11248.5, "then": { - "operation": "boost", - "score": -0.06621251255273819 + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Function" + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.16087692975997925 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1264.5, + "threshold": 5034.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1572.5, + "threshold": 9062.5, "then": { + "operation": "boost", + "score": 0.06894124299287796 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2021.0, - "then": { - "operation": "boost", - "score": 0.019836414605379105 - }, - "else": { - "operation": "boost", - "score": 0.09767806529998779 - } + "operation": "boost", + "score": 0.036926236003637314 }, "else": { "operation": "boost", - "score": -0.33089473843574524 + "score": 0.10759830474853516 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.035410359501838684 }, "else": { "operation": "boost", - "score": 0.09696903079748154 + "score": -0.863402783870697 } - }, - "else": { - "operation": "boost", - "score": -0.0450972281396389 } + }, + "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.09055133163928986 + "score": 0.12664274871349335 } } } - }, - "else": { - "operation": "boost", - "score": 0.07545672357082367 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08778798580169678 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1389.0, - "then": { - "operation": "boost", - "score": 0.05415397509932518 - }, - "else": { - "operation": "boost", - "score": 0.10965640842914581 - } } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.08474552631378174 - }, - "else": { - "operation": "boost", - "score": -0.03177063539624214 - } + "operation": "boost", + "score": -0.129803866147995 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 782.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.3488824367523193 - }, - "else": { - "operation": "boost", - "score": -0.4152032732963562 - } - }, - "else": { - "operation": "boost", - "score": -0.09829757362604141 - } } }, "else": { + "operation": "boost", + "score": 0.00814634095877409 + } + } + } + }, + "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 + } + } + }, + "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 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18618.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19474.5, + "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": 89117.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0019244570285081863 + }, + "else": { + "operation": "boost", + "score": -0.3171546757221222 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31292.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 717.5, + "threshold": 43302.5, "then": { - "operation": "boost", - "score": 0.10565732419490814 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52893.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06883884221315384 - }, - "else": { - "operation": "boost", - "score": 0.1353946030139923 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 703.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.7812886238098145 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 692.5, + "threshold": 56010.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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_ClassStructUnion", + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09106514602899551 + }, + "else": { + "operation": "boost", + "score": 0.022835224866867065 + } + }, + "else": { + "operation": "boost", + "score": 0.09943270683288574 + } + }, + "else": { + "operation": "boost", + "score": 0.04111986979842186 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75566.5, + "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, + "then": { + "operation": "boost", + "score": -0.03303537145256996 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57673.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10638733953237534 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1276673823595047 + }, + "else": { + "operation": "boost", + "score": 0.012342731468379498 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017432617023587227 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08377189934253693 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10875546932220459 + "score": -0.2946960926055908 }, "else": { "operation": "boost", - "score": -0.055031005293130875 + "score": 0.10366365313529968 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 59716.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.013893277384340763 + "score": -0.013722024857997894 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 62498.5, "then": { + "operation": "boost", + "score": 0.09249580651521683 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.9323233962059021 + "score": 0.11650906503200531 }, "else": { "operation": "boost", - "score": -0.27505382895469666 + "score": 0.08750510960817337 } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12230691313743591 + }, + "else": { + "operation": "boost", + "score": 0.07129666954278946 + } + } + }, + "else": { + "operation": "boost", + "score": -0.15795683860778809 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1130000427365303 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.049468033015728 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.109201580286026 }, "else": { "operation": "boost", - "score": 0.12026592344045639 + "score": -0.001021073549054563 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 461.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 467.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 494.5, + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08650339394807816 + }, + "else": { + "operation": "boost", + "score": -0.5677974820137024 + } + }, + "else": { + "operation": "boost", + "score": -0.1412384808063507 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 499.5, + "threshold": 36661.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 614.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 623.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11151960492134094 - }, - "else": { - "operation": "boost", - "score": -0.07713240385055542 - } - }, - "else": { - "operation": "boost", - "score": 0.21129938960075378 - } - }, - "else": { - "operation": "boost", - "score": -0.07829412072896957 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 576.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.4738216996192932 - }, - "else": { - "operation": "boost", - "score": 0.1751287579536438 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12734489142894745 - }, - "else": { - "operation": "boost", - "score": 0.10125137865543365 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 677.0, - "then": { - "operation": "boost", - "score": 0.10515104234218597 - }, - "else": { - "operation": "boost", - "score": -0.1003694236278534 - } - }, - "else": { - "operation": "boost", - "score": -0.5794342756271362 - } - } + "operation": "boost", + "score": 0.06582724303007126 }, "else": { "operation": "boost", - "score": 0.07706951349973679 + "score": 0.11165206134319305 } }, "else": { "operation": "boost", - "score": -0.3482063114643097 + "score": 0.072577565908432 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03292141854763031 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11585824191570282 + }, + "else": { + "operation": "boost", + "score": 0.08748944103717804 } }, "else": { "operation": "boost", - "score": 0.08502105623483658 + "score": -0.11287416517734528 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10397421568632126 + }, + "else": { + "operation": "boost", + "score": 0.18307898938655853 } }, "else": { "operation": "boost", - "score": -0.3534105122089386 + "score": 0.03671666607260704 } + }, + "else": { + "operation": "boost", + "score": -0.17273680865764618 } } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07087917625904083 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10350560396909714 - }, - "else": { - "operation": "boost", - "score": 0.07509144395589828 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3361.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3365.5, - "then": { - "operation": "boost", - "score": 0.018844282254576683 }, "else": { "operation": "if_greater", @@ -270035,1547 +272109,1195 @@ "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.4160210192203522 - }, - "else": { - "operation": "boost", - "score": 0.6025307178497314 - } + "operation": "boost", + "score": 0.08225734531879425 }, "else": { "operation": "boost", - "score": -0.10660963505506516 + "score": 0.04092106223106384 } }, "else": { "operation": "boost", - "score": -0.12092997133731842 + "score": 0.09999288618564606 } } }, - "else": { - "operation": "boost", - "score": 0.007610977161675692 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.019489552825689316 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 24366.0, "then": { "operation": "boost", - "score": -0.016298089176416397 + "score": -0.026805054396390915 }, "else": { - "operation": "boost", - "score": 0.09652986377477646 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13159486651420593 - }, - "else": { - "operation": "boost", - "score": -0.11853737384080887 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0012687079142779112 - } - }, - "else": { - "operation": "boost", - "score": -0.0003634018648881465 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 418.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28306.0, + "threshold": 20414.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29053.5, + "threshold": 20522.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.008329042233526707 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58073.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.04272693023085594 - }, - "else": { - "operation": "boost", - "score": -0.015317659825086594 - } + "operation": "boost", + "score": 0.09587429463863373 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10030408948659897 - }, - "else": { - "operation": "boost", - "score": 0.057140052318573 - } + "operation": "boost", + "score": 0.11582539975643158 } }, "else": { "operation": "boost", - "score": 0.020420245826244354 + "score": 0.06307941675186157 } - } - }, - "else": { - "operation": "boost", - "score": -0.2853762209415436 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27939.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10697507858276367 }, "else": { - "operation": "boost", - "score": -0.2832561135292053 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25286.5, - "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23993.5, "then": { "operation": "boost", - "score": -0.007566288113594055 + "score": 0.10030964016914368 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 22073.0, "then": { "operation": "boost", - "score": -0.023055125027894974 + "score": -0.008150896057486534 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.07694371789693832 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26286.0, + "threshold": 21996.0, "then": { - "operation": "boost", - "score": 0.1095973327755928 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05607255920767784 + }, + "else": { + "operation": "boost", + "score": 0.11106878519058228 + } }, "else": { "operation": "boost", - "score": 0.07911944389343262 + "score": 0.04112645983695984 } }, "else": { "operation": "boost", - "score": 0.08499807864427567 + "score": -0.12331593781709671 } + }, + "else": { + "operation": "boost", + "score": 0.2750869691371918 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11837613582611084 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.1207757368683815 + "score": 0.12764038145542145 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.21360860764980316 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11305063217878342 + }, + "else": { + "operation": "boost", + "score": -0.42176157236099243 + } }, "else": { "operation": "boost", - "score": -0.92652428150177 + "score": -0.31419506669044495 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10768275707960129 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13767673075199127 - }, - "else": { - "operation": "boost", - "score": 0.14210164546966553 - } - } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23608.0, - "then": { - "operation": "boost", - "score": 0.13470838963985443 - }, - "else": { - "operation": "boost", - "score": 0.056876290589571 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21123.0, - "then": { - "operation": "boost", - "score": 0.014628782868385315 - }, - "else": { - "operation": "boost", - "score": 0.1827041655778885 - } - } + "operation": "boost", + "score": -0.021710488945245743 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.14936725795269012 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 788.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3109.5, + "threshold": 20345.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11986.0, - "then": { - "operation": "boost", - "score": 0.10921122878789902 - }, - "else": { - "operation": "boost", - "score": -0.0365450456738472 - } - }, - "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.11376988142728806 + "score": -0.0049309078603982925 }, "else": { "operation": "boost", - "score": 0.10742225497961044 + "score": 0.11360988020896912 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.03306254372000694 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "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.04824698343873024 + "score": 0.04904739186167717 }, "else": { - "operation": "boost", - "score": -0.025981998071074486 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.41944748163223267 + }, + "else": { + "operation": "boost", + "score": 0.026746833696961403 + } } - }, - "else": { - "operation": "boost", - "score": -0.03936868533492088 } } + }, + "else": { + "operation": "boost", + "score": -0.0023547462187707424 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2989.5, + "threshold": 20253.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2990.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3079.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.03543591871857643 - }, - "else": { - "operation": "boost", - "score": 0.1315298229455948 - } + "operation": "boost", + "score": 0.10541584342718124 }, "else": { "operation": "boost", - "score": -0.37092769145965576 + "score": 0.14738331735134125 } }, "else": { - "operation": "boost", - "score": 0.11006411910057068 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.18490338325500488 + }, + "else": { + "operation": "boost", + "score": 0.13080167770385742 + } } }, "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, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 39111.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2965.0, + "threshold": 40369.0, "then": { - "operation": "boost", - "score": 0.0967007502913475 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 56138.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13850747048854828 + "score": -0.0027234903536736965 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 292981.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.043742623180150986 + "score": -0.014303416945040226 }, "else": { - "operation": "boost", - "score": -0.26901379227638245 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 794.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.08668447285890579 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 337965.5, "then": { "operation": "boost", - "score": 0.027694910764694214 + "score": 0.01859564147889614 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.12120795994997025 + "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 + } }, "else": { - "operation": "boost", - "score": 0.12516865134239197 + "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" + ], + "then": { + "operation": "boost", + "score": 0.07102274894714355 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.19868230819702148 + }, + "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 + } + } + } } } + } + } + }, + "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_greater", - "feature": "NumReferences", - "threshold": 1265.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1297.0, - "then": { - "operation": "boost", - "score": 0.036433249711990356 - }, - "else": { - "operation": "boost", - "score": 0.09788195788860321 - } + "operation": "boost", + "score": 0.041745174676179886 }, "else": { "operation": "boost", - "score": -0.09837230294942856 + "score": -0.06198028847575188 } } }, "else": { "operation": "boost", - "score": 0.08616825938224792 + "score": -0.13171687722206116 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.08357463032007217 + "score": 0.05485249310731888 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1389.0, - "then": { - "operation": "boost", - "score": 0.05123234912753105 - }, - "else": { - "operation": "boost", - "score": 0.10892869532108307 - } + "operation": "boost", + "score": -0.02210906706750393 } } - } - }, - "else": { - "operation": "boost", - "score": -0.02394944615662098 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11074919998645782 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 717.5, - "then": { - "operation": "boost", - "score": 0.10356137156486511 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09139159321784973 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.041469886898994446 - }, - "else": { - "operation": "boost", - "score": 0.11026366800069809 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 685.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 693.5, - "then": { - "operation": "boost", - "score": -0.09359905123710632 + }, + "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": "boost", - "score": 0.10682819783687592 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 463.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { + "operation": "boost", + "score": 0.1033555343747139 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.022841040045022964 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 614.0, + "feature": "FilterLength", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 623.0, - "then": { - "operation": "boost", - "score": 0.040207359939813614 - }, - "else": { - "operation": "boost", - "score": 0.21518979966640472 - } + "operation": "boost", + "score": -0.10614126175642014 }, "else": { "operation": "boost", - "score": -0.07926683127880096 + "score": 0.11366850137710571 } - }, - "else": { + } + } + }, + "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" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 605.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.5907401442527771 + "score": -0.43282201886177063 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 531.0, + "threshold": 21492.0, "then": { + "operation": "boost", + "score": 0.08278928697109222 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 585.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.14219486713409424 + "score": 0.09544993937015533 }, "else": { "operation": "boost", - "score": 0.10546901077032089 + "score": 0.09165424853563309 } - }, - "else": { - "operation": "boost", - "score": -0.08303342014551163 } } + }, + "else": { + "operation": "boost", + "score": -0.1600242704153061 } }, "else": { "operation": "boost", - "score": -0.2523553669452667 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 453.0, - "then": { - "operation": "boost", - "score": 0.09520814567804337 - }, - "else": { - "operation": "boost", - "score": -0.12225103378295898 + "score": -0.04531959444284439 } } - }, - "else": { - "operation": "boost", - "score": -0.10207194089889526 } } } } + }, + "else": { + "operation": "boost", + "score": 0.008543040603399277 } - }, - "else": { + } + }, + "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": 1.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06621444225311279 + "score": -0.01137707382440567 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 433.5, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { - "operation": "boost", - "score": 0.1012287586927414 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 425.0, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.2556059658527374 + "score": 0.11046456545591354 }, "else": { "operation": "boost", - "score": 0.09430467337369919 + "score": 0.11431409418582916 } + }, + "else": { + "operation": "boost", + "score": -0.26831361651420593 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 419.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4254.0, + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04920370504260063 + }, + "else": { + "operation": "boost", + "score": 0.08912091702222824 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4255.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.018664397299289703 - }, - "else": { - "operation": "boost", - "score": 0.0071724820882081985 - } + "operation": "boost", + "score": 0.19756686687469482 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.0653185099363327 + "score": 0.11154245585203171 }, "else": { "operation": "boost", - "score": 0.14343419671058655 + "score": -0.5804339051246643 } }, "else": { "operation": "boost", - "score": 0.1962968409061432 + "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, + "then": { + "operation": "boost", + "score": -0.264944463968277 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15371762216091156 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.006333341356366873 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 858647.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.04819754138588905 - }, - "else": { - "operation": "boost", - "score": 0.11070571094751358 - } + "operation": "boost", + "score": 0.0883178561925888 }, "else": { "operation": "boost", - "score": 0.12272524833679199 + "score": -0.055007968097925186 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4152.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10686518996953964 - }, - "else": { - "operation": "boost", - "score": -0.027545306831598282 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 569.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 571.5, - "then": { - "operation": "boost", - "score": 0.0356738306581974 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.007083346601575613 - }, - "else": { - "operation": "boost", - "score": 0.11870165914297104 - } - } - }, - "else": { - "operation": "boost", - "score": -0.028535591438412666 - } - } + "operation": "boost", + "score": -0.029898451641201973 } }, "else": { "operation": "boost", - "score": -0.009432904422283173 + "score": 0.05677603930234909 } } - }, - "else": { - "operation": "boost", - "score": -0.11241170763969421 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 1074118.5, "then": { "operation": "boost", - "score": 0.1261482685804367 + "score": 0.06506579369306564 }, "else": { "operation": "boost", - "score": -0.08857739716768265 + "score": 0.10280074179172516 } + }, + "else": { + "operation": "boost", + "score": -0.00678854389116168 } } }, "else": { - "operation": "boost", - "score": 0.0013387504732236266 + "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": "NumReferences", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.028760729357600212 + }, + "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 277.5, - "then": { - "operation": "boost", - "score": 0.20719319581985474 - }, - "else": { - "operation": "boost", - "score": 0.0027498072013258934 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "boost", - "score": 0.11931730806827545 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.5, - "then": { - "operation": "boost", - "score": 0.03706494718790054 - }, - "else": { - "operation": "boost", - "score": 0.1156466156244278 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.09280763566493988 - }, - "else": { - "operation": "boost", - "score": 0.023431288078427315 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01746451109647751 - } - }, - "else": { - "operation": "boost", - "score": -0.0064590987749397755 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], "then": { "operation": "boost", - "score": 0.027936860918998718 + "score": 0.049424923956394196 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.012684659101068974 + "score": 0.06930773705244064 }, "else": { - "operation": "boost", - "score": 0.01026862021535635 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0643504187464714 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "boost", - "score": -0.10225959122180939 - }, - "else": { - "operation": "boost", - "score": 0.12274100631475449 - } + "operation": "boost", + "score": 0.07229241728782654 }, "else": { - "operation": "boost", - "score": -0.12252483516931534 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.19332636892795563 + "score": 0.09023391455411911 }, "else": { "operation": "boost", - "score": 0.08577731251716614 + "score": 0.08369781821966171 } - }, - "else": { - "operation": "boost", - "score": 0.022927455604076385 } } - }, - "else": { - "operation": "boost", - "score": -0.023469798266887665 } } + }, + "else": { + "operation": "boost", + "score": 0.007392421830445528 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "boost", + "score": 0.004626577254384756 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 25.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06458956748247147 - }, - "else": { - "operation": "boost", - "score": -0.05015102028846741 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "boost", - "score": 0.08048514276742935 - }, - "else": { - "operation": "boost", - "score": 0.1228473037481308 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06421345472335815 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10233376175165176 + }, + "else": { + "operation": "boost", + "score": -0.06369675695896149 + } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": -0.06185959279537201 + "score": 0.014172902330756187 }, "else": { "operation": "boost", - "score": 0.1108003482222557 + "score": -0.030440034344792366 } } }, "else": { "operation": "boost", - "score": -0.0010028937831521034 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167.5, - "then": { - "operation": "boost", - "score": -0.08927848190069199 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.09999184310436249 - }, - "else": { - "operation": "boost", - "score": 0.07407892495393753 + "score": 0.0027049221098423004 } }, "else": { "operation": "boost", - "score": 0.014182912185788155 + "score": -0.05468262359499931 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08471941947937012 - }, - "else": { - "operation": "boost", - "score": -0.029451822862029076 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04442257434129715 - } - }, - "else": { - "operation": "boost", - "score": 0.0003870101645588875 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 398.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28306.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.006486688740551472 + "score": 0.033111974596977234 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159753.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.05171816423535347 + "score": 0.10916110128164291 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08976243436336517 - }, - "else": { - "operation": "boost", - "score": 0.07725922763347626 - } + "operation": "boost", + "score": 0.09257926046848297 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.021496504545211792 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32879.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.046174000948667526 + "score": -0.6933717727661133 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10123837739229202 - }, - "else": { - "operation": "boost", - "score": 0.1183118000626564 - } + "operation": "boost", + "score": 0.150972381234169 } + }, + "else": { + "operation": "boost", + "score": 0.07615012675523758 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "boost", - "score": 0.026049673557281494 - }, - "else": { - "operation": "boost", - "score": -0.031128207221627235 - } + "operation": "boost", + "score": -0.33015358448028564 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27939.5, + "threshold": 198769.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10355542600154877 - }, - "else": { - "operation": "boost", - "score": -0.09721411764621735 - } + "operation": "boost", + "score": -0.5354407429695129 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26369.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.09757184982299805 + "score": -0.2788011133670807 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 281.0, "then": { + "operation": "boost", + "score": -0.05732571333646774 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.0, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11156924813985825 + "score": -0.07009054720401764 }, "else": { "operation": "boost", - "score": 0.09518225491046906 + "score": 0.09754377603530884 } - }, - "else": { - "operation": "boost", - "score": 0.08954650163650513 } } }, "else": { "operation": "boost", - "score": 0.02336120419204235 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10659650713205338 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13733944296836853 - }, - "else": { - "operation": "boost", - "score": 0.1408204883337021 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23608.0, - "then": { - "operation": "boost", - "score": 0.13301461935043335 - }, - "else": { - "operation": "boost", - "score": 0.04633770510554314 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20869.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.04734351485967636 - }, - "else": { - "operation": "boost", - "score": -0.17335477471351624 - } - }, - "else": { - "operation": "boost", - "score": 0.1363326460123062 + "score": -0.060306597501039505 } } } @@ -271583,2741 +273305,4096 @@ }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 17754.5, + "threshold": 432212.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09182511270046234 - }, - "else": { - "operation": "boost", - "score": 0.11461431533098221 - } + "operation": "boost", + "score": -0.4765380322933197 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8660.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13619.5, - "then": { - "operation": "boost", - "score": -0.7140795588493347 - }, - "else": { - "operation": "boost", - "score": 0.1196424588561058 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1581.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.04453345760703087 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1256.0, - "then": { - "operation": "boost", - "score": 0.11471614241600037 - }, - "else": { - "operation": "boost", - "score": 0.0885373055934906 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 811.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09738888591527939 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5328.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.0792321264743805 + "score": -0.19566710293293 }, "else": { "operation": "boost", - "score": -0.11388690769672394 + "score": 0.08210038393735886 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4781.0, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.0833922028541565 + "score": -0.14470501244068146 }, "else": { "operation": "boost", - "score": 0.00997773464769125 + "score": 0.047180525958538055 } } - } - }, - "else": { - "operation": "boost", - "score": -0.45180630683898926 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10579.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15346.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09301657974720001 - }, - "else": { - "operation": "boost", - "score": -0.25007274746894836 - } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13751862943172455 - }, - "else": { - "operation": "boost", - "score": 0.1261781007051468 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2021.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.08068539947271347 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08536464720964432 + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03304218128323555 + }, + "else": { + "operation": "boost", + "score": -0.1844882369041443 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.10188496857881546 + }, + "else": { + "operation": "boost", + "score": 0.11605176329612732 + } + } }, "else": { "operation": "boost", - "score": -0.21864569187164307 + "score": -0.08174756169319153 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1274.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.09294486045837402 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0747750774025917 + }, + "else": { + "operation": "boost", + "score": 0.11016970872879028 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.10437081009149551 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.107292540371418 + }, + "else": { + "operation": "boost", + "score": 0.13862237334251404 + } }, "else": { "operation": "boost", - "score": 0.10555864125490189 + "score": -0.23168642818927765 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.23861336708068848 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1024.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.28404727578163147 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 7.5, "then": { + "operation": "boost", + "score": -0.42285728454589844 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 796.5, + "threshold": 202.0, "then": { "operation": "boost", - "score": 0.03138948231935501 + "score": 0.12571360170841217 }, "else": { "operation": "boost", - "score": -0.9348715543746948 + "score": 0.16355963051319122 } - }, - "else": { - "operation": "boost", - "score": 0.08042164891958237 } + }, + "else": { + "operation": "boost", + "score": -0.24286161363124847 } } + }, + "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": "NumReferences", - "threshold": 904.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11036.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.15242819488048553 + "score": 0.07851678878068924 }, "else": { "operation": "boost", - "score": -0.01428215391933918 + "score": -0.03482140973210335 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 846.0, - "then": { - "operation": "boost", - "score": 0.13246019184589386 - }, - "else": { - "operation": "boost", - "score": 0.18896038830280304 - } + "operation": "boost", + "score": 0.08788023889064789 } } - }, - "else": { + } + } + }, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1276.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3004.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11986.0, + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.1110699251294136 + "score": 0.12139065563678741 }, "else": { "operation": "boost", - "score": -0.05249573290348053 + "score": -0.10173819214105606 } }, "else": { - "operation": "boost", - "score": -0.014651200734078884 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.007268555462360382 + }, + "else": { + "operation": "boost", + "score": 0.08577165007591248 + } } }, "else": { + "operation": "boost", + "score": 0.025401171296834946 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2979.5, + "threshold": 146.5, "then": { - "operation": "boost", - "score": 0.10770200192928314 + "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": "boost", - "score": 0.023384781554341316 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.0, + "then": { + "operation": "boost", + "score": 0.10740459710359573 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "boost", + "score": -0.11936046183109283 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, + "then": { + "operation": "boost", + "score": 0.12104195356369019 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.11828576773405075 + }, + "else": { + "operation": "boost", + "score": 0.12094075232744217 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.22427263855934143 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.15114310383796692 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08671628683805466 + }, + "else": { + "operation": "boost", + "score": 0.004870756063610315 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.11299606412649155 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10819972306489944 + }, + "else": { + "operation": "boost", + "score": -0.12013889849185944 + } + }, + "else": { + "operation": "boost", + "score": 0.12537048757076263 + } + } + } + } + } } + }, + "else": { + "operation": "boost", + "score": -0.04213368147611618 } - }, - "else": { - "operation": "boost", - "score": -0.09434498846530914 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1290.5, - "then": { - "operation": "boost", - "score": -0.0759626179933548 - }, - "else": { - "operation": "boost", - "score": 0.021422533318400383 - } + "operation": "boost", + "score": -0.06462769955396652 } + }, + "else": { + "operation": "boost", + "score": -0.025171570479869843 } + }, + "else": { + "operation": "boost", + "score": 0.0010674773948267102 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": 0.017774801701307297 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 531.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 565.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 692.5, + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09378023445606232 - }, - "else": { - "operation": "boost", - "score": 0.10577278584241867 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 637.5, + "threshold": 51.0, "then": { - "operation": "boost", - "score": -0.309001088142395 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 545.5, + "then": { + "operation": "boost", + "score": -0.10586269199848175 + }, + "else": { + "operation": "boost", + "score": 0.10898718982934952 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 600.5, + "threshold": 22.0, "then": { "operation": "boost", - "score": 0.17985323071479797 + "score": -0.3558984696865082 }, "else": { "operation": "boost", - "score": -0.03679392486810684 + "score": 0.14695754647254944 } } + }, + "else": { + "operation": "boost", + "score": 0.11245090514421463 } }, "else": { "operation": "boost", - "score": -0.20724323391914368 + "score": -0.15105360746383667 } }, "else": { - "operation": "boost", - "score": 0.1163940504193306 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 461.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 475.5, + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.04716460779309273 + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 548.0, + "then": { + "operation": "boost", + "score": -0.15373878180980682 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.5, + "then": { + "operation": "boost", + "score": 0.11957104504108429 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 341.0, + "then": { + "operation": "boost", + "score": -0.16463883221149445 + }, + "else": { + "operation": "boost", + "score": 0.10148146748542786 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1106511801481247 + } + }, + "else": { + "operation": "boost", + "score": 0.014559306204319 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 226.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.10344807803630829 + }, + "else": { + "operation": "boost", + "score": 0.09663420170545578 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.057256799191236496 + }, + "else": { + "operation": "boost", + "score": 0.1112707182765007 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18766431510448456 + } + }, + "else": { + "operation": "boost", + "score": 0.0037079579196870327 + } + }, + "else": { + "operation": "boost", + "score": -0.06326399743556976 + } + } }, "else": { "operation": "boost", - "score": 0.07427383959293365 + "score": 0.038780685514211655 } - }, - "else": { - "operation": "boost", - "score": -0.5288360118865967 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.022308986634016037 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08319133520126343 }, "else": { "operation": "boost", - "score": 0.10550451278686523 + "score": 0.03589673340320587 } }, "else": { "operation": "boost", - "score": -0.08112694323062897 + "score": -0.11134029924869537 } } + }, + "else": { + "operation": "boost", + "score": -0.038584329187870026 } - }, - "else": { + } + } + } + }, + { + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 8931.0, "then": { - "operation": "boost", - "score": -0.038998719304800034 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3206.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 14310.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 15358.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3214.5, + "threshold": 19589.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 26287.0, "then": { - "operation": "boost", - "score": 0.027832014486193657 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 28489.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3500.0, + "threshold": 28939.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4521.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9216.0, + "threshold": 318692.5, "then": { + "operation": "boost", + "score": -0.24114148318767548 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11811.5, + "threshold": 241916.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13901.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28603.0, - "then": { - "operation": "boost", - "score": -0.038319993764162064 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24164.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24596.5, - "then": { - "operation": "boost", - "score": 0.07283923774957657 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1063925176858902 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08595526218414307 - }, - "else": { - "operation": "boost", - "score": -1.0148717164993286 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12331431359052658 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23685.0, - "then": { - "operation": "boost", - "score": -0.28357821702957153 - }, - "else": { - "operation": "boost", - "score": 0.021615808829665184 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09765953570604324 - } + "operation": "boost", + "score": 0.09489196538925171 }, "else": { "operation": "boost", - "score": 0.09527098387479782 + "score": 0.03576497361063957 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.1725796461105347 + }, + "else": { + "operation": "boost", + "score": -0.12273971736431122 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.12190419435501099 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0665370300412178 + "score": 0.10448028892278671 }, "else": { "operation": "boost", - "score": -0.24787676334381104 + "score": 0.1446147859096527 } + }, + "else": { + "operation": "boost", + "score": 0.05694553628563881 } }, "else": { + "operation": "boost", + "score": 0.069916270673275 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7746.0, + "threshold": 23486.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7875.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8427.5, - "then": { - "operation": "boost", - "score": 0.13870969414710999 - }, - "else": { - "operation": "boost", - "score": 0.20477180182933807 - } - }, - "else": { - "operation": "boost", - "score": 0.13186097145080566 - } - }, - "else": { - "operation": "boost", - "score": 0.06837567687034607 - } + "operation": "boost", + "score": -0.11789735406637192 }, "else": { "operation": "boost", - "score": 0.05386481061577797 + "score": 0.10800046473741531 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.04888360574841499 + "score": 0.11795584112405777 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6737.0, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.054797880351543427 + "score": -0.1317017674446106 }, "else": { "operation": "boost", - "score": 0.11440455168485641 + "score": 0.09740115702152252 } } } + }, + "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.11383329331874847 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1351596862077713 - }, - "else": { - "operation": "boost", - "score": 0.14196060597896576 } } }, "else": { "operation": "boost", - "score": 0.008209644816815853 + "score": -0.6715956926345825 } } }, "else": { "operation": "boost", - "score": 0.17251768708229065 + "score": -0.06473667919635773 } }, - "else": { - "operation": "boost", - "score": 0.02919198013842106 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.014917531982064247 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6955.5, + "threshold": 15147.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7543.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27312.5, - "then": { - "operation": "boost", - "score": 0.11363507807254791 - }, - "else": { - "operation": "boost", - "score": -0.04431654140353203 - } + "operation": "boost", + "score": 0.1089276671409607 }, "else": { "operation": "boost", - "score": 0.1240001916885376 + "score": 0.07615108042955399 } }, "else": { "operation": "boost", - "score": 0.046097829937934875 + "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 + } } }, "else": { - "operation": "boost", - "score": 0.012778266333043575 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 403.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.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": 23.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.5250263214111328 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32709.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { + "operation": "boost", + "score": -1.617780089378357 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.0011295467847958207 + "score": 0.04908740893006325 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.13554354012012482 - }, - "else": { - "operation": "boost", - "score": 0.023630613461136818 + "operation": "boost", + "score": -0.8891561627388 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12039343267679214 + }, + "else": { + "operation": "boost", + "score": -0.18646296858787537 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.047594599425792694 + }, + "else": { + "operation": "boost", + "score": 0.09924060106277466 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.026530073955655098 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13537.0, + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.07205113768577576 + }, + "else": { + "operation": "boost", + "score": 0.09937608242034912 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12802.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27418.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44221.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.027890991419553757 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12912911176681519 + }, + "else": { + "operation": "boost", + "score": 0.05574890598654747 + } + } + }, + "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 + } + } + } + }, + "else": { "operation": "boost", - "score": -0.08044775575399399 + "score": 0.0044952561147511005 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "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 + } + } + }, + "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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12129.5, + "then": { + "operation": "boost", + "score": 0.11377004534006119 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10039.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09549697488546371 + }, + "else": { + "operation": "boost", + "score": 0.19238445162773132 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11477.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": 13381.5, + "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.13060614466667175 + "score": 0.13306504487991333 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10607.5, + "then": { + "operation": "boost", + "score": -0.11723638325929642 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10156.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.07643213868141174 + } }, "else": { "operation": "boost", - "score": -0.020441526547074318 + "score": 0.008382498286664486 } } } } + } + } + } + }, + "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": "boost", - "score": 0.007103775627911091 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12942.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.027869468554854393 + }, + "else": { + "operation": "boost", + "score": 0.17762616276741028 + } + }, + "else": { + "operation": "boost", + "score": -0.08533131331205368 + } + }, + "else": { + "operation": "boost", + "score": 0.015592486597597599 + } } }, "else": { "operation": "boost", - "score": 0.10479167103767395 + "score": 0.12000680714845657 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.11517121642827988 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32083.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10810581594705582 + }, + "else": { + "operation": "boost", + "score": 0.06855403631925583 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12475.5, + "then": { + "operation": "boost", + "score": -0.12832263112068176 + }, + "else": { + "operation": "boost", + "score": 0.07983597368001938 + } + } }, "else": { "operation": "boost", - "score": 0.06516465544700623 + "score": -0.27370280027389526 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1034296303987503 }, "else": { - "operation": "boost", - "score": -0.11731226742267609 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0010472250869497657 - } - }, - "else": { - "operation": "boost", - "score": -0.0003543911734595895 - } - }, - { - "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_TopLevel", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 8573.5, "then": { - "operation": "boost", - "score": -0.15064793825149536 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 8751.0, "then": { "operation": "boost", - "score": 0.039375580847263336 + "score": 0.16062039136886597 }, "else": { + "operation": "boost", + "score": 0.11587226390838623 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "boost", - "score": -0.11452741920948029 + "score": 0.03324296697974205 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.08689594268798828 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11502818763256073 - }, - "else": { - "operation": "boost", - "score": 0.08150459080934525 - } - } + "operation": "boost", + "score": 0.12964873015880585 } + }, + "else": { + "operation": "boost", + "score": -0.017583901062607765 } } }, "else": { - "operation": "boost", - "score": 0.013869798742234707 - } - }, - "else": { - "operation": "boost", - "score": 0.0017184022581204772 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Constructor", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 8542.5, "then": { "operation": "boost", - "score": -0.14837215840816498 + "score": 0.111217200756073 }, "else": { "operation": "boost", - "score": 0.145377978682518 + "score": -0.002935549942776561 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag" + "Namespace" ], "then": { "operation": "boost", - "score": 0.09623903036117554 + "score": 0.116131491959095 }, "else": { - "operation": "boost", - "score": -0.03620993718504906 + "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": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.08441317081451416 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.107777900993824 + }, + "else": { + "operation": "boost", + "score": -0.043770261108875275 + } }, "else": { "operation": "boost", - "score": 0.009204075671732426 + "score": -0.026712778955698013 } } } }, "else": { - "operation": "boost", - "score": 0.004344523418694735 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1587.5, - "then": { - "operation": "boost", - "score": -0.0173680167645216 - }, - "else": { - "operation": "boost", - "score": -0.007253444753587246 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.021185794845223427 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 8213.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.29716965556144714 - }, - "else": { - "operation": "boost", - "score": 0.1273193210363388 - } + "operation": "boost", + "score": 0.11466765403747559 }, "else": { "operation": "boost", - "score": 0.05472336709499359 + "score": -0.039201971143484116 } }, "else": { - "operation": "boost", - "score": 0.031832437962293625 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7709.0, + "then": { + "operation": "boost", + "score": -0.31004348397254944 + }, + "else": { + "operation": "boost", + "score": 0.08346317708492279 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 8668.5, "then": { "operation": "boost", - "score": -0.0181774590164423 + "score": 0.11404082924127579 }, "else": { - "operation": "boost", - "score": 0.008500134572386742 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.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" + ], + "then": { + "operation": "boost", + "score": 0.73582923412323 + }, + "else": { + "operation": "boost", + "score": -0.2510635554790497 + } + }, + "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.09070657193660736 + }, + "else": { + "operation": "boost", + "score": -0.31714561581611633 + } + } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.013808383606374264 - }, - "else": { - "operation": "boost", - "score": -0.054677046835422516 - } } } } + }, + "else": { + "operation": "boost", + "score": 0.004626988898962736 } }, "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": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Type", - "Function" + "FileScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 277.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "boost", + "score": 0.14794358611106873 + }, + "else": { + "operation": "boost", + "score": -0.060805656015872955 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63355.5, + "then": { + "operation": "boost", + "score": 0.09270725399255753 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.0, - "then": { - "operation": "boost", - "score": 0.10657256841659546 - }, - "else": { - "operation": "boost", - "score": 0.016758129000663757 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10180.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.008446479216217995 + "score": 0.027630774304270744 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7398.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.05877300351858139 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.14027515053749084 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8232.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.15819942951202393 + "score": -0.42699167132377625 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7635.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12656204402446747 + "score": 0.10933859646320343 }, "else": { "operation": "boost", - "score": -0.10366855561733246 + "score": 0.13393111526966095 } } - }, - "else": { - "operation": "boost", - "score": 0.0531361885368824 } - }, - "else": { - "operation": "boost", - "score": 0.01058913953602314 } } }, "else": { "operation": "boost", - "score": -0.012396453879773617 + "score": -0.02157493121922016 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 31.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.0, "then": { - "operation": "boost", - "score": 0.041520025581121445 + "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": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50011.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.09345071017742157 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0003700342494994402 + "score": 0.11231318861246109 }, "else": { "operation": "boost", - "score": -0.17725327610969543 + "score": -0.03213965892791748 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.20083647966384888 }, "else": { - "operation": "boost", - "score": 0.011701601557433605 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.0, + "then": { + "operation": "boost", + "score": 0.09895189851522446 + }, + "else": { + "operation": "boost", + "score": -0.04739130660891533 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.20010511577129364 + }, + "else": { + "operation": "boost", + "score": -0.10272402316331863 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07686344534158707 + }, + "else": { + "operation": "boost", + "score": 0.10352117568254471 + } + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.021591361612081528 } }, "else": { "operation": "boost", - "score": 0.010675468482077122 + "score": -0.17821940779685974 } } }, "else": { - "operation": "boost", - "score": 0.026899220421910286 + "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": 0.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "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.22502857446670532 + "score": -0.19371113181114197 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Variable" ], "then": { "operation": "boost", - "score": 0.054253142327070236 + "score": 0.11613620817661285 }, "else": { "operation": "boost", - "score": 0.026898512616753578 + "score": 0.092868372797966 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.1820717304944992 + "score": -0.02226955257356167 }, "else": { - "operation": "boost", - "score": 0.08223545551300049 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.05804747715592384 + }, + "else": { + "operation": "boost", + "score": 0.11050964891910553 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.1523343175649643 + }, + "else": { + "operation": "boost", + "score": 0.11477971076965332 + } + } } }, "else": { "operation": "boost", - "score": 0.02434743195772171 + "score": -0.028128651902079582 } }, - "else": { - "operation": "boost", - "score": -0.0004590695316437632 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.004284762777388096 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0117246825248003 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.032945144921541214 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.04723711311817169 - }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09464746713638306 + "score": 0.02031880058348179 }, "else": { - "operation": "boost", - "score": -0.02875123918056488 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.13665416836738586 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.12296503782272339 + }, + "else": { + "operation": "boost", + "score": -0.14392079412937164 + } + } } }, "else": { - "operation": "boost", - "score": 0.10653582960367203 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10693183541297913 + }, + "else": { + "operation": "boost", + "score": -0.23792606592178345 + } + }, + "else": { + "operation": "boost", + "score": 0.1214355081319809 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.2301696389913559 + }, + "else": { + "operation": "boost", + "score": 0.13132409751415253 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12330087274312973 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.06288031488656998 + "score": 0.09077930450439453 }, "else": { "operation": "boost", - "score": -0.07666920870542526 + "score": 0.0008853496983647346 } } } } - }, - "else": { - "operation": "boost", - "score": -0.006883583497256041 } } } } - }, - "else": { - "operation": "boost", - "score": -0.0005881914403289557 } + }, + "else": { + "operation": "boost", + "score": -0.037581317126750946 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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": "NumReferences", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12419604510068893 + "score": 0.0364135280251503 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0145185561850667 - }, - "else": { - "operation": "boost", - "score": 0.12764762341976166 - } + "operation": "boost", + "score": 0.07186882197856903 }, "else": { "operation": "boost", - "score": 0.01628921367228031 + "score": 0.5786706209182739 } }, "else": { "operation": "boost", - "score": 0.0072884033434093 + "score": 0.011303222738206387 } }, "else": { "operation": "boost", - "score": -0.006821479648351669 + "score": 0.009675953537225723 } + }, + "else": { + "operation": "boost", + "score": 0.0027383421547710896 } - }, - "else": { + } + }, + "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_ParenthesizedExpression" + "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.04976346343755722 + "score": -0.014813479036092758 }, "else": { + "operation": "boost", + "score": -0.4163915514945984 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 255.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.13935311138629913 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11587819457054138 + }, + "else": { + "operation": "boost", + "score": 0.13387419283390045 + } }, "else": { "operation": "boost", - "score": 0.0017617268022149801 + "score": 0.02897081896662712 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10415448993444443 + }, + "else": { + "operation": "boost", + "score": 0.12737838923931122 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08307646214962006 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11502187699079514 + }, + "else": { + "operation": "boost", + "score": 0.15617425739765167 + } + } + }, + "else": { + "operation": "boost", + "score": 0.022901147603988647 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00661334116011858 + "score": 0.051772166043519974 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08126703649759293 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 90.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": -0.24628549814224243 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 57.0, "then": { "operation": "boost", - "score": 0.09592876583337784 + "score": 0.07526053488254547 }, "else": { "operation": "boost", - "score": 0.12948960065841675 + "score": 0.1225515753030777 } }, "else": { "operation": "boost", - "score": 0.09611884504556656 + "score": 0.07802753150463104 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.02164696343243122 + "score": 0.09088419377803802 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10809966921806335 - }, - "else": { - "operation": "boost", - "score": -0.07958181202411652 - } + "operation": "boost", + "score": 0.12400797009468079 } }, "else": { "operation": "boost", - "score": -0.007772430777549744 + "score": 0.09805168211460114 } } + } + } + } + }, + "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_ArrowMemberAccess" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11696524173021317 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.10071143507957458 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.06712251901626587 + "score": 0.12108322232961655 }, "else": { "operation": "boost", - "score": 0.08937763422727585 + "score": 0.1331503540277481 } + }, + "else": { + "operation": "boost", + "score": -0.029231049120426178 } + }, + "else": { + "operation": "boost", + "score": 0.08749526739120483 } }, "else": { "operation": "boost", - "score": 0.060311853885650635 + "score": 0.024763165041804314 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "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 + } + }, + "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 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0455891489982605 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03934329003095627 }, "else": { "operation": "boost", - "score": -0.11052694171667099 + "score": 0.046948984265327454 } } } }, "else": { - "operation": "boost", - "score": -0.044144872575998306 + "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.0009115125285461545 + }, + "else": { + "operation": "boost", + "score": -0.039769336581230164 + } } } } }, "else": { - "operation": "boost", - "score": 0.059096626937389374 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.08559925109148026 - }, - "else": { - "operation": "boost", - "score": 0.7462491989135742 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15918.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" + "GlobalScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12989068031311035 - }, - "else": { - "operation": "boost", - "score": -0.007122935261577368 - } - }, - "else": { - "operation": "boost", - "score": -0.004639119375497103 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07594936341047287 + "score": -0.003305490128695965 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { "operation": "boost", - "score": 0.10936618596315384 + "score": 0.038701944053173065 }, "else": { "operation": "boost", - "score": -0.128285750746727 + "score": -0.014779129065573215 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16469.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06112668290734291 + "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.19460339844226837 + "score": -0.002081454498693347 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], + "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": 5.5, + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "boost", + "score": 0.005245584063231945 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10021466016769409 + "score": 0.054243385791778564 }, "else": { "operation": "boost", - "score": 0.09590569138526917 + "score": 0.11791439354419708 } }, "else": { "operation": "boost", - "score": -0.20706234872341156 - } - }, - "else": { - "operation": "boost", - "score": 0.10709334164857864 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "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": 6.5, - "then": { - "operation": "boost", - "score": 0.07474960386753082 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.031983304768800735 - }, - "else": { - "operation": "boost", - "score": -1.7833125591278076 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08656284958124161 - }, - "else": { - "operation": "boost", - "score": 0.08827722072601318 - } - } - }, - "else": { - "operation": "boost", - "score": -0.23201847076416016 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11009980738162994 - }, - "else": { - "operation": "boost", - "score": -0.004121126141399145 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1380203366279602 - } - }, - "else": { - "operation": "boost", - "score": -0.003721006214618683 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07683254778385162 - }, - "else": { - "operation": "boost", - "score": 0.08301366120576859 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.054237622767686844 - }, - "else": { - "operation": "boost", - "score": -0.37388429045677185 - } - }, - "else": { - "operation": "boost", - "score": 0.05206355080008507 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01046434324234724 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.037209052592515945 - }, - "else": { - "operation": "boost", - "score": 0.1068829894065857 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10081348568201065 - }, - "else": { - "operation": "boost", - "score": -0.11045514047145844 - } - } + "score": -0.0781206265091896 } } }, "else": { "operation": "boost", - "score": -0.0395352877676487 + "score": -0.04722366854548454 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06876827031373978 - }, - "else": { - "operation": "boost", - "score": 0.09210436046123505 - } - }, - "else": { - "operation": "boost", - "score": 0.06427950412034988 - } - }, - "else": { - "operation": "boost", - "score": -0.054090600460767746 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1200815886259079 - }, - "else": { - "operation": "boost", - "score": 0.4107986390590668 - } - } + "operation": "boost", + "score": -0.005703703500330448 } } + }, + "else": { + "operation": "boost", + "score": -0.000525520765222609 } } - }, - "else": { - "operation": "boost", - "score": -0.0009361719130538404 } }, { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 111.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, + "operation": "boost", + "score": -0.0014829770661890507 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.03885771334171295 + "score": -0.0030659001786261797 }, "else": { "operation": "boost", - "score": 0.061719149351119995 + "score": 0.08233433216810226 } }, "else": { "operation": "boost", - "score": -0.04823124781250954 + "score": 0.09836075454950333 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.020498158410191536 - }, - "else": { - "operation": "boost", - "score": -0.04827744513750076 - } + "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": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0373949259519577 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 706.5, + "then": { + "operation": "boost", + "score": -0.11470934003591537 + }, + "else": { + "operation": "boost", + "score": 0.13322442770004272 + } }, "else": { "operation": "boost", - "score": 0.07999405264854431 + "score": 0.042784105986356735 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0665874183177948 - }, - "else": { - "operation": "boost", - "score": 0.11056528240442276 - } + "operation": "boost", + "score": 0.019850503653287888 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 180.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.21165765821933746 - }, - "else": { - "operation": "boost", - "score": 0.11717449873685837 - } + "operation": "boost", + "score": 0.12700653076171875 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Namespace" ], "then": { + "operation": "boost", + "score": 0.10252285748720169 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 122.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.4176090955734253 - }, - "else": { - "operation": "boost", - "score": 0.10808182507753372 - } + "operation": "boost", + "score": -0.1897868514060974 }, "else": { - "operation": "boost", - "score": -0.10554905980825424 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 118.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": -0.01993129961192608 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09875833988189697 - }, - "else": { - "operation": "boost", - "score": 0.01857045479118824 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.14006510376930237 - }, - "else": { - "operation": "boost", - "score": 0.10590970516204834 - } - } - } + "operation": "boost", + "score": 0.6049086451530457 }, "else": { "operation": "boost", - "score": 0.04270102456212044 + "score": -0.1409142017364502 } - }, - "else": { - "operation": "boost", - "score": 0.046628039330244064 } } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0699344053864479 - }, - "else": { - "operation": "boost", - "score": 0.04124303534626961 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08435677736997604 - }, - "else": { - "operation": "boost", - "score": 0.09003934264183044 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1368308812379837 - } - }, - "else": { - "operation": "boost", - "score": -0.023388855159282684 - } + "operation": "boost", + "score": -0.03201901540160179 } + }, + "else": { + "operation": "boost", + "score": 0.028749406337738037 } + }, + "else": { + "operation": "boost", + "score": -0.03619561344385147 } - }, - "else": { - "operation": "boost", - "score": -1.674740195274353 } - }, - "else": { - "operation": "boost", - "score": 0.009662153199315071 } }, "else": { - "operation": "boost", - "score": -0.013891663402318954 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_TopLevel", "CCC_UnionTag", - "CCC_Other" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 559.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 589.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope" + "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": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 834.0, "then": { "operation": "boost", - "score": 0.0034219305962324142 + "score": -0.1592671424150467 }, "else": { "operation": "boost", - "score": 0.09556038677692413 + "score": 0.16220572590827942 } }, "else": { + "operation": "boost", + "score": -0.04822327941656113 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.11492817103862762 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 830.5, + "then": { + "operation": "boost", + "score": 0.01252567395567894 + }, + "else": { + "operation": "boost", + "score": 0.10167878866195679 + } }, "else": { - "operation": "boost", - "score": 0.10374217480421066 + "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.0377468541264534 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.01027847733348608 - }, - "else": { - "operation": "boost", - "score": 0.04959102347493172 - } + "operation": "boost", + "score": -0.12618006765842438 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14668050408363342 + "score": -0.16739386320114136 }, "else": { "operation": "boost", - "score": 0.05034591257572174 + "score": 0.1271008849143982 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23338.0, "then": { "operation": "boost", - "score": 0.10504598915576935 + "score": -0.10945812612771988 }, "else": { - "operation": "boost", - "score": 0.05190115049481392 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17326.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, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3189.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 + } + }, + "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 + } + } + } + }, + "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 + } + } + } + } + } + } } } } @@ -274327,180 +277404,245 @@ "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.010093184188008308 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 994.5, "then": { - "operation": "boost", - "score": -0.04935385286808014 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0950111448764801 + }, + "else": { + "operation": "boost", + "score": -0.09506994485855103 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.0668143481016159 + "score": -0.08768893778324127 }, "else": { - "operation": "boost", - "score": 0.019339419901371002 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 742.5, + "then": { + "operation": "boost", + "score": 0.11980435997247696 + }, + "else": { + "operation": "boost", + "score": 0.05285589396953583 + } } } + }, + "else": { + "operation": "boost", + "score": 0.012611269019544125 } } }, "else": { - "operation": "boost", - "score": -0.03646259009838104 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 211.5, + "threshold": 587.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.07684462517499924 + "score": -0.10692309588193893 }, "else": { "operation": "boost", - "score": 0.12900371849536896 + "score": 0.13968107104301453 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "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": "NumReferences", - "threshold": 30.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.013779004104435444 + "score": -0.07924554497003555 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.18835341930389404 + "score": -0.11600849777460098 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.17755500972270966 - }, - "else": { - "operation": "boost", - "score": -0.07304169982671738 - } - }, - "else": { - "operation": "boost", - "score": -0.3336881101131439 - } - }, - "else": { - "operation": "boost", - "score": 0.12871980667114258 - } + "operation": "boost", + "score": 0.3567471206188202 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1694573312997818 - }, - "else": { - "operation": "boost", - "score": 0.120337575674057 - } + "operation": "boost", + "score": 0.04130119830369949 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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" + ], + "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.13231132924556732 + "score": -0.11612596362829208 }, "else": { "operation": "boost", - "score": 0.04485180601477623 + "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": 0.5, + "threshold": 236.0, + "then": { + "operation": "boost", + "score": 0.13154250383377075 + }, + "else": { + "operation": "boost", + "score": -0.02366204932332039 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.5, + "then": { + "operation": "boost", + "score": -0.17112213373184204 + }, + "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": 78.5, + "threshold": 123.0, "then": { "operation": "boost", - "score": 0.10039456933736801 + "score": 0.01523909904062748 }, "else": { - "operation": "boost", - "score": 0.05697855353355408 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.0562642402946949 + }, + "else": { + "operation": "boost", + "score": 0.11164126545190811 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11343294382095337 - }, - "else": { - "operation": "boost", - "score": 0.12425536662340164 - } + "operation": "boost", + "score": -0.593458354473114 } } } @@ -274508,1021 +277650,388 @@ }, "else": { "operation": "boost", - "score": 0.06697646528482437 + "score": 0.02887973189353943 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3079.0, + "threshold": 234.5, "then": { - "operation": "boost", - "score": -0.0397467166185379 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1069.0, + "threshold": 256.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1087.0, - "then": { - "operation": "boost", - "score": 0.009977562353014946 - }, - "else": { - "operation": "boost", - "score": 0.09893698245286942 - } - }, - "else": { "operation": "boost", - "score": -0.004549638833850622 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.013776371255517006 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120524.0, - "then": { - "operation": "boost", - "score": -0.11352700740098953 - }, - "else": { - "operation": "boost", - "score": 0.10985495895147324 - } + "score": 0.037896525114774704 }, "else": { - "operation": "boost", - "score": -0.13577742874622345 - } - }, - "else": { - "operation": "boost", - "score": 0.041651107370853424 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 255.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": -0.012461884878575802 + "score": 0.11089223623275757 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.111964650452137 - }, - "else": { - "operation": "boost", - "score": -0.09278786927461624 - } + "operation": "boost", + "score": -0.11292600631713867 } }, "else": { - "operation": "boost", - "score": 0.0035420325584709644 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.02810571901500225 + "score": 0.10251065343618393 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { + "operation": "boost", + "score": -0.2794155180454254 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05711498484015465 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.7943275570869446 + }, + "else": { + "operation": "boost", + "score": 0.1148427352309227 + } }, "else": { "operation": "boost", - "score": 0.11138372123241425 + "score": -0.052552588284015656 } - }, - "else": { - "operation": "boost", - "score": 0.029470613226294518 } } - }, - "else": { - "operation": "boost", - "score": -0.17146272957324982 } } }, "else": { - "operation": "boost", - "score": -0.09362000972032547 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.06048659235239029 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04077114909887314 - }, - "else": { - "operation": "boost", - "score": 0.11672957986593246 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0710604190826416 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.031794022768735886 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.0826515480875969 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.056561414152383804 + "score": -0.021152131259441376 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.038261204957962036 + "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.09333217889070511 + "score": 0.047591567039489746 } } + }, + "else": { + "operation": "boost", + "score": -0.012590248137712479 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.009070565924048424 }, "else": { - "operation": "boost", - "score": 0.10657742619514465 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10118703544139862 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 117.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 163.0, "then": { "operation": "boost", - "score": 0.015796968713402748 + "score": -0.16130518913269043 }, "else": { "operation": "boost", - "score": -0.13511940836906433 + "score": 0.10442865639925003 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.24792984127998352 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.03405308350920677 + "score": 0.00376117299310863 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.0, + "threshold": 190.5, "then": { "operation": "boost", - "score": 0.06430889666080475 + "score": 0.09672574698925018 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 162.0, "then": { + "operation": "boost", + "score": -0.15510249137878418 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 147.5, "then": { + "operation": "boost", + "score": 0.10496004670858383 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 134.5, "then": { "operation": "boost", - "score": 0.09816201031208038 + "score": -0.3122096657752991 }, "else": { - "operation": "boost", - "score": 0.03313755989074707 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": 0.026352858170866966 + }, + "else": { + "operation": "boost", + "score": 0.10052326321601868 + } } - }, - "else": { - "operation": "boost", - "score": 0.11741065233945847 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09477043151855469 - }, - "else": { - "operation": "boost", - "score": 0.029382117092609406 } } } } - }, - "else": { - "operation": "boost", - "score": 0.011870560236275196 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05918801203370094 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.07477743178606033 - }, - "else": { - "operation": "boost", - "score": 0.0009713867329992354 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.002774870255962014 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.025157079100608826 - }, - "else": { - "operation": "boost", - "score": 0.08408628404140472 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1630576252937317 - }, - "else": { - "operation": "boost", - "score": 0.09640283137559891 - } - }, - "else": { - "operation": "boost", - "score": -0.0007696204702369869 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0019696811214089394 + "score": 0.010114709846675396 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.039772067219018936 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 992.5, - "then": { - "operation": "boost", - "score": 0.10754632949829102 - }, - "else": { - "operation": "boost", - "score": 0.128953218460083 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08828526735305786 - }, - "else": { - "operation": "boost", - "score": -0.024087846279144287 - } - } + "operation": "boost", + "score": 0.13927271962165833 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.020323514938354492 - } - }, - "else": { - "operation": "boost", - "score": -0.005394625943154097 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.0664958730340004 }, "else": { "operation": "boost", - "score": 0.03021661750972271 + "score": -0.016588326543569565 } - }, - "else": { - "operation": "boost", - "score": 0.006337952334433794 } - }, - "else": { - "operation": "boost", - "score": -0.0153566375374794 } + }, + "else": { + "operation": "boost", + "score": -0.03915531933307648 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.08856210857629776 + "score": 0.01201418973505497 }, "else": { "operation": "boost", - "score": 0.10679715126752853 + "score": 0.09830807894468307 } } + }, + "else": { + "operation": "boost", + "score": 0.00130683823954314 } - }, - "else": { - "operation": "boost", - "score": -0.00019126301049254835 } + }, + "else": { + "operation": "boost", + "score": -0.00042227344238199294 } }, { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ - "GlobalScope", - "FunctionScope" + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "FileProximityDistance", "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08837930858135223 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.015637211501598358 - }, - "else": { - "operation": "boost", - "score": 0.1061418280005455 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1815473884344101 - }, - "else": { - "operation": "boost", - "score": 0.0967627465724945 - } - }, - "else": { - "operation": "boost", - "score": 0.051114313304424286 - } - } + "operation": "boost", + "score": 0.0011126826284453273 }, "else": { - "operation": "boost", - "score": 0.028873922303318977 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.010365060530602932 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "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.09422019124031067 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.01565195806324482 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.23072674870491028 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.06426993757486343 + "score": 0.13108155131340027 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.12307539582252502 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10629849135875702 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.17125113308429718 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.13654644787311554 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.0686308965086937 - }, - "else": { - "operation": "boost", - "score": -0.035190120339393616 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { "operation": "boost", - "score": 0.022183842957019806 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.12758181989192963 - }, - "else": { - "operation": "boost", - "score": 0.11669136583805084 - } - }, - "else": { - "operation": "boost", - "score": -0.058893486857414246 - } + "score": 0.04848538339138031 } }, "else": { "operation": "boost", - "score": 0.028583526611328125 + "score": -0.15060824155807495 } + }, + "else": { + "operation": "boost", + "score": -0.28356197476387024 } }, "else": { @@ -275530,1618 +278039,1164 @@ "feature": "SymbolScopeDistance", "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0750984400510788 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1050276905298233 - }, - "else": { - "operation": "boost", - "score": -0.010040360502898693 - } - } + "operation": "boost", + "score": 0.041132230311632156 }, "else": { "operation": "boost", - "score": -0.03348243981599808 + "score": 0.10426784306764603 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.03206603601574898 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.04299449548125267 + "score": -0.0026930232997983694 }, "else": { "operation": "boost", - "score": 0.09194915741682053 + "score": 0.12764301896095276 } }, "else": { - "operation": "boost", - "score": 0.043564531952142715 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08083885163068771 + }, + "else": { + "operation": "boost", + "score": 0.08753617107868195 + } } } + }, + "else": { + "operation": "boost", + "score": -0.14221078157424927 } + }, + "else": { + "operation": "boost", + "score": -0.32329773902893066 } + }, + "else": { + "operation": "boost", + "score": -0.0921948105096817 } }, "else": { - "operation": "boost", - "score": -0.0018693309975787997 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "GlobalScope" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "NumReferences", + "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" + ], + "then": { + "operation": "boost", + "score": 0.06687547266483307 + }, + "else": { + "operation": "boost", + "score": -0.10020433366298676 + } + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.012735058553516865 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07576488703489304 - }, - "else": { - "operation": "boost", - "score": -0.04773807153105736 - } - } + "operation": "boost", + "score": 0.08995403349399567 }, "else": { "operation": "boost", - "score": -0.006361859384924173 + "score": 0.2009124457836151 } + } + }, + "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.1224040687084198 + "score": 0.2458890825510025 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.018444141373038292 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": -0.018895236775279045 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.045396409928798676 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01009738352149725 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04515834152698517 - }, - "else": { - "operation": "boost", - "score": -0.13232626020908356 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10341110825538635 - }, - "else": { - "operation": "boost", - "score": 0.03730398043990135 - } - } - } + "operation": "boost", + "score": 0.011811706237494946 }, "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": 20.5, - "then": { - "operation": "boost", - "score": 0.13431952893733978 - }, - "else": { - "operation": "boost", - "score": -0.158974289894104 - } - }, - "else": { - "operation": "boost", - "score": 0.008301189169287682 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.03410280495882034 - }, - "else": { - "operation": "boost", - "score": 0.04027630761265755 - } - } + "operation": "boost", + "score": 0.1130967065691948 } }, "else": { "operation": "boost", - "score": 0.012969886884093285 + "score": -0.30434420704841614 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19905.0, + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.12004285305738449 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26817.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.07399526238441467 + "score": -0.24544860422611237 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.1219237893819809 + "score": -0.19305267930030823 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21097.0, + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.11947748064994812 + "score": 0.22597482800483704 }, "else": { "operation": "boost", - "score": 0.11823464184999466 + "score": 0.1300220638513565 } } } - }, - "else": { - "operation": "boost", - "score": 0.03556819260120392 } }, "else": { "operation": "boost", - "score": -0.015065549872815609 + "score": 0.11667162925004959 } }, "else": { - "operation": "boost", - "score": 0.07167129963636398 - } - }, - "else": { - "operation": "boost", - "score": -0.03507130220532417 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006151149515062571 - }, - "else": { - "operation": "boost", - "score": -0.0021115392446517944 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 454.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 552.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1287.0, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.00033552301465533674 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 959.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": 0.11384525150060654 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.005439027678221464 + "score": -0.11071505397558212 }, "else": { "operation": "boost", - "score": 0.11834800243377686 + "score": 0.10999051481485367 } + }, + "else": { + "operation": "boost", + "score": 0.0005025587161071599 } - } - }, - "else": { - "operation": "boost", - "score": 0.10717451572418213 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.13758306205272675 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.19504573941230774 + }, + "else": { + "operation": "boost", + "score": 0.10005778074264526 + } + }, + "else": { + "operation": "boost", + "score": 0.11188908666372299 + } + }, + "else": { + "operation": "boost", + "score": -0.14905470609664917 + } }, "else": { "operation": "boost", - "score": 0.12562242150306702 + "score": 0.008254573680460453 } }, - "else": { - "operation": "boost", - "score": 0.12557782232761383 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.023735232651233673 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.20144622027873993 + "score": 0.018086303025484085 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "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.12795625627040863 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08515968918800354 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12297334522008896 + }, + "else": { + "operation": "boost", + "score": 0.11212100833654404 + } + } }, "else": { "operation": "boost", - "score": -0.2077450305223465 + "score": -0.14628155529499054 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.04737427085638046 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", - "score": -0.3161901533603668 + "score": 0.08035223186016083 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.32601824402809143 - }, - "else": { - "operation": "boost", - "score": 0.09506519883871078 - } - }, - "else": { - "operation": "boost", - "score": -0.1414591670036316 - } - }, - "else": { - "operation": "boost", - "score": 0.13282626867294312 - } + "operation": "boost", + "score": -0.04247983545064926 } } } - }, - "else": { - "operation": "boost", - "score": 0.06281663477420807 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.9080075621604919 - }, - "else": { - "operation": "boost", - "score": -0.016118716448545456 - } - } - }, - "else": { - "operation": "boost", - "score": 0.016353147104382515 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005880522541701794 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174332.5, - "then": { - "operation": "boost", - "score": -0.11160542070865631 - }, - "else": { - "operation": "boost", - "score": 0.10785660892724991 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.19321997463703156 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.0, - "then": { - "operation": "boost", - "score": 0.008852933533489704 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12262546271085739 - }, - "else": { - "operation": "boost", - "score": 0.08767320960760117 - } - } } } } }, "else": { "operation": "boost", - "score": -0.00018009638006333262 + "score": 0.007477906066924334 } } } - }, - "else": { - "operation": "boost", - "score": -0.027137625962495804 } + }, + "else": { + "operation": "boost", + "score": -0.00014054676285013556 } }, "else": { - "operation": "boost", - "score": -0.06509607285261154 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "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": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 153.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 162.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.00857787299901247 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10477986931800842 - }, - "else": { - "operation": "boost", - "score": 0.0406920500099659 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 935.5, - "then": { - "operation": "boost", - "score": 0.1183025985956192 - }, - "else": { - "operation": "boost", - "score": 0.02957010269165039 - } - }, - "else": { - "operation": "boost", - "score": -0.1478438526391983 - } - } + "operation": "boost", + "score": 0.027319997549057007 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37666.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59972.0, - "then": { - "operation": "boost", - "score": 0.016140956431627274 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.09745713323354721 - }, - "else": { - "operation": "boost", - "score": 0.05487408488988876 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004980047233402729 - } + "operation": "boost", + "score": 0.1106143668293953 } }, "else": { - "operation": "boost", - "score": -0.050155412405729294 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 140.5, "then": { "operation": "boost", - "score": 0.1005437895655632 + "score": -0.6600161790847778 }, "else": { "operation": "boost", - "score": 0.10507100075483322 + "score": -0.02314353920519352 } - }, - "else": { - "operation": "boost", - "score": 0.05165732651948929 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.07439957559108734 - }, - "else": { - "operation": "boost", - "score": 0.1009858027100563 - } } } + }, + "else": { + "operation": "boost", + "score": 0.007766024209558964 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type", "Function" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.003770767478272319 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.03676265850663185 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 6.5, "then": { "operation": "boost", - "score": 0.04347556456923485 + "score": 0.022069983184337616 }, "else": { - "operation": "boost", - "score": 0.11370063573122025 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.1252843290567398 + }, + "else": { + "operation": "boost", + "score": 0.010588440112769604 + } } + }, + "else": { + "operation": "boost", + "score": 0.028643686324357986 } - }, - "else": { - "operation": "boost", - "score": 0.05043715983629227 } }, "else": { "operation": "boost", - "score": -0.4217767119407654 + "score": -0.03629394620656967 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.004923786967992783 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 532.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.17884309589862823 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11892962455749512 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06189645454287529 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.06385672092437744 + "score": -0.04082195460796356 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.12349540740251541 - }, - "else": { - "operation": "boost", - "score": 0.04303642362356186 - } + "operation": "boost", + "score": 0.12704268097877502 } - }, - "else": { - "operation": "boost", - "score": 0.08740892261266708 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.12939415872097015 - }, - "else": { - "operation": "boost", - "score": 0.08841504156589508 } }, "else": { "operation": "boost", - "score": 0.06387686729431152 + "score": 0.11469950526952744 } }, "else": { "operation": "boost", - "score": -0.06151821091771126 + "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": "IsImplementationDetail", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.0, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.18582721054553986 + "score": -0.08945970982313156 }, "else": { "operation": "boost", - "score": 0.07688581198453903 + "score": -0.02598574198782444 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.020635684952139854 - }, - "else": { - "operation": "boost", - "score": -0.04464247077703476 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00045708290417678654 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 398.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 722.5, + "threshold": 15918.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20811.0, + "threshold": 104520.5, "then": { + "operation": "boost", + "score": 0.013590898364782333 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28306.0, + "threshold": 40920.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29053.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.007550311740487814 + "score": 0.10305453091859818 }, "else": { + "operation": "boost", + "score": 0.10530047118663788 + } + }, + "else": { + "operation": "boost", + "score": 0.10729249566793442 + } + }, + "else": { + "operation": "boost", + "score": -0.040783192962408066 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.003453671233728528 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58073.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, - "then": { + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12409976869821548 - }, - "else": { - "operation": "boost", - "score": -0.025487404316663742 - } + "operation": "boost", + "score": 0.073468878865242 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.10504978895187378 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61550.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63631.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, - "then": { - "operation": "boost", - "score": 0.01359580922871828 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.1269378960132599 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.058955952525138855 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006631246767938137 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69581.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.05413443222641945 - }, - "else": { - "operation": "boost", - "score": 0.10502751171588898 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.07277239114046097 - }, - "else": { - "operation": "boost", - "score": 0.004759343806654215 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08683295547962189 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08051197975873947 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09364040940999985 - }, - "else": { - "operation": "boost", - "score": 0.11000654101371765 - } - }, - "else": { - "operation": "boost", - "score": -0.14081840217113495 - } - } - } + "operation": "boost", + "score": -0.16308417916297913 } }, "else": { + "operation": "boost", + "score": -0.006247977260500193 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 156.0, "then": { "operation": "boost", - "score": 0.09054866433143616 + "score": -0.18355968594551086 }, "else": { "operation": "boost", - "score": 0.059045519679784775 + "score": 0.10595227777957916 } + }, + "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.017503609880805016 + "score": -0.1401977837085724 } } }, "else": { "operation": "boost", - "score": -0.25702783465385437 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27939.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10296542197465897 - }, - "else": { - "operation": "boost", - "score": -0.08594156801700592 - } - }, - "else": { - "operation": "boost", - "score": 0.04702611640095711 + "score": -0.031238365918397903 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "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": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10610254853963852 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13306471705436707 - }, - "else": { - "operation": "boost", - "score": 0.12845784425735474 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23608.0, + "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.1308133900165558 + "score": 0.11363227665424347 }, "else": { "operation": "boost", - "score": 0.03878900781273842 + "score": -0.059861645102500916 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20869.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.01829609088599682 + "score": -0.06126067042350769 }, "else": { - "operation": "boost", - "score": 0.13344353437423706 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.061292462050914764 + }, + "else": { + "operation": "boost", + "score": -0.3958820700645447 + } } } + }, + "else": { + "operation": "boost", + "score": -0.07910459488630295 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14993.5, + "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15290.5, + "threshold": 24.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.5454725027084351 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.06186671182513237 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 42.0, "then": { - "operation": "boost", - "score": 0.061912901699543 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.046441081911325455 + }, + "else": { + "operation": "boost", + "score": 0.09865635633468628 + } }, "else": { "operation": "boost", - "score": 0.10006166249513626 + "score": -0.25347670912742615 } + }, + "else": { + "operation": "boost", + "score": -0.3635408878326416 } - } - }, - "else": { - "operation": "boost", - "score": 0.10202626883983612 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8660.5, - "then": { - "operation": "boost", - "score": 0.11449650675058365 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1581.5, + "threshold": 100.0, "then": { - "operation": "boost", - "score": -0.06730315089225769 + "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": 1256.0, + "threshold": 58.5, "then": { "operation": "boost", - "score": 0.11340097337961197 + "score": 0.10341648012399673 }, "else": { "operation": "boost", - "score": 0.0856877863407135 + "score": 0.0687347948551178 } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.06895532459020615 + }, + "else": { + "operation": "boost", + "score": 0.11302939057350159 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.20504413545131683 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -1.2592651844024658 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5546.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10111.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11159.0, - "then": { - "operation": "boost", - "score": 0.07511626183986664 - }, - "else": { - "operation": "boost", - "score": 0.12517192959785461 - } - }, - "else": { - "operation": "boost", - "score": -0.04931994155049324 - } - }, - "else": { - "operation": "boost", - "score": -0.1408969759941101 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5015.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07375402748584747 + "score": -0.27257469296455383 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1264.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1286.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1549.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1617.0, - "then": { - "operation": "boost", - "score": 0.015906400978565216 - }, - "else": { - "operation": "boost", - "score": 0.10192042589187622 - } + "operation": "boost", + "score": 0.18252570927143097 }, "else": { "operation": "boost", - "score": -0.2288787066936493 + "score": 0.09897935390472412 } }, "else": { - "operation": "boost", - "score": 0.09542396664619446 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.026372721418738365 + }, + "else": { + "operation": "boost", + "score": -0.6958440542221069 + } } }, "else": { - "operation": "boost", - "score": -0.03165470436215401 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10579.0, - "then": { - "operation": "boost", - "score": 0.3515860140323639 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 833.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": 3702.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10559733957052231 + "score": 0.054045505821704865 }, "else": { "operation": "boost", - "score": -0.05769644305109978 + "score": 0.13768517971038818 } }, "else": { "operation": "boost", - "score": -0.156685009598732 + "score": -0.8908320069313049 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.10760723054409027 + }, + "else": { + "operation": "boost", + "score": 0.11575817316770554 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07435676455497742 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09370268136262894 + "score": 0.06086302548646927 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.018640877678990364 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.13292434811592102 - }, - "else": { - "operation": "boost", - "score": 0.11644570529460907 - } - } + "operation": "boost", + "score": -0.10686174780130386 } } - }, - "else": { - "operation": "boost", - "score": 0.10185828804969788 } } } @@ -277151,16762 +279206,3456 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 904.0, + "threshold": 100.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.016772113740444183 - }, - "else": { - "operation": "boost", - "score": -0.1504620909690857 - } + "operation": "boost", + "score": -0.257757306098938 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 846.0, + "threshold": 75.5, "then": { "operation": "boost", - "score": 0.12715527415275574 - }, - "else": { - "operation": "boost", - "score": 0.10427209734916687 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 996.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2998.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4563.5, - "then": { - "operation": "boost", - "score": 0.05943293496966362 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.06823986023664474 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04355452209711075 - }, - "else": { - "operation": "boost", - "score": -0.43610143661499023 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2945.5, - "then": { - "operation": "boost", - "score": 0.10879576206207275 - }, - "else": { - "operation": "boost", - "score": 0.015054412186145782 - } - } + "score": 0.09890769422054291 }, "else": { "operation": "boost", - "score": 0.011395657435059547 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.13130313158035278 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12552745640277863 - }, - "else": { - "operation": "boost", - "score": 0.10968548059463501 - } + "score": -0.011030449531972408 } } - }, - "else": { - "operation": "boost", - "score": -0.04712948948144913 } } } - }, - "else": { + } + } + } + } + }, + "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": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.07427792996168137 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.09105055779218674 - }, - "else": { - "operation": "boost", - "score": 0.08087851852178574 - } - } + "operation": "boost", + "score": -0.07138938456773758 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 531.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 565.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 692.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09158024936914444 - }, - "else": { - "operation": "boost", - "score": 0.10440630465745926 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09935247153043747 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, - "then": { - "operation": "boost", - "score": 0.24154765903949738 - }, - "else": { - "operation": "boost", - "score": -0.41125503182411194 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.16679862141609192 - } - }, - "else": { - "operation": "boost", - "score": 0.11510677635669708 - } - }, - "else": { - "operation": "boost", - "score": -0.011756219901144505 - } + "operation": "boost", + "score": 0.08635368198156357 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.01951163075864315 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.06916245818138123 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08045655488967896 + "score": -0.46099480986595154 }, "else": { "operation": "boost", - "score": 0.10826905071735382 + "score": 0.02008635737001896 } - }, - "else": { - "operation": "boost", - "score": 0.06346709281206131 } } } }, "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": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.03628819063305855 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_UnionTag" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3206.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "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" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3248.0, + "threshold": 75.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09723502397537231 + }, + "else": { + "operation": "boost", + "score": -0.20551742613315582 + } + }, + "else": { + "operation": "boost", + "score": -0.016408124938607216 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3287.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.00636299466714263 + "score": -0.17137601971626282 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3262.0, + "threshold": 73.5, "then": { "operation": "boost", - "score": 0.13023631274700165 + "score": 0.07327662408351898 }, "else": { - "operation": "boost", - "score": 0.05934516713023186 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11283261328935623 + }, + "else": { + "operation": "boost", + "score": 0.23929741978645325 + } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69295.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 101593.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 203783.5, + "operation": "boost", + "score": -0.015886416658759117 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205835.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.0018647834658622742 + "score": 0.04329262301325798 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.027857884764671326 + "score": 0.08608710765838623 }, "else": { + "operation": "boost", + "score": 0.10704030841588974 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.4846667945384979 + }, + "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": "FileProximityDistance", - "threshold": 17.0, + "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.09713467210531235 + "score": 0.10823383182287216 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.06419887393712997 + "score": 0.10064862668514252 }, "else": { "operation": "boost", - "score": 0.0135384825989604 + "score": -0.2170666605234146 } } } }, "else": { + "operation": "boost", + "score": -0.10770215094089508 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.024862296879291534 + "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.07498657703399658 + "score": 0.062277309596538544 } } } - }, - "else": { - "operation": "boost", - "score": -0.039006661623716354 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93746.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.08331651240587234 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.17397092282772064 - }, - "else": { - "operation": "boost", - "score": 0.09935063123703003 - } - }, - "else": { - "operation": "boost", - "score": -0.023659786209464073 - } - }, - "else": { - "operation": "boost", - "score": 0.0012797210365533829 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63549.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": 4.5, - "then": { - "operation": "boost", - "score": 0.07485067844390869 - }, - "else": { - "operation": "boost", - "score": -0.6309581398963928 - } - }, - "else": { - "operation": "boost", - "score": -0.3253539204597473 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07473011314868927 - }, - "else": { - "operation": "boost", - "score": -0.14004632830619812 - } - }, - "else": { - "operation": "boost", - "score": -1.1306041479110718 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06104520335793495 - } - } - }, - "else": { - "operation": "boost", - "score": 0.033369194716215134 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14135335385799408 - }, - "else": { - "operation": "boost", - "score": 0.08606491982936859 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4735.0, - "then": { - "operation": "boost", - "score": 0.13515378534793854 - }, - "else": { - "operation": "boost", - "score": -0.16565483808517456 - } - }, - "else": { - "operation": "boost", - "score": -0.1944022923707962 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16272448003292084 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2691.5, - "then": { - "operation": "boost", - "score": -0.05325179547071457 - }, - "else": { - "operation": "boost", - "score": 0.016447357833385468 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 403.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0031399971339851618 - }, - "else": { - "operation": "boost", - "score": 0.10080748796463013 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11178290843963623 - }, - "else": { - "operation": "boost", - "score": 0.03647790476679802 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0010900672059506178 - } - }, - "else": { - "operation": "boost", - "score": -0.0003623858792707324 - } - }, - { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.042906615883111954 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.009226678870618343 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.028911471366882324 - }, - "else": { - "operation": "boost", - "score": 0.018026171252131462 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.018832169473171234 - }, - "else": { - "operation": "boost", - "score": -0.11739939451217651 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11919815838336945 - }, - "else": { - "operation": "boost", - "score": -0.2759316861629486 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1121836006641388 - }, - "else": { - "operation": "boost", - "score": -0.2246270626783371 - } - }, - "else": { - "operation": "boost", - "score": 0.09843472391366959 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04652460291981697 - } - }, - "else": { - "operation": "boost", - "score": 0.023666802793741226 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1285685896873474 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06685607880353928 - }, - "else": { - "operation": "boost", - "score": -0.029883434996008873 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0010785702615976334 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03315777704119682 - }, - "else": { - "operation": "boost", - "score": -0.03286366164684296 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0024347633589059114 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": -0.5480955243110657 - }, - "else": { - "operation": "boost", - "score": 0.11097751557826996 - } - }, - "else": { - "operation": "boost", - "score": -0.16613982617855072 - } - }, - "else": { - "operation": "boost", - "score": 0.10345356911420822 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0495871938765049 - }, - "else": { - "operation": "boost", - "score": 0.09969810396432877 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18249131739139557 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0012448906200006604 - }, - "else": { - "operation": "boost", - "score": 0.015385949052870274 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.004148919600993395 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0027734776958823204 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.030701665207743645 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.044860053807497025 - }, - "else": { - "operation": "boost", - "score": -0.023232171311974525 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.020976144820451736 - }, - "else": { - "operation": "boost", - "score": 0.003464869223535061 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00724474061280489 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.008653922006487846 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04000899940729141 - }, - "else": { - "operation": "boost", - "score": 0.11209225654602051 - } - }, - "else": { - "operation": "boost", - "score": 0.021625293418765068 - } - }, - "else": { - "operation": "boost", - "score": 0.031212247908115387 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.1241590827703476 - }, - "else": { - "operation": "boost", - "score": -0.11414361000061035 - } - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.058650922030210495 - }, - "else": { - "operation": "boost", - "score": 0.02851048856973648 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.0873158648610115 - }, - "else": { - "operation": "boost", - "score": 0.03349554166197777 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.09488587826490402 - }, - "else": { - "operation": "boost", - "score": 0.013620568439364433 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 211.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 291.5, - "then": { - "operation": "boost", - "score": 0.07167989760637283 - }, - "else": { - "operation": "boost", - "score": 0.12289706617593765 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.15491360425949097 - }, - "else": { - "operation": "boost", - "score": 0.01173302810639143 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.009471528232097626 - }, - "else": { - "operation": "boost", - "score": 0.1473633199930191 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06561115384101868 - } - }, - "else": { - "operation": "boost", - "score": 0.05247776210308075 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 78.5, - "then": { - "operation": "boost", - "score": 0.09772917628288269 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.04372253641486168 + "score": 0.12720297276973724 }, "else": { + "operation": "boost", + "score": -0.15922458469867706 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 6.0, "then": { "operation": "boost", - "score": -0.37734976410865784 + "score": 0.12404216825962067 }, "else": { "operation": "boost", - "score": 0.10007984936237335 + "score": 0.060200221836566925 } + }, + "else": { + "operation": "boost", + "score": 0.12619896233081818 } - }, - "else": { - "operation": "boost", - "score": 0.11703398078680038 } }, "else": { - "operation": "boost", - "score": 0.03265057131648064 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1033349484205246 + "score": -0.12431056797504425 }, "else": { - "operation": "boost", - "score": 0.12425711750984192 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.22127094864845276 + }, + "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 + } + } + } } - }, - "else": { - "operation": "boost", - "score": 0.10464045405387878 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11144079267978668 - }, - "else": { - "operation": "boost", - "score": 0.15984900295734406 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 454.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 487.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -2.563126802444458 }, "else": { "operation": "boost", - "score": 0.07952945679426193 + "score": 0.032450634986162186 } }, "else": { - "operation": "boost", - "score": 0.10771166533231735 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 31.5, "then": { + "operation": "boost", + "score": -0.0701555609703064 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.02671220153570175 + "score": 0.04336750507354736 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16863131523132324 + "score": 0.06536810100078583 }, "else": { - "operation": "boost", - "score": 0.08342897891998291 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10549511760473251 + }, + "else": { + "operation": "boost", + "score": -0.10636147111654282 + } } } }, "else": { - "operation": "boost", - "score": -0.033959757536649704 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0905807688832283 + "score": -0.07909636944532394 }, "else": { - "operation": "boost", - "score": 0.13724619150161743 - } - }, - "else": { - "operation": "boost", - "score": 0.09865423291921616 - } - } - }, - "else": { - "operation": "boost", - "score": -0.20220816135406494 - } - }, - "else": { - "operation": "boost", - "score": 0.059264589101076126 - } - } - }, - "else": { - "operation": "boost", - "score": -0.15808653831481934 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0009881004225462675 - }, - "else": { - "operation": "boost", - "score": 0.05358247458934784 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.019017131999135017 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": -0.07018069922924042 - }, - "else": { - "operation": "boost", - "score": 0.18930673599243164 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "boost", - "score": 0.12095333635807037 - }, - "else": { - "operation": "boost", - "score": 0.05908254161477089 - } - }, - "else": { - "operation": "boost", - "score": -0.025855544954538345 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16904817521572113 - } - }, - "else": { - "operation": "boost", - "score": -0.0004351453098934144 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.09575081616640091 - }, - "else": { - "operation": "boost", - "score": 0.08143399655818939 - } - }, - "else": { - "operation": "boost", - "score": -0.23435848951339722 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04628458619117737 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50010.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.07358714193105698 - }, - "else": { - "operation": "boost", - "score": -0.32382285594940186 - } - }, - "else": { - "operation": "boost", - "score": -0.21750517189502716 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.12161137163639069 - }, - "else": { - "operation": "boost", - "score": 0.07314442098140717 - } - } - }, - "else": { - "operation": "boost", - "score": -0.2879309058189392 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.05723481625318527 - }, - "else": { - "operation": "boost", - "score": 0.11028619110584259 - } - }, - "else": { - "operation": "boost", - "score": 0.0073019228875637054 - } - }, - "else": { - "operation": "boost", - "score": -0.02077878639101982 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.08151698857545853 - }, - "else": { - "operation": "boost", - "score": -1.4911506175994873 - } - }, - "else": { - "operation": "boost", - "score": 0.10034406930208206 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005917289759963751 - } - }, - "else": { - "operation": "boost", - "score": -0.017157746478915215 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12183671444654465 - }, - "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": 3.0, - "then": { - "operation": "boost", - "score": 0.006444492377340794 - }, - "else": { - "operation": "boost", - "score": -0.1884695291519165 - } - }, - "else": { - "operation": "boost", - "score": 0.03871237114071846 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.015738090500235558 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.041966512799263 - }, - "else": { - "operation": "boost", - "score": -0.041002050042152405 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.031964052468538284 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.0074614849872887135 - }, - "else": { - "operation": "boost", - "score": -0.11852987110614777 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3247959017753601 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, - "then": { - "operation": "boost", - "score": -0.5166792869567871 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, - "then": { - "operation": "boost", - "score": 0.11048795282840729 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.37371236085891724 - }, - "else": { - "operation": "boost", - "score": 0.11392081528902054 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.044662315398454666 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.001404770533554256 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, - "then": { - "operation": "boost", - "score": 0.004660778678953648 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62087.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "boost", - "score": 0.0812588483095169 - }, - "else": { - "operation": "boost", - "score": 0.07041732221841812 - } - }, - "else": { - "operation": "boost", - "score": -0.04664214327931404 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10061044245958328 - }, - "else": { - "operation": "boost", - "score": 0.10072672367095947 - } - }, - "else": { - "operation": "boost", - "score": 0.03974192216992378 - } - }, - "else": { - "operation": "boost", - "score": -0.15720883011817932 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1046249121427536 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11364689469337463 - }, - "else": { - "operation": "boost", - "score": 0.13017776608467102 - } - }, - "else": { - "operation": "boost", - "score": 0.10983064770698547 - } - } - }, - "else": { - "operation": "boost", - "score": 0.07414811104536057 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.21964554488658905 - }, - "else": { - "operation": "boost", - "score": 0.11850932240486145 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.08474497497081757 - }, - "else": { - "operation": "boost", - "score": 0.16355054080486298 - } - }, - "else": { - "operation": "boost", - "score": -0.16972072422504425 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08496768772602081 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09261706471443176 - }, - "else": { - "operation": "boost", - "score": 0.04012047126889229 - } - }, - "else": { - "operation": "boost", - "score": -0.12512019276618958 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.05800311267375946 - }, - "else": { - "operation": "boost", - "score": -0.4944419264793396 - } - }, - "else": { - "operation": "boost", - "score": -0.17778193950653076 - } - } - } - }, - "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": 57673.0, - "then": { - "operation": "boost", - "score": 0.07015172392129898 - }, - "else": { - "operation": "boost", - "score": 0.14676283299922943 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.03820637986063957 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11420489847660065 - }, - "else": { - "operation": "boost", - "score": -0.04935092851519585 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07981713861227036 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09407412260770798 - }, - "else": { - "operation": "boost", - "score": 0.004704706836491823 - } - } - }, - "else": { - "operation": "boost", - "score": -0.010753127746284008 - } - }, - "else": { - "operation": "boost", - "score": -0.1554822474718094 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.07498952746391296 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.2610616683959961 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61684.5, - "then": { - "operation": "boost", - "score": -0.15319469571113586 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.053355708718299866 - }, - "else": { - "operation": "boost", - "score": -3.4880950450897217 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10620938241481781 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56853.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.12491769343614578 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0672149658203125 - }, - "else": { - "operation": "boost", - "score": -0.5943483710289001 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11981154978275299 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73859.5, - "then": { - "operation": "boost", - "score": -0.20058880746364594 - }, - "else": { - "operation": "boost", - "score": -0.022189682349562645 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45623.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "boost", - "score": 0.09599380940198898 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.08478850871324539 - }, - "else": { - "operation": "boost", - "score": 0.11191216856241226 - } - }, - "else": { - "operation": "boost", - "score": 0.04111971706151962 - } - }, - "else": { - "operation": "boost", - "score": -0.27051419019699097 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54407.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07351715117692947 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.04081597179174423 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08858832716941833 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08238870650529861 - }, - "else": { - "operation": "boost", - "score": -0.5657796859741211 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08639968186616898 - }, - "else": { - "operation": "boost", - "score": 0.10594525188207626 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.5639466047286987 - } - }, - "else": { - "operation": "boost", - "score": 0.08649703860282898 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0175399761646986 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47293.0, - "then": { - "operation": "boost", - "score": -0.060698673129081726 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.07988505065441132 - }, - "else": { - "operation": "boost", - "score": 0.015242798253893852 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07292653620243073 - }, - "else": { - "operation": "boost", - "score": 0.1016170009970665 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11176858097314835 - }, - "else": { - "operation": "boost", - "score": 0.10103177279233932 - } - }, - "else": { - "operation": "boost", - "score": 0.12461715191602707 - } - }, - "else": { - "operation": "boost", - "score": 0.08080615103244781 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.10787785798311234 - }, - "else": { - "operation": "boost", - "score": 0.12261588871479034 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.03696461021900177 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09720141440629959 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55801.5, - "then": { - "operation": "boost", - "score": 0.11436425149440765 - }, - "else": { - "operation": "boost", - "score": 0.11344084143638611 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.0999443307518959 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.08052810281515121 - }, - "else": { - "operation": "boost", - "score": 0.04368140920996666 - } - } - }, - "else": { - "operation": "boost", - "score": 0.15553082525730133 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.20394401252269745 - }, - "else": { - "operation": "boost", - "score": -0.11945154517889023 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55801.5, - "then": { - "operation": "boost", - "score": 0.021285809576511383 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09586701542139053 - }, - "else": { - "operation": "boost", - "score": 0.08076441287994385 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009943998418748379 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028867453336715698 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.1563301980495453 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50371.5, - "then": { - "operation": "boost", - "score": 0.13828547298908234 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.039548248052597046 - }, - "else": { - "operation": "boost", - "score": 0.06957756727933884 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47131.5, - "then": { - "operation": "boost", - "score": 0.11494927853345871 - }, - "else": { - "operation": "boost", - "score": -0.22726498544216156 - } - }, - "else": { - "operation": "boost", - "score": 0.09434960782527924 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11167767643928528 - }, - "else": { - "operation": "boost", - "score": -0.17680524289608002 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.7434688210487366 - }, - "else": { - "operation": "boost", - "score": 0.21262164413928986 - } - }, - "else": { - "operation": "boost", - "score": 0.16789114475250244 - } - }, - "else": { - "operation": "boost", - "score": -0.006481313146650791 - } - } - }, - "else": { - "operation": "boost", - "score": -0.024228863418102264 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.062229350209236145 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53585.5, - "then": { - "operation": "boost", - "score": -0.10043764114379883 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10080907493829727 - }, - "else": { - "operation": "boost", - "score": 0.11893828958272934 - } - }, - "else": { - "operation": "boost", - "score": 0.24965433776378632 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1082230657339096 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46972.0, - "then": { - "operation": "boost", - "score": -0.10369675606489182 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09385532140731812 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10242786258459091 - }, - "else": { - "operation": "boost", - "score": 0.12066157162189484 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46337.5, - "then": { - "operation": "boost", - "score": 0.11802367866039276 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.16899855434894562 - }, - "else": { - "operation": "boost", - "score": 0.1168731078505516 - } - }, - "else": { - "operation": "boost", - "score": 0.17758379876613617 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11466743052005768 - } - }, - "else": { - "operation": "boost", - "score": -0.13193662464618683 - } - }, - "else": { - "operation": "boost", - "score": -0.05076766014099121 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.18501490354537964 - }, - "else": { - "operation": "boost", - "score": -0.03824621066451073 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.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": 2.5, - "then": { - "operation": "boost", - "score": 0.06580735743045807 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.0978601798415184 - }, - "else": { - "operation": "boost", - "score": 0.09534843266010284 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0620887316763401 - } - }, - "else": { - "operation": "boost", - "score": -0.04143228754401207 - } - }, - "else": { - "operation": "boost", - "score": 0.12059057503938675 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00017082656268030405 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 398.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 788.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 791.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44857.5, - "then": { - "operation": "boost", - "score": 0.0828808918595314 - }, - "else": { - "operation": "boost", - "score": 0.09502674639225006 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "boost", - "score": 0.006095656659454107 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09546447545289993 - }, - "else": { - "operation": "boost", - "score": 0.1376812607049942 - } - }, - "else": { - "operation": "boost", - "score": -0.020860670134425163 - } - }, - "else": { - "operation": "boost", - "score": 0.000607447000220418 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59248.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.10541316866874695 - }, - "else": { - "operation": "boost", - "score": 0.08185368031263351 - } - }, - "else": { - "operation": "boost", - "score": 0.09302236139774323 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10903336852788925 - }, - "else": { - "operation": "boost", - "score": -0.023479687049984932 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07337360829114914 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28247.0, - "then": { - "operation": "boost", - "score": 0.0357828252017498 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27163.5, - "then": { - "operation": "boost", - "score": 0.10996832698583603 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.07374163717031479 - }, - "else": { - "operation": "boost", - "score": -0.1136111319065094 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10475856065750122 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13261783123016357 - }, - "else": { - "operation": "boost", - "score": 0.12707586586475372 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23608.0, - "then": { - "operation": "boost", - "score": 0.12654462456703186 - }, - "else": { - "operation": "boost", - "score": 0.04303159564733505 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20869.0, - "then": { - "operation": "boost", - "score": 0.017697980627417564 - }, - "else": { - "operation": "boost", - "score": 0.12740589678287506 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04682346433401108 - }, - "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": 21.5, - "then": { - "operation": "boost", - "score": 0.18086875975131989 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19577.0, - "then": { - "operation": "boost", - "score": 0.12286987900733948 - }, - "else": { - "operation": "boost", - "score": 0.011428890749812126 - } - }, - "else": { - "operation": "boost", - "score": -0.05816834047436714 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2692.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04610342159867287 - }, - "else": { - "operation": "boost", - "score": 0.16307096183300018 - } - }, - "else": { - "operation": "boost", - "score": -0.13020731508731842 - } - }, - "else": { - "operation": "boost", - "score": 0.04937593638896942 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 899.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8075.5, - "then": { - "operation": "boost", - "score": 0.1061035767197609 - }, - "else": { - "operation": "boost", - "score": -0.015022823587059975 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.08927801996469498 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14993.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17059.0, - "then": { - "operation": "boost", - "score": 0.10799658298492432 - }, - "else": { - "operation": "boost", - "score": 0.06766588985919952 - } - }, - "else": { - "operation": "boost", - "score": -0.1124960333108902 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1631.0, - "then": { - "operation": "boost", - "score": -0.015135997906327248 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1244.5, - "then": { - "operation": "boost", - "score": 0.10288868099451065 - }, - "else": { - "operation": "boost", - "score": -0.09386589378118515 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11684013903141022 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02126629836857319 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.0888962522149086 - }, - "else": { - "operation": "boost", - "score": -0.04247253015637398 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07439520955085754 - } - }, - "else": { - "operation": "boost", - "score": -0.09421098232269287 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013985278084874153 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 531.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 565.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 692.5, - "then": { - "operation": "boost", - "score": 0.09329210221767426 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 637.5, - "then": { - "operation": "boost", - "score": -0.27935320138931274 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, - "then": { - "operation": "boost", - "score": 0.12897294759750366 - }, - "else": { - "operation": "boost", - "score": -0.01684620976448059 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.13082581758499146 - } - }, - "else": { - "operation": "boost", - "score": 0.11315213143825531 - } - }, - "else": { - "operation": "boost", - "score": -0.011145072057843208 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.010667594149708748 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0777515098452568 - }, - "else": { - "operation": "boost", - "score": 0.1048068255186081 - } - }, - "else": { - "operation": "boost", - "score": -0.07777576893568039 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 403.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3361.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01741996966302395 - }, - "else": { - "operation": "boost", - "score": 0.006012617144733667 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1095.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.004704807419329882 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2534.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.12337987869977951 - }, - "else": { - "operation": "boost", - "score": 0.12447557598352432 - } - }, - "else": { - "operation": "boost", - "score": 0.054411109536886215 - } - }, - "else": { - "operation": "boost", - "score": 0.005227304995059967 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03885544091463089 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1093.5, - "then": { - "operation": "boost", - "score": 0.09120115637779236 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 988.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 989.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05738399550318718 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09989005327224731 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1017.5, - "then": { - "operation": "boost", - "score": -0.18225659430027008 - }, - "else": { - "operation": "boost", - "score": 0.3124585747718811 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04832499101758003 - } - }, - "else": { - "operation": "boost", - "score": 0.0899171456694603 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 823.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 851.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 986.5, - "then": { - "operation": "boost", - "score": 0.14510945975780487 - }, - "else": { - "operation": "boost", - "score": -0.015768693760037422 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 829.0, - "then": { - "operation": "boost", - "score": 0.23925428092479706 - }, - "else": { - "operation": "boost", - "score": 0.1378207802772522 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 847.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.12937991321086884 - }, - "else": { - "operation": "boost", - "score": 0.2961520254611969 - } - }, - "else": { - "operation": "boost", - "score": -0.12415953725576401 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.009345212019979954 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 479.5, - "then": { - "operation": "boost", - "score": -0.0053337872959673405 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 470.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.106208935379982 - }, - "else": { - "operation": "boost", - "score": -0.30737724900245667 - } - }, - "else": { - "operation": "boost", - "score": 0.11656994372606277 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.28443795442581177 - }, - "else": { - "operation": "boost", - "score": 0.14128518104553223 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.1915614753961563 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 425.5, - "then": { - "operation": "boost", - "score": 0.11656655371189117 - }, - "else": { - "operation": "boost", - "score": -0.14222407341003418 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05920330435037613 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.020322976633906364 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 402.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.12178006023168564 - }, - "else": { - "operation": "boost", - "score": -0.10317257791757584 - } - }, - "else": { - "operation": "boost", - "score": -0.044434357434511185 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.00087166135199368 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.0022189326118677855 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07676372677087784 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11197804659605026 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11014429479837418 - }, - "else": { - "operation": "boost", - "score": 0.12005655467510223 - } - }, - "else": { - "operation": "boost", - "score": 0.1426851451396942 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.009494694881141186 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.09352794289588928 - }, - "else": { - "operation": "boost", - "score": 0.024175483733415604 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.053673066198825836 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": -0.05111446976661682 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06196807697415352 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08913353830575943 - }, - "else": { - "operation": "boost", - "score": 0.10500050336122513 - } - }, - "else": { - "operation": "boost", - "score": 0.06399984657764435 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.026678549125790596 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.019677622243762016 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.06310582906007767 - }, - "else": { - "operation": "boost", - "score": 0.0023341316264122725 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0023945376742631197 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.08246883004903793 - }, - "else": { - "operation": "boost", - "score": 0.02180487848818302 - } - }, - "else": { - "operation": "boost", - "score": 0.03676909580826759 - } - }, - "else": { - "operation": "boost", - "score": -0.015451057814061642 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.003392779268324375 - }, - "else": { - "operation": "boost", - "score": -0.0595727376639843 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287.0, - "then": { - "operation": "boost", - "score": 0.09343738853931427 - }, - "else": { - "operation": "boost", - "score": 0.030757078900933266 - } - }, - "else": { - "operation": "boost", - "score": -0.007388944271951914 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0006989115499891341 - } - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.00601612962782383 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.015513184480369091 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.021035086363554 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.3546024262905121 - }, - "else": { - "operation": "boost", - "score": -2.1009504795074463 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09595343470573425 - }, - "else": { - "operation": "boost", - "score": -0.029707757756114006 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11245281994342804 - }, - "else": { - "operation": "boost", - "score": -0.2842240333557129 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03150423988699913 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.1068759486079216 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.11039385944604874 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.08459306508302689 - }, - "else": { - "operation": "boost", - "score": -0.042223840951919556 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.1565409153699875 - }, - "else": { - "operation": "boost", - "score": 0.013642372563481331 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07130732387304306 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.09932651370763779 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03333764150738716 - }, - "else": { - "operation": "boost", - "score": -0.16986975073814392 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08524415642023087 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.24617791175842285 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -1.2603380680084229 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08728597313165665 - }, - "else": { - "operation": "boost", - "score": 0.1017976775765419 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04286550357937813 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1036764457821846 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.07135846465826035 - }, - "else": { - "operation": "boost", - "score": 0.10570386052131653 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.018687667325139046 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.004021875560283661 - }, - "else": { - "operation": "boost", - "score": 0.032696884125471115 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50002.5, - "then": { - "operation": "boost", - "score": 0.11999797075986862 - }, - "else": { - "operation": "boost", - "score": 1.1460174322128296 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007076675072312355 - }, - "else": { - "operation": "boost", - "score": 0.07316570729017258 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17254742980003357 - }, - "else": { - "operation": "boost", - "score": 0.5889967083930969 - } - }, - "else": { - "operation": "boost", - "score": -0.0976465716958046 - } - }, - "else": { - "operation": "boost", - "score": 0.07227987796068192 - } - }, - "else": { - "operation": "boost", - "score": 0.030384548008441925 - } - }, - "else": { - "operation": "boost", - "score": 0.10295671969652176 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.054098907858133316 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.018935687839984894 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.2479773312807083 - }, - "else": { - "operation": "boost", - "score": 0.11487536132335663 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08212954550981522 - }, - "else": { - "operation": "boost", - "score": 0.09909388422966003 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.4513382315635681 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.021571917459368706 - }, - "else": { - "operation": "boost", - "score": 0.08155298233032227 - } - }, - "else": { - "operation": "boost", - "score": -0.17217031121253967 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.1759318858385086 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.21010634303092957 - }, - "else": { - "operation": "boost", - "score": 0.11536738276481628 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.1360255777835846 - }, - "else": { - "operation": "boost", - "score": -0.042245421558618546 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.03866346552968025 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.0, - "then": { - "operation": "boost", - "score": 0.11695577949285507 - }, - "else": { - "operation": "boost", - "score": -0.25466302037239075 - } - }, - "else": { - "operation": "boost", - "score": 0.11869052052497864 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.342927485704422 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.12467820942401886 - }, - "else": { - "operation": "boost", - "score": 0.2932295501232147 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13300848007202148 - } - }, - "else": { - "operation": "boost", - "score": 0.11504761874675751 - } - }, - "else": { - "operation": "boost", - "score": 0.04604096710681915 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11451759189367294 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.113655686378479 - }, - "else": { - "operation": "boost", - "score": 0.0940914899110794 - } - }, - "else": { - "operation": "boost", - "score": -0.008401026017963886 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017549429088830948 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.018717505037784576 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0022652368061244488 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01602623425424099 - }, - "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_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.06998389214277267 - }, - "else": { - "operation": "boost", - "score": 0.03249242529273033 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03455173596739769 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1958247423171997 - }, - "else": { - "operation": "boost", - "score": 0.08338211476802826 - } - }, - "else": { - "operation": "boost", - "score": 0.043851714581251144 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.002673022449016571 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0042405142448842525 - }, - "else": { - "operation": "boost", - "score": 0.07078064978122711 - } - }, - "else": { - "operation": "boost", - "score": -0.04872538149356842 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11726446449756622 - }, - "else": { - "operation": "boost", - "score": -0.011335150338709354 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.10090038925409317 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.01189409103244543 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.12660908699035645 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10354858636856079 - }, - "else": { - "operation": "boost", - "score": -0.3489682972431183 - } - }, - "else": { - "operation": "boost", - "score": 0.07591336965560913 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1243312880396843 - }, - "else": { - "operation": "boost", - "score": -0.11995643377304077 - } - }, - "else": { - "operation": "boost", - "score": 0.1399906724691391 - } - }, - "else": { - "operation": "boost", - "score": -0.13921786844730377 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.059158001095056534 - }, - "else": { - "operation": "boost", - "score": -0.18687260150909424 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.007116010878235102 - }, - "else": { - "operation": "boost", - "score": -0.07542813569307327 - } - }, - "else": { - "operation": "boost", - "score": -0.08546289056539536 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 299159.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0452849306166172 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.05142256245017052 - }, - "else": { - "operation": "boost", - "score": 0.11870072036981583 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.0008517209207639098 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.04579679295420647 - }, - "else": { - "operation": "boost", - "score": -0.11360659450292587 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": -0.015234793536365032 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.11338234692811966 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09910045564174652 - }, - "else": { - "operation": "boost", - "score": 0.007392034865915775 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.1233886331319809 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.03878505527973175 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.05761180818080902 - }, - "else": { - "operation": "boost", - "score": -0.03718471899628639 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017994346097111702 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.06493019312620163 - }, - "else": { - "operation": "boost", - "score": -0.008843770250678062 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1584.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.018738145008683205 - }, - "else": { - "operation": "boost", - "score": 0.1098858043551445 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.020964916795492172 - }, - "else": { - "operation": "boost", - "score": 0.10146209597587585 - } - }, - "else": { - "operation": "boost", - "score": -0.11215899139642715 - } - }, - "else": { - "operation": "boost", - "score": -0.004071531817317009 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.02335771545767784 - }, - "else": { - "operation": "boost", - "score": -0.005376147106289864 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0011614813702180982 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 398.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28306.0, - "then": { - "operation": "boost", - "score": 0.011838392354547977 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27939.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1013459861278534 - }, - "else": { - "operation": "boost", - "score": -0.028598612174391747 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26162.5, - "then": { - "operation": "boost", - "score": 0.12467783689498901 - }, - "else": { - "operation": "boost", - "score": 0.1460464894771576 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20869.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12077292799949646 - }, - "else": { - "operation": "boost", - "score": -0.0623614676296711 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25536.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11362704634666443 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.08616059273481369 - }, - "else": { - "operation": "boost", - "score": 0.08535712212324142 - } - } - }, - "else": { - "operation": "boost", - "score": 0.024970784783363342 - } - }, - "else": { - "operation": "boost", - "score": -0.2581317722797394 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10534542053937912 - }, - "else": { - "operation": "boost", - "score": 0.1274651736021042 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13750357925891876 - }, - "else": { - "operation": "boost", - "score": -0.015084365382790565 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12511886656284332 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 742.0, - "then": { - "operation": "boost", - "score": -0.04286321997642517 - }, - "else": { - "operation": "boost", - "score": 0.15081700682640076 - } - }, - "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": 21.5, - "then": { - "operation": "boost", - "score": 0.17417587339878082 - }, - "else": { - "operation": "boost", - "score": -0.004710422363132238 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2692.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.04428979009389877 - }, - "else": { - "operation": "boost", - "score": 0.15689077973365784 - } - }, - "else": { - "operation": "boost", - "score": -0.1181970089673996 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2021.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9785.5, - "then": { - "operation": "boost", - "score": 0.09739065915346146 - }, - "else": { - "operation": "boost", - "score": -0.05374864861369133 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1951.0, - "then": { - "operation": "boost", - "score": 0.11034277826547623 - }, - "else": { - "operation": "boost", - "score": 0.0551312081515789 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1627.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9289.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10517.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.14919252693653107 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17623.0, - "then": { - "operation": "boost", - "score": 0.1129138395190239 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16033.5, - "then": { - "operation": "boost", - "score": -0.08137182891368866 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14555.0, - "then": { - "operation": "boost", - "score": 0.10650283843278885 - }, - "else": { - "operation": "boost", - "score": 0.17277531325817108 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10043306648731232 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5901.0, - "then": { - "operation": "boost", - "score": -0.42235836386680603 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2746.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3121.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5063.0, - "then": { - "operation": "boost", - "score": 0.0778905525803566 - }, - "else": { - "operation": "boost", - "score": -0.15795084834098816 - } - }, - "else": { - "operation": "boost", - "score": 0.09877648204565048 - } - }, - "else": { - "operation": "boost", - "score": -0.19263732433319092 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11551006138324738 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1244.5, - "then": { - "operation": "boost", - "score": 0.10196756571531296 - }, - "else": { - "operation": "boost", - "score": -0.08103448897600174 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.012807684019207954 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01333538442850113 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 531.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 565.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10070837289094925 - }, - "else": { - "operation": "boost", - "score": 0.08142506331205368 - } - }, - "else": { - "operation": "boost", - "score": 0.09919635951519012 - } - }, - "else": { - "operation": "boost", - "score": -0.013150984421372414 - } - }, - "else": { - "operation": "boost", - "score": -0.09116914868354797 - } - }, - "else": { - "operation": "boost", - "score": 0.11180074512958527 - } - }, - "else": { - "operation": "boost", - "score": -0.010266155935823917 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.009202386252582073 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0748598724603653 - }, - "else": { - "operation": "boost", - "score": 0.1067604199051857 - } - }, - "else": { - "operation": "boost", - "score": 0.058018092066049576 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 403.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.03551115468144417 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3206.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3248.0, - "then": { - "operation": "boost", - "score": 0.018000496551394463 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1408407837152481 - }, - "else": { - "operation": "boost", - "score": 0.08369197696447372 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4735.0, - "then": { - "operation": "boost", - "score": 0.13632947206497192 - }, - "else": { - "operation": "boost", - "score": -0.1609153151512146 - } - }, - "else": { - "operation": "boost", - "score": -0.13759413361549377 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.15105821192264557 - }, - "else": { - "operation": "boost", - "score": 0.013005802407860756 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01494432520121336 - }, - "else": { - "operation": "boost", - "score": 0.006301803048700094 - } - }, - "else": { - "operation": "boost", - "score": 0.1025019958615303 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 402.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1197582259774208 - }, - "else": { - "operation": "boost", - "score": -0.102129265666008 - } - }, - "else": { - "operation": "boost", - "score": -0.04194117709994316 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0010517924092710018 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.03765660896897316 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.0, - "then": { - "operation": "boost", - "score": 0.1119375005364418 - }, - "else": { - "operation": "boost", - "score": -0.33168497681617737 - } - }, - "else": { - "operation": "boost", - "score": 0.1262577623128891 - } - }, - "else": { - "operation": "boost", - "score": 0.5899077653884888 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09623580425977707 - } - }, - "else": { - "operation": "boost", - "score": 0.05768928676843643 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "boost", - "score": -0.0059949359856545925 - }, - "else": { - "operation": "boost", - "score": 0.13752223551273346 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.0, - "then": { - "operation": "boost", - "score": 0.3199521601200104 - }, - "else": { - "operation": "boost", - "score": 0.1335161030292511 - } - }, - "else": { - "operation": "boost", - "score": 0.09108658879995346 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06612467765808105 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.1259278655052185 - }, - "else": { - "operation": "boost", - "score": 0.09461046010255814 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06665520370006561 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08818729221820831 - }, - "else": { - "operation": "boost", - "score": 0.13410872220993042 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 257.5, - "then": { - "operation": "boost", - "score": 0.04271233454346657 - }, - "else": { - "operation": "boost", - "score": 0.12471996247768402 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0358077697455883 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.07307122647762299 - }, - "else": { - "operation": "boost", - "score": 0.09887431561946869 - } - }, - "else": { - "operation": "boost", - "score": 0.03416147455573082 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.009036649018526077 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02089887671172619 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.20427563786506653 - }, - "else": { - "operation": "boost", - "score": 0.11990247666835785 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06883461773395538 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.1856658160686493 - }, - "else": { - "operation": "boost", - "score": 0.1898408979177475 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.023811640217900276 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.06108208745718002 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11102769523859024 - }, - "else": { - "operation": "boost", - "score": -0.13829956948757172 - } - }, - "else": { - "operation": "boost", - "score": 0.08966266363859177 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1078871339559555 - }, - "else": { - "operation": "boost", - "score": -0.1081172302365303 - } - }, - "else": { - "operation": "boost", - "score": 0.11374800652265549 - } - }, - "else": { - "operation": "boost", - "score": 0.23865945637226105 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06707608699798584 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1083286851644516 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0229753740131855 - } - }, - "else": { - "operation": "boost", - "score": 0.026265069842338562 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.0182835441082716 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.010509710758924484 - }, - "else": { - "operation": "boost", - "score": 0.061676859855651855 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00577203556895256 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 246.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 271.0, - "then": { - "operation": "boost", - "score": -0.028787294402718544 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1288682520389557 - }, - "else": { - "operation": "boost", - "score": 0.09141465276479721 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018631670624017715 - } - }, - "else": { - "operation": "boost", - "score": -0.039271280169487 - } - }, - "else": { - "operation": "boost", - "score": 0.0033320998772978783 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.044824883341789246 - }, - "else": { - "operation": "boost", - "score": 0.007629575673490763 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00030591903487220407 - } - } - }, - { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.000913043855689466 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 787.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 951.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4977.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5174.5, - "then": { - "operation": "boost", - "score": 0.0621030367910862 - }, - "else": { - "operation": "boost", - "score": 0.13845182955265045 - } - }, - "else": { - "operation": "boost", - "score": 0.019925428554415703 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11520320177078247 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 905.5, - "then": { - "operation": "boost", - "score": 0.12413891404867172 - }, - "else": { - "operation": "boost", - "score": 0.10520827025175095 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06363769620656967 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10896895825862885 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.0, - "then": { - "operation": "boost", - "score": -0.10013169050216675 - }, - "else": { - "operation": "boost", - "score": 0.1650177389383316 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.025991106405854225 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "boost", - "score": 0.11634475737810135 - }, - "else": { - "operation": "boost", - "score": 0.9461266398429871 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05907075107097626 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "boost", - "score": 0.13323895633220673 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.22239021956920624 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.12324777990579605 - }, - "else": { - "operation": "boost", - "score": 0.13465215265750885 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.13001278042793274 - } - }, - "else": { - "operation": "boost", - "score": 0.07920611649751663 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09160532802343369 - } - } - }, - "else": { - "operation": "boost", - "score": 0.053969867527484894 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.07035596668720245 - }, - "else": { - "operation": "boost", - "score": 0.06962024420499802 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01521060150116682 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.024812990799546242 - }, - "else": { - "operation": "boost", - "score": 0.01464756578207016 - } - } - }, - "else": { - "operation": "boost", - "score": -0.002078806981444359 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.011280245147645473 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10490738600492477 - }, - "else": { - "operation": "boost", - "score": 0.05102361738681793 - } - } - }, - "else": { - "operation": "boost", - "score": 0.008658352307975292 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.3448663055896759 - }, - "else": { - "operation": "boost", - "score": 0.12307267636060715 - } - }, - "else": { - "operation": "boost", - "score": -0.11098890006542206 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0018973025726154447 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.01565994694828987 - }, - "else": { - "operation": "boost", - "score": -0.010919990949332714 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.018815597519278526 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.03519238904118538 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.17126257717609406 - }, - "else": { - "operation": "boost", - "score": -0.015912337228655815 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.03190673142671585 - } - }, - "else": { - "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_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.07782789319753647 - }, - "else": { - "operation": "boost", - "score": 0.04022016376256943 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10498210042715073 - }, - "else": { - "operation": "boost", - "score": 0.04512855038046837 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018556352704763412 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.015378724783658981 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.09264752268791199 - }, - "else": { - "operation": "boost", - "score": 0.05230795964598656 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.009769200347363949 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.20923000574111938 - }, - "else": { - "operation": "boost", - "score": 0.3761293292045593 - } - }, - "else": { - "operation": "boost", - "score": 0.017387930303812027 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.006506567820906639 - }, - "else": { - "operation": "boost", - "score": 0.04253535345196724 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.10542795807123184 - }, - "else": { - "operation": "boost", - "score": 0.10928303748369217 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.12466072291135788 - }, - "else": { - "operation": "boost", - "score": -0.06251056492328644 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.06876099854707718 - }, - "else": { - "operation": "boost", - "score": 0.1097085103392601 - } - }, - "else": { - "operation": "boost", - "score": 0.019106509163975716 - } - }, - "else": { - "operation": "boost", - "score": -0.022849639877676964 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004603964742273092 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11454311013221741 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.014636003412306309 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09353268146514893 - }, - "else": { - "operation": "boost", - "score": -0.34913450479507446 - } - }, - "else": { - "operation": "boost", - "score": -0.07668408751487732 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.02195473574101925 - }, - "else": { - "operation": "boost", - "score": -0.031175462529063225 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010802579345181584 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1683.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1691.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.012664458714425564 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11846.0, - "then": { - "operation": "boost", - "score": 0.0050585586577653885 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4138.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4363.0, - "then": { - "operation": "boost", - "score": 0.023579686880111694 - }, - "else": { - "operation": "boost", - "score": 0.08832897990942001 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.061482977122068405 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5204.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6931.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7565.0, - "then": { - "operation": "boost", - "score": 0.12636451423168182 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.17310801148414612 - }, - "else": { - "operation": "boost", - "score": 0.1170433908700943 - } - } - }, - "else": { - "operation": "boost", - "score": -0.27190473675727844 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4786.0, - "then": { - "operation": "boost", - "score": 0.11661697924137115 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4252.5, - "then": { - "operation": "boost", - "score": 0.3109113276004791 - }, - "else": { - "operation": "boost", - "score": 0.10787449777126312 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.06474021077156067 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03813934326171875 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.10898832231760025 - }, - "else": { - "operation": "boost", - "score": -0.12620994448661804 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03864217922091484 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005751695949584246 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10298465192317963 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028093131259083748 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.00816239695996046 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.0669683888554573 - }, - "else": { - "operation": "boost", - "score": 0.0999954491853714 - } - }, - "else": { - "operation": "boost", - "score": 0.001964821945875883 - } - }, - "else": { - "operation": "boost", - "score": 0.017646851018071175 - } - }, - "else": { - "operation": "boost", - "score": 0.09852328151464462 - } - }, - "else": { - "operation": "boost", - "score": 0.032271455973386765 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1163061335682869 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1003505140542984 - }, - "else": { - "operation": "boost", - "score": 0.09027709066867828 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.058626506477594376 - }, - "else": { - "operation": "boost", - "score": 0.0954887717962265 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11810976266860962 - }, - "else": { - "operation": "boost", - "score": 0.123130202293396 - } - }, - "else": { - "operation": "boost", - "score": 0.09793456643819809 - } - }, - "else": { - "operation": "boost", - "score": 0.05270910635590553 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0456746406853199 - }, - "else": { - "operation": "boost", - "score": 0.014068074524402618 - } - } - } - } - }, - "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.040918804705142975 - }, - "else": { - "operation": "boost", - "score": 0.09070860594511032 - } - }, - "else": { - "operation": "boost", - "score": -0.030598537996411324 - } - }, - "else": { - "operation": "boost", - "score": 0.08475480228662491 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.04463181272149086 - }, - "else": { - "operation": "boost", - "score": 0.02183973230421543 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06019703298807144 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11594154685735703 - }, - "else": { - "operation": "boost", - "score": 0.07298378646373749 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.006579284556210041 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -1.1474045515060425 - }, - "else": { - "operation": "boost", - "score": -0.018607765436172485 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.012044941075146198 - } - }, - "else": { - "operation": "boost", - "score": -0.008504019118845463 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1091645136475563 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57410.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59476.5, - "then": { - "operation": "boost", - "score": 0.002856855047866702 - }, - "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.10591801255941391 - }, - "else": { - "operation": "boost", - "score": 0.12226330488920212 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.10594694316387177 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -1.088404655456543 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08703098446130753 - }, - "else": { - "operation": "boost", - "score": -0.21917931735515594 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, - "then": { - "operation": "boost", - "score": 0.14518414437770844 - }, - "else": { - "operation": "boost", - "score": 0.12916254997253418 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.044895730912685394 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.10653837770223618 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57673.0, - "then": { - "operation": "boost", - "score": 0.11174497753381729 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1307440549135208 - }, - "else": { - "operation": "boost", - "score": 0.1662425845861435 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.009771732613444328 - } - }, - "else": { - "operation": "boost", - "score": 0.03462881222367287 - } - }, - "else": { - "operation": "boost", - "score": 0.10158751904964447 - } - } - }, - "else": { - "operation": "boost", - "score": -0.18049362301826477 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03746207803487778 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11108824610710144 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52893.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "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": 2.5, - "then": { - "operation": "boost", - "score": 0.09914876520633698 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10471335053443909 - }, - "else": { - "operation": "boost", - "score": 0.12410662323236465 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0914643332362175 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.09215150028467178 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, - "then": { - "operation": "boost", - "score": -0.10314056277275085 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08360546082258224 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1623278707265854 - }, - "else": { - "operation": "boost", - "score": 0.1105673685669899 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11402148008346558 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10859187692403793 - }, - "else": { - "operation": "boost", - "score": 0.11032567173242569 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, - "then": { - "operation": "boost", - "score": -0.3213505148887634 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10585680603981018 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.016507187858223915 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08443132042884827 - }, - "else": { - "operation": "boost", - "score": -0.10954497009515762 - } - }, - "else": { - "operation": "boost", - "score": 0.09774993360042572 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.825562059879303 - }, - "else": { - "operation": "boost", - "score": 0.11172676831483841 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, - "then": { - "operation": "boost", - "score": 0.07865556329488754 - }, - "else": { - "operation": "boost", - "score": 0.12535254657268524 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19584746658802032 - }, - "else": { - "operation": "boost", - "score": 0.07584947347640991 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.05691469833254814 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17867009341716766 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.09395565092563629 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05153995379805565 - }, - "else": { - "operation": "boost", - "score": 0.0888117179274559 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.0445883609354496 - }, - "else": { - "operation": "boost", - "score": 0.08523280918598175 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.046368557959795 - }, - "else": { - "operation": "boost", - "score": 0.10143232345581055 - } - }, - "else": { - "operation": "boost", - "score": 0.02686343528330326 - } - }, - "else": { - "operation": "boost", - "score": 0.04367642477154732 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.02135194092988968 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.5393152236938477 - }, - "else": { - "operation": "boost", - "score": -0.1662706583738327 - } - }, - "else": { - "operation": "boost", - "score": -0.3394695520401001 - } - } - }, - "else": { - "operation": "boost", - "score": -0.030399005860090256 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.5, - "then": { - "operation": "boost", - "score": -0.038405463099479675 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10686399042606354 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45623.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.057814858853816986 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47355.5, - "then": { - "operation": "boost", - "score": -0.20415066182613373 - }, - "else": { - "operation": "boost", - "score": 0.08856404572725296 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10434111207723618 - }, - "else": { - "operation": "boost", - "score": -0.22344286739826202 - } - }, - "else": { - "operation": "boost", - "score": 0.12663805484771729 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10405921190977097 - } - } - }, - "else": { - "operation": "boost", - "score": -0.30995166301727295 - } - }, - "else": { - "operation": "boost", - "score": 0.1006130650639534 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.0913814902305603 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11070936918258667 - }, - "else": { - "operation": "boost", - "score": 0.10114876180887222 - } - }, - "else": { - "operation": "boost", - "score": 0.11777367442846298 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44693.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47029.0, - "then": { - "operation": "boost", - "score": -0.0351424403488636 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10968714952468872 - }, - "else": { - "operation": "boost", - "score": -0.09617763012647629 - } - }, - "else": { - "operation": "boost", - "score": 0.11152026802301407 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45623.5, - "then": { - "operation": "boost", - "score": 0.06768829375505447 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.13394537568092346 - }, - "else": { - "operation": "boost", - "score": 0.005089383572340012 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11022651940584183 - }, - "else": { - "operation": "boost", - "score": 0.11280959844589233 - } - } - }, - "else": { - "operation": "boost", - "score": 0.108059823513031 - } - } - }, - "else": { - "operation": "boost", - "score": 0.057598553597927094 - } - }, - "else": { - "operation": "boost", - "score": -0.10232404619455338 - } - } - }, - "else": { - "operation": "boost", - "score": -0.15320292115211487 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10070197284221649 - }, - "else": { - "operation": "boost", - "score": 0.11870608478784561 - } - }, - "else": { - "operation": "boost", - "score": 0.2566864490509033 - } - }, - "else": { - "operation": "boost", - "score": -0.2316928654909134 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46094.0, - "then": { - "operation": "boost", - "score": 0.01954144984483719 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05280099809169769 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11710574477910995 - }, - "else": { - "operation": "boost", - "score": 0.17305149137973785 - } - }, - "else": { - "operation": "boost", - "score": -0.10969693213701248 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1036425232887268 - } - }, - "else": { - "operation": "boost", - "score": -0.051309939473867416 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04295084998011589 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06187165528535843 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.09455595165491104 - }, - "else": { - "operation": "boost", - "score": 0.09373794496059418 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05445975810289383 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11734449863433838 - }, - "else": { - "operation": "boost", - "score": 0.08922428637742996 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05632074922323227 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08405450731515884 - }, - "else": { - "operation": "boost", - "score": -0.16576021909713745 - } - }, - "else": { - "operation": "boost", - "score": -0.23388083279132843 - } - }, - "else": { - "operation": "boost", - "score": -0.07447341084480286 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.016867460682988167 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1424.5, - "then": { - "operation": "boost", - "score": 0.016516724601387978 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.13532067835330963 - }, - "else": { - "operation": "boost", - "score": 0.08610352128744125 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0870426744222641 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.14041529595851898 - }, - "else": { - "operation": "boost", - "score": 0.053896382451057434 - } - }, - "else": { - "operation": "boost", - "score": -0.19509167969226837 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.11279281973838806 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07673023641109467 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.13554370403289795 - }, - "else": { - "operation": "boost", - "score": 0.05501788854598999 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.0066871498711407185 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.09215080738067627 - }, - "else": { - "operation": "boost", - "score": 0.02173173427581787 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0018906588666141033 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004879193438682705 - } - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0339648500084877 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.055136676877737045 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.15947005152702332 - }, - "else": { - "operation": "boost", - "score": 0.10962259769439697 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.11712215840816498 - }, - "else": { - "operation": "boost", - "score": 0.11197417974472046 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0732787698507309 - }, - "else": { - "operation": "boost", - "score": -0.019527191296219826 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04255383461713791 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07887271046638489 - }, - "else": { - "operation": "boost", - "score": 0.10273564606904984 - } - }, - "else": { - "operation": "boost", - "score": 0.06069127470254898 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.06980536878108978 - }, - "else": { - "operation": "boost", - "score": 0.06458360701799393 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.008093597367405891 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013530590571463108 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0018455234821885824 - }, - "else": { - "operation": "boost", - "score": -0.02163715474307537 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12803708016872406 - }, - "else": { - "operation": "boost", - "score": 0.08720811456441879 - } - }, - "else": { - "operation": "boost", - "score": -0.020675864070653915 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.008372836746275425 - }, - "else": { - "operation": "boost", - "score": -0.08050841093063354 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1021491065621376 - }, - "else": { - "operation": "boost", - "score": -0.2344120293855667 - } - }, - "else": { - "operation": "boost", - "score": 0.09565689414739609 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.046311646699905396 - }, - "else": { - "operation": "boost", - "score": 0.12127458304166794 - } - }, - "else": { - "operation": "boost", - "score": -0.07533746212720871 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0035054327454417944 - }, - "else": { - "operation": "boost", - "score": 0.06786924600601196 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.021314900368452072 - } - }, - "else": { - "operation": "boost", - "score": 0.004070410504937172 - } - }, - "else": { - "operation": "boost", - "score": -0.0076353284530341625 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.01573099195957184 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.20756810903549194 - }, - "else": { - "operation": "boost", - "score": -0.2078506052494049 - } - }, - "else": { - "operation": "boost", - "score": -0.12021283805370331 - } - }, - "else": { - "operation": "boost", - "score": 0.0026242216117680073 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.055680569261312485 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04331706464290619 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05910741537809372 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03128630667924881 - }, - "else": { - "operation": "boost", - "score": 0.09721599519252777 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.054791953414678574 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.005868649110198021 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14929498732089996 - }, - "else": { - "operation": "boost", - "score": -0.11401352286338806 - } - } - } - } - } - }, - "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": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0014540720731019974 - }, - "else": { - "operation": "boost", - "score": 0.010937276296317577 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.053520072251558304 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.042928628623485565 - }, - "else": { - "operation": "boost", - "score": -0.047983285039663315 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.030688920989632607 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.01137221697717905 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.10059469193220139 - }, - "else": { - "operation": "boost", - "score": -0.12671442329883575 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0067612845450639725 - }, - "else": { - "operation": "boost", - "score": -0.7367632389068604 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0014865328557789326 - }, - "else": { - "operation": "boost", - "score": -0.00824250653386116 - } - } - }, - "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_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.08473715931177139 - }, - "else": { - "operation": "boost", - "score": 0.0746087059378624 - } - }, - "else": { - "operation": "boost", - "score": 0.01808556355535984 - } - }, - "else": { - "operation": "boost", - "score": -0.020918475463986397 - } - }, - "else": { - "operation": "boost", - "score": 0.0065945908427238464 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00851338542997837 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.013255324214696884 - }, - "else": { - "operation": "boost", - "score": 0.06955277919769287 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0651925727725029 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.2976045310497284 - }, - "else": { - "operation": "boost", - "score": 0.1242380440235138 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.1577686071395874 - }, - "else": { - "operation": "boost", - "score": 0.12263896316289902 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.018932819366455078 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.1710338145494461 - }, - "else": { - "operation": "boost", - "score": 0.1024782806634903 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.2278764694929123 - }, - "else": { - "operation": "boost", - "score": 0.1382964551448822 - } - }, - "else": { - "operation": "boost", - "score": 0.03892256319522858 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.12708762288093567 - }, - "else": { - "operation": "boost", - "score": 0.1026899442076683 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09488988667726517 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0003510268870741129 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.11438100039958954 - }, - "else": { - "operation": "boost", - "score": 0.0379129983484745 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0941842645406723 - }, - "else": { - "operation": "boost", - "score": -0.10048317164182663 - } - }, - "else": { - "operation": "boost", - "score": -0.015267443843185902 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.12889961898326874 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05747855082154274 - }, - "else": { - "operation": "boost", - "score": 0.148312047123909 - } - }, - "else": { - "operation": "boost", - "score": -0.34075281023979187 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02868231199681759 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "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.01868780143558979 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11551480740308762 - }, - "else": { - "operation": "boost", - "score": 0.03576741740107536 - } - }, - "else": { - "operation": "boost", - "score": -0.0010542538948357105 - } - }, - "else": { - "operation": "boost", - "score": 0.03710988536477089 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 454.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 487.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.11704457551240921 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.06079542636871338 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11634868383407593 - }, - "else": { - "operation": "boost", - "score": 0.03689203038811684 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10698108375072479 - } - }, - "else": { - "operation": "boost", - "score": 0.06026045233011246 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.08805704861879349 - }, - "else": { - "operation": "boost", - "score": 0.021424461156129837 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3079.0, - "then": { - "operation": "boost", - "score": -0.054321955889463425 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1069.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1122.0, - "then": { - "operation": "boost", - "score": -0.008398173376917839 - }, - "else": { - "operation": "boost", - "score": 0.10178304463624954 - } - }, - "else": { - "operation": "boost", - "score": -0.009566178545355797 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.00926031731069088 - }, - "else": { - "operation": "boost", - "score": 0.02764701098203659 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28136.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.002171516651287675 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81833.0, - "then": { - "operation": "boost", - "score": -0.11260131001472473 - }, - "else": { - "operation": "boost", - "score": 0.1079479455947876 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.007854722440242767 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, - "then": { - "operation": "boost", - "score": -0.10802806913852692 - }, - "else": { - "operation": "boost", - "score": 0.11634646356105804 - } - }, - "else": { - "operation": "boost", - "score": 0.11336135119199753 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.38387706875801086 - }, - "else": { - "operation": "boost", - "score": 0.08506172150373459 - } - }, - "else": { - "operation": "boost", - "score": -0.023973697796463966 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07171804457902908 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0033215347211807966 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.06087807938456535 - }, - "else": { - "operation": "boost", - "score": 0.09145557135343552 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0013995374320074916 - } - } - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.026037732139229774 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.0, - "then": { - "operation": "boost", - "score": 0.12732245028018951 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10378222167491913 - }, - "else": { - "operation": "boost", - "score": -0.1277056783437729 - } - }, - "else": { - "operation": "boost", - "score": -0.1421077698469162 - } - } - }, - "else": { - "operation": "boost", - "score": -0.019777659326791763 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53063.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234860.0, - "then": { - "operation": "boost", - "score": -0.06956196576356888 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02196503058075905 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011409557424485683 - }, - "else": { - "operation": "boost", - "score": 0.11039035767316818 - } - }, - "else": { - "operation": "boost", - "score": 0.13233526051044464 - } - }, - "else": { - "operation": "boost", - "score": 0.05520699545741081 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04041244089603424 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.13946452736854553 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.23829767107963562 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.08562353253364563 - }, - "else": { - "operation": "boost", - "score": 0.1068885549902916 - } - }, - "else": { - "operation": "boost", - "score": -0.4097948968410492 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.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": 55.5, - "then": { - "operation": "boost", - "score": -0.37901777029037476 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": -0.11453832685947418 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11250457912683487 - }, - "else": { - "operation": "boost", - "score": 0.10627815872430801 - } - } - }, - "else": { - "operation": "boost", - "score": -0.20038394629955292 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.0, - "then": { - "operation": "boost", - "score": 0.09975755214691162 - }, - "else": { - "operation": "boost", - "score": 0.10982690751552582 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.018740464001893997 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06649281084537506 - }, - "else": { - "operation": "boost", - "score": 0.11339316517114639 - } - }, - "else": { - "operation": "boost", - "score": -0.11067475378513336 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.029051322489976883 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.09852512925863266 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.19704928994178772 - }, - "else": { - "operation": "boost", - "score": 0.1988356113433838 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.004183094948530197 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0030407700687646866 - } - } - }, - "else": { - "operation": "boost", - "score": 0.004102566745132208 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.0, - "then": { - "operation": "boost", - "score": 0.10052800178527832 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, - "then": { - "operation": "boost", - "score": 0.08924903720617294 - }, - "else": { - "operation": "boost", - "score": -0.11057455092668533 - } - }, - "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": 11.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.0, - "then": { - "operation": "boost", - "score": 0.03401796147227287 - }, - "else": { - "operation": "boost", - "score": 0.11182338744401932 - } - }, - "else": { - "operation": "boost", - "score": -0.08735951781272888 - } - }, - "else": { - "operation": "boost", - "score": 0.1203397586941719 - } - }, - "else": { - "operation": "boost", - "score": 0.02475053071975708 - } - }, - "else": { - "operation": "boost", - "score": -0.021034294739365578 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.0, - "then": { - "operation": "boost", - "score": 0.03646494448184967 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.13878679275512695 - }, - "else": { - "operation": "boost", - "score": 0.1132223829627037 - } - }, - "else": { - "operation": "boost", - "score": -0.14672750234603882 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.014638315886259079 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.079946368932724 - }, - "else": { - "operation": "boost", - "score": 0.06217741221189499 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.12831638753414154 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11531604081392288 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.1000121682882309 - }, - "else": { - "operation": "boost", - "score": 0.1176932230591774 - } - }, - "else": { - "operation": "boost", - "score": -0.360289603471756 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13382430374622345 - }, - "else": { - "operation": "boost", - "score": 0.1355769783258438 - } - } - }, - "else": { - "operation": "boost", - "score": 0.028184395283460617 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": -0.12550456821918488 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.0031850889790803194 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.012072647921741009 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.02431987039744854 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1786314696073532 - }, - "else": { - "operation": "boost", - "score": 0.07962790131568909 - } - }, - "else": { - "operation": "boost", - "score": 0.05040227249264717 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.04852883517742157 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.004102656617760658 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12798868119716644 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11157791316509247 - }, - "else": { - "operation": "boost", - "score": -0.171159029006958 - } - }, - "else": { - "operation": "boost", - "score": 0.1079745665192604 - } - }, - "else": { - "operation": "boost", - "score": -0.05224999412894249 - } - } - }, - "else": { - "operation": "boost", - "score": 0.032478079199790955 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10284482687711716 - }, - "else": { - "operation": "boost", - "score": 0.08932008594274521 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.00359390233643353 - } - } - }, - "else": { - "operation": "boost", - "score": 0.009928173385560513 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1048838347196579 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.23968817293643951 - }, - "else": { - "operation": "boost", - "score": -0.08720922470092773 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.02612733095884323 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 442.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 522.5, - "then": { - "operation": "boost", - "score": -0.03623611107468605 - }, - "else": { - "operation": "boost", - "score": 0.14975789189338684 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01771029643714428 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62487.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06299025565385818 - }, - "else": { - "operation": "boost", - "score": 0.0012243898818269372 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61294.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09312207251787186 - }, - "else": { - "operation": "boost", - "score": 0.10763397067785263 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 456.5, - "then": { - "operation": "boost", - "score": 0.02716551534831524 - }, - "else": { - "operation": "boost", - "score": 0.08575648069381714 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33937.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39111.0, - "then": { - "operation": "boost", - "score": 0.01845405250787735 - }, - "else": { - "operation": "boost", - "score": -0.7178229093551636 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26541.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28932.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32329.5, - "then": { - "operation": "boost", - "score": 0.10532204806804657 - }, - "else": { - "operation": "boost", - "score": -0.25939083099365234 - } - }, - "else": { - "operation": "boost", - "score": 0.11021430045366287 - } - }, - "else": { - "operation": "boost", - "score": 0.045422978699207306 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1550.5, - "then": { - "operation": "boost", - "score": -0.011128885671496391 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1538.5, - "then": { - "operation": "boost", - "score": 0.1039588674902916 - }, - "else": { - "operation": "boost", - "score": 0.01750865764915943 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 327227.0, - "then": { - "operation": "boost", - "score": 0.10462939739227295 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10654.0, - "then": { - "operation": "boost", - "score": -0.08996329456567764 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10094.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1674196422100067 - }, - "else": { - "operation": "boost", - "score": -0.10370612144470215 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 794.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03477001190185547 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1033.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1527.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2142.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5390.5, - "then": { - "operation": "boost", - "score": 0.09851966798305511 - }, - "else": { - "operation": "boost", - "score": -0.028825750574469566 - } - }, - "else": { - "operation": "boost", - "score": 0.16022713482379913 - } - }, - "else": { - "operation": "boost", - "score": -0.20571093261241913 - } - }, - "else": { - "operation": "boost", - "score": 0.10797352343797684 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3534.5, - "then": { - "operation": "boost", - "score": 0.47639474272727966 - }, - "else": { - "operation": "boost", - "score": -0.23785705864429474 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09656466543674469 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 585.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 591.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 726.0, - "then": { - "operation": "boost", - "score": -0.2965983748435974 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.15264897048473358 - }, - "else": { - "operation": "boost", - "score": 0.10877466946840286 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 627.0, - "then": { - "operation": "boost", - "score": -0.3804902136325836 - }, - "else": { - "operation": "boost", - "score": 0.08821716159582138 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.032185956835746765 - } - }, - "else": { - "operation": "boost", - "score": -0.19340816140174866 - } - }, - "else": { - "operation": "boost", - "score": 0.11333950608968735 - } - }, - "else": { - "operation": "boost", - "score": -0.010130356065928936 - } - }, - "else": { - "operation": "boost", - "score": -0.1679365634918213 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005154087673872709 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.10065373033285141 - }, - "else": { - "operation": "boost", - "score": -0.003131862496957183 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0009418795816600323 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.0, - "then": { - "operation": "boost", - "score": 0.06127844750881195 - }, - "else": { - "operation": "boost", - "score": 0.10887795686721802 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.007156222593039274 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50014.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12353525310754776 - }, - "else": { - "operation": "boost", - "score": -0.09049932658672333 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05329958721995354 - }, - "else": { - "operation": "boost", - "score": -0.09830489009618759 - } - } - }, - "else": { - "operation": "boost", - "score": -0.048866622149944305 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.06577738374471664 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.010606200434267521 - }, - "else": { - "operation": "boost", - "score": -0.6018293499946594 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.0016110679134726524 - }, - "else": { - "operation": "boost", - "score": 0.4021470248699188 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11276274174451828 - }, - "else": { - "operation": "boost", - "score": -0.8082883954048157 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.02973044291138649 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11846902966499329 - }, - "else": { - "operation": "boost", - "score": 0.011969915591180325 - } - } - }, - "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": 3.5, - "then": { - "operation": "boost", - "score": -0.0017046952852979302 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09123476594686508 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03406772017478943 - }, - "else": { - "operation": "boost", - "score": -0.39356571435928345 - } - } - }, - "else": { - "operation": "boost", - "score": 0.015025144442915916 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07155957072973251 - }, - "else": { - "operation": "boost", - "score": -0.009104020893573761 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.001355739077553153 - }, - "else": { - "operation": "boost", - "score": -0.029242075979709625 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.09845533221960068 - }, - "else": { - "operation": "boost", - "score": 0.013541550375521183 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6435.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -2.683164596557617 - }, - "else": { - "operation": "boost", - "score": -0.41135990619659424 - } - }, - "else": { - "operation": "boost", - "score": -0.03271688520908356 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10677553713321686 - }, - "else": { - "operation": "boost", - "score": -0.4280988276004791 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.004447159357368946 + "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": "boost", - "score": -0.027795610949397087 - } - }, - "else": { - "operation": "boost", - "score": 0.018768543377518654 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.010756147094070911 + "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": "boost", - "score": -0.7132247090339661 - } - }, - "else": { - "operation": "boost", - "score": 0.06742353737354279 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.06488422304391861 - }, - "else": { - "operation": "boost", - "score": 0.16715100407600403 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.009379967115819454 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00039894922520034015 - }, - "else": { - "operation": "boost", - "score": -0.016636744141578674 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.018966898322105408 - }, - "else": { - "operation": "boost", - "score": -0.1510254293680191 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.6208113431930542 - }, - "else": { - "operation": "boost", - "score": 0.07117580622434616 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12166790664196014 - }, - "else": { - "operation": "boost", - "score": 0.04923020303249359 - } - }, - "else": { - "operation": "boost", - "score": 0.008247140794992447 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50013.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": -0.11949503421783447 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": -0.09162033349275589 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12898653745651245 - }, - "else": { - "operation": "boost", - "score": -0.12490929663181305 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03191771358251572 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0045538414269685745 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.011062923818826675 - }, - "else": { - "operation": "boost", - "score": -0.018901575356721878 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198.0, - "then": { - "operation": "boost", - "score": 0.02468402124941349 - }, - "else": { - "operation": "boost", - "score": 0.10159778594970703 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.06368468701839447 - }, - "else": { - "operation": "boost", - "score": 0.086453378200531 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, - "then": { - "operation": "boost", - "score": -0.006620047148317099 - }, - "else": { - "operation": "boost", - "score": 0.10068444907665253 - } - }, - "else": { - "operation": "boost", - "score": 0.025970103219151497 - } - } - }, - "else": { - "operation": "boost", - "score": -0.08844202011823654 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.49465128779411316 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11265148967504501 - }, - "else": { - "operation": "boost", - "score": 0.10325408726930618 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.16096515953540802 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0850033089518547 - }, - "else": { - "operation": "boost", - "score": 0.08176802843809128 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.09819043427705765 - }, - "else": { - "operation": "boost", - "score": 0.13765543699264526 - } - }, - "else": { - "operation": "boost", - "score": -0.1944149285554886 - } - }, - "else": { - "operation": "boost", - "score": 0.05584247037768364 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10711532086133957 - }, - "else": { - "operation": "boost", - "score": -0.18508943915367126 - } - }, - "else": { - "operation": "boost", - "score": 0.10608678311109543 - } - }, - "else": { - "operation": "boost", - "score": 0.011419742368161678 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.13903190195560455 - }, - "else": { - "operation": "boost", - "score": -0.006703382823616266 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.003901856951415539 - }, - "else": { - "operation": "boost", - "score": -1.0787092447280884 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.061781901866197586 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0067551713436841965 - }, - "else": { - "operation": "boost", - "score": -0.20773793756961823 - } - }, - "else": { - "operation": "boost", - "score": 0.036141108721494675 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.00614861911162734 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.2806505560874939 - }, - "else": { - "operation": "boost", - "score": 0.10873537510633469 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "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": 8.5, - "then": { - "operation": "boost", - "score": 0.10023834556341171 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10753926634788513 - }, - "else": { - "operation": "boost", - "score": 0.1295839548110962 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05509977042675018 - } - }, - "else": { - "operation": "boost", - "score": 0.0751415491104126 - } - }, - "else": { - "operation": "boost", - "score": -0.03878605738282204 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6228.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6932.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7715.5, - "then": { - "operation": "boost", - "score": 0.007524484768509865 - }, - "else": { - "operation": "boost", - "score": 0.06619710475206375 - } - }, - "else": { - "operation": "boost", - "score": -0.08507731556892395 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.11804713308811188 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11209545284509659 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09754251688718796 - }, - "else": { - "operation": "boost", - "score": -0.012115090154111385 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.43638932704925537 - }, - "else": { - "operation": "boost", - "score": 0.10743847489356995 - } - }, - "else": { - "operation": "boost", - "score": 0.1103198230266571 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.030166640877723694 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01279495656490326 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0015455514658242464 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.0, - "then": { - "operation": "boost", - "score": 0.10433091223239899 - }, - "else": { - "operation": "boost", - "score": 0.1014181599020958 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2082.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8431.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1018676608800888 - }, - "else": { - "operation": "boost", - "score": 0.09795673936605453 + "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 + } + } + } + } + } + } } - }, - "else": { - "operation": "boost", - "score": -0.019727978855371475 } }, "else": { - "operation": "boost", - "score": 0.10126270353794098 - } - }, - "else": { - "operation": "boost", - "score": 0.034562431275844574 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.10922027379274368 - }, - "else": { - "operation": "boost", - "score": -0.02992352657020092 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.10262246429920197 - }, - "else": { - "operation": "boost", - "score": 0.1345786601305008 - } - }, - "else": { - "operation": "boost", - "score": -0.2302946150302887 - } - }, - "else": { - "operation": "boost", - "score": 0.026217427104711533 - } - } - }, - "else": { - "operation": "boost", - "score": -0.012579862028360367 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00034991471329703927 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10180.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0767863541841507 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11876870691776276 - }, - "else": { - "operation": "boost", - "score": -0.15744546055793762 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, - "then": { - "operation": "boost", - "score": 0.07069699466228485 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11157919466495514 - }, - "else": { - "operation": "boost", - "score": -0.20183928310871124 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05936913192272186 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.014376315288245678 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9990.5, - "then": { - "operation": "boost", - "score": 0.06006034463644028 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1362924426794052 - }, - "else": { - "operation": "boost", - "score": 0.12364214658737183 - } - }, - "else": { - "operation": "boost", - "score": -0.10182563215494156 - } - } - }, - "else": { - "operation": "boost", - "score": 0.16008944809436798 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7430.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11024251580238342 - }, - "else": { - "operation": "boost", - "score": 0.022392943501472473 - } - }, - "else": { - "operation": "boost", - "score": 0.0027969167567789555 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21311.0, - "then": { - "operation": "boost", - "score": 0.008130976930260658 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 489.0, - "then": { - "operation": "boost", - "score": 0.05650500953197479 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10506808012723923 - }, - "else": { - "operation": "boost", - "score": 0.11374747008085251 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 59.0, "then": { "operation": "boost", - "score": -0.045039478689432144 + "score": 0.10033006221055984 }, "else": { "operation": "boost", - "score": 0.11514855921268463 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11008171737194061 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 395.0, - "then": { - "operation": "boost", - "score": 0.05922846496105194 - }, - "else": { - "operation": "boost", - "score": 0.11463575810194016 - } + "score": 0.047186970710754395 } }, "else": { "operation": "boost", - "score": 0.03035455197095871 + "score": -0.016199467703700066 } - }, - "else": { - "operation": "boost", - "score": -0.003496410558000207 } } } }, "else": { - "operation": "boost", - "score": 0.03540866822004318 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 358.5, + "threshold": 6621.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 371.0, + "threshold": 6892.5, "then": { "operation": "boost", - "score": 0.018766896799206734 + "score": 0.03228959068655968 }, "else": { "operation": "boost", - "score": 0.0939035415649414 + "score": 0.0965060144662857 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 475.5, "then": { + "operation": "boost", + "score": -0.11366710066795349 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.029052678495645523 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.07366292178630829 + "score": -0.10962562263011932 }, "else": { - "operation": "boost", - "score": -0.06385542452335358 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.008121971040964127 + "score": 0.11587221175432205 }, "else": { "operation": "boost", - "score": 0.10873845219612122 + "score": -0.028001265600323677 } - }, - "else": { - "operation": "boost", - "score": -0.08218426257371902 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.5, - "then": { - "operation": "boost", - "score": -0.10766152292490005 - }, - "else": { - "operation": "boost", - "score": -0.4619698226451874 - } + "operation": "boost", + "score": 0.06755246967077255 }, "else": { "operation": "boost", - "score": -0.05164545029401779 + "score": -0.012250641360878944 } } - }, - "else": { - "operation": "boost", - "score": 0.01131683774292469 } } }, "else": { "operation": "boost", - "score": 0.061106882989406586 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.4769896864891052 - }, - "else": { - "operation": "boost", - "score": -0.02025424875319004 + "score": 0.00016481344937346876 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141.5, - "then": { - "operation": "boost", - "score": -0.05777459219098091 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, - "then": { - "operation": "boost", - "score": 0.10048647224903107 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.08951107412576675 - }, - "else": { - "operation": "boost", - "score": -0.16898559033870697 - } - } - } + "operation": "boost", + "score": -0.09350517392158508 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.06924887001514435 - }, - "else": { - "operation": "boost", - "score": 0.11152313649654388 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11331243813037872 - }, - "else": { - "operation": "boost", - "score": -0.04483315721154213 - } - } + "operation": "boost", + "score": 0.02324928715825081 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74698.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0335104838013649 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 35.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 84.5, + "threshold": 83.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 185.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 244.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.0, - "then": { - "operation": "boost", - "score": 0.03868154436349869 - }, - "else": { - "operation": "boost", - "score": -0.5632022023200989 - } - }, - "else": { - "operation": "boost", - "score": 0.07583919167518616 - } - }, - "else": { - "operation": "boost", - "score": -0.19217105209827423 - } - }, - "else": { - "operation": "boost", - "score": 0.0986078605055809 - } - }, - "else": { - "operation": "boost", - "score": -0.16124975681304932 - } + "operation": "boost", + "score": -0.10117891430854797 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": 0.09022422134876251 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "boost", - "score": -0.2390424609184265 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "boost", - "score": 0.10473666340112686 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, - "then": { - "operation": "boost", - "score": -0.27309733629226685 - }, - "else": { - "operation": "boost", - "score": 0.0645093247294426 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.7226618528366089 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.09802935272455215 + "score": 0.1284351944923401 }, "else": { "operation": "boost", - "score": -0.14142927527427673 + "score": 0.041778892278671265 } }, - "else": { - "operation": "boost", - "score": 0.09335166215896606 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.0969223752617836 - }, - "else": { - "operation": "boost", - "score": -0.05706624686717987 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.0980881005525589 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1486208140850067 + "score": 0.0841783955693245 }, "else": { "operation": "boost", - "score": -0.18517357110977173 + "score": 0.10722745209932327 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.0844145193696022 - }, - "else": { - "operation": "boost", - "score": -0.12517687678337097 - } + "operation": "boost", + "score": 0.057400405406951904 } } + }, + "else": { + "operation": "boost", + "score": 0.013083326630294323 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 455.0, - "then": { - "operation": "boost", - "score": 0.01320738811045885 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 414.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.16261419653892517 + "score": 0.012602676637470722 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.13366025686264038 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 270.0, - "then": { - "operation": "boost", - "score": 0.12240021675825119 - }, - "else": { - "operation": "boost", - "score": 0.1398792862892151 - } - } + "operation": "boost", + "score": 0.07308908551931381 } } - }, - "else": { - "operation": "boost", - "score": 0.026181811466813087 } }, "else": { + "operation": "boost", + "score": -0.008412761613726616 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006514281267300248 + } + }, + "else": { + "operation": "boost", + "score": -0.06687980145215988 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7329.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8931.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 12782.0, "then": { "operation": "boost", - "score": -0.028147893026471138 + "score": 0.005353926215320826 }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.12306194752454758 - }, - "else": { - "operation": "boost", - "score": -0.5864856243133545 - } - }, - "else": { - "operation": "boost", - "score": -0.034542787820100784 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318692.5, - "then": { - "operation": "boost", - "score": 0.08912447839975357 - }, - "else": { - "operation": "boost", - "score": 0.01544169057160616 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.054037004709243774 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.1328512579202652 - }, - "else": { - "operation": "boost", - "score": -0.1008429303765297 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.13389000296592712 - }, - "else": { - "operation": "boost", - "score": -0.8753074407577515 - } - }, - "else": { - "operation": "boost", - "score": 0.1278848946094513 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.12049541622400284 - }, - "else": { - "operation": "boost", - "score": 0.11168847233057022 - } - } - }, - "else": { - "operation": "boost", - "score": -0.01206696592271328 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.05893520638346672 - }, - "else": { - "operation": "boost", - "score": 0.16022807359695435 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.28745603561401367 - }, - "else": { - "operation": "boost", - "score": 0.12789520621299744 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.10825741291046143 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.10369870811700821 - }, - "else": { - "operation": "boost", - "score": 0.09460816532373428 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07310028374195099 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.0, - "then": { - "operation": "boost", - "score": 0.014109286479651928 - }, - "else": { - "operation": "boost", - "score": 0.10676667094230652 - } - }, - "else": { - "operation": "boost", - "score": -0.04461819678544998 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.3938237428665161 - }, - "else": { - "operation": "boost", - "score": 0.11875713616609573 - } - }, - "else": { - "operation": "boost", - "score": 0.1843748688697815 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.33008915185928345 - }, - "else": { - "operation": "boost", - "score": 0.1155819520354271 - } - }, - "else": { - "operation": "boost", - "score": -0.2939514219760895 - } - } - } + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12655.0, + "then": { + "operation": "boost", + "score": 0.11655451357364655 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.04745645448565483 + }, + "else": { + "operation": "boost", + "score": -0.8455421328544617 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05605793744325638 + }, + "else": { + "operation": "boost", + "score": 0.08132252842187881 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.285317063331604 + }, + "else": { + "operation": "boost", + "score": 0.07210563123226166 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.24669089913368225 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97230.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 254260.5, + "then": { + "operation": "boost", + "score": 0.03570140153169632 + }, + "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", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.3347320258617401 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.09113325923681259 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 179.0, + "threshold": 29005.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 285.0, - "then": { - "operation": "boost", - "score": -0.10216601938009262 - }, - "else": { - "operation": "boost", - "score": 0.09999983012676239 - } + "operation": "boost", + "score": -0.3158840239048004 }, "else": { "operation": "boost", - "score": 0.021975023671984673 + "score": 0.100936159491539 } - }, - "else": { - "operation": "boost", - "score": 0.10271887481212616 } }, "else": { "operation": "boost", - "score": 0.00924866832792759 + "score": 0.047633517533540726 } } }, "else": { + "operation": "boost", + "score": 0.03126731887459755 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13722.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 15981.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.031134843826293945 + "score": -3.4845457077026367 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.0828942134976387 - }, - "else": { - "operation": "boost", - "score": -1.5259414911270142 - } - }, - "else": { - "operation": "boost", - "score": 0.08542998135089874 - } + "operation": "boost", + "score": 0.08465130627155304 } }, "else": { "operation": "boost", - "score": -0.041491180658340454 + "score": -0.10151152312755585 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.27669933438301086 - }, - "else": { - "operation": "boost", - "score": 0.1011139377951622 - } + "operation": "boost", + "score": 0.07771018892526627 } + }, + "else": { + "operation": "boost", + "score": -0.3162260949611664 } - }, - "else": { - "operation": "boost", - "score": 0.007325952872633934 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.09463729709386826 - }, - "else": { - "operation": "boost", - "score": -0.011323859915137291 - } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0034339295234531164 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0009945824276655912 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, - "then": { - "operation": "boost", - "score": 0.004011074546724558 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 133.0, + "threshold": 9406.5, "then": { "operation": "boost", - "score": 0.1076015830039978 + "score": 0.006013138219714165 }, "else": { "operation": "boost", - "score": -0.12148267030715942 + "score": -0.11592847853899002 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "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": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 8541.0, "then": { - "operation": "boost", - "score": 0.048905618488788605 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8751.0, + "then": { + "operation": "boost", + "score": 0.15030264854431152 + }, + "else": { + "operation": "boost", + "score": 0.10968028008937836 + } }, "else": { "operation": "boost", - "score": 0.11895722895860672 + "score": 0.07555744051933289 } - }, - "else": { - "operation": "boost", - "score": -0.11592443287372589 } - }, - "else": { - "operation": "boost", - "score": 0.12454100698232651 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10008.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "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, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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": "NumReferences", - "threshold": 15737.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 8181.0, "then": { "operation": "boost", - "score": 0.029705746099352837 + "score": 0.1071646511554718 }, "else": { "operation": "boost", - "score": 0.08310409635305405 + "score": -0.260050892829895 } }, "else": { "operation": "boost", - "score": 0.042744919657707214 + "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": "IsImplementationDetail", + "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": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, - "then": { - "operation": "boost", - "score": 0.09809445589780807 - }, - "else": { - "operation": "boost", - "score": 0.07540484517812729 - } + "operation": "boost", + "score": 0.07918595522642136 }, "else": { "operation": "boost", - "score": -0.03145183250308037 + "score": 0.11883532255887985 } }, "else": { "operation": "boost", - "score": 0.01950942724943161 + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31517.0, "then": { "operation": "boost", - "score": 0.09344377368688583 + "score": -0.07208351045846939 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13638.5, + "threshold": 27189.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "boost", - "score": 0.04073541238903999 - }, - "else": { - "operation": "boost", - "score": -0.014446672052145004 - } + "operation": "boost", + "score": 0.10814107954502106 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13189.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10828486829996109 - }, - "else": { - "operation": "boost", - "score": 0.11980787664651871 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13167166709899902 - }, - "else": { - "operation": "boost", - "score": -0.0720357745885849 - } - } + "operation": "boost", + "score": 0.1039772555232048 } } }, "else": { "operation": "boost", - "score": -0.020919792354106903 + "score": 0.30057641863822937 } + }, + "else": { + "operation": "boost", + "score": -0.20554961264133453 } - }, - "else": { + } + } + }, + "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": "NumReferences", - "threshold": 6228.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6390.5, + "threshold": 9368.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6952.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.04436199739575386 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7021.0, + "threshold": 57593.5, "then": { + "operation": "boost", + "score": 0.004729022271931171 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7761.5, + "threshold": 18573.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.01494123600423336 - }, - "else": { - "operation": "boost", - "score": 0.279999703168869 - } + "operation": "boost", + "score": 0.1280936300754547 }, "else": { "operation": "boost", - "score": -0.029032927006483078 + "score": 0.1062595546245575 } }, "else": { "operation": "boost", - "score": -0.28486010432243347 + "score": -0.12262364476919174 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.03831495717167854 }, "else": { "operation": "boost", - "score": 0.10562751442193985 + "score": 0.1001744419336319 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6678.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.1260504275560379 + "score": 0.043505940586328506 }, "else": { "operation": "boost", - "score": 0.0381167009472847 + "score": -0.05269906669855118 } } }, "else": { + "operation": "boost", + "score": 0.13587334752082825 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18942.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 19474.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10412166267633438 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11306535452604294 - }, - "else": { - "operation": "boost", - "score": -0.3413650691509247 - } + "operation": "boost", + "score": 0.057102516293525696 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.13660021126270294 + "score": 0.11296183615922928 }, "else": { "operation": "boost", - "score": 0.09836888313293457 + "score": 0.06531620025634766 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6388.5, + "threshold": 62576.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.10876522958278656 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1110144853591919 - }, - "else": { - "operation": "boost", - "score": 0.058589089661836624 - } - } + "operation": "boost", + "score": -0.02753720059990883 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 47131.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.11297262459993362 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, + "then": { + "operation": "boost", + "score": 0.0285797156393528 + }, + "else": { + "operation": "boost", + "score": 0.07108030468225479 + } }, "else": { - "operation": "boost", - "score": 0.10649294406175613 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, + "then": { + "operation": "boost", + "score": 0.17355823516845703 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07049217820167542 + }, + "else": { + "operation": "boost", + "score": 0.08318104594945908 + } + } } }, "else": { - "operation": "boost", - "score": 0.10922696441411972 - } - } - }, - "else": { - "operation": "boost", - "score": -0.053502991795539856 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5733.5, - "then": { - "operation": "boost", - "score": -0.08072666823863983 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5426.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5450.0, - "then": { - "operation": "boost", - "score": 0.04130987823009491 - }, - "else": { - "operation": "boost", - "score": 0.11208801716566086 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.017928218469023705 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1805.5, - "then": { - "operation": "boost", - "score": 0.10774283856153488 - }, - "else": { - "operation": "boost", - "score": 0.05245090276002884 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 130.5, + "threshold": 20253.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 279.0, + "threshold": 20296.0, "then": { "operation": "boost", - "score": 0.030931614339351654 + "score": 0.024239961057901382 }, "else": { "operation": "boost", - "score": -0.207055002450943 + "score": 0.18709148466587067 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.1126909926533699 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 164.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.3841157555580139 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 23488.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1301083266735077 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 344.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1854.0, - "then": { - "operation": "boost", - "score": -0.012517178431153297 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.11022885143756866 - }, - "else": { - "operation": "boost", - "score": 0.11806949973106384 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0489976741373539 - } - }, - "else": { - "operation": "boost", - "score": 0.19441817700862885 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 414.5, - "then": { - "operation": "boost", - "score": -13.695500373840332 - }, - "else": { - "operation": "boost", - "score": 0.04241097345948219 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 612.0, - "then": { - "operation": "boost", - "score": -0.05110005661845207 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 366.0, - "then": { - "operation": "boost", - "score": 0.11853466182947159 - }, - "else": { - "operation": "boost", - "score": 0.036299802362918854 - } - } - } - } + "operation": "boost", + "score": -0.10039415955543518 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1321.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.21520443260669708 + "score": 0.09623435139656067 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11227372288703918 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 237.5, - "then": { - "operation": "boost", - "score": 0.004864813294261694 - }, - "else": { - "operation": "boost", - "score": 0.14126692712306976 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.11104687303304672 - }, - "else": { - "operation": "boost", - "score": 0.028034193441271782 - } - } - } + "operation": "boost", + "score": 0.09780397266149521 } } - }, - "else": { - "operation": "boost", - "score": -0.009238487109541893 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.1071092039346695 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 124.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.21229563653469086 - }, - "else": { - "operation": "boost", - "score": 0.3765086829662323 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.030944889411330223 - }, - "else": { - "operation": "boost", - "score": 0.09246784448623657 - } + "operation": "boost", + "score": -0.07560726255178452 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.03002159483730793 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10370765626430511 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.0, - "then": { - "operation": "boost", - "score": 0.045591067522764206 - }, - "else": { - "operation": "boost", - "score": 0.11587249487638474 - } - }, - "else": { - "operation": "boost", - "score": -0.15927453339099884 - } - } + "operation": "boost", + "score": -0.22139011323451996 } } } + } + }, + "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": 3.5, + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1032600924372673 + }, + "else": { + "operation": "boost", + "score": 0.11284606903791428 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9368.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12324.5, "then": { "operation": "boost", - "score": 0.0016072593862190843 + "score": -0.10233938694000244 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.23514436185359955 + }, + "else": { + "operation": "boost", + "score": -0.9260445237159729 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7875.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 180.0, - "then": { - "operation": "boost", - "score": 0.24726168811321259 - }, - "else": { - "operation": "boost", - "score": -0.013759313151240349 - } - }, - "else": { - "operation": "boost", - "score": 0.023159991949796677 - } + "operation": "boost", + "score": 0.07390555739402771 }, "else": { "operation": "boost", - "score": -1.1467902660369873 + "score": -0.11076626181602478 } + }, + "else": { + "operation": "boost", + "score": 0.18270361423492432 } } + }, + "else": { + "operation": "boost", + "score": 0.045178692787885666 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.030149448662996292 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { + "operation": "boost", + "score": 0.13521896302700043 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.49946892261505127 + "score": -2.398956775665283 }, "else": { "operation": "boost", - "score": -0.47239965200424194 + "score": 0.02444169670343399 } }, "else": { "operation": "boost", - "score": -0.19370681047439575 + "score": -0.11421144008636475 } - }, - "else": { - "operation": "boost", - "score": 0.02074580267071724 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.009568181820213795 }, "else": { "operation": "boost", - "score": 0.02906004898250103 + "score": 0.01086331158876419 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.12646014988422394 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro" - ], - "then": { - "operation": "boost", - "score": 0.026286382228136063 - }, - "else": { - "operation": "boost", - "score": -0.004586915019899607 - } + "operation": "boost", + "score": -0.07998481392860413 }, "else": { - "operation": "boost", - "score": -0.0038028021808713675 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 37670.0, "then": { - "operation": "boost", - "score": -0.11297186464071274 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.0, - "then": { - "operation": "boost", - "score": -0.01764877326786518 - }, - "else": { - "operation": "boost", - "score": 0.0867001935839653 - } + "operation": "boost", + "score": 0.11331918835639954 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.006446903571486473 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": -0.19214044511318207 - }, - "else": { - "operation": "boost", - "score": 0.10367036610841751 - } - }, - "else": { - "operation": "boost", - "score": -0.28234967589378357 - } - } + "operation": "boost", + "score": 0.107644222676754 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50015.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { - "operation": "boost", - "score": 0.06501128524541855 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.1254785656929016 - }, - "else": { - "operation": "boost", - "score": -0.0809604674577713 - } - }, - "else": { - "operation": "boost", - "score": -0.10229412466287613 - } + "operation": "boost", + "score": 0.10708092153072357 }, "else": { "operation": "boost", - "score": -0.06586797535419464 + "score": -0.2964493930339813 } + }, + "else": { + "operation": "boost", + "score": -0.029708590358495712 } - }, - "else": { - "operation": "boost", - "score": -0.010057052597403526 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.028785912320017815 - }, - "else": { - "operation": "boost", - "score": 0.13526274263858795 - } - }, - "else": { - "operation": "boost", - "score": 0.007102819159626961 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 7457.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82306.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 90101.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { + "operation": "boost", + "score": 0.08377932757139206 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 93657.0, "then": { "operation": "boost", - "score": 0.0046997047029435635 + "score": 0.012696568854153156 }, "else": { "operation": "boost", - "score": 0.10608164966106415 + "score": -0.06303388625383377 } - }, - "else": { - "operation": "boost", - "score": 0.0959099680185318 } }, - "else": { - "operation": "boost", - "score": 0.009989951737225056 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10828319936990738 - }, "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 87637.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12608852982521057 + "score": -0.02864597737789154 }, "else": { - "operation": "boost", - "score": -0.13924209773540497 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": -0.21524745225906372 + }, + "else": { + "operation": "boost", + "score": 0.07272022217512131 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.48587432503700256 + }, + "else": { + "operation": "boost", + "score": 0.09135683625936508 + } + } } }, "else": { - "operation": "boost", - "score": -0.04479822516441345 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.019098928198218346 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.3074924647808075 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10888645052909851 + }, + "else": { + "operation": "boost", + "score": 0.07001525908708572 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.016346676275134087 + } } } + }, + "else": { + "operation": "boost", + "score": 0.015709228813648224 } }, "else": { "operation": "boost", - "score": 0.03059389442205429 + "score": 0.09488743543624878 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 110939.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.09119894355535507 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.12802161276340485 - }, - "else": { - "operation": "boost", - "score": -0.0021638479083776474 - } - }, - "else": { - "operation": "boost", - "score": -0.7259135246276855 - } - } + "operation": "boost", + "score": -0.13774138689041138 }, "else": { "operation": "boost", - "score": -0.030132951214909554 + "score": -0.006861788686364889 } } - }, - "else": { - "operation": "boost", - "score": 0.00679608341306448 } } + }, + "else": { + "operation": "boost", + "score": 0.11026639491319656 } } - }, - "else": { - "operation": "boost", - "score": -0.0036804559640586376 } }, "else": { "operation": "boost", - "score": -0.0003055570996366441 + "score": -0.0002871798351407051 } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 87006.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224557.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110.5, + "threshold": 292981.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10008.5, + "threshold": 298482.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.01402661856263876 + }, + "else": { + "operation": "boost", + "score": -0.0047187479212880135 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15737.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.02705342136323452 + "score": 0.0621040053665638 }, "else": { - "operation": "boost", - "score": 0.07970311492681503 + "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 + } + } } }, "else": { - "operation": "boost", - "score": 0.023432429879903793 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, + "operation": "boost", + "score": -0.032796263694763184 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.10239633172750473 + "score": 0.10795408487319946 }, "else": { - "operation": "boost", - "score": 0.05739728733897209 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.03200112655758858 + }, + "else": { + "operation": "boost", + "score": -0.40902242064476013 + } } - }, - "else": { - "operation": "boost", - "score": -0.028937218710780144 } - }, - "else": { - "operation": "boost", - "score": 0.01952183060348034 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86511.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 220727.0, + "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": "NumReferences", - "threshold": 245728.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.19763410091400146 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.11949323117733002 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09271013736724854 + }, + "else": { + "operation": "boost", + "score": 0.041284963488578796 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1305496245622635 + "score": 0.10471799224615097 }, "else": { "operation": "boost", - "score": 0.0837574303150177 + "score": 0.09397722035646439 } } + }, + "else": { + "operation": "boost", + "score": 0.004424034617841244 } }, "else": { "operation": "boost", - "score": -0.06192758306860924 + "score": -0.00675103859975934 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95815.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.10825064778327942 + "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.07996822148561478 + "score": 0.04969435930252075 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.1459577977657318 - }, - "else": { - "operation": "boost", - "score": 0.05991469696164131 - } + "operation": "boost", + "score": 0.02842656895518303 } }, - "else": { - "operation": "boost", - "score": -0.33224546909332275 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.1265047788619995 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.09666993468999863 + "score": -0.002228338271379471 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11635719984769821 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12088709324598312 - }, - "else": { - "operation": "boost", - "score": 0.05066440999507904 - } - } + "operation": "boost", + "score": 0.1280319094657898 }, "else": { "operation": "boost", - "score": -0.02366868406534195 + "score": 0.08146420866250992 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "boost", - "score": 0.12509386241436005 - }, - "else": { - "operation": "boost", - "score": -0.011132441461086273 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60336.5, - "then": { - "operation": "boost", - "score": -0.17080309987068176 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.052611615508794785 }, "else": { "operation": "boost", - "score": 0.005049202125519514 + "score": -0.17547406256198883 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13521.5, - "then": { - "operation": "boost", - "score": -0.15689526498317719 - }, - "else": { - "operation": "boost", - "score": 0.10609136521816254 - } - }, - "else": { - "operation": "boost", - "score": -0.1316431760787964 - } + "operation": "boost", + "score": 0.017008451744914055 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.0, - "then": { - "operation": "boost", - "score": 0.015621796250343323 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.0, - "then": { - "operation": "boost", - "score": 0.1049504429101944 - }, - "else": { - "operation": "boost", - "score": -0.11704784631729126 - } - } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6228.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9948.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.025968734174966812 + "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 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09749346226453781 + "score": -0.1650937795639038 }, "else": { - "operation": "boost", - "score": -0.2998634874820709 + "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 + } + } } } }, "else": { - "operation": "boost", - "score": 0.011393238790333271 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.1022614911198616 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6320.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6360.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.1118398904800415 + "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": "boost", - "score": -0.29621532559394836 + "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": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.13935811817646027 + "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.09630144387483597 + "score": 0.07451033592224121 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, + }, + "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": 17.0, + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.1080063208937645 + "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": "FileProximityDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10785143077373505 + "score": 0.13652096688747406 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09357837587594986 + "score": -0.6557489633560181 }, "else": { - "operation": "boost", - "score": -0.01631932519376278 + "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": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.10835090279579163 + "score": 0.09414362162351608 }, "else": { "operation": "boost", - "score": 0.10548747330904007 + "score": -0.20741139352321625 } }, "else": { - "operation": "boost", - "score": 0.10775251686573029 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.06451963633298874 + }, + "else": { + "operation": "boost", + "score": -0.12748420238494873 + } } } - }, - "else": { - "operation": "boost", - "score": -0.04395349696278572 } } + }, + "else": { + "operation": "boost", + "score": 0.013870862312614918 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 7.0, + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.04405118152499199 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.0, - "then": { - "operation": "boost", - "score": 0.11025868356227875 - }, - "else": { - "operation": "boost", - "score": 0.10375837981700897 - } - }, - "else": { - "operation": "boost", - "score": -0.0963708907365799 - } + "operation": "boost", + "score": 0.10431929677724838 }, "else": { "operation": "boost", - "score": 0.1221013143658638 + "score": -0.3131501376628876 } - }, - "else": { - "operation": "boost", - "score": 0.011491993442177773 } } } } }, "else": { + "operation": "boost", + "score": -0.023808812722563744 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope" + "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.015467580407857895 + "score": -0.08090001344680786 }, "else": { "operation": "boost", - "score": -0.001218964345753193 + "score": 0.10501088947057724 } }, "else": { - "operation": "boost", - "score": 0.003566377330571413 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23415.5, - "then": { - "operation": "boost", - "score": -0.11503147333860397 - }, - "else": { - "operation": "boost", - "score": -0.003314801026135683 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0003919356968253851 - }, - "else": { - "operation": "boost", - "score": -0.019794603809714317 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.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": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.057023681700229645 - }, - "else": { - "operation": "boost", - "score": 0.12652501463890076 - } - }, - "else": { - "operation": "boost", - "score": 0.09403923898935318 - } - }, - "else": { - "operation": "boost", - "score": 0.018815504387021065 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11512298136949539 - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10062061995267868 - }, - "else": { - "operation": "boost", - "score": 0.084553062915802 - } - } - }, - "else": { - "operation": "boost", - "score": 0.052315376698970795 - } - } + "operation": "boost", + "score": -0.6501142382621765 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "boost", + "score": -0.07447045296430588 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.11393846571445465 + "score": 0.0016129252035170794 }, "else": { "operation": "boost", - "score": 0.059938643127679825 + "score": -0.23069927096366882 } + }, + "else": { + "operation": "boost", + "score": 0.08710474520921707 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.031596675515174866 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 167779.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.011430942453444004 + "score": -0.17411789298057556 }, "else": { - "operation": "boost", - "score": 0.16695083677768707 + "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.09043589234352112 + "score": 0.10822810232639313 } }, "else": { - "operation": "boost", - "score": 0.02155131660401821 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08875591307878494 + }, + "else": { + "operation": "boost", + "score": -0.01632174663245678 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.030410161241889 - }, - "else": { - "operation": "boost", - "score": 0.0008418912766501307 - } + "operation": "boost", + "score": 0.009549867361783981 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 273152.0, - "then": { - "operation": "boost", - "score": -0.007538186386227608 - }, - "else": { - "operation": "boost", - "score": 0.06006760150194168 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03221770375967026 - }, - "else": { - "operation": "boost", - "score": 0.049553725868463516 - } - } + "operation": "boost", + "score": 0.009480662643909454 } - }, - "else": { - "operation": "boost", - "score": 0.02437085285782814 } } }, @@ -293914,3238 +282663,2287 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.015177788212895393 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12196680158376694 - }, - "else": { - "operation": "boost", - "score": 0.16210736334323883 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 201.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 322.5, - "then": { - "operation": "boost", - "score": 0.03167951479554176 - }, - "else": { - "operation": "boost", - "score": 0.12579308450222015 - } - }, - "else": { - "operation": "boost", - "score": 0.07295431196689606 - } - } + "operation": "boost", + "score": 0.008235620334744453 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85946.5, + "feature": "FileProximityDistance", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { "operation": "boost", - "score": 0.058659911155700684 + "score": -0.04640104994177818 }, "else": { "operation": "boost", - "score": -0.07758548110723495 + "score": 0.05213816463947296 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06426195800304413 - }, - "else": { - "operation": "boost", - "score": 0.10709106177091599 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, - "then": { - "operation": "boost", - "score": 0.06180695816874504 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03501412272453308 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08502937853336334 - }, - "else": { - "operation": "boost", - "score": 0.11677204817533493 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13927745819091797 - } - } - } + "operation": "boost", + "score": -0.2413262575864792 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "boost", + "score": -0.002471319632604718 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.07117387652397156 + "score": 0.07132317870855331 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.057157617062330246 + "score": 0.08760581910610199 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.14230811595916748 - }, - "else": { - "operation": "boost", - "score": 0.05654296651482582 - } + "operation": "boost", + "score": 0.0 } } }, "else": { - "operation": "boost", - "score": -0.10152830928564072 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 27.5, + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.1170177310705185 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.0013862319756299257 + "score": 0.1126919761300087 }, "else": { "operation": "boost", - "score": -0.050157804042100906 + "score": 0.10965163260698318 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07589451968669891 - }, - "else": { - "operation": "boost", - "score": 0.10658194124698639 - } - }, - "else": { - "operation": "boost", - "score": -0.05496445298194885 - } + "operation": "boost", + "score": 0.11000984907150269 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.022355295717716217 }, "else": { "operation": "boost", - "score": 0.0887729674577713 + "score": 0.08944042772054672 } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.0013483174843713641 }, "else": { "operation": "boost", - "score": -0.013825874775648117 + "score": -0.045019492506980896 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.030205903574824333 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.009693702682852745 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 90096.0, "then": { + "operation": "boost", + "score": 0.0007682097493670881 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 89516.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.23430590331554413 + }, + "else": { + "operation": "boost", + "score": 0.08054228872060776 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.019787786528468132 + "score": -0.43895044922828674 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.03632513806223869 + "score": -0.1383601427078247 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0803641676902771 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.06940591335296631 + }, + "else": { + "operation": "boost", + "score": 0.08638467639684677 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10305618494749069 + "score": 0.09501620382070541 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.01959913969039917 + "score": 0.03297015279531479 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.08995170146226883 - }, - "else": { - "operation": "boost", - "score": 0.09178251773118973 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.0648190900683403 - }, - "else": { - "operation": "boost", - "score": 0.09137493371963501 - } - } - }, - "else": { - "operation": "boost", - "score": 0.06383350491523743 - } + "operation": "boost", + "score": 0.1396683156490326 } } + }, + "else": { + "operation": "boost", + "score": 0.09125558286905289 } + }, + "else": { + "operation": "boost", + "score": 0.03665551543235779 } }, "else": { "operation": "boost", - "score": 0.02789400890469551 + "score": 0.04137412831187248 } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79923.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84495.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_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": -0.08948282897472382 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0017019491642713547 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.10037455707788467 }, "else": { "operation": "boost", - "score": 0.01754700392484665 + "score": -0.45676857233047485 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05412977561354637 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0489719994366169 }, "else": { - "operation": "boost", - "score": 0.004356091376394033 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.1006150022149086 + }, + "else": { + "operation": "boost", + "score": -0.2617010772228241 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.035371746867895126 } + }, + "else": { + "operation": "boost", + "score": -0.00011469097080407664 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 618.5, + "threshold": 60.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 637.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 722.5, + "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": 20811.0, + "threshold": 84.5, "then": { + "operation": "boost", + "score": 0.036850299686193466 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23872.5, + "threshold": 72.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28306.0, - "then": { - "operation": "boost", - "score": 0.01009630598127842 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27939.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09543056786060333 - }, - "else": { - "operation": "boost", - "score": -0.026597874239087105 - } - }, - "else": { - "operation": "boost", - "score": 0.03892649710178375 - } - } + "operation": "boost", + "score": 0.11772152781486511 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10365480184555054 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13099603354930878 - }, - "else": { - "operation": "boost", - "score": 0.1202501580119133 - } - } + "operation": "boost", + "score": 0.11205210536718369 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20869.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3159562349319458 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23486.5, - "then": { - "operation": "boost", - "score": 0.1525184065103531 - }, - "else": { - "operation": "boost", - "score": 0.08873794227838516 - } - } - }, - "else": { - "operation": "boost", - "score": 0.020016014575958252 - } - }, - "else": { - "operation": "boost", - "score": 0.12475252151489258 - } + "operation": "boost", + "score": -1.6343845129013062 } } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.0072811977006495 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 927.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11914.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13286.0, "then": { + "operation": "boost", + "score": 0.020804692059755325 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9289.5, + "threshold": 13235.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9417.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.05151088908314705 - }, - "else": { - "operation": "boost", - "score": -0.17938470840454102 - } + "operation": "boost", + "score": 0.010692157782614231 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17777.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.19908814132213593 - }, - "else": { - "operation": "boost", - "score": 0.11431065946817398 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16033.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16345.0, - "then": { - "operation": "boost", - "score": 0.043456535786390305 - }, - "else": { - "operation": "boost", - "score": -0.3565499186515808 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14993.5, - "then": { - "operation": "boost", - "score": 0.11144335567951202 - }, - "else": { - "operation": "boost", - "score": 0.06774090230464935 - } - } - } + "operation": "boost", + "score": 0.11722541600465775 } }, "else": { "operation": "boost", - "score": 0.10321129113435745 + "score": 0.8039295673370361 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1261.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1286.5, + "threshold": 12735.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1627.0, + "threshold": 13130.5, "then": { - "operation": "boost", - "score": 0.0014818500494584441 + "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 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1542.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1570.0, - "then": { - "operation": "boost", - "score": 0.08239101618528366 - }, - "else": { - "operation": "boost", - "score": 0.10838575661182404 - } + "operation": "boost", + "score": 0.08220920711755753 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1089232936501503 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.08981071412563324 - }, - "else": { - "operation": "boost", - "score": -0.18910373747348785 - } - } + "operation": "boost", + "score": 0.1052161231637001 } } }, "else": { "operation": "boost", - "score": 0.0965418890118599 + "score": -0.11932701617479324 } }, "else": { "operation": "boost", - "score": -0.08285219222307205 + "score": 0.07789953798055649 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10587.5, - "then": { - "operation": "boost", - "score": -0.14738062024116516 - }, - "else": { - "operation": "boost", - "score": 0.001760612241923809 - } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 897.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.11378692090511322 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": -0.2507333755493164 + "score": 0.03267310932278633 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.10919100046157837 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 831.0, + "threshold": 213.5, "then": { - "operation": "boost", - "score": -0.30674269795417786 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 788.5, + "threshold": 476.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.051420584321022034 - }, - "else": { - "operation": "boost", - "score": 0.09303037077188492 - } + "operation": "boost", + "score": 0.07637438178062439 }, "else": { "operation": "boost", - "score": -0.06287914514541626 + "score": 0.13436463475227356 } + }, + "else": { + "operation": "boost", + "score": -0.19365918636322021 } + }, + "else": { + "operation": "boost", + "score": -0.21114756166934967 } } + }, + "else": { + "operation": "boost", + "score": -0.012666957452893257 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 996.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 188.0, "then": { + "operation": "boost", + "score": -0.30568575859069824 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2998.5, + "threshold": 105.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 132.0, "then": { "operation": "boost", - "score": -0.3266911506652832 + "score": 0.11834187060594559 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3399.0, - "then": { - "operation": "boost", - "score": 0.07701950520277023 - }, - "else": { - "operation": "boost", - "score": -0.21159955859184265 - } + "operation": "boost", + "score": 0.12977434694766998 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2945.5, + "threshold": 71.0, "then": { "operation": "boost", - "score": 0.10718906670808792 + "score": -0.273497998714447 }, "else": { "operation": "boost", - "score": 0.03318905457854271 + "score": 0.15517650544643402 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1003.0, - "then": { - "operation": "boost", - "score": 0.010311870835721493 - }, - "else": { - "operation": "boost", - "score": 0.14213763177394867 - } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 174.5, "then": { - "operation": "boost", - "score": -0.12867672741413116 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 181.5, "then": { "operation": "boost", - "score": 0.12497935444116592 + "score": 0.13102905452251434 }, "else": { "operation": "boost", - "score": 0.10925191640853882 + "score": 0.17366145551204681 } + }, + "else": { + "operation": "boost", + "score": -0.04966044798493385 } } }, "else": { "operation": "boost", - "score": -0.03450978547334671 + "score": -0.016552133485674858 + } + } + }, + "else": { + "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.09119603782892227 + }, + "else": { + "operation": "boost", + "score": 0.06571311503648758 } + }, + "else": { + "operation": "boost", + "score": -0.36607253551483154 } } }, + "else": { + "operation": "boost", + "score": 0.0010508231353014708 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.020403288304805756 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 717.5, + "threshold": 749331.5, "then": { "operation": "boost", - "score": 0.09498853236436844 + "score": 0.0057678367011249065 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 705.5, + "threshold": 432212.0, "then": { - "operation": "boost", - "score": -0.39091646671295166 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 679.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 693.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 696.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10678716003894806 + "score": 0.06354673206806183 }, "else": { - "operation": "boost", - "score": -0.1318546086549759 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.08925972133874893 + }, + "else": { + "operation": "boost", + "score": 0.10181920230388641 + } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10433074086904526 + "score": 0.06601214408874512 }, "else": { "operation": "boost", - "score": 0.05254948139190674 + "score": -0.15870875120162964 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04746823012828827 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.06691091507673264 + }, + "else": { + "operation": "boost", + "score": -0.17183853685855865 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350855.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.11441490799188614 + "score": 0.10150964558124542 }, "else": { "operation": "boost", - "score": -0.22848299145698547 + "score": 0.038358256220817566 } + }, + "else": { + "operation": "boost", + "score": -0.027318241074681282 } } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.15191465616226196 - }, - "else": { - "operation": "boost", - "score": -0.13904732465744019 - } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor" + "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": "NumReferences", - "threshold": 627.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.02082883007824421 + "score": 0.01557349693030119 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.14068438112735748 - }, - "else": { - "operation": "boost", - "score": 0.520637571811676 - } + "operation": "boost", + "score": -0.08667731285095215 } }, "else": { - "operation": "boost", - "score": -0.10539531707763672 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3206.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 64.0, "then": { - "operation": "boost", - "score": 0.018330520018935204 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1690.0, "then": { - "operation": "boost", - "score": -0.0038000179920345545 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6955.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7543.0, + "threshold": 2165.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27312.5, - "then": { - "operation": "boost", - "score": 0.11119510978460312 - }, - "else": { - "operation": "boost", - "score": -0.05811035633087158 - } - }, - "else": { - "operation": "boost", - "score": 0.1182369664311409 - } - }, - "else": { - "operation": "boost", - "score": 0.041024643927812576 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1054.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12448930740356445 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 350855.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0441000759601593 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.054575107991695404 + }, + "else": { + "operation": "boost", + "score": 0.10222864896059036 + } }, "else": { - "operation": "boost", - "score": 0.1076708436012268 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.11760672926902771 + }, + "else": { + "operation": "boost", + "score": 0.0034943840000778437 + } + }, + "else": { + "operation": "boost", + "score": -0.19201722741127014 + } } }, "else": { "operation": "boost", - "score": 0.03075428493320942 + "score": 0.018279774114489555 } }, - "else": { - "operation": "boost", - "score": -0.004134144634008408 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1013.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1032.0, - "then": { - "operation": "boost", - "score": 0.07532287389039993 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1029.0, + "threshold": 1978.0, "then": { "operation": "boost", - "score": 0.4200612008571625 + "score": 0.09601341933012009 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13879632949829102 - }, - "else": { - "operation": "boost", - "score": 0.39958497881889343 - } + "operation": "boost", + "score": 0.050108570605516434 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.03991551697254181 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 651.0, + "threshold": 29630.5, "then": { + "operation": "boost", + "score": 0.10789406299591064 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 823.5, + "threshold": 5905.5, "then": { + "operation": "boost", + "score": -0.3142884075641632 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 829.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 851.5, + "threshold": 3232.5, "then": { "operation": "boost", - "score": -0.0032097199000418186 + "score": 0.13977959752082825 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.1539064347743988 - }, - "else": { - "operation": "boost", - "score": 0.1310826987028122 - } + "operation": "boost", + "score": -0.6920813322067261 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 12.0, "then": { "operation": "boost", - "score": 0.14441968500614166 + "score": 0.10859410464763641 }, "else": { "operation": "boost", - "score": -0.1320863664150238 + "score": 0.08031724393367767 } } - }, - "else": { - "operation": "boost", - "score": -0.05607759952545166 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.06483691930770874 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 628.5, - "then": { - "operation": "boost", - "score": 0.12095785140991211 - }, - "else": { - "operation": "boost", - "score": 0.018825875595211983 - } + "operation": "boost", + "score": -0.04726943373680115 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 923.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 880.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 889.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.01317013893276453 - }, - "else": { - "operation": "boost", - "score": 0.11847424507141113 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 960.5, - "then": { - "operation": "boost", - "score": 0.01996275782585144 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 948.5, - "then": { - "operation": "boost", - "score": 0.18938380479812622 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.01681879721581936 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 911.5, - "then": { - "operation": "boost", - "score": 0.1099824458360672 - }, - "else": { - "operation": "boost", - "score": 0.1638055294752121 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0790582075715065 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1166568398475647 - } - }, - "else": { - "operation": "boost", - "score": 0.018542587757110596 - } + "operation": "boost", + "score": -0.30949169397354126 }, "else": { "operation": "boost", - "score": 0.012934107333421707 + "score": 0.03278085216879845 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 676.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.04369047284126282 + "score": 0.01595480367541313 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.10031609237194061 - }, - "else": { - "operation": "boost", - "score": 0.3600924611091614 - } - }, - "else": { - "operation": "boost", - "score": 0.130108043551445 - } + "operation": "boost", + "score": -0.15754912793636322 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 623.5, + "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.08030272275209427 + "score": -0.2774731516838074 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.021676549687981606 - }, - "else": { - "operation": "boost", - "score": 0.11282040178775787 - } + "operation": "boost", + "score": -0.7251617312431335 } } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.021006686612963676 - }, - "else": { - "operation": "boost", - "score": -0.39813172817230225 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005005727522075176 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0371541827917099 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.1263035088777542 - }, - "else": { - "operation": "boost", - "score": 0.053995341062545776 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4531.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11339.0, - "then": { - "operation": "boost", - "score": 0.001609715516678989 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11253.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12966518104076385 - }, - "else": { - "operation": "boost", - "score": 0.11930932104587555 - } - }, - "else": { - "operation": "boost", - "score": 0.12097690999507904 - } - }, - "else": { - "operation": "boost", - "score": -0.42761391401290894 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.1059887483716011 - }, - "else": { - "operation": "boost", - "score": -0.20006485283374786 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.044181857258081436 }, "else": { - "operation": "boost", - "score": -0.029781082645058632 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4539.5, + "threshold": 119.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11111.0, + "threshold": 121.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11169.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.0813358947634697 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 143.5, + "then": { + "operation": "boost", + "score": 0.20592327415943146 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08982017636299133 + }, + "else": { + "operation": "boost", + "score": 0.1012154147028923 + } + } }, "else": { "operation": "boost", - "score": 0.11453336477279663 + "score": 0.04548928514122963 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0007334726979024708 - }, - "else": { - "operation": "boost", - "score": 0.04774154722690582 - } + "operation": "boost", + "score": 0.10092336684465408 } }, "else": { "operation": "boost", - "score": 0.1416889727115631 + "score": 0.013703142292797565 } - }, - "else": { - "operation": "boost", - "score": 0.031128542497754097 } } + }, + "else": { + "operation": "boost", + "score": 0.09482893347740173 } + }, + "else": { + "operation": "boost", + "score": -0.06839060038328171 } - }, - "else": { - "operation": "boost", - "score": -0.0013702245196327567 } - } - }, - "else": { - "operation": "boost", - "score": -0.001783633604645729 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0003477262507658452 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18885.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006111781578511 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 94.5, "then": { - "operation": "boost", - "score": -0.04354768991470337 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97230.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 316302.0, + "threshold": 320.0, "then": { - "operation": "boost", - "score": -0.20771260559558868 + "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.09898403286933899 + "score": -0.20658378303050995 } }, "else": { - "operation": "boost", - "score": -0.132688507437706 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286988.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.14191369712352753 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.10306351631879807 + "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": 104520.5, + "threshold": 163.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 562.5, "then": { "operation": "boost", - "score": 0.07866882532835007 + "score": 0.108636274933815 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123460.5, - "then": { - "operation": "boost", - "score": 0.10309576988220215 - }, - "else": { - "operation": "boost", - "score": 0.07227473706007004 - } + "operation": "boost", + "score": -0.12365040928125381 } }, "else": { "operation": "boost", - "score": 0.06044474616646767 + "score": 0.10757913440465927 } } - } - }, - "else": { - "operation": "boost", - "score": -0.13867539167404175 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.09983699023723602 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 144.5, "then": { "operation": "boost", - "score": -0.21196196973323822 + "score": -0.05437741428613663 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 124.5, "then": { "operation": "boost", - "score": 0.08982517570257187 + "score": 0.10593632608652115 }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.6214940547943115 + "score": -0.17352396249771118 }, "else": { "operation": "boost", - "score": 0.17925730347633362 + "score": 0.2597881257534027 } } }, "else": { "operation": "boost", - "score": -0.004533450584858656 + "score": -0.19798709452152252 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.01177334412932396 - }, - "else": { - "operation": "boost", - "score": -0.2584432363510132 - } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83759.0, - "then": { - "operation": "boost", - "score": -0.11221979558467865 - }, - "else": { - "operation": "boost", - "score": 0.10626690834760666 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "boost", - "score": 0.000983310746960342 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20811.0, + "threshold": 80.0, "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.28326138854026794 + }, + "else": { + "operation": "boost", + "score": 0.1053261086344719 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11108193546533585 + }, + "else": { + "operation": "boost", + "score": 0.3387133777141571 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21689.0, + "threshold": 62.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11699428409337997 - }, - "else": { - "operation": "boost", - "score": 0.04217274859547615 - } - }, - "else": { - "operation": "boost", - "score": -0.003778905374929309 - } + "operation": "boost", + "score": -0.0062139201909303665 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10709362477064133 - }, - "else": { - "operation": "boost", - "score": 0.05634865537285805 - } + "operation": "boost", + "score": 0.10381554067134857 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28247.0, + "feature": "FilterLength", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69581.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.04305693507194519 - }, - "else": { - "operation": "boost", - "score": 0.10381820052862167 - } - }, - "else": { - "operation": "boost", - "score": -0.27838847041130066 - } - }, - "else": { - "operation": "boost", - "score": 0.03908480703830719 - } + "operation": "boost", + "score": 0.1160583645105362 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27163.5, - "then": { - "operation": "boost", - "score": 0.10558795928955078 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24007.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26347.0, - "then": { - "operation": "boost", - "score": 0.10513781756162643 - }, - "else": { - "operation": "boost", - "score": -0.3901844322681427 - } - }, - "else": { - "operation": "boost", - "score": 0.11744600534439087 - } - }, - "else": { - "operation": "boost", - "score": 0.021628009155392647 - } - } + "operation": "boost", + "score": -0.08277030289173126 } } }, "else": { - "operation": "boost", - "score": 0.10479921102523804 + "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": "boost", - "score": -0.16235460340976715 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.011110691353678703 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "NumReferences", + "threshold": 97.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "boost", + "score": -0.11986604332923889 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": -0.04990212246775627 + "score": 0.09971196949481964 }, "else": { - "operation": "boost", - "score": 0.08504924178123474 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.0, + "then": { + "operation": "boost", + "score": -0.19149574637413025 + }, + "else": { + "operation": "boost", + "score": 0.1331404447555542 + } } - }, - "else": { - "operation": "boost", - "score": -0.21279188990592957 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 110.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.07034572213888168 + "score": -0.01479509100317955 }, "else": { - "operation": "boost", - "score": 0.10294564068317413 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 194.5, + "then": { + "operation": "boost", + "score": 0.005216841120272875 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 153.0, + "then": { + "operation": "boost", + "score": 0.11177805066108704 + }, + "else": { + "operation": "boost", + "score": 0.030193991959095 + } + } } }, "else": { - "operation": "boost", - "score": -0.6656209826469421 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "boost", + "score": -0.31386277079582214 + }, + "else": { + "operation": "boost", + "score": 0.05918824300169945 + } } }, "else": { "operation": "boost", - "score": 0.10979083925485611 + "score": -0.21687090396881104 } } - }, - "else": { - "operation": "boost", - "score": -0.08097562938928604 } }, "else": { - "operation": "boost", - "score": 0.0756886899471283 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "NumReferences", + "threshold": 85.5, "then": { - "operation": "boost", - "score": -0.31908369064331055 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, "then": { "operation": "boost", - "score": 0.11942605674266815 + "score": 0.018443288281559944 }, "else": { - "operation": "boost", - "score": -0.10102300345897675 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13631659746170044 + }, + "else": { + "operation": "boost", + "score": -0.15710371732711792 + } } + }, + "else": { + "operation": "boost", + "score": -0.02680337429046631 } - }, - "else": { - "operation": "boost", - "score": -2.5003294944763184 } } }, "else": { "operation": "boost", - "score": 0.05642668902873993 + "score": 0.0014763042563572526 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15309.5, + "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": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.02353634685277939 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10458208620548248 + "score": 0.0008349312702193856 }, "else": { - "operation": "boost", - "score": 0.10688181966543198 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.09844845533370972 + }, + "else": { + "operation": "boost", + "score": 0.03159825876355171 + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 375849.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Symbol" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.0004621115804184228 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.0649876669049263 + }, + "else": { + "operation": "boost", + "score": 0.09310455620288849 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.13215315341949463 + "score": -0.28543782234191895 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17290.0, - "then": { - "operation": "boost", - "score": 0.10192275047302246 - }, - "else": { - "operation": "boost", - "score": 0.02612350881099701 - } + "operation": "boost", + "score": 0.09057794511318207 } } }, "else": { "operation": "boost", - "score": -0.056607455015182495 + "score": 0.08911927789449692 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.0026577410753816366 + } + }, + "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": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.13304179906845093 + "score": -0.6168844699859619 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17327.0, - "then": { - "operation": "boost", - "score": -0.11040933430194855 - }, - "else": { - "operation": "boost", - "score": 0.7032060623168945 - } + "operation": "boost", + "score": 0.11071616411209106 }, "else": { "operation": "boost", - "score": 0.13180741667747498 + "score": 0.21887102723121643 } }, "else": { "operation": "boost", - "score": 0.042036473751068115 + "score": 0.011933735571801662 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16587.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.12781737744808197 + "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": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.4059918224811554 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01595795527100563 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018051689490675926 + }, + "else": { + "operation": "boost", + "score": 0.10760246217250824 + } + } }, "else": { "operation": "boost", - "score": -1.0627644062042236 + "score": 0.01935068890452385 } } } + }, + "else": { + "operation": "boost", + "score": -0.06384909152984619 } } - }, - "else": { - "operation": "boost", - "score": 0.007660115137696266 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.08413953334093094 - }, - "else": { - "operation": "boost", - "score": 0.09715192764997482 - } - }, - "else": { - "operation": "boost", - "score": -0.04230412095785141 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.11761854588985443 }, "else": { - "operation": "boost", - "score": -0.36794278025627136 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12855.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13874.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.009741608053445816 + "score": 0.0036925182212144136 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5787920951843262 - }, - "else": { - "operation": "boost", - "score": 0.39583340287208557 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13650.5, - "then": { - "operation": "boost", - "score": 0.6423152685165405 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13202.5, - "then": { - "operation": "boost", - "score": 0.13802455365657806 - }, - "else": { - "operation": "boost", - "score": -0.10024309903383255 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11066649109125137 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10238831490278244 + "score": 0.007939757779240608 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13431.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13517.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13744.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10250403732061386 + "score": 0.10446176677942276 }, "else": { "operation": "boost", - "score": 0.11767355352640152 + "score": 0.17019899189472198 } }, "else": { "operation": "boost", - "score": -0.12318062782287598 + "score": 0.05886504799127579 } }, "else": { "operation": "boost", - "score": 0.016482645645737648 + "score": 0.014889082871377468 } }, "else": { "operation": "boost", - "score": 0.2184523344039917 + "score": -0.03813396021723747 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10531942546367645 + "score": 0.04740780591964722 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.4318230152130127 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16154596209526062 + }, + "else": { + "operation": "boost", + "score": 0.13539353013038635 + } }, "else": { - "operation": "boost", - "score": 0.10127828270196915 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.11093797534704208 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12888680398464203 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.24932228028774261 + }, + "else": { + "operation": "boost", + "score": 0.13226456940174103 + } + } + } } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12924.0, - "then": { - "operation": "boost", - "score": -0.11671796441078186 - }, - "else": { - "operation": "boost", - "score": 0.1046600192785263 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13693.5, - "then": { - "operation": "boost", - "score": 0.11650217324495316 - }, - "else": { - "operation": "boost", - "score": -0.18159119784832 - } - }, - "else": { - "operation": "boost", - "score": 0.15942507982254028 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.1653641015291214 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13627.5, - "then": { - "operation": "boost", - "score": 0.12523484230041504 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13507.5, - "then": { - "operation": "boost", - "score": 0.11228547990322113 - }, - "else": { - "operation": "boost", - "score": 0.3138628900051117 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15173.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0732353925704956 - }, - "else": { - "operation": "boost", - "score": 0.10655499249696732 - } - }, - "else": { - "operation": "boost", - "score": 0.02114608883857727 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.000489535101223737 - }, - "else": { - "operation": "boost", - "score": -0.2722321152687073 - } - }, - "else": { - "operation": "boost", - "score": 0.013072964735329151 - } - }, - "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": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13650.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.0056409891694784164 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13627.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10615984350442886 + "score": -0.03846360370516777 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": -0.1565161943435669 + "score": 0.08829008042812347 }, "else": { "operation": "boost", - "score": 0.20311953127384186 + "score": -0.14611020684242249 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.14385314285755157 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12997.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.057894494384527206 + "score": -0.18595321476459503 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.12759210169315338 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.2911923825740814 + "score": -0.10029661655426025 }, "else": { "operation": "boost", - "score": 0.11660943925380707 + "score": 0.12043821066617966 } - }, - "else": { - "operation": "boost", - "score": 0.10870816558599472 } } }, "else": { - "operation": "boost", - "score": 0.041781291365623474 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.21864619851112366 + }, + "else": { + "operation": "boost", + "score": 0.08825137466192245 + } } + }, + "else": { + "operation": "boost", + "score": -0.0425318107008934 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10244596749544144 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.2672272026538849 - }, - "else": { - "operation": "boost", - "score": 0.1336187869310379 - } + "operation": "boost", + "score": -0.0017417800845578313 }, "else": { "operation": "boost", - "score": -0.04633975401520729 + "score": 0.06646394729614258 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.13575465977191925 - }, - "else": { - "operation": "boost", - "score": -0.10144763439893723 - } + "operation": "boost", + "score": -0.037028249353170395 }, "else": { "operation": "boost", - "score": -0.250220388174057 + "score": -0.09951991587877274 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.25965380668640137 - }, - "else": { - "operation": "boost", - "score": -0.002451422857120633 - } + "operation": "boost", + "score": 0.011600990779697895 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.15145204961299896 - }, - "else": { - "operation": "boost", - "score": -0.21607103943824768 - } + "operation": "boost", + "score": -0.01601114124059677 } - }, - "else": { - "operation": "boost", - "score": -0.009746319614350796 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12770.0, - "then": { - "operation": "boost", - "score": -0.12579433619976044 - }, - "else": { - "operation": "boost", - "score": -0.00019530444114934653 - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 693.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44857.5, - "then": { - "operation": "boost", - "score": 0.0804656594991684 - }, - "else": { - "operation": "boost", - "score": 0.09078691899776459 - } - }, - "else": { - "operation": "boost", - "score": 0.01175166666507721 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 685.0, - "then": { - "operation": "boost", - "score": 0.10311365127563477 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 638.0, - "then": { - "operation": "boost", - "score": 0.1132136657834053 - }, - "else": { - "operation": "boost", - "score": 0.13445411622524261 } }, "else": { - "operation": "boost", - "score": -0.03796238452196121 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.03638578578829765 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.13796831667423248 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1631263941526413 + "score": -0.06361626833677292 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3300.5, + "operation": "boost", + "score": -0.3718186616897583 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Other" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.016243116930127144 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { + "operation": "boost", + "score": -0.012289895676076412 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3370.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3451.0, - "then": { - "operation": "boost", - "score": 0.023703673854470253 - }, - "else": { - "operation": "boost", - "score": 0.13762837648391724 - } + "operation": "boost", + "score": -0.0028690476901829243 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68046.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.021085303276777267 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64123.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11555023491382599 + "score": 0.032565437257289886 }, "else": { "operation": "boost", - "score": -0.3464064300060272 + "score": 0.09579051285982132 } }, + "else": { + "operation": "boost", + "score": -0.22054894268512726 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.02927916683256626 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11811.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13290.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23859.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, - "then": { - "operation": "boost", - "score": 0.005126201082020998 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10457859188318253 - }, - "else": { - "operation": "boost", - "score": -0.028667202219367027 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0721609815955162 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.031161393970251083 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11798799782991409 - }, - "else": { - "operation": "boost", - "score": 0.12630484998226166 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9216.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.06705345213413239 - }, - "else": { - "operation": "boost", - "score": -0.18630695343017578 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7760.0, - "then": { - "operation": "boost", - "score": 0.09830929338932037 - }, - "else": { - "operation": "boost", - "score": 0.005357003770768642 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3618.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.13616977632045746 - }, - "else": { - "operation": "boost", - "score": 0.023030607029795647 - } - }, - "else": { - "operation": "boost", - "score": -0.35495465993881226 - } - } - } - } + "operation": "boost", + "score": -0.07396718114614487 }, "else": { "operation": "boost", - "score": -0.0007583897677250206 + "score": 0.09772950410842896 } } } @@ -297153,11151 +284951,9659 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.049398425966501236 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.15638890862464905 + "score": -0.13013607263565063 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.19596567749977112 + "score": -0.11834114789962769 }, "else": { "operation": "boost", - "score": 0.6866133809089661 + "score": 0.06733831763267517 } }, "else": { "operation": "boost", - "score": -0.10739385336637497 + "score": 0.03216751664876938 } } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.02067176252603531 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10690542310476303 + }, + "else": { + "operation": "boost", + "score": 0.045768097043037415 + } }, "else": { "operation": "boost", - "score": -0.12142852693796158 + "score": 0.03300366550683975 } } }, "else": { + "operation": "boost", + "score": -0.04585503041744232 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48488.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.0006019832217134535 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20296.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { + "operation": "boost", + "score": -0.14984093606472015 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24924.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.018896428868174553 + "score": 0.08834864944219589 }, "else": { "operation": "boost", - "score": 0.16361559927463531 + "score": 0.09556233137845993 } }, "else": { "operation": "boost", - "score": 0.040880654007196426 + "score": -0.023091496899724007 } - }, - "else": { - "operation": "boost", - "score": 0.10901815444231033 } }, "else": { "operation": "boost", - "score": 0.03774653747677803 + "score": -0.04135599359869957 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.06547042727470398 + "score": -0.15926794707775116 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2196.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.13251037895679474 + "score": 0.018250806257128716 }, "else": { "operation": "boost", - "score": 0.1129031553864479 + "score": -0.671301007270813 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1883.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08492909371852875 + "score": -0.020119424909353256 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1558.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.9543269872665405 + }, + "else": { + "operation": "boost", + "score": -0.052907269448041916 + } + }, + "else": { "operation": "boost", - "score": 0.13727723062038422 + "score": -1.3377625942230225 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.16410866379737854 + }, + "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": "NumReferences", - "threshold": 656.5, + "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.39055219292640686 + "score": 0.10966924577951431 }, "else": { "operation": "boost", - "score": 0.5813815593719482 + "score": -0.07995171844959259 } + }, + "else": { + "operation": "boost", + "score": 0.0416053831577301 } + }, + "else": { + "operation": "boost", + "score": -0.1826210469007492 } } } }, "else": { - "operation": "boost", - "score": 0.03444124385714531 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.039736926555633545 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": -0.022060833871364594 + } + } } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0012410692870616913 + }, + "else": { + "operation": "boost", + "score": -0.026271454989910126 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.014712007716298103 + }, + "else": { + "operation": "boost", + "score": -0.044457800686359406 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.10749462246894836 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02515452541410923 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74561.0, + "then": { + "operation": "boost", + "score": 0.02099578268826008 }, "else": { "operation": "boost", - "score": -0.0008463745471090078 + "score": 0.07339314371347427 } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10158223658800125 + }, + "else": { + "operation": "boost", + "score": 0.11538608372211456 + } } }, "else": { + "operation": "boost", + "score": -0.017429599538445473 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.3783389627933502 + }, + "else": { + "operation": "boost", + "score": 0.08048123866319656 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.015567269176244736 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006973198149353266 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.006657186429947615 + }, + "else": { + "operation": "boost", + "score": 0.10220754891633987 + } + } + } + } + } + }, + "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 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2459.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": 3550.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 320998.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10637218505144119 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1236.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4465.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4714.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "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": 86164.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "boost", - "score": 0.020642466843128204 - }, - "else": { - "operation": "boost", - "score": 0.11745120584964752 - } - }, - "else": { - "operation": "boost", - "score": 0.01103226374834776 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.36941832304000854 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11918.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62576.5, - "then": { - "operation": "boost", - "score": 0.08648887276649475 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.10333691537380219 - }, - "else": { - "operation": "boost", - "score": 0.09233465790748596 - } - } - }, - "else": { - "operation": "boost", - "score": -0.015283636748790741 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.043655041605234146 - } - }, - "else": { - "operation": "boost", - "score": -0.028879983350634575 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 14761.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.0005558482371270657 + "score": 0.10014621168375015 }, "else": { "operation": "boost", - "score": 0.10590056329965591 + "score": 0.07745000720024109 } }, "else": { "operation": "boost", - "score": -0.23016665875911713 + "score": -0.10855929553508759 } + }, + "else": { + "operation": "boost", + "score": -0.1486285775899887 } }, "else": { - "operation": "boost", - "score": -0.10555006563663483 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1217.0, - "then": { - "operation": "boost", - "score": 0.14699284732341766 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 986.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1004.0, + "threshold": 37076.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1103.5, - "then": { - "operation": "boost", - "score": -0.1403723806142807 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1023.5, - "then": { - "operation": "boost", - "score": 0.11739394813776016 - }, - "else": { - "operation": "boost", - "score": 0.05290977656841278 - } - }, - "else": { - "operation": "boost", - "score": -0.12492111325263977 - } - } + "operation": "boost", + "score": 0.04154248163104057 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.5405922532081604 - }, - "else": { - "operation": "boost", - "score": 0.1241379827260971 - } - }, - "else": { - "operation": "boost", - "score": -1.2481039762496948 - } + "operation": "boost", + "score": 0.10890340059995651 } }, "else": { "operation": "boost", - "score": -0.046999815851449966 + "score": 0.045621804893016815 } } + }, + "else": { + "operation": "boost", + "score": -0.41158854961395264 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6152.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" + ], + "then": { + "operation": "boost", + "score": 0.0642022117972374 }, "else": { "operation": "boost", - "score": 0.006935701705515385 + "score": -0.04909931868314743 } + }, + "else": { + "operation": "boost", + "score": 0.11243002861738205 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7846.5, + "threshold": 16660.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_ParenthesizedExpression" ], "then": { + "operation": "boost", + "score": 0.04690919071435928 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 69539.5, "then": { + "operation": "boost", + "score": 0.0412602424621582 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23436.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.007995772175490856 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27076.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.504261314868927 + "score": -0.8623164296150208 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43231.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08482874929904938 - }, - "else": { - "operation": "boost", - "score": 0.07270018011331558 - } - }, - "else": { - "operation": "boost", - "score": -0.17142724990844727 - } + "operation": "boost", + "score": 0.04417629539966583 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.0 + "score": -0.00835697166621685 }, "else": { "operation": "boost", - "score": 0.11190975457429886 + "score": -0.21973657608032227 } } - }, - "else": { - "operation": "boost", - "score": -0.14712513983249664 } + } + } + }, + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10949239134788513 - }, - "else": { - "operation": "boost", - "score": -0.32922399044036865 - } + "operation": "boost", + "score": -0.2741762697696686 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27933.5, + "threshold": 13172.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30241.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191566.0, - "then": { - "operation": "boost", - "score": 0.10605397820472717 - }, - "else": { - "operation": "boost", - "score": -0.0966540277004242 - } - }, - "else": { - "operation": "boost", - "score": 0.10994954407215118 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15888.5, - "then": { - "operation": "boost", - "score": -0.31831660866737366 - }, - "else": { - "operation": "boost", - "score": 0.055737245827913284 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61054.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06237371265888214 - }, - "else": { - "operation": "boost", - "score": -0.22507254779338837 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "threshold": 14599.5, "then": { - "operation": "boost", - "score": -0.1691301017999649 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27933.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28960.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": -0.025570955127477646 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15569.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47073.5, - "then": { - "operation": "boost", - "score": 0.21428325772285461 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10971761494874954 - }, - "else": { - "operation": "boost", - "score": -0.27705082297325134 - } - } + "operation": "boost", + "score": 0.11969128251075745 }, "else": { "operation": "boost", - "score": 0.02716420404613018 + "score": 0.0773523598909378 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.039194460958242416 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.10014639049768448 + "score": 0.028373733162879944 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.16428697109222412 - }, - "else": { - "operation": "boost", - "score": 0.18472571671009064 - } + "operation": "boost", + "score": 0.08950023353099823 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14441.5, + "then": { + "operation": "boost", + "score": 0.111517995595932 }, "else": { "operation": "boost", - "score": 0.012724652886390686 + "score": 0.10256063938140869 } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7477.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7768.5, + "threshold": 9090.0, "then": { "operation": "boost", - "score": 0.26647794246673584 + "score": -0.06361326575279236 }, "else": { - "operation": "boost", - "score": 0.158301442861557 - } - }, - "else": { - "operation": "boost", - "score": -0.04658259078860283 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.10630360245704651 - }, - "else": { - "operation": "boost", - "score": 0.12832334637641907 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5280.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5914.0, + "threshold": 7105.0, "then": { - "operation": "boost", - "score": 0.014643138274550438 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.1536090224981308 + "score": -0.02781509980559349 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5424.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.09751969575881958 + "score": 0.12344542890787125 }, "else": { "operation": "boost", - "score": -0.17617292702198029 + "score": 0.07534017413854599 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.01913699321448803 + }, + "else": { + "operation": "boost", + "score": 0.10662314295768738 + } } - }, - "else": { - "operation": "boost", - "score": -0.001589710358530283 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.06716786324977875 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.11417233198881149 + "score": 0.10187544673681259 }, "else": { "operation": "boost", - "score": -0.19299176335334778 + "score": 0.02882930263876915 } } - }, - "else": { - "operation": "boost", - "score": 0.16605070233345032 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3748.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.1005455031991005 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3229.0, + "threshold": 32270.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3251.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.015450295060873032 + }, + "else": { + "operation": "boost", + "score": 0.07982542365789413 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3027057349681854 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24366.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3467.5, + "threshold": 24604.5, "then": { "operation": "boost", - "score": 0.12697595357894897 + "score": -0.058898571878671646 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.2060800939798355 + "score": -1.244766354560852 }, "else": { "operation": "boost", - "score": 0.2543462812900543 + "score": -0.21156924962997437 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.26142701506614685 - }, - "else": { - "operation": "boost", - "score": -0.3111126720905304 - } + "operation": "boost", + "score": 0.005417082458734512 } - }, - "else": { - "operation": "boost", - "score": 0.10451114922761917 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.09941917657852173 }, "else": { "operation": "boost", - "score": 0.008899607695639133 + "score": 0.01690451055765152 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10095804184675217 - }, - "else": { - "operation": "boost", - "score": -0.11649879813194275 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0012407931499183178 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 604.5, - "then": { - "operation": "boost", - "score": -0.0908607468008995 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 603.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.09549389034509659 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.12819209694862366 - }, - "else": { - "operation": "boost", - "score": 0.035887837409973145 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00032594986259937286 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 637.5, - "then": { - "operation": "boost", - "score": 0.011784769594669342 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1497410088777542 - }, - "else": { - "operation": "boost", - "score": -0.08295717090368271 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.11474210023880005 - }, - "else": { - "operation": "boost", - "score": -0.033793941140174866 - } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 5126.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7036.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3648.0, + "threshold": 7497.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3680.5, + "threshold": 8844.0, "then": { "operation": "boost", - "score": 0.016938870772719383 + "score": 0.006660331040620804 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06387672573328018 - }, - "else": { - "operation": "boost", - "score": 0.12101638317108154 - } - } - }, - "else": { - "operation": "boost", - "score": 0.011872031725943089 - } - }, - "else": { - "operation": "boost", - "score": 0.004317285493016243 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7768.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23436.5, + "threshold": 8573.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110939.5, + "threshold": 8751.0, "then": { "operation": "boost", - "score": -0.467532753944397 + "score": 0.14348922669887543 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27076.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43231.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07198452204465866 - }, - "else": { - "operation": "boost", - "score": 0.06417325884103775 - } - }, - "else": { - "operation": "boost", - "score": -0.153829887509346 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.10401808470487595 - } - } + "operation": "boost", + "score": 0.11003460735082626 } }, "else": { "operation": "boost", - "score": -0.11124777793884277 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.1082453653216362 - }, - "else": { - "operation": "boost", - "score": -0.20330052077770233 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02825441211462021 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7477.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { - "operation": "boost", - "score": 0.14165635406970978 - }, - "else": { - "operation": "boost", - "score": -0.04282267019152641 + "score": 0.07088711112737656 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.08885057270526886 - }, - "else": { - "operation": "boost", - "score": 0.12419393658638 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5280.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5914.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.008225570432841778 + "score": 0.09314531832933426 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11209030449390411 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5424.0, - "then": { - "operation": "boost", - "score": 0.08840758353471756 - }, - "else": { - "operation": "boost", - "score": -0.09763681143522263 - } - } + "operation": "boost", + "score": 0.11228463053703308 } }, "else": { "operation": "boost", - "score": -0.0012459064600989223 + "score": 0.030611377209424973 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.2681189179420471 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.27782392501831055 + }, + "else": { + "operation": "boost", + "score": 0.13132824003696442 + } + }, + "else": { + "operation": "boost", + "score": -0.10727773606777191 + } }, "else": { "operation": "boost", - "score": 0.09690286964178085 + "score": -0.016996344551444054 } } - }, - "else": { - "operation": "boost", - "score": 0.15176993608474731 } } + }, + "else": { + "operation": "boost", + "score": -0.12094520777463913 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3602.5, + "threshold": 6977.0, "then": { "operation": "boost", - "score": -0.07571635395288467 + "score": 0.11713580042123795 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3229.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3251.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0481601245701313 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.15630818903446198 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3488.5, - "then": { - "operation": "boost", - "score": 1.4069474935531616 - }, - "else": { - "operation": "boost", - "score": 1.364476203918457 - } - } - }, - "else": { - "operation": "boost", - "score": 0.012074822559952736 - } - } + "operation": "boost", + "score": 0.04073944687843323 }, "else": { "operation": "boost", - "score": 0.10387604683637619 + "score": -0.13351579010486603 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 791.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1985.5, + "threshold": 6683.5, "then": { + "operation": "boost", + "score": 0.008490953594446182 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1999.5, + "threshold": 6644.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "boost", + "score": 0.11091358214616776 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2053.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03784060478210449 + "score": -0.052159152925014496 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2047.5, - "then": { - "operation": "boost", - "score": 0.6929004788398743 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.23367351293563843 - }, - "else": { - "operation": "boost", - "score": -0.044363461434841156 - } - } + "operation": "boost", + "score": 0.14743511378765106 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2505.0, - "then": { - "operation": "boost", - "score": 0.1251000463962555 - }, - "else": { - "operation": "boost", - "score": -0.23357343673706055 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2113.0, - "then": { - "operation": "boost", - "score": 0.013659428805112839 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2077.5, - "then": { - "operation": "boost", - "score": 0.09355591982603073 - }, - "else": { - "operation": "boost", - "score": 0.02082967944443226 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10044881701469421 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.012241951189935207 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1019.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1776.0, - "then": { - "operation": "boost", - "score": 0.08890590816736221 - }, - "else": { - "operation": "boost", - "score": -0.09461337327957153 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 971.5, - "then": { - "operation": "boost", - "score": 0.1028398647904396 - }, - "else": { - "operation": "boost", - "score": 0.020835481584072113 - } + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.030897868797183037 + }, + "else": { + "operation": "boost", + "score": 0.12274851649999619 } - }, - "else": { - "operation": "boost", - "score": -0.12189886718988419 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 784.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 790.0, - "then": { - "operation": "boost", - "score": 0.4250614643096924 - }, - "else": { - "operation": "boost", - "score": 0.12555144727230072 - } + "operation": "boost", + "score": 0.10574585944414139 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6644.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.07437866181135178 + "score": 0.10642664134502411 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 669.5, - "then": { - "operation": "boost", - "score": 0.11491318792104721 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.0, - "then": { - "operation": "boost", - "score": 0.12685343623161316 - }, - "else": { - "operation": "boost", - "score": 0.05774257332086563 - } - } + "operation": "boost", + "score": -0.13642992079257965 } }, "else": { "operation": "boost", - "score": -0.022501140832901 + "score": -0.1243208572268486 } } } } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10625500231981277 + }, + "else": { + "operation": "boost", + "score": -0.1309879869222641 + } + }, + "else": { + "operation": "boost", + "score": -0.06706073135137558 + } } } }, "else": { - "operation": "boost", - "score": -0.10884246975183487 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0011538490653038025 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.002026680391281843 - }, - "else": { - "operation": "boost", - "score": 0.03428720310330391 - } - }, - "else": { - "operation": "boost", - "score": -0.010615377686917782 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 3159.5, "then": { - "operation": "boost", - "score": -0.027162160724401474 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 3276.5, + "then": { + "operation": "boost", + "score": -0.04017873480916023 + }, + "else": { + "operation": "boost", + "score": 0.10899953544139862 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3188.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3540.0, "then": { + "operation": "boost", + "score": 0.1295752078294754 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.09326443076133728 + "score": 0.12241631001234055 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.12116730213165283 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1295262724161148 - }, - "else": { - "operation": "boost", - "score": 0.48520752787590027 - } - } + "operation": "boost", + "score": -0.05364382639527321 } }, "else": { - "operation": "boost", - "score": 0.08950457721948624 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07862360775470734 + }, + "else": { + "operation": "boost", + "score": 0.1029561385512352 + } } }, "else": { - "operation": "boost", - "score": 0.020746547728776932 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3498.0, "then": { + "operation": "boost", + "score": 0.11910708993673325 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 3363.0, "then": { "operation": "boost", - "score": 0.18217545747756958 + "score": -0.05219866335391998 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 41.5, + "threshold": 3259.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104.5, - "then": { - "operation": "boost", - "score": 0.06909830123186111 - }, - "else": { - "operation": "boost", - "score": 0.21368339657783508 - } + "operation": "boost", + "score": 0.13397717475891113 }, "else": { "operation": "boost", - "score": -0.24268688261508942 + "score": 0.05561196431517601 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "boost", - "score": 0.12482345104217529 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.08140486478805542 - }, - "else": { - "operation": "boost", - "score": 0.11373544484376907 - } - }, - "else": { - "operation": "boost", - "score": 0.13969716429710388 - } - } + "operation": "boost", + "score": 0.01882539689540863 } } - }, - "else": { - "operation": "boost", - "score": 0.06575966626405716 } }, "else": { "operation": "boost", - "score": 0.06422961503267288 + "score": -0.1631678342819214 } - }, - "else": { - "operation": "boost", - "score": 0.014841352589428425 } } }, "else": { - "operation": "boost", - "score": -0.03752240166068077 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.02851620689034462 + "score": 0.17016731202602386 }, "else": { "operation": "boost", - "score": -0.08378429710865021 + "score": 0.12744170427322388 } + } + } + }, + "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, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3141.5, "then": { + "operation": "boost", + "score": -0.2636476755142212 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 183.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0509699322283268 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 201.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 313.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.13647301495075226 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.03623774275183678 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 393.0, - "then": { - "operation": "boost", - "score": 0.10193704813718796 - }, - "else": { - "operation": "boost", - "score": 0.11876329034566879 - } - }, - "else": { - "operation": "boost", - "score": 0.09173985570669174 - } - } + "operation": "boost", + "score": 0.11791567504405975 }, "else": { "operation": "boost", - "score": 0.01009900402277708 + "score": 0.035105083137750626 } - }, - "else": { - "operation": "boost", - "score": -0.03574861213564873 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2997.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 3048.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.4401097595691681 + "score": 0.11602914333343506 }, "else": { "operation": "boost", - "score": 0.11638569086790085 + "score": -0.07342595607042313 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.5, - "then": { - "operation": "boost", - "score": -0.13320064544677734 - }, - "else": { - "operation": "boost", - "score": 0.09513840824365616 - } + "operation": "boost", + "score": 0.11678127199411392 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10254229605197906 - }, - "else": { - "operation": "boost", - "score": 0.12256661802530289 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200.5, + "threshold": 2739.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.11822052299976349 + "score": 0.07902020961046219 }, "else": { "operation": "boost", - "score": -0.04339022934436798 + "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.0248954426497221 + "score": -0.37194597721099854 } } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.016017282381653786 - }, - "else": { - "operation": "boost", - "score": -0.026666736230254173 - } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.012518076226115227 - }, - "else": { - "operation": "boost", - "score": -0.011671490967273712 - } + "operation": "boost", + "score": -0.17611229419708252 } - }, - "else": { - "operation": "boost", - "score": 0.0008138846606016159 } + }, + "else": { + "operation": "boost", + "score": 0.0955280140042305 } } } + } + }, + "else": { + "operation": "boost", + "score": -0.0005410931771621108 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.010425308719277382 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 167.5, - "then": { - "operation": "boost", - "score": -0.05379161238670349 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.0, - "then": { - "operation": "boost", - "score": -0.010363752022385597 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, - "then": { - "operation": "boost", - "score": 0.11626208573579788 - }, - "else": { - "operation": "boost", - "score": 0.054811447858810425 - } - } - }, - "else": { - "operation": "boost", - "score": 0.026682313531637192 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor" - ], + "threshold": 4651.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, + "feature": "NumReferences", + "threshold": 15980.0, "then": { "operation": "boost", - "score": 0.115028515458107 + "score": 0.06002621352672577 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_Namespace" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 603.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 611.5, - "then": { - "operation": "boost", - "score": -0.3719606399536133 - }, - "else": { - "operation": "boost", - "score": 0.10963043570518494 - } + "operation": "boost", + "score": 0.12357226759195328 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.033130161464214325 - }, - "else": { - "operation": "boost", - "score": 0.10671307146549225 - } + "operation": "boost", + "score": 0.11442457139492035 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0021506657358258963 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "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": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10446110367774963 - }, - "else": { - "operation": "boost", - "score": 0.03668241575360298 - } - }, - "else": { - "operation": "boost", - "score": -1.2888020277023315 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.055910419672727585 - }, - "else": { - "operation": "boost", - "score": 0.10734155029058456 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09526413679122925 - } - }, - "else": { - "operation": "boost", - "score": 0.031369294971227646 - } - } + "operation": "boost", + "score": 0.06889516115188599 } } }, "else": { "operation": "boost", - "score": -0.03256366774439812 + "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.0002851601457223296 } + }, + "else": { + "operation": "boost", + "score": -0.00030225960654206574 } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.0006344494759105146 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.010166878812015057 - }, - "else": { - "operation": "boost", - "score": -0.00015527904906775802 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "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.20397739112377167 + "score": 0.0026608342304825783 }, "else": { "operation": "boost", - "score": 0.0035915509797632694 + "score": -0.34576794505119324 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "FileProximityDistance", - "threshold": 25.5, + "feature": "SymbolScopeDistance", + "threshold": 12.0, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.011921263299882412 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.0, + "then": { + "operation": "boost", + "score": 0.10308516025543213 + }, + "else": { + "operation": "boost", + "score": -0.06509009748697281 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.012269427999854088 + "score": -0.036885373294353485 }, "else": { "operation": "boost", - "score": -0.06993799656629562 + "score": 0.13454116880893707 } } }, "else": { "operation": "boost", - "score": -0.004491494502872229 + "score": 0.05204559490084648 } }, "else": { - "operation": "boost", - "score": 0.01254811231046915 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { + "operation": "boost", + "score": 0.1080460399389267 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.10221873223781586 - }, - "else": { - "operation": "boost", - "score": -0.13205869495868683 - } + "operation": "boost", + "score": 0.09350764006376266 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 86.5, + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.0595400296151638 + "score": 0.1393755078315735 }, "else": { "operation": "boost", - "score": -0.2719399034976959 + "score": -0.10079355537891388 } } - }, - "else": { - "operation": "boost", - "score": 0.0939820408821106 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 86.0, + "threshold": 22.5, "then": { "operation": "boost", - "score": 0.026747122406959534 + "score": 0.07714098691940308 }, "else": { - "operation": "boost", - "score": 0.1208624616265297 - } - }, - "else": { - "operation": "boost", - "score": -0.08342737704515457 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.14121608436107635 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.0 + "score": -0.10090146958827972 }, "else": { "operation": "boost", - "score": -0.1668461263179779 + "score": 0.11345087736845016 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.10284260660409927 }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "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": "NumReferences", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.10019222646951675 + "score": 0.01656191051006317 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.12242540717124939 - }, - "else": { - "operation": "boost", - "score": 0.026049522683024406 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10525139421224594 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.06126106530427933 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.11216267943382263 - }, - "else": { - "operation": "boost", - "score": 0.07785682380199432 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.15651920437812805 - }, - "else": { - "operation": "boost", - "score": 0.08633127063512802 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.2847095727920532 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1387268751859665 + "operation": "boost", + "score": -0.4720199704170227 + } } } - }, - "else": { - "operation": "boost", - "score": 0.09673721343278885 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.024343617260456085 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.2981996536254883 - }, - "else": { - "operation": "boost", - "score": 0.09724166244268417 - } + "operation": "boost", + "score": 0.027344726026058197 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.09070038050413132 + "score": 0.10520272701978683 }, "else": { "operation": "boost", - "score": 0.008765507489442825 + "score": -0.08174259960651398 } } } + }, + "else": { + "operation": "boost", + "score": 0.007408101111650467 } }, "else": { - "operation": "boost", - "score": 0.039247896522283554 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor" + ], "then": { - "operation": "boost", - "score": 0.02370823547244072 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.22064387798309326 - }, - "else": { - "operation": "boost", - "score": 0.144241064786911 - } + "operation": "boost", + "score": 0.05122195929288864 }, "else": { "operation": "boost", - "score": -0.14226515591144562 + "score": 0.11648062616586685 } }, "else": { "operation": "boost", - "score": 0.04249763861298561 + "score": 0.04268068075180054 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.009257287718355656 }, "else": { "operation": "boost", - "score": -0.02382221817970276 + "score": -0.022888561710715294 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 619.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.08284295350313187 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 782.5, "then": { + "operation": "boost", + "score": -0.04234965145587921 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.0, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.10730299353599548 + "score": 0.10706236958503723 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SymbolScopeDistance", + "threshold": 8.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.0, - "then": { - "operation": "boost", - "score": -0.22680868208408356 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.0, - "then": { - "operation": "boost", - "score": 0.1602780967950821 - }, - "else": { - "operation": "boost", - "score": 0.2084314227104187 - } - } + "operation": "boost", + "score": 0.14137108623981476 }, "else": { "operation": "boost", - "score": 0.03701980039477348 + "score": 0.028126342222094536 } } }, "else": { - "operation": "boost", - "score": 0.029380273073911667 - } - }, - "else": { - "operation": "boost", - "score": 0.007459635380655527 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.10999222844839096 + "score": -0.029175005853176117 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10.5, + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.20198221504688263 + "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 + } + } }, "else": { - "operation": "boost", - "score": 0.12373148649930954 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.19712156057357788 + }, + "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 + } + } + } } } }, "else": { "operation": "boost", - "score": -0.15818016231060028 + "score": -0.011552898213267326 } - }, - "else": { - "operation": "boost", - "score": 0.12558752298355103 } }, "else": { "operation": "boost", - "score": 0.05233591049909592 + "score": 0.03361406922340393 } - } - }, - "else": { - "operation": "boost", - "score": 0.015420537441968918 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.2600580155849457 }, "else": { "operation": "boost", - "score": -0.009818334132432938 + "score": -0.1405564248561859 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 39.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 94.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 384.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.15476515889167786 - }, - "else": { - "operation": "boost", - "score": 0.09996785968542099 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0702236220240593 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.09890878200531006 - }, - "else": { - "operation": "boost", - "score": 0.02656853199005127 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.2775499224662781 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.14910930395126343 - }, - "else": { - "operation": "boost", - "score": -0.11300858855247498 - } - }, - "else": { - "operation": "boost", - "score": 0.12748131155967712 - } - }, - "else": { - "operation": "boost", - "score": -0.21472376585006714 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1645839661359787 - } - }, - "else": { - "operation": "boost", - "score": 0.00650631682947278 - } - } - } - } + "operation": "boost", + "score": -1.0637089014053345 }, "else": { "operation": "boost", - "score": 0.07918576151132584 + "score": -0.12468789517879486 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.13766568899154663 - }, - "else": { - "operation": "boost", - "score": -0.035460781306028366 - } - }, - "else": { - "operation": "boost", - "score": 0.12464634329080582 - } - }, - "else": { - "operation": "boost", - "score": -0.01026708073914051 - } + "operation": "boost", + "score": -0.530044436454773 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.24652442336082458 - }, - "else": { - "operation": "boost", - "score": 0.13880233466625214 - } - }, - "else": { - "operation": "boost", - "score": 0.07372606545686722 - } + "operation": "boost", + "score": 0.0402182899415493 } } }, + "else": { + "operation": "boost", + "score": -0.08329572528600693 + } + }, + "else": { + "operation": "boost", + "score": -0.2628426253795624 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.4157874584197998 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.02029781974852085 + "score": 0.11127671599388123 }, "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08452139794826508 - }, - "else": { - "operation": "boost", - "score": 0.031813666224479675 - } + "operation": "boost", + "score": 0.04162727668881416 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "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": [ - "Operator", - "Variable", + "Keyword", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type" + "Function", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.12441693991422653 + "score": -0.024723181501030922 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.10242436826229095 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11712241172790527 + }, + "else": { + "operation": "boost", + "score": 0.12167350947856903 + } }, "else": { - "operation": "boost", - "score": 0.10403764247894287 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11140148341655731 + }, + "else": { + "operation": "boost", + "score": -0.05974140018224716 + } } }, "else": { "operation": "boost", - "score": 0.15132175385951996 + "score": 0.028268828988075256 } } }, "else": { "operation": "boost", - "score": -0.009381074458360672 + "score": -0.11155829578638077 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.1081576943397522 + "score": 0.10221507400274277 }, "else": { "operation": "boost", - "score": 0.03651281073689461 + "score": -0.046723347157239914 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.017401617020368576 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": -0.032830026000738144 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.180179163813591 - }, - "else": { - "operation": "boost", - "score": -0.030207298696041107 - } + "operation": "boost", + "score": 0.020481903105974197 }, "else": { "operation": "boost", - "score": -0.11928237974643707 + "score": -0.07862704247236252 } - }, - "else": { - "operation": "boost", - "score": -0.016944287344813347 } } } } - }, - "else": { - "operation": "boost", - "score": 0.01653730683028698 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 39.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 332.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10095661133527756 - }, - "else": { - "operation": "boost", - "score": 0.13884519040584564 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "threshold": 3616.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1121.5, + "threshold": 4219.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1147.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0369420126080513 - }, - "else": { - "operation": "boost", - "score": -0.08730511367321014 - } + "operation": "boost", + "score": -0.5822276473045349 }, "else": { "operation": "boost", - "score": 0.026274967938661575 + "score": 0.06768777966499329 } }, "else": { + "operation": "boost", + "score": 0.06858779489994049 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 4099.0, "then": { "operation": "boost", - "score": 0.10208392143249512 + "score": 0.1146240159869194 }, "else": { "operation": "boost", - "score": -0.13011950254440308 + "score": 0.10869736969470978 } + }, + "else": { + "operation": "boost", + "score": -0.10076704621315002 } - }, - "else": { - "operation": "boost", - "score": -0.044989392161369324 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.011206553317606449 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 523.0, "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": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.24190007150173187 - }, - "else": { - "operation": "boost", - "score": 0.02621576189994812 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.26740217208862305 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.032734569162130356 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.07216085493564606 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.072300985455513 - }, - "else": { - "operation": "boost", - "score": 0.01944010518491268 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.048284318298101425 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10507243126630783 - }, - "else": { - "operation": "boost", - "score": 0.08853601664304733 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12012254446744919 - }, - "else": { - "operation": "boost", - "score": 0.09204696863889694 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.019285080954432487 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1322430819272995 - }, - "else": { - "operation": "boost", - "score": 0.07650862634181976 - } - }, - "else": { - "operation": "boost", - "score": 0.01041250117123127 - } - } - } + "operation": "boost", + "score": -0.046843502670526505 }, "else": { "operation": "boost", - "score": 0.023809371516108513 + "score": 0.0839371457695961 } + }, + "else": { + "operation": "boost", + "score": -0.041479095816612244 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0012527677463367581 }, "else": { - "operation": "boost", - "score": 0.0676906406879425 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06411518156528473 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.003543377621099353 - } - }, - "else": { - "operation": "boost", - "score": -0.0002978541306219995 - } - }, - { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "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": 387.5, - "then": { - "operation": "boost", - "score": 0.06160987168550491 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.06150183826684952 - }, - "else": { - "operation": "boost", - "score": 0.09443537890911102 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.08158911764621735 - }, - "else": { - "operation": "boost", - "score": -0.0395546518266201 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 325.5, "then": { "operation": "boost", - "score": 0.07643424719572067 + "score": 0.10012137144804001 }, "else": { "operation": "boost", - "score": -0.1186104565858841 + "score": 0.05066218599677086 } - }, - "else": { - "operation": "boost", - "score": 0.018007563427090645 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { + "operation": "boost", + "score": 0.12475356459617615 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11804673820734024 + "score": 0.013142767362296581 }, "else": { - "operation": "boost", - "score": 0.00919845886528492 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.1081915944814682 + }, + "else": { + "operation": "boost", + "score": -0.23700694739818573 + } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 22.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.0034022785257548094 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.31625956296920776 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.23842798173427582 + "score": 0.13055290281772614 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.08984503895044327 - }, - "else": { - "operation": "boost", - "score": 0.09045679867267609 - } + "operation": "boost", + "score": 0.1731124371290207 } }, "else": { + "operation": "boost", + "score": 0.12855902314186096 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.09482477605342865 + "score": 0.1296328604221344 }, "else": { "operation": "boost", - "score": 0.11014582961797714 + "score": 0.04908344894647598 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.026059670373797417 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10206754505634308 + "score": -0.12030099332332611 }, "else": { "operation": "boost", - "score": 0.12913960218429565 + "score": 0.1317444145679474 } - } - }, - "else": { - "operation": "boost", - "score": -0.11968687921762466 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10915280878543854 }, "else": { "operation": "boost", - "score": 0.029964199289679527 + "score": 0.05167331174015999 } }, "else": { "operation": "boost", - "score": 0.12397327274084091 + "score": 0.06697706878185272 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.2270275503396988 - }, - "else": { - "operation": "boost", - "score": 0.015902752056717873 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.11759953945875168 - }, - "else": { - "operation": "boost", - "score": 0.026804346591234207 - } + "operation": "boost", + "score": -0.12194763869047165 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04903727397322655 - }, - "else": { - "operation": "boost", - "score": 0.23812054097652435 - } - }, - "else": { - "operation": "boost", - "score": -0.32355988025665283 - } + "operation": "boost", + "score": 0.12040217220783234 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.11545675247907639 - }, - "else": { - "operation": "boost", - "score": 0.08318915963172913 - } - }, - "else": { - "operation": "boost", - "score": 0.03420332074165344 - } + "operation": "boost", + "score": 0.03326638042926788 } }, "else": { "operation": "boost", - "score": -0.11917372792959213 + "score": 0.055362243205308914 } - }, - "else": { - "operation": "boost", - "score": -0.025413360446691513 } } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05344850942492485 + }, + "else": { + "operation": "boost", + "score": 0.04151182994246483 + } } + }, + "else": { + "operation": "boost", + "score": 0.01360639464110136 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.10710836946964264 - }, - "else": { - "operation": "boost", - "score": 0.10510117560625076 - } + "operation": "boost", + "score": 0.11493261903524399 }, "else": { "operation": "boost", - "score": -0.11191291362047195 + "score": 0.006017992272973061 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.07176589220762253 - }, - "else": { - "operation": "boost", - "score": -0.40283986926078796 - } + "operation": "boost", + "score": -0.10801494121551514 }, "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": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25329.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06659545749425888 - }, - "else": { - "operation": "boost", - "score": 0.08597513288259506 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.17504169046878815 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.10276389867067337 - }, - "else": { - "operation": "boost", - "score": 0.10714244842529297 - } - }, - "else": { - "operation": "boost", - "score": 0.05025334283709526 - } - } - } + "operation": "boost", + "score": 0.12125874310731888 }, "else": { "operation": "boost", - "score": -0.06371457874774933 + "score": 0.0766822025179863 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "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" + ], "then": { "operation": "boost", - "score": 0.11341650038957596 + "score": 0.10753193497657776 }, "else": { "operation": "boost", - "score": 0.0937749370932579 + "score": -1.4092622995376587 } }, "else": { - "operation": "boost", - "score": -0.3201262354850769 - } - }, - "else": { - "operation": "boost", - "score": -0.015479113906621933 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219.0, - "then": { - "operation": "boost", - "score": -0.07395569980144501 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.16247187554836273 - }, - "else": { - "operation": "boost", - "score": 0.45203715562820435 - } + "operation": "boost", + "score": -0.2799776792526245 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.03820246830582619 + "score": 0.6899611353874207 }, "else": { "operation": "boost", - "score": 0.1393316388130188 + "score": -0.31851717829704285 } } - }, - "else": { - "operation": "boost", - "score": 0.03249375522136688 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1232.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.12738098204135895 - }, - "else": { - "operation": "boost", - "score": 0.11729121208190918 - } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.10578715056180954 - }, - "else": { - "operation": "boost", - "score": 0.10720139741897583 - } - }, - "else": { - "operation": "boost", - "score": -0.08371217548847198 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, "then": { "operation": "boost", - "score": 0.13072623312473297 + "score": 0.11653025448322296 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10134541988372803 + "score": -0.10156445950269699 }, "else": { - "operation": "boost", - "score": 0.2970340847969055 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1060326024889946 + }, + "else": { + "operation": "boost", + "score": 0.0731588825583458 + } } }, "else": { - "operation": "boost", - "score": 0.01935604400932789 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.4916507303714752 + }, + "else": { + "operation": "boost", + "score": -0.14290349185466766 + } } } + }, + "else": { + "operation": "boost", + "score": -0.12307945638895035 } }, - "else": { - "operation": "boost", - "score": 0.06534643471240997 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006571754813194275 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25329.0, - "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": 2.5, - "then": { - "operation": "boost", - "score": 0.06910034269094467 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.05320766195654869 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47903.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.08642228692770004 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.05007816106081009 + }, + "else": { + "operation": "boost", + "score": 0.11904498934745789 + } }, "else": { "operation": "boost", - "score": 0.16650670766830444 + "score": -0.009624226950109005 } } } - }, - "else": { - "operation": "boost", - "score": -0.10106546431779861 } - }, - "else": { - "operation": "boost", - "score": -0.14398951828479767 } }, "else": { "operation": "boost", - "score": -0.00696435896679759 + "score": 0.007970655336976051 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01903729885816574 - }, - "else": { - "operation": "boost", - "score": 0.009210559539496899 - } - }, - "else": { - "operation": "boost", - "score": -0.11061757802963257 - } + "operation": "boost", + "score": 0.002090038964524865 } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2459.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22368.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02984604984521866 + }, + "else": { + "operation": "boost", + "score": -0.008205424062907696 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18672.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope" + "CCC_ClassStructUnion", + "CCC_Namespace" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.043556444346904755 - }, - "else": { - "operation": "boost", - "score": 0.18451125919818878 - } - }, - "else": { - "operation": "boost", - "score": 0.05756138265132904 - } - }, - "else": { - "operation": "boost", - "score": 0.10075190663337708 - } - }, - "else": { - "operation": "boost", - "score": 0.03280061110854149 - } + "operation": "boost", + "score": 0.09194037318229675 }, "else": { - "operation": "boost", - "score": -0.019853288307785988 - } - }, - "else": { - "operation": "boost", - "score": 0.014505350030958652 - } - }, - "else": { - "operation": "boost", - "score": -0.06578803807497025 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.03849349543452263 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 213.0, + "threshold": 20414.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 457.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 21207.0, "then": { "operation": "boost", - "score": -0.2213030308485031 + "score": -1.0192757844924927 }, "else": { "operation": "boost", - "score": 0.09344213455915451 + "score": 0.14964279532432556 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.060381822288036346 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.13651704788208008 - }, - "else": { - "operation": "boost", - "score": 0.10712078213691711 - } - } + "operation": "boost", + "score": 0.10916098952293396 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 20039.5, "then": { "operation": "boost", - "score": 0.007204522378742695 + "score": -0.09028788655996323 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": 0.10173818469047546 - }, - "else": { - "operation": "boost", - "score": 0.07752502709627151 - } + "operation": "boost", + "score": 0.08496444672346115 } } - }, - "else": { - "operation": "boost", - "score": -0.050747182220220566 } + }, + "else": { + "operation": "boost", + "score": -0.10201117396354675 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": -0.009634873829782009 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30.5, + "threshold": 18751.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "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": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": -0.03941325098276138 - }, - "else": { - "operation": "boost", - "score": 0.17093244194984436 - } + "operation": "boost", + "score": 0.11445538699626923 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10716651380062103 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.04152444377541542 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20157.5, + "then": { + "operation": "boost", + "score": 0.13266776502132416 + }, + "else": { + "operation": "boost", + "score": 0.07750340551137924 + } + } + }, + "else": { + "operation": "boost", + "score": -0.16366365551948547 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20487.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.10788322240114212 + }, + "else": { + "operation": "boost", + "score": -0.11932200938463211 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11524982005357742 + }, + "else": { + "operation": "boost", + "score": -0.06272171437740326 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06931395828723907 + } + } }, "else": { - "operation": "boost", - "score": 0.039278920739889145 - } - } - }, - "else": { - "operation": "boost", - "score": 0.1442359983921051 - } - }, - "else": { - "operation": "boost", - "score": 0.009038847871124744 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19792.5, + "then": { + "operation": "boost", + "score": 0.013748367317020893 + }, + "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.11608508974313736 + }, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.003643566742539406 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21065.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.26403915882110596 + } + }, + "else": { + "operation": "boost", + "score": 0.0406438447535038 + } + }, + "else": { + "operation": "boost", + "score": 0.10768400132656097 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021025976166129112 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08275913447141647 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.1289253979921341 + "score": -0.06366360932588577 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10082.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.09251882135868073 + "score": 0.11428626626729965 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04807192459702492 - }, - "else": { - "operation": "boost", - "score": -0.23089097440242767 - } + "operation": "boost", + "score": 0.14807188510894775 } } - }, - "else": { - "operation": "boost", - "score": -0.04035397991538048 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10890182852745056 - }, - "else": { - "operation": "boost", - "score": -0.28398314118385315 - } + "operation": "boost", + "score": -0.06521189212799072 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76669.0, + "threshold": 4641.5, "then": { "operation": "boost", - "score": -0.31355756521224976 + "score": 0.03500879555940628 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 805.0, + "threshold": 3803.5, "then": { "operation": "boost", - "score": 0.10638970136642456 + "score": 0.10663345456123352 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.22348652780056 + "score": -0.5897219777107239 }, "else": { "operation": "boost", - "score": 0.10778757184743881 + "score": 0.08665508031845093 } } } }, - "else": { - "operation": "boost", - "score": 0.037917185574769974 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0009080031886696815 - }, - "else": { - "operation": "boost", - "score": -0.07895375043153763 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08868959546089172 - }, - "else": { - "operation": "boost", - "score": -0.09472250193357468 - } - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 6360.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 6390.5, "then": { - "operation": "boost", - "score": 0.013898025266826153 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8266.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9244.0, + "then": { + "operation": "boost", + "score": 0.038687098771333694 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0951366201043129 + }, + "else": { + "operation": "boost", + "score": 0.10718460381031036 + } + }, + "else": { + "operation": "boost", + "score": 0.09480433166027069 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005507347639650106 + } }, "else": { - "operation": "boost", - "score": -0.040428582578897476 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.040026016533374786 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 6080.0, "then": { "operation": "boost", - "score": -0.438109427690506 + "score": -0.5080410838127136 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.10853514820337296 - }, - "else": { - "operation": "boost", - "score": 0.03561649098992348 - } + "operation": "boost", + "score": 0.01039116270840168 } } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -1.0724184903665446e-05 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.0396915040910244 - }, - "else": { - "operation": "boost", - "score": 0.08520442247390747 - } - } - } - }, - "else": { - "operation": "boost", - "score": -7.579688826808706e-05 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 6406.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 237.5, + "threshold": 6676.0, "then": { - "operation": "boost", - "score": -0.04364214837551117 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 225.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.15189480781555176 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 10904.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 17.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.09831221401691437 + "score": -0.07222270965576172 }, "else": { "operation": "boost", - "score": 0.12803353369235992 + "score": 0.08475401997566223 } }, "else": { + "operation": "boost", + "score": -0.008974677883088589 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10448.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10810.5, "then": { "operation": "boost", - "score": 0.10893560200929642 + "score": 0.11663348227739334 }, "else": { - "operation": "boost", - "score": 0.3635178506374359 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09890850633382797 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10654.0, + "then": { + "operation": "boost", + "score": -0.10555911064147949 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.0989418551325798 + }, + "else": { + "operation": "boost", + "score": 0.11614633351564407 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1168680191040039 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.10314061492681503 + }, + "else": { + "operation": "boost", + "score": 0.03995857387781143 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7569.5, + "then": { + "operation": "boost", + "score": 0.13378971815109253 + }, + "else": { + "operation": "boost", + "score": 0.119156114757061 + } + }, + "else": { + "operation": "boost", + "score": 0.06030729040503502 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.04185833781957626 + } + } + }, + "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 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.05633770301938057 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 16932.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.12467789649963379 + "score": -0.10821074992418289 }, "else": { + "operation": "boost", + "score": 0.12386365979909897 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0380374975502491 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13189.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.0, + "threshold": 13858.5, "then": { - "operation": "boost", - "score": -0.01114106085151434 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 18214.0, "then": { "operation": "boost", - "score": 0.16274206340312958 + "score": 0.13731348514556885 }, "else": { "operation": "boost", - "score": 0.10459145903587341 + "score": -0.10845309495925903 } + }, + "else": { + "operation": "boost", + "score": 0.11125697195529938 } + }, + "else": { + "operation": "boost", + "score": 0.09628321975469589 } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06980974227190018 }, "else": { "operation": "boost", - "score": -0.03470184653997421 + "score": 0.10891716182231903 } + }, + "else": { + "operation": "boost", + "score": -0.004869378171861172 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7250.5, "then": { "operation": "boost", - "score": 0.13380692899227142 + "score": 0.11863864213228226 }, "else": { - "operation": "boost", - "score": -0.10061303526163101 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7101.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7119.5, + "then": { + "operation": "boost", + "score": 0.045820266008377075 + }, + "else": { + "operation": "boost", + "score": 0.11892156302928925 + } + }, + "else": { + "operation": "boost", + "score": -0.016371307894587517 + } } } - }, - "else": { - "operation": "boost", - "score": 0.059170886874198914 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "boost", - "score": -0.014263817109167576 }, "else": { "operation": "boost", - "score": 0.10911768674850464 + "score": 0.008378828875720501 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 293.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 583.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.03922728821635246 - }, - "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11036417633295059 - }, - "else": { - "operation": "boost", - "score": 0.10280511528253555 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03804619237780571 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05521298199892044 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "boost", - "score": 0.019084887579083443 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "boost", - "score": 0.1097407191991806 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07476828992366791 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": 0.12912814319133759 - }, - "else": { - "operation": "boost", - "score": 0.016350330784916878 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 36.5, + "threshold": 6642.0, "then": { "operation": "boost", - "score": 0.05018443241715431 + "score": 0.13891412317752838 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33.5, + "threshold": 6418.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.1312793344259262 - }, - "else": { - "operation": "boost", - "score": 0.12670545279979706 - } + "operation": "boost", + "score": 0.09280383586883545 }, "else": { "operation": "boost", - "score": -0.10082725435495377 + "score": 0.1315479725599289 } }, "else": { + "operation": "boost", + "score": -0.11213743686676025 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.06911454349756241 + "score": 0.05535529553890228 }, "else": { "operation": "boost", - "score": 0.10091529041528702 + "score": 0.11637281626462936 } + }, + "else": { + "operation": "boost", + "score": -0.009186173789203167 } + }, + "else": { + "operation": "boost", + "score": 0.22767598927021027 } } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.041476983577013016 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.0, - "then": { - "operation": "boost", - "score": 0.0705222338438034 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.0, - "then": { - "operation": "boost", - "score": 0.12166567146778107 - }, - "else": { - "operation": "boost", - "score": 0.06552178412675858 - } - } - }, - "else": { - "operation": "boost", - "score": 0.071550153195858 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01672830432653427 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.11904643476009369 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 312.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 394.5, - "then": { - "operation": "boost", - "score": -0.11690672487020493 - }, - "else": { - "operation": "boost", - "score": 0.12845970690250397 - } - }, - "else": { - "operation": "boost", - "score": -0.13721679151058197 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02817646414041519 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1633.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5988.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6676.0, - "then": { - "operation": "boost", - "score": -0.0012204921804368496 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6653.5, - "then": { - "operation": "boost", - "score": 0.11407104879617691 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.12615184485912323 }, "else": { - "operation": "boost", - "score": -0.23783181607723236 - } - }, - "else": { - "operation": "boost", - "score": 0.06734021753072739 - } - }, - "else": { - "operation": "boost", - "score": 0.040820617228746414 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0395757295191288 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1557.5, - "then": { - "operation": "boost", - "score": 0.09743288159370422 - }, - "else": { - "operation": "boost", - "score": 0.030687907710671425 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol", - "CCC_UnionTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10201232880353928 - }, - "else": { - "operation": "boost", - "score": 0.1029476746916771 - } - }, - "else": { - "operation": "boost", - "score": -0.10092110931873322 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.03306841105222702 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 6638.0, "then": { "operation": "boost", - "score": 0.13386280834674835 + "score": 0.11255329847335815 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 6555.5, "then": { "operation": "boost", - "score": 0.10945630073547363 + "score": -0.454751193523407 }, "else": { - "operation": "boost", - "score": 0.07687199860811234 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6526.5, + "then": { + "operation": "boost", + "score": 0.13140086829662323 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13217505812644958 + }, + "else": { + "operation": "boost", + "score": 0.250222772359848 + } + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.24568337202072144 + }, + "else": { + "operation": "boost", + "score": 0.005057146772742271 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 6495.0, "then": { "operation": "boost", - "score": -0.06630004942417145 + "score": -0.012454461306333542 }, "else": { "operation": "boost", - "score": 0.12949836254119873 + "score": 0.10732364654541016 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.07099901884794235 + }, + "else": { + "operation": "boost", + "score": 0.11709584295749664 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.16054031252861023 + "score": 0.027285929769277573 }, "else": { "operation": "boost", - "score": -0.016930775716900826 + "score": 0.10433246195316315 } } }, - "else": { - "operation": "boost", - "score": 0.058223843574523926 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006681028753519058 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.052285704761743546 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07184191048145294 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 2478.5, "then": { + "operation": "boost", + "score": 0.005380767397582531 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2470.5, "then": { - "operation": "boost", - "score": -0.10561353713274002 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.41574493050575256 + }, + "else": { + "operation": "boost", + "score": -0.2895142734050751 + } }, "else": { "operation": "boost", - "score": 0.14960545301437378 + "score": 0.10095170885324478 } }, "else": { "operation": "boost", - "score": -0.1129685565829277 + "score": 0.047852881252765656 } - }, - "else": { - "operation": "boost", - "score": -0.10671425610780716 } } - }, - "else": { - "operation": "boost", - "score": 0.04549170657992363 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11412592977285385 - }, - "else": { - "operation": "boost", - "score": -0.13398997485637665 } - }, - "else": { - "operation": "boost", - "score": 0.12767168879508972 } } } }, "else": { + "operation": "boost", + "score": -0.0010643479181453586 + } + }, + "else": { + "operation": "boost", + "score": 0.009970094077289104 + } + }, + "else": { + "operation": "boost", + "score": -0.0003128302050754428 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 55726.0, "then": { - "operation": "boost", - "score": -0.004622340202331543 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443558.5, + "threshold": 87006.5, "then": { + "operation": "boost", + "score": 0.005633901804685593 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", + "CCC_SymbolOrNewName", "CCC_UnionTag", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess" ], "then": { - "operation": "boost", - "score": -0.04534972831606865 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": 0.0727427676320076 - }, - "else": { - "operation": "boost", - "score": -0.4087212383747101 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { - "operation": "boost", - "score": 0.014603941701352596 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74638.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.032042231410741806 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 659.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27076.0, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.19141879677772522 + "score": -0.08548428863286972 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23786.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.12280932068824768 + "score": 0.06802322715520859 }, "else": { "operation": "boost", - "score": 0.011833563446998596 + "score": 0.08630716055631638 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.06726119667291641 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 603.5, - "then": { - "operation": "boost", - "score": 0.10281606018543243 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 358.5, - "then": { - "operation": "boost", - "score": -0.3062868118286133 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11497081071138382 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.006503967568278313 - }, - "else": { - "operation": "boost", - "score": 0.11932093650102615 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "boost", - "score": -0.044324420392513275 - }, - "else": { - "operation": "boost", - "score": 0.1379527449607849 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.0, - "then": { - "operation": "boost", - "score": 0.13181374967098236 - }, - "else": { - "operation": "boost", - "score": 0.097983717918396 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08799011260271072 - }, - "else": { - "operation": "boost", - "score": -0.01145986933261156 - } - }, - "else": { - "operation": "boost", - "score": -0.2383466511964798 - } - } - } + "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": "NumReferences", - "threshold": 5905.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { + "operation": "boost", + "score": 0.03760049492120743 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6473.0, + "threshold": 81569.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43912.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.1084800511598587 - }, - "else": { - "operation": "boost", - "score": 0.06956467032432556 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.16959711909294128 - }, - "else": { - "operation": "boost", - "score": -0.3165205121040344 - } - } - }, - "else": { - "operation": "boost", - "score": 0.026192817836999893 - } + "operation": "boost", + "score": -0.13899670541286469 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5984.5, - "then": { - "operation": "boost", - "score": 0.11331149935722351 - }, - "else": { - "operation": "boost", - "score": 0.09917902201414108 - } + "operation": "boost", + "score": 0.1149369329214096 } - }, - "else": { - "operation": "boost", - "score": 0.005724024027585983 } + }, + "else": { + "operation": "boost", + "score": 0.06713894009590149 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": 0.05840613692998886 - }, - "else": { - "operation": "boost", - "score": 0.10244454443454742 - } + "operation": "boost", + "score": -0.1924077421426773 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 59248.5, "then": { + "operation": "boost", + "score": -0.07709601521492004 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 57673.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.03437817841768265 + "score": 0.16756704449653625 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 42.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.12662652134895325 + "score": 0.11511214822530746 }, "else": { "operation": "boost", - "score": -0.10142473131418228 + "score": 0.1438698023557663 } } }, "else": { - "operation": "boost", - "score": -0.008543584495782852 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12151088565587997 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.11992812156677246 + "score": -0.009298094548285007 }, "else": { - "operation": "boost", - "score": 0.11715982109308243 + "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 + } + } } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.046996843069791794 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84493.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012308821082115173 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14962415397167206 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.11897441744804382 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": -0.029845407232642174 + "score": 0.1061973050236702 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.14854589104652405 + "score": -0.1909065693616867 }, "else": { "operation": "boost", - "score": 0.018210269510746002 + "score": 0.08030099421739578 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4320.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.11601303517818451 + "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_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": -0.017228977754712105 + }, + "else": { + "operation": "boost", + "score": -1.1174371242523193 + } + }, + "else": { + "operation": "boost", + "score": 0.04278680682182312 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.021283911541104317 + "score": 0.08784643560647964 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "CCC_Statement", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.14092013239860535 + "score": 0.16383150219917297 }, "else": { - "operation": "boost", - "score": 0.09909325838088989 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11681276559829712 + }, + "else": { + "operation": "boost", + "score": 0.03950215503573418 + } } }, "else": { + "operation": "boost", + "score": -0.19075259566307068 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75566.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0015545382630079985 + }, + "else": { + "operation": "boost", + "score": 0.0744422972202301 + } + }, + "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_ClassStructUnion", - "CCC_Type" + "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 57673.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13085080683231354 + "score": 0.126206636428833 }, "else": { "operation": "boost", - "score": 0.06290188431739807 + "score": 0.09695029258728027 } }, "else": { "operation": "boost", - "score": -0.41365277767181396 + "score": 0.03691907227039337 } }, "else": { "operation": "boost", - "score": 0.030175555497407913 + "score": -0.5416139364242554 } + }, + "else": { + "operation": "boost", + "score": 0.00546486908569932 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.37292933464050293 + }, + "else": { + "operation": "boost", + "score": 0.10322726517915726 + } }, "else": { - "operation": "boost", - "score": 0.02368094213306904 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.01601097360253334 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10734102874994278 + }, + "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 + } + } + } } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.007217369973659515 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004576014762278646 - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11960822343826294 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.042373981326818466 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0961594209074974 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "then": { + "operation": "boost", + "score": -0.25773242115974426 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.08816909790039062 + }, + "else": { + "operation": "boost", + "score": -0.2354000210762024 + } + } }, "else": { "operation": "boost", - "score": 0.062010399997234344 + "score": -0.07286463677883148 } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.08839534968137741 - }, - "else": { - "operation": "boost", - "score": 0.007441619876772165 - } } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11367115378379822 + "score": -0.09556388109922409 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.053463127464056015 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0170235987752676 - }, - "else": { - "operation": "boost", - "score": 0.08560880273580551 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.07471417635679245 - }, - "else": { - "operation": "boost", - "score": 0.10794919729232788 - } - } + "operation": "boost", + "score": -0.021687597036361694 } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02056078426539898 - }, - "else": { - "operation": "boost", - "score": -0.06869084388017654 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0017976210219785571 - }, - "else": { - "operation": "boost", - "score": 0.10526857525110245 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01900048553943634 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.0071753766387701035 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.014954615384340286 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.10385967791080475 - }, - "else": { - "operation": "boost", - "score": -0.003583078272640705 - } - } - }, - "else": { - "operation": "boost", - "score": -0.025760408490896225 - } - } + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10104583203792572 }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.9814607501029968 - }, - "else": { - "operation": "boost", - "score": -0.051896072924137115 - } + "operation": "boost", + "score": -0.135724738240242 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.14104215800762177 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07952970266342163 - }, - "else": { - "operation": "boost", - "score": 0.01429737824946642 - } + "operation": "boost", + "score": -0.21387779712677002 }, "else": { "operation": "boost", - "score": -0.11612062156200409 + "score": 0.24964866042137146 } + } + } + }, + "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.021825125440955162 + "score": 0.15660344064235687 } + }, + "else": { + "operation": "boost", + "score": -0.10565377026796341 } } }, "else": { - "operation": "boost", - "score": 0.022257095202803612 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.013484401628375053 + "score": -0.1314399540424347 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06627185642719269 + "score": -0.11533404141664505 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.05616952106356621 - }, - "else": { - "operation": "boost", - "score": 0.11302878707647324 - } + "operation": "boost", + "score": 0.07128043472766876 }, "else": { "operation": "boost", - "score": 0.003628367558121681 + "score": 0.13187924027442932 } }, "else": { "operation": "boost", - "score": 0.00801760982722044 + "score": 0.2574588656425476 } }, "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 47131.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, "then": { - "operation": "boost", - "score": 0.06863614171743393 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.060869939625263214 - }, - "else": { - "operation": "boost", - "score": 0.07911835610866547 - } - }, - "else": { - "operation": "boost", - "score": -0.6409493684768677 - } - }, - "else": { - "operation": "boost", - "score": 0.007388212718069553 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.05475650355219841 + "score": 0.1446511447429657 }, "else": { "operation": "boost", - "score": -9.027338981628418 + "score": 0.08096186816692352 } }, "else": { - "operation": "boost", - "score": 0.017373528331518173 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 50371.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.6117025017738342 + "score": -0.12954485416412354 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.0740903913974762 + "score": 0.11884228140115738 }, "else": { "operation": "boost", - "score": 0.08783509582281113 + "score": 0.11649461090564728 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10305444896221161 + "score": 0.11589598655700684 }, "else": { "operation": "boost", - "score": 0.13564662635326385 + "score": 0.12429917603731155 } }, "else": { "operation": "boost", - "score": -0.06892727315425873 + "score": -0.05174802616238594 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.006177007686346769 - }, - "else": { - "operation": "boost", - "score": 0.0432213693857193 - } + "operation": "boost", + "score": 0.17246246337890625 } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.7418437600135803 - }, - "else": { - "operation": "boost", - "score": -0.07893829792737961 - } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0682874470949173 - }, - "else": { - "operation": "boost", - "score": 0.08855833113193512 - } + "operation": "boost", + "score": -0.25499263405799866 } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.0007175769424065948 }, "else": { "operation": "boost", - "score": -0.5906999707221985 + "score": 0.1866176575422287 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.0014517268864437938 - }, - "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 47131.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07303857803344727 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11143455654382706 + }, + "else": { + "operation": "boost", + "score": 0.012570698745548725 + } }, "else": { - "operation": "boost", - "score": -0.002366969594731927 + "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 + } + } } }, "else": { "operation": "boost", - "score": 0.013701794669032097 + "score": -0.1627863496541977 } + }, + "else": { + "operation": "boost", + "score": 0.10410407930612564 } } - }, - "else": { - "operation": "boost", - "score": 0.0032859891653060913 } }, "else": { - "operation": "boost", - "score": 0.004166042432188988 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.012816792353987694 - }, - "else": { - "operation": "boost", - "score": -0.0018085885094478726 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0044562723487615585 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.10770341753959656 - }, - "else": { - "operation": "boost", - "score": -0.09826339036226273 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.030372511595487595 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.025873715057969093 - }, - "else": { - "operation": "boost", - "score": -0.10412430763244629 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01323810126632452 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1624356359243393 - }, - "else": { - "operation": "boost", - "score": -0.017496749758720398 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.055994391441345215 - }, - "else": { - "operation": "boost", - "score": 0.03645976632833481 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": -0.09912824630737305 - }, - "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_SymbolOrNewName", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.1069231778383255 + "score": 0.08787643164396286 }, "else": { "operation": "boost", - "score": 1.3907456398010254 + "score": 0.10808151215314865 } }, "else": { - "operation": "boost", - "score": -0.10310924053192139 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.01471406314522028 + "score": 0.1548532098531723 }, "else": { "operation": "boost", - "score": -0.04278838261961937 + "score": 1.5101317167282104 } - }, - "else": { - "operation": "boost", - "score": -0.03871959447860718 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007264318410307169 - }, - "else": { - "operation": "boost", - "score": -0.15442682802677155 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06166687235236168 - }, - "else": { - "operation": "boost", - "score": -0.08422970026731491 - } + "operation": "boost", + "score": -0.13194440305233002 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.05801818519830704 - }, - "else": { - "operation": "boost", - "score": -0.02494034729897976 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.008578198961913586 - }, - "else": { - "operation": "boost", - "score": 0.02637341059744358 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029766613617539406 }, "else": { "operation": "boost", - "score": 0.03273506462574005 + "score": -0.11093426495790482 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor" + ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.0036619335878640413 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11124775558710098 + "score": 0.06340867280960083 }, "else": { "operation": "boost", - "score": 0.1238773912191391 + "score": 0.1096707284450531 } }, "else": { - "operation": "boost", - "score": 0.08253814280033112 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { - "operation": "boost", - "score": 0.016504934057593346 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.10773136466741562 + "score": 0.05849257856607437 }, "else": { "operation": "boost", - "score": -0.03518981486558914 + "score": 0.1140109971165657 } - } - }, - "else": { - "operation": "boost", - "score": -0.017285993322730064 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1077611893415451 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.06326273083686829 }, "else": { "operation": "boost", - "score": 0.038632288575172424 + "score": 0.3009549081325531 } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1899416595697403 - }, - "else": { - "operation": "boost", - "score": 0.0494857020676136 - } + "operation": "boost", + "score": 0.028677286580204964 } + }, + "else": { + "operation": "boost", + "score": 0.07102930545806885 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.002597351325675845 }, "else": { "operation": "boost", - "score": -0.006533851847052574 + "score": 0.04941555857658386 } + }, + "else": { + "operation": "boost", + "score": -0.1057472825050354 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 46094.0, "then": { "operation": "boost", - "score": -0.011106623336672783 + "score": -0.02437111921608448 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": 0.0023922568652778864 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.06074870377779007 + "score": 0.09592633694410324 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], + "operation": "boost", + "score": 0.12050057202577591 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.24623079597949982 + "score": 0.10428933799266815 }, "else": { "operation": "boost", - "score": 0.143074631690979 + "score": 0.02632182091474533 } + } + }, + "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.8988636136054993 + "score": -0.12919187545776367 } - }, - "else": { - "operation": "boost", - "score": 0.012316456064581871 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07383754849433899 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07030829787254333 - }, - "else": { - "operation": "boost", - "score": -0.00396266533061862 } - }, - "else": { - "operation": "boost", - "score": -0.10918094217777252 } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18797290325164795 - }, - "else": { - "operation": "boost", - "score": -0.11583457142114639 - } + "operation": "boost", + "score": -0.15028971433639526 } } - }, - "else": { - "operation": "boost", - "score": -0.13001345098018646 } - }, - "else": { - "operation": "boost", - "score": -0.0831250473856926 } } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + } + }, + "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": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.1584652215242386 + "score": 0.07569621503353119 }, "else": { "operation": "boost", - "score": -0.07077977061271667 + "score": 0.10627882927656174 } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0913960188627243 - }, - "else": { - "operation": "boost", - "score": 0.031644467264413834 - } + "operation": "boost", + "score": -0.11768745630979538 } + }, + "else": { + "operation": "boost", + "score": 0.12014567106962204 } + }, + "else": { + "operation": "boost", + "score": 0.06059421971440315 } } }, "else": { "operation": "boost", - "score": -0.0006624541128985584 + "score": -0.00017533040954731405 } }, { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44693.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, "then": { - "operation": "boost", - "score": 0.0026886058039963245 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 57410.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 61318.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 74698.5, "then": { "operation": "boost", - "score": 0.0065157064236700535 + "score": 0.004652010276913643 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 73859.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.015767902135849 + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08361630141735077 + } }, "else": { "operation": "boost", - "score": 0.07540595531463623 + "score": -0.10999248176813126 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, + "operation": "boost", + "score": -0.1388789713382721 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.5, - "then": { - "operation": "boost", - "score": -0.1384878009557724 - }, - "else": { - "operation": "boost", - "score": 0.1002967432141304 - } + "operation": "boost", + "score": 0.08524066209793091 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.14751534163951874 - }, - "else": { - "operation": "boost", - "score": 0.06358753144741058 - } + "operation": "boost", + "score": 0.06431389600038528 } }, "else": { + "operation": "boost", + "score": -0.032425541430711746 + } + }, + "else": { + "operation": "boost", + "score": -0.03432999923825264 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1103019043803215 + "score": 0.11538337916135788 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.2046234905719757 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11640775203704834 - }, - "else": { - "operation": "boost", - "score": 0.10174212604761124 - } - } + "operation": "boost", + "score": 0.10971347242593765 } + }, + "else": { + "operation": "boost", + "score": 0.12205076217651367 } + }, + "else": { + "operation": "boost", + "score": 0.14593325555324554 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "operation": "boost", + "score": -1.5353137254714966 + }, + "else": { + "operation": "boost", + "score": 0.020786816254258156 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { + "operation": "boost", + "score": 0.11229343712329865 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.008372673764824867 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.007776371203362942 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.04065117612481117 + "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.8247279524803162 + "score": 0.0847851112484932 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 70.5, + "threshold": 60891.5, "then": { "operation": "boost", - "score": 0.062203921377658844 + "score": -0.7764049768447876 }, "else": { "operation": "boost", - "score": 0.10268248617649078 + "score": 0.07182060927152634 } } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -6.986021995544434 + }, + "else": { + "operation": "boost", + "score": 0.0568409338593483 + } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.09980235248804092 + "score": 0.039038367569446564 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.10026843845844269 + "score": 0.12761887907981873 }, "else": { - "operation": "boost", - "score": -0.07387662678956985 + "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.17808057367801666 + "score": -0.10748142749071121 } } + }, + "else": { + "operation": "boost", + "score": -0.19386409223079681 } }, - "else": { - "operation": "boost", - "score": 0.11309219896793365 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03578786551952362 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.15063545107841492 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.0868106260895729 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.08742573112249374 + "score": -0.01898382045328617 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 60891.5, "then": { "operation": "boost", - "score": 0.30334222316741943 + "score": 0.10875410586595535 }, "else": { "operation": "boost", - "score": -0.9144870042800903 + "score": 0.09329473227262497 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.7520674467086792 }, "else": { "operation": "boost", - "score": -0.03662513568997383 + "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 + } + } } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.05105435475707054 + } + }, + "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": 21.5, + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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.060525842010974884 + "score": 0.05147432163357735 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09969010204076767 - }, - "else": { - "operation": "boost", - "score": 0.10377471894025803 - } - }, - "else": { - "operation": "boost", - "score": -0.11236025393009186 - } - }, - "else": { - "operation": "boost", - "score": 0.0010016445303335786 - } + "operation": "boost", + "score": 0.14990685880184174 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11043684184551239 + "score": 0.3740459382534027 }, "else": { "operation": "boost", - "score": -0.1186300739645958 + "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.04848076030611992 + "score": -0.10491697490215302 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.12919940054416656 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11157489567995071 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 20.0, "then": { "operation": "boost", - "score": -0.0007890869164839387 + "score": 0.15892864763736725 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.10312923789024353 + } + }, + "else": { + "operation": "boost", + "score": 0.14960524439811707 + } + } + } + } + }, + "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": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.020394891500473022 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, - "then": { - "operation": "boost", - "score": -0.0060102492570877075 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.318543404340744 - }, - "else": { - "operation": "boost", - "score": 0.09680957347154617 - } - }, - "else": { - "operation": "boost", - "score": 0.10676822811365128 - } - } + "operation": "boost", + "score": -0.2525664269924164 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 51235.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "boost", - "score": -0.3784286379814148 - }, - "else": { - "operation": "boost", - "score": 0.12371313571929932 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.5, - "then": { - "operation": "boost", - "score": -0.32476478815078735 - }, - "else": { - "operation": "boost", - "score": -0.023405209183692932 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.09592451900243759 + "score": 0.07649464160203934 }, "else": { "operation": "boost", - "score": -0.15792855620384216 + "score": 0.14037805795669556 } + }, + "else": { + "operation": "boost", + "score": -0.1288444548845291 } } + }, + "else": { + "operation": "boost", + "score": -0.17707262933254242 } + }, + "else": { + "operation": "boost", + "score": -0.002822215436026454 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.027311034500598907 + "score": 0.1402774304151535 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.006129967514425516 + "score": 0.10660528391599655 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.025968067348003387 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.341219961643219 - }, - "else": { - "operation": "boost", - "score": 0.10071039944887161 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09117242693901062 - }, - "else": { - "operation": "boost", - "score": 0.07718922197818756 - } - } - } + "operation": "boost", + "score": 0.10722541064023972 } } }, "else": { "operation": "boost", - "score": -0.0013580998638644814 + "score": 0.10433872044086456 } }, "else": { - "operation": "boost", - "score": -0.005438691005110741 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 1.9874733686447144 + }, + "else": { + "operation": "boost", + "score": 0.07233064621686935 + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 103.5, + "threshold": 53478.0, "then": { "operation": "boost", - "score": 0.1360863745212555 + "score": 0.0989314392209053 }, "else": { - "operation": "boost", - "score": -0.12204200774431229 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 89.5, + "threshold": 50371.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32709.5, + "operation": "boost", + "score": 0.024940049275755882 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.009610038250684738 + "score": 0.11245232820510864 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.13524121046066284 - }, - "else": { - "operation": "boost", - "score": 0.02403014712035656 - } + "operation": "boost", + "score": 0.11674322187900543 } }, "else": { "operation": "boost", - "score": -0.02577712945640087 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05068914592266083 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 347.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 642.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1649.0, - "then": { - "operation": "boost", - "score": 0.10114127397537231 - }, - "else": { - "operation": "boost", - "score": -0.12966123223304749 - } - }, - "else": { - "operation": "boost", - "score": 0.14642833173274994 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234.5, - "then": { - "operation": "boost", - "score": -0.3314332365989685 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 209.0, - "then": { - "operation": "boost", - "score": 0.11424434185028076 - }, - "else": { - "operation": "boost", - "score": -0.07693345099687576 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04844742268323898 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "boost", - "score": 0.12445054948329926 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.0, - "then": { - "operation": "boost", - "score": -0.24558988213539124 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, - "then": { - "operation": "boost", - "score": 0.13773640990257263 - }, - "else": { - "operation": "boost", - "score": -0.3718754053115845 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 384.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 810.5, - "then": { - "operation": "boost", - "score": -0.18105559051036835 - }, - "else": { - "operation": "boost", - "score": 0.10029425472021103 - } - }, - "else": { - "operation": "boost", - "score": -0.29264023900032043 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179.0, - "then": { - "operation": "boost", - "score": 0.10881398618221283 - }, - "else": { - "operation": "boost", - "score": -0.22102214395999908 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11431147158145905 - } - }, - "else": { - "operation": "boost", - "score": -0.18530425429344177 - } - }, - "else": { - "operation": "boost", - "score": -0.20182450115680695 - } - } + "score": 0.09506946057081223 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0987384170293808 - }, - "else": { - "operation": "boost", - "score": -0.10585249960422516 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.016828903928399086 - }, - "else": { - "operation": "boost", - "score": -0.08030521869659424 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10949748009443283 - }, - "else": { - "operation": "boost", - "score": -0.14743708074092865 - } - }, - "else": { - "operation": "boost", - "score": 0.003037829417735338 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "boost", + "score": 0.07008079439401627 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.062093108892440796 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.029142923653125763 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.10828143358230591 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.19896964728832245 - }, - "else": { - "operation": "boost", - "score": 0.140606090426445 - } + "operation": "boost", + "score": 0.15537357330322266 }, "else": { "operation": "boost", - "score": 0.058489300310611725 + "score": 0.09330936521291733 } - }, - "else": { - "operation": "boost", - "score": -0.021528154611587524 } + }, + "else": { + "operation": "boost", + "score": -0.04703279957175255 } + }, + "else": { + "operation": "boost", + "score": 0.15227964520454407 } }, "else": { "operation": "boost", - "score": -0.01651824079453945 + "score": 0.07166149467229843 } - }, - "else": { + } + } + } + }, + "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": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.13779117166996002 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08111384510993958 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.0655820220708847 - }, - "else": { - "operation": "boost", - "score": 0.09798911213874817 - } + "operation": "boost", + "score": 0.04381415247917175 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": -1.306138277053833 + "score": 0.1847732812166214 }, "else": { "operation": "boost", - "score": 0.11170602589845657 + "score": 0.05911604315042496 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00185683136805892 }, "else": { "operation": "boost", - "score": 0.06475026160478592 + "score": 0.06278721988201141 } } + }, + "else": { + "operation": "boost", + "score": -0.16091430187225342 } }, "else": { "operation": "boost", - "score": 0.002199157141149044 + "score": 0.10378964245319366 } - }, - "else": { - "operation": "boost", - "score": -0.0007692964281886816 } - }, - "else": { + } + } + }, + "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": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01617545448243618 - }, - "else": { - "operation": "boost", - "score": -0.007414895575493574 - } + "operation": "boost", + "score": 0.08593820780515671 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03285720571875572 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.06958634406328201 - }, - "else": { - "operation": "boost", - "score": -0.09717558324337006 - } - } - }, - "else": { - "operation": "boost", - "score": -0.009216424077749252 - } + "operation": "boost", + "score": 0.10799949616193771 } }, "else": { - "operation": "boost", - "score": 0.0013368235668167472 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1373944729566574 + }, + "else": { + "operation": "boost", + "score": 0.46745210886001587 + } } + }, + "else": { + "operation": "boost", + "score": -0.13795490562915802 } }, "else": { + "operation": "boost", + "score": -0.11195701360702515 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor" + ], + "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": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.05435210466384888 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.11856988072395325 + "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.07818601280450821 + "score": -0.028749313205480576 } + }, + "else": { + "operation": "boost", + "score": 0.10874810814857483 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 18.0, "then": { "operation": "boost", - "score": 0.022891899570822716 + "score": 0.054599594324827194 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.13578131794929504 - }, - "else": { - "operation": "boost", - "score": 0.07949010282754898 - } + "operation": "boost", + "score": 0.11280345171689987 } }, "else": { "operation": "boost", - "score": -0.6340261697769165 + "score": 0.21769873797893524 } } }, "else": { - "operation": "boost", - "score": 0.03817535936832428 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025912538170814514 + }, + "else": { + "operation": "boost", + "score": 0.06705784797668457 + } } }, "else": { "operation": "boost", - "score": 0.0464051216840744 + "score": 0.04485302045941353 } + }, + "else": { + "operation": "boost", + "score": -0.10238359868526459 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 17.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Other" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.10630927979946136 - }, - "else": { - "operation": "boost", - "score": 0.12559838593006134 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 46094.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", - "Type", - "Function" + "Type" ], - "then": { - "operation": "boost", - "score": -0.023181535303592682 - }, - "else": { - "operation": "boost", - "score": -0.13561570644378662 - } - }, - "else": { - "operation": "boost", - "score": -0.020358366891741753 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00564197963103652 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010066379327327013 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 735.0, - "then": { - "operation": "boost", - "score": 0.009401259012520313 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 50563.0, "then": { - "operation": "boost", - "score": 0.04550551995635033 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 542.5, + "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": 13.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08653482794761658 + "score": 0.013823915272951126 }, "else": { - "operation": "boost", - "score": 0.11734839528799057 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.0, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.034339793026447296 + "score": -0.11287268251180649 }, "else": { - "operation": "boost", - "score": 0.09726070612668991 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12145405262708664 + }, + "else": { + "operation": "boost", + "score": 0.2272113412618637 + } } - }, - "else": { - "operation": "boost", - "score": -0.1538286954164505 } + }, + "else": { + "operation": "boost", + "score": -0.2061801254749298 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006461859680712223 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 531.0, + "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": 585.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 600.5, + "threshold": 49850.5, "then": { + "operation": "boost", + "score": 0.10101586580276489 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 722.5, + "threshold": 46972.0, "then": { - "operation": "boost", - "score": -0.18662424385547638 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07654022425413132 + }, + "else": { + "operation": "boost", + "score": -0.23720631003379822 + } }, "else": { - "operation": "boost", - "score": 0.08476843684911728 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.054211776703596115 + }, + "else": { + "operation": "boost", + "score": 0.15102164447307587 + } + }, + "else": { + "operation": "boost", + "score": -0.11489814519882202 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.18900862336158752 }, "else": { "operation": "boost", - "score": -0.5228885412216187 + "score": -0.0018304219702258706 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.5483795404434204 }, "else": { "operation": "boost", - "score": 0.10244359076023102 + "score": -0.1636817902326584 } - }, - "else": { - "operation": "boost", - "score": 0.010998183861374855 } } + }, + "else": { + "operation": "boost", + "score": -0.11290477961301804 } - } - }, - "else": { - "operation": "boost", - "score": 0.10343460738658905 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 153.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.03230595216155052 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45617.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.5, - "then": { - "operation": "boost", - "score": -0.08916517347097397 - }, - "else": { - "operation": "boost", - "score": 0.09961935877799988 - } + "operation": "boost", + "score": 0.09434407204389572 }, "else": { "operation": "boost", - "score": -0.15798267722129822 + "score": 0.11169496178627014 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0968015193939209 - }, - "else": { - "operation": "boost", - "score": -0.6242226362228394 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.1119430810213089 - }, - "else": { - "operation": "boost", - "score": -0.4225884675979614 - } - } + "operation": "boost", + "score": -0.015342934057116508 } } }, "else": { + "operation": "boost", + "score": -0.029774783179163933 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0001784097112249583 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "boost", + "score": 0.0025088773109018803 + }, + "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": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 16.5, "then": { - "operation": "boost", - "score": -0.16636553406715393 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09784101694822311 + "score": 0.07707984745502472 }, "else": { "operation": "boost", - "score": -0.21574093401432037 + "score": 0.1237017810344696 } + }, + "else": { + "operation": "boost", + "score": 0.08564302325248718 } + }, + "else": { + "operation": "boost", + "score": 0.11300083994865417 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3648.0, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { + "operation": "boost", + "score": 0.04623691737651825 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3680.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01596929132938385 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.14102497696876526 + "score": 0.14119671285152435 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3662.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04074908047914505 - }, - "else": { - "operation": "boost", - "score": 0.09733130782842636 - } - }, - "else": { - "operation": "boost", - "score": -0.12648531794548035 - } + "operation": "boost", + "score": 0.28811630606651306 } + }, + "else": { + "operation": "boost", + "score": 0.0755339190363884 } - }, - "else": { - "operation": "boost", - "score": 0.010219885036349297 } }, + "else": { + "operation": "boost", + "score": -0.10461778193712234 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.12931962311267853 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1109347864985466 + }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 8.244904165621847e-06 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 20.0, "then": { "operation": "boost", - "score": -0.12408505380153656 + "score": 0.1505088210105896 }, "else": { "operation": "boost", - "score": 0.11884467303752899 + "score": 0.09360408782958984 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10237147659063339 }, "else": { "operation": "boost", - "score": 0.08647217601537704 + "score": 0.10028702765703201 } - }, - "else": { - "operation": "boost", - "score": -0.19358345866203308 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 390.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 400.5, - "then": { - "operation": "boost", - "score": 0.03844108805060387 - }, - "else": { - "operation": "boost", - "score": 0.1042654812335968 - } - }, - "else": { - "operation": "boost", - "score": -0.1525883674621582 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2505.0, + "feature": "IsNameInContext", + "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_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Expression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.19451631605625153 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0671473890542984 + "score": -0.2868068218231201 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6150.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.10408563911914825 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3716.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": -0.14953014254570007 + "score": 0.07229796051979065 }, "else": { "operation": "boost", - "score": 0.10349664837121964 + "score": 0.11997708678245544 } + }, + "else": { + "operation": "boost", + "score": -0.1012093722820282 } } + }, + "else": { + "operation": "boost", + "score": -0.174350768327713 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 45940.0, "then": { + "operation": "boost", + "score": -0.0045111277140676975 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.050167519599199295 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.13882383704185486 + }, + "else": { + "operation": "boost", + "score": 0.1046372577548027 + } }, "else": { "operation": "boost", - "score": -0.10803019255399704 + "score": 0.10394002497196198 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.5, + "feature": "FileProximityDistance", + "threshold": 21.0, "then": { "operation": "boost", - "score": 0.12390213459730148 + "score": 0.32017946243286133 }, "else": { "operation": "boost", - "score": -0.11417917907238007 + "score": 0.062303245067596436 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { + "operation": "boost", + "score": 0.10371602326631546 }, "else": { + "operation": "boost", + "score": -0.23192457854747772 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 503.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.03830929100513458 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 308.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.10242877900600433 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07118792086839676 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.035152729600667953 + }, + "else": { + "operation": "boost", + "score": 0.06399407237768173 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 217.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2540508508682251 + "score": 0.0016451382543891668 }, "else": { "operation": "boost", - "score": 0.09748692065477371 + "score": 0.06294160336256027 } } + }, + "else": { + "operation": "boost", + "score": 0.10676082968711853 } + }, + "else": { + "operation": "boost", + "score": 0.1190202385187149 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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.03145479038357735 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.019083892926573753 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09893086552619934 + "score": 0.08367250114679337 }, "else": { "operation": "boost", - "score": 0.11115077137947083 + "score": 0.10788735747337341 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.11177794635295868 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 978.0, - "then": { - "operation": "boost", - "score": -0.09953229874372482 - }, - "else": { - "operation": "boost", - "score": 0.06766966730356216 - } - } + "operation": "boost", + "score": 0.13577619194984436 }, "else": { "operation": "boost", - "score": -1.5001015663146973 + "score": 0.3700982928276062 } - }, - "else": { - "operation": "boost", - "score": -0.10850758105516434 } + }, + "else": { + "operation": "boost", + "score": -0.13102716207504272 } + }, + "else": { + "operation": "boost", + "score": -0.10467901080846786 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor" + ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "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.1225314661860466 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08992621302604675 + }, + "else": { + "operation": "boost", + "score": 0.040841713547706604 + } }, "else": { "operation": "boost", - "score": 0.15923869609832764 + "score": -0.09923283755779266 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -1.1699150800704956 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 157.0, + "threshold": 46094.0, "then": { - "operation": "boost", - "score": -0.09996650367975235 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 154.5, + "threshold": 50563.0, "then": { - "operation": "boost", - "score": 0.12431775033473969 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "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.07553008943796158 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01861785352230072 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.11156768351793289 + }, + "else": { + "operation": "boost", + "score": 0.11745845526456833 + } + } }, "else": { "operation": "boost", - "score": -0.18522121012210846 + "score": -0.19768323004245758 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13507886230945587 }, "else": { - "operation": "boost", - "score": 0.05974628031253815 + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49850.5, + "then": { + "operation": "boost", + "score": 0.0987117812037468 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.035481639206409454 + } + }, + "else": { + "operation": "boost", + "score": -0.1913919299840927 + } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45617.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 164.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -2.3765530586242676 + "score": 0.0926065444946289 }, "else": { "operation": "boost", - "score": 0.01782161369919777 + "score": 0.1084149181842804 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "boost", - "score": -0.3003700077533722 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.14436572790145874 - }, - "else": { - "operation": "boost", - "score": 0.157717764377594 - } + "operation": "boost", + "score": 0.07141455262899399 }, "else": { "operation": "boost", - "score": 0.05311787128448486 + "score": 0.0901193767786026 } + }, + "else": { + "operation": "boost", + "score": -0.04223497584462166 } }, "else": { "operation": "boost", - "score": -0.1165594756603241 + "score": -0.20336401462554932 } } } + }, + "else": { + "operation": "boost", + "score": -0.10232371091842651 } + }, + "else": { + "operation": "boost", + "score": -0.025350017473101616 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.03390425816178322 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12882794439792633 + "score": 0.05806632712483406 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10010753571987152 - }, - "else": { - "operation": "boost", - "score": 0.11265120655298233 - } + "operation": "boost", + "score": 0.08882758021354675 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.19954878091812134 + "score": 0.062032002955675125 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 429.0, - "then": { - "operation": "boost", - "score": -0.12072113156318665 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 316.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.10752341151237488 - }, - "else": { - "operation": "boost", - "score": 0.22052791714668274 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.4076871871948242 - }, - "else": { - "operation": "boost", - "score": -0.13590025901794434 - } - } - } + "operation": "boost", + "score": 0.08508305996656418 } } } - }, - "else": { - "operation": "boost", - "score": 0.1289433389902115 } }, "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": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 28.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "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": { - "operation": "boost", - "score": 0.11023097485303879 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1114841029047966 + }, + "else": { + "operation": "boost", + "score": 0.128191739320755 + } + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.038851380348205566 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "boost", - "score": -0.27843108773231506 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 271.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 332.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.4136451482772827 + "score": 0.14768265187740326 }, "else": { "operation": "boost", - "score": 0.1955908238887787 + "score": -0.1556587517261505 } }, "else": { "operation": "boost", - "score": 0.5831213593482971 + "score": 0.04983769357204437 } + }, + "else": { + "operation": "boost", + "score": -0.0037963639479130507 } - }, - "else": { - "operation": "boost", - "score": 0.10556507855653763 } - }, - "else": { - "operation": "boost", - "score": -0.1742013692855835 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 301.0, - "then": { - "operation": "boost", - "score": 0.1256043165922165 - }, - "else": { - "operation": "boost", - "score": -0.20176292955875397 - } - } - }, - "else": { - "operation": "boost", - "score": -0.03584706038236618 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03260207921266556 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.011081366799771786 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119809.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125993.5, - "then": { - "operation": "boost", - "score": 0.018846161663532257 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.18676933646202087 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07954125851392746 + "score": -0.21291767060756683 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08616674691438675 + "score": 0.0034490376710891724 }, "else": { "operation": "boost", - "score": -0.10075382143259048 + "score": 0.09964624047279358 } }, + "else": { + "operation": "boost", + "score": -0.10337429493665695 + } + } + }, + "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": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2880.5, "then": { "operation": "boost", - "score": 0.09765032678842545 + "score": -0.042001236230134964 }, "else": { "operation": "boost", - "score": 0.0945926159620285 + "score": 0.08346503227949142 } } + }, + "else": { + "operation": "boost", + "score": 0.10188090056180954 } }, "else": { "operation": "boost", - "score": -0.10359412431716919 + "score": -0.051212914288043976 } } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": 0.01683840900659561 - }, - "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 201.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 209.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.007793319411575794 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 367.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 408.0, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 793.0, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1903.0, + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.018538521602749825 + "score": 0.11736910045146942 }, "else": { "operation": "boost", - "score": 0.10026346892118454 + "score": 0.025244319811463356 } }, "else": { "operation": "boost", - "score": -0.14502102136611938 + "score": 0.13949540257453918 } }, "else": { "operation": "boost", - "score": 0.10965323448181152 + "score": 0.024430034682154655 } }, "else": { - "operation": "boost", - "score": -0.030789310112595558 + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0007593804621137679 + }, + "else": { + "operation": "boost", + "score": -0.10931634902954102 + } } + }, + "else": { + "operation": "boost", + "score": 0.0656266063451767 } }, "else": { "operation": "boost", - "score": -0.3506630063056946 + "score": 0.020495561882853508 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 198.5, + "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": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.5534853339195251 + "score": 0.07326837629079819 }, "else": { - "operation": "boost", - "score": 0.1116061806678772 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.5, - "then": { - "operation": "boost", - "score": -0.29827573895454407 - }, - "else": { - "operation": "boost", - "score": 0.09727892279624939 - } + "operation": "boost", + "score": -0.079692043364048 }, "else": { "operation": "boost", - "score": 0.11285123229026794 + "score": 0.10312933474779129 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0786970779299736 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, - "then": { - "operation": "boost", - "score": -0.0435054749250412 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "boost", - "score": 0.11039989441633224 - }, - "else": { - "operation": "boost", - "score": 0.03870207443833351 - } - } + "operation": "boost", + "score": -0.4010354280471802 } } } }, "else": { "operation": "boost", - "score": 0.04292471334338188 + "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, + "then": { + "operation": "boost", + "score": -0.005988071672618389 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12699712812900543 + }, + "else": { + "operation": "boost", + "score": 0.06899964809417725 + } + } + } + }, + "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": "boost", - "score": 0.004804597236216068 } }, - "else": { - "operation": "boost", - "score": -4.0428611100651324e-05 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.000398845731979236 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.004189793020486832 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.008870812132954597 - }, - "else": { - "operation": "boost", - "score": 0.0030730071011930704 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0005186159978620708 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.010149571113288403 - }, - "else": { - "operation": "boost", - "score": -0.0306964460760355 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.05082268267869949 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { + "operation": "boost", + "score": 0.11399231851100922 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 72.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.021921848878264427 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.06699591130018234 + }, + "else": { + "operation": "boost", + "score": 0.10614235699176788 + } }, "else": { "operation": "boost", - "score": 0.15350989997386932 + "score": -0.003748284885659814 } }, "else": { - "operation": "boost", - "score": -0.08151321858167648 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03476792946457863 + }, + "else": { + "operation": "boost", + "score": -0.10725698620080948 + } } }, "else": { "operation": "boost", - "score": 0.021797027438879013 + "score": -0.8604269623756409 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2325.0, "then": { "operation": "boost", - "score": 0.027730314061045647 + "score": -0.0951065719127655 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23993.5, + "threshold": 382.0, "then": { + "operation": "boost", + "score": 0.0960458517074585 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1050487533211708 + "score": 0.10841409116983414 }, "else": { - "operation": "boost", - "score": 0.03309241309762001 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.5, + "then": { + "operation": "boost", + "score": -0.31901994347572327 + }, + "else": { + "operation": "boost", + "score": 0.0661940947175026 + } } - }, - "else": { - "operation": "boost", - "score": -0.0036536231637001038 } } } }, "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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": "NumReferences", - "threshold": 159753.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.04937702789902687 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.07645109295845032 + "score": 0.11228322237730026 }, "else": { - "operation": "boost", - "score": 0.037544842809438705 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.15906639397144318 + }, + "else": { + "operation": "boost", + "score": 0.1165936216711998 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53793.5, + "then": { + "operation": "boost", + "score": -0.23334987461566925 + }, + "else": { + "operation": "boost", + "score": 0.08607526868581772 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0844583660364151 }, "else": { + "operation": "boost", + "score": 0.06616829335689545 + } + }, + "else": { + "operation": "boost", + "score": -0.12071814388036728 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.031243404373526573 + }, + "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": 6.5, + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.030352506786584854 + "score": 0.10893280804157257 }, "else": { "operation": "boost", - "score": 0.04609174653887749 + "score": 0.11351688951253891 } + }, + "else": { + "operation": "boost", + "score": 0.09252933412790298 } + }, + "else": { + "operation": "boost", + "score": -0.10174600780010223 } - }, - "else": { - "operation": "boost", - "score": 0.022029217332601547 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.016566473990678787 + "score": 0.10913858562707901 }, "else": { + "operation": "boost", + "score": -0.2684631943702698 + } + }, + "else": { + "operation": "boost", + "score": 0.04845018312335014 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.0, + "then": { + "operation": "boost", + "score": -0.11246698349714279 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.12010674923658371 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.15525050461292267 - }, - "else": { - "operation": "boost", - "score": 0.09007876366376877 - } - } + "operation": "boost", + "score": 0.10006517171859741 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 201.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 322.5, - "then": { - "operation": "boost", - "score": 0.036685761064291 - }, - "else": { - "operation": "boost", - "score": 0.1174946203827858 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0035705373156815767 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.1302080601453781 - }, - "else": { - "operation": "boost", - "score": -0.12197186797857285 - } - }, - "else": { - "operation": "boost", - "score": 0.012004075571894646 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.101504385471344 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.1130419671535492 - }, - "else": { - "operation": "boost", - "score": 0.12182875722646713 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.028754573315382004 - } - } - } + "operation": "boost", + "score": 0.14829295873641968 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85946.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.32260146737098694 + "score": 0.08151865005493164 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.108163021504879 - }, - "else": { - "operation": "boost", - "score": 0.04824680835008621 - } + "operation": "boost", + "score": 0.1096639558672905 } }, "else": { - "operation": "boost", - "score": -0.05309305712580681 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.06373075395822525 + "score": 0.13209940493106842 }, "else": { "operation": "boost", - "score": 0.10502868890762329 + "score": 0.2612631618976593 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.004301621578633785 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72744.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.057470936328172684 + "score": -0.11047748476266861 }, "else": { - "operation": "boost", - "score": 0.04775302857160568 + "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 + } } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "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, + "then": { + "operation": "boost", + "score": -0.031858544796705246 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 27.5, + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.10742686688899994 + "score": 0.1049414649605751 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.0325215607881546 + "score": -0.011272563599050045 }, "else": { - "operation": "boost", - "score": 0.015357174910604954 + "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 + } + } } } }, "else": { + "operation": "boost", + "score": 0.02421341836452484 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace" + "Variable", + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 46972.0, "then": { "operation": "boost", - "score": 0.07663431018590927 + "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": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02767247147858143 + "score": -0.10148660838603973 }, "else": { "operation": "boost", - "score": 0.12056218087673187 + "score": 0.07658649235963821 } }, "else": { "operation": "boost", - "score": 0.061673372983932495 + "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": 5.5, + "threshold": 21.0, "then": { "operation": "boost", - "score": 0.1418878138065338 + "score": -0.11542519927024841 }, "else": { "operation": "boost", - "score": 0.0667756125330925 + "score": 0.09776361286640167 } } + }, + "else": { + "operation": "boost", + "score": 0.015040401369333267 } }, "else": { "operation": "boost", - "score": 0.020693983882665634 + "score": -0.028411677107214928 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.13756196200847626 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45618.0, + "then": { + "operation": "boost", + "score": -0.28125059604644775 + }, + "else": { + "operation": "boost", + "score": 0.06294083595275879 + } }, "else": { "operation": "boost", - "score": 0.03359142690896988 + "score": -0.21939319372177124 } + }, + "else": { + "operation": "boost", + "score": 0.01572791486978531 } } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, "then": { + "operation": "boost", + "score": -0.14924325048923492 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { + "operation": "boost", + "score": 0.08163640648126602 + }, + "else": { + "operation": "boost", + "score": -0.1355830878019333 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13839493691921234 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.011268675327301025 + "score": 0.09318668395280838 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.055317576974630356 - }, - "else": { - "operation": "boost", - "score": 0.16812783479690552 - } + "operation": "boost", + "score": -0.21535570919513702 } - }, - "else": { - "operation": "boost", - "score": -0.015022228471934795 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.02541903220117092 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.12750785052776337 - }, - "else": { - "operation": "boost", - "score": 0.07929851859807968 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.004775326699018478 - }, - "else": { - "operation": "boost", - "score": 0.06425613909959793 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.00489629153162241 - } + "operation": "boost", + "score": 0.05986829102039337 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.004807885270565748 - }, - "else": { - "operation": "boost", - "score": -0.01743244379758835 - } + "operation": "boost", + "score": 0.10106601566076279 } }, "else": { "operation": "boost", - "score": -0.006304871290922165 + "score": 0.11529373377561569 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0020896114874631166 - }, - "else": { - "operation": "boost", - "score": -0.009981359355151653 - } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.005263837520033121 - }, - "else": { - "operation": "boost", - "score": -0.015249144285917282 - } + "operation": "boost", + "score": -0.0039760032668709755 } + }, + "else": { + "operation": "boost", + "score": -0.06392844021320343 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.0009065884514711797 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_UnionTag", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.018470117822289467 + }, + "else": { + "operation": "boost", + "score": 0.00531742861494422 + } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.002963850973173976 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Destructor", + "Constructor", + "Namespace" ], "then": { - "operation": "boost", - "score": -0.028110897168517113 - }, - "else": { - "operation": "boost", - "score": -0.033382415771484375 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.008979862555861473 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "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": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "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": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.012692549265921116 + "score": 0.04491439834237099 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.06831411272287369 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.012169278226792812 + "score": 0.05075547844171524 }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.1021411269903183 + "score": 0.05376245453953743 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.10105443000793457 - }, - "else": { - "operation": "boost", - "score": 0.12787066400051117 - } - }, - "else": { - "operation": "boost", - "score": -0.06827107816934586 - } - }, - "else": { - "operation": "boost", - "score": 0.1321018785238266 - } - }, - "else": { - "operation": "boost", - "score": 0.14074718952178955 - } - }, - "else": { - "operation": "boost", - "score": 0.04068984463810921 - } + "operation": "boost", + "score": 0.05482763424515724 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.09737873822450638 - }, - "else": { - "operation": "boost", - "score": -0.11833981424570084 - } - }, - "else": { - "operation": "boost", - "score": 0.06743375211954117 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11583805084228516 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.09249390661716461 - }, - "else": { - "operation": "boost", - "score": 0.06920914351940155 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.08660858869552612 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.09179224818944931 - }, - "else": { - "operation": "boost", - "score": 0.08900410681962967 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10843950510025024 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.09704510867595673 - }, - "else": { - "operation": "boost", - "score": 0.025647249072790146 - } - } + "operation": "boost", + "score": 0.11072346568107605 } } } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.025161609053611755 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.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": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.018777642399072647 + "score": 0.05990159884095192 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "boost", + "score": -0.1963401734828949 + } + } + }, + "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.10202217847108841 + "score": 0.099054254591465 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03303670883178711 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08358409255743027 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10659046471118927 - }, - "else": { - "operation": "boost", - "score": 0.03303445875644684 - } - }, - "else": { - "operation": "boost", - "score": 0.017356129363179207 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04994162544608116 - } - } + "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 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11188481003046036 + "score": -0.0033702098298817873 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.005941247101873159 + "score": 0.10125155001878738 }, "else": { + "operation": "boost", + "score": 0.07628054916858673 + } + } + }, + "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": 6.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.018929339945316315 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.21666662395000458 + }, + "else": { + "operation": "boost", + "score": 0.0730644017457962 + } + }, + "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 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0866822898387909 + "score": 0.09336747974157333 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 25.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.1597154587507248 + "score": 0.10094273835420609 }, "else": { - "operation": "boost", - "score": 0.04161675274372101 + "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 + } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 35.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10108578950166702 }, "else": { "operation": "boost", - "score": 0.707916259765625 + "score": -0.059991154819726944 } }, - "else": { - "operation": "boost", - "score": -0.06344616413116455 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.016549766063690186 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.030855346471071243 - }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "CCC_UnionTag", + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.03536834195256233 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.07791754603385925 + }, + "else": { + "operation": "boost", + "score": 0.10452084988355637 + } + }, + "else": { + "operation": "boost", + "score": 0.05040108785033226 + } }, "else": { "operation": "boost", - "score": -0.33320072293281555 + "score": 0.016338763758540154 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.22309866547584534 + "score": -0.11166251450777054 }, "else": { + "operation": "boost", + "score": -0.014916523359715939 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", - "score": 0.002911757444962859 + "score": 0.04290100932121277 }, "else": { "operation": "boost", - "score": -0.1402530074119568 + "score": -0.01510439533740282 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04642566293478012 }, "else": { - "operation": "boost", - "score": 0.0850069597363472 + "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": "boost", + "score": 0.07215309143066406 + }, + "else": { + "operation": "boost", + "score": -0.04347705841064453 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13552676141262054 + }, + "else": { + "operation": "boost", + "score": -0.009353257715702057 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.02414952963590622 - }, - "else": { - "operation": "boost", - "score": -0.06307366490364075 - } + "operation": "boost", + "score": 0.008759884163737297 } } }, "else": { - "operation": "boost", - "score": 0.024377016350626945 + "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": "boost", + "score": -0.013391693122684956 + }, + "else": { + "operation": "boost", + "score": -0.2549056112766266 + } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.009569800458848476 - }, - "else": { - "operation": "boost", - "score": -0.00491673406213522 - } } - }, - "else": { - "operation": "boost", - "score": -0.0020918049849569798 } }, "else": { "operation": "boost", - "score": -0.003014184068888426 + "score": -0.08257732540369034 } + }, + "else": { + "operation": "boost", + "score": -0.008827724494040012 } } } @@ -308307,2528 +294613,2903 @@ }, { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44693.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, "then": { "operation": "boost", - "score": 0.002851247787475586 + "score": 0.0021298343781381845 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 52191.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 55483.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 347.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.09795280545949936 + "score": 0.04699995741248131 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.12921904027462006 + "score": 0.10646212100982666 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 270.0, + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1253780871629715 + }, + "else": { + "operation": "boost", + "score": 0.1129627525806427 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.051896460354328156 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52893.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0606209971010685 + }, + "else": { + "operation": "boost", + "score": -0.09993122518062592 + } + }, + "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": "NumReferences", - "threshold": 324.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.23979277908802032 + "score": 0.1070016399025917 + }, + "else": { + "operation": "boost", + "score": 0.11197250336408615 + } + }, + "else": { + "operation": "boost", + "score": 0.0909932404756546 + } + }, + "else": { + "operation": "boost", + "score": -0.10133535414934158 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10837358981370926 + }, + "else": { + "operation": "boost", + "score": -0.22446170449256897 + } + }, + "else": { + "operation": "boost", + "score": 0.050039779394865036 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.0, + "then": { + "operation": "boost", + "score": -0.11130452156066895 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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": "NumReferences", - "threshold": 280.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.1359618902206421 + "score": 0.1295604705810547 }, "else": { "operation": "boost", - "score": -0.10393854230642319 + "score": 0.12425052374601364 } } }, "else": { "operation": "boost", - "score": 0.13466770946979523 + "score": -0.26286348700523376 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.017741011455655098 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.10933378338813782 + }, + "else": { + "operation": "boost", + "score": 0.11006833612918854 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09472520649433136 + }, + "else": { + "operation": "boost", + "score": -0.10218559950590134 + } } } } }, "else": { - "operation": "boost", - "score": 0.1283680498600006 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 48488.5, "then": { "operation": "boost", - "score": 0.08329565078020096 + "score": -0.02796274796128273 }, "else": { "operation": "boost", - "score": -0.07156103849411011 + "score": 0.031612787395715714 } - }, - "else": { - "operation": "boost", - "score": 0.1137135773897171 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 38.5, + "threshold": 45940.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 136.0, + "threshold": 48488.5, "then": { "operation": "boost", - "score": 0.024213537573814392 + "score": -0.13953116536140442 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.0, + "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.26634523272514343 + "score": 0.0757497251033783 }, "else": { "operation": "boost", - "score": 0.017287572845816612 + "score": -0.12911589443683624 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.09909836947917938 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2853240370750427 + "score": 0.053832877427339554 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09627428650856018 - }, - "else": { - "operation": "boost", - "score": 0.1136745736002922 - } + "operation": "boost", + "score": 0.09894530475139618 } }, "else": { + "operation": "boost", + "score": 0.11469823867082596 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.003234793432056904 + } + }, + "else": { + "operation": "boost", + "score": -0.0560782290995121 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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.030620109289884567 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05226927250623703 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.05003878474235535 + }, + "else": { + "operation": "boost", + "score": 0.0785905197262764 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.01888909935951233 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.032056476920843124 + "score": -0.08468936383724213 }, "else": { "operation": "boost", - "score": 0.06575483828783035 + "score": -0.016451891511678696 } + }, + "else": { + "operation": "boost", + "score": -0.015063953585922718 } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.05199561268091202 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.024357063695788383 + "score": 0.11574782431125641 }, "else": { "operation": "boost", - "score": 0.10122755169868469 + "score": -0.15115578472614288 } }, "else": { + "operation": "boost", + "score": 0.0024275665637105703 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.019728554412722588 + }, + "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_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.1610245257616043 + "score": 0.020172150805592537 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010537962429225445 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.07195115834474564 + }, + "else": { + "operation": "boost", + "score": 0.04714867100119591 + } + } + }, + "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": "boost", + "score": 0.016644541174173355 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.040111470967531204 + }, + "else": { + "operation": "boost", + "score": -0.03425687551498413 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.08946972340345383 + }, + "else": { + "operation": "boost", + "score": 0.014945494942367077 + } }, "else": { "operation": "boost", - "score": 0.08513635396957397 + "score": -0.06416908651590347 } + }, + "else": { + "operation": "boost", + "score": -0.013301610015332699 } } } - }, - "else": { - "operation": "boost", - "score": 0.00678001856431365 } - }, - "else": { + } + }, + "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": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.024371081963181496 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.15911193192005157 + "score": 0.018479792401194572 }, "else": { - "operation": "boost", - "score": -0.037490904331207275 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11399073153734207 + "score": -0.21458065509796143 }, "else": { - "operation": "boost", - "score": 0.11109279841184616 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.051240887492895126 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.17168636620044708 + "score": 0.03553083911538124 }, "else": { "operation": "boost", - "score": 0.14049747586250305 + "score": 0.15297438204288483 } + }, + "else": { + "operation": "boost", + "score": -0.024479741230607033 } - }, - "else": { - "operation": "boost", - "score": 0.01599927619099617 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "HadSymbolType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0027551574166864157 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 179.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09734471887350082 - }, - "else": { - "operation": "boost", - "score": -0.13776400685310364 - } - }, - "else": { - "operation": "boost", - "score": 0.020319579169154167 - } + "operation": "boost", + "score": -0.1304665356874466 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0924823209643364 + "score": -0.12330363690853119 }, "else": { "operation": "boost", - "score": 0.10417758673429489 + "score": 0.09681470692157745 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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.020681731402873993 + "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": "boost", - "score": -0.057160671800374985 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01633737049996853 + }, + "else": { + "operation": "boost", + "score": 0.1015944555401802 + } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.035664159804582596 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": 0.1029600277543068 + }, + "else": { + "operation": "boost", + "score": 0.11559586971998215 + } + }, + "else": { + "operation": "boost", + "score": 0.029060887172818184 + } }, "else": { "operation": "boost", - "score": 0.08115740865468979 + "score": 0.02567414380609989 } }, "else": { "operation": "boost", - "score": -0.013586352579295635 + "score": 0.01458948478102684 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.23769111931324005 + "score": -0.09875456988811493 }, "else": { - "operation": "boost", - "score": 0.09937864542007446 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38351.0, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148760.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.15486428141593933 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "boost", - "score": 0.10164317488670349 + "score": 0.11909658461809158 }, "else": { "operation": "boost", - "score": 0.1040199026465416 + "score": 0.028000421822071075 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.025405848398804665 + "score": 0.11842668801546097 }, "else": { "operation": "boost", - "score": 0.09587594866752625 + "score": -0.07554042339324951 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.03411908447742462 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73593.0, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.04996839538216591 - }, - "else": { - "operation": "boost", - "score": 0.1062195673584938 - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43288.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.008656409569084644 + "score": -0.11308007687330246 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10796269029378891 + "score": 0.11058933287858963 }, "else": { "operation": "boost", - "score": 0.10812323540449142 + "score": 0.10877928137779236 } } }, "else": { "operation": "boost", - "score": -0.046119317412376404 + "score": 0.042333655059337616 } - } - }, - "else": { - "operation": "boost", - "score": -0.1906091868877411 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25286.5, - "then": { - "operation": "boost", - "score": -0.20908211171627045 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25175.0, - "then": { - "operation": "boost", - "score": 0.10393952578306198 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20361.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.7350934147834778 - }, - "else": { - "operation": "boost", - "score": -0.028903642669320107 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19905.0, - "then": { - "operation": "boost", - "score": 0.10380912572145462 }, "else": { "operation": "boost", - "score": 0.01501364354044199 + "score": 0.042430102825164795 } } } + }, + "else": { + "operation": "boost", + "score": -0.006567520089447498 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.01193167082965374 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33610.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, - "then": { - "operation": "boost", - "score": 0.09759410470724106 - }, - "else": { - "operation": "boost", - "score": -0.15108218789100647 - } - }, - "else": { - "operation": "boost", - "score": -0.3206634223461151 - } + "operation": "boost", + "score": 0.051991090178489685 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24776.0, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10051172971725464 + "score": -0.11342611908912659 }, "else": { "operation": "boost", - "score": 0.10413903743028641 + "score": 0.12562507390975952 } } } } - }, - "else": { - "operation": "boost", - "score": -0.0029800196643918753 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12179415673017502 + }, + "else": { + "operation": "boost", + "score": -0.0007285083411261439 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0798448920249939 + "score": 0.10198889672756195 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10576050728559494 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.125936821103096 - }, - "else": { - "operation": "boost", - "score": -0.10008502006530762 - } - }, - "else": { - "operation": "boost", - "score": 0.12306419759988785 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10938192903995514 - } + "operation": "boost", + "score": 0.04110679030418396 } }, "else": { "operation": "boost", - "score": -0.010285921394824982 + "score": 0.13086001574993134 } + } + }, + "else": { + "operation": "boost", + "score": -0.01506817527115345 + } + } + } + }, + "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_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 141.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.048770472407341 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20.5, + "threshold": 434.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.046091191470623016 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.1088041439652443 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.1354338675737381 - }, - "else": { - "operation": "boost", - "score": 0.06637337058782578 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10906396061182022 - }, - "else": { - "operation": "boost", - "score": 0.13718366622924805 - } - }, - "else": { - "operation": "boost", - "score": -0.11239619553089142 - } - } - } + "operation": "boost", + "score": 0.061771273612976074 }, "else": { "operation": "boost", - "score": 0.02798815816640854 + "score": 0.1067177951335907 } } + }, + "else": { + "operation": "boost", + "score": -0.019679885357618332 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "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": 15.5, + "threshold": 308.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.050016868859529495 + }, + "else": { + "operation": "boost", + "score": 0.1093577966094017 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.2909981608390808 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 126.5, + "threshold": 51.0, "then": { "operation": "boost", - "score": 0.0403740219771862 + "score": -0.04054215922951698 }, "else": { + "operation": "boost", + "score": 0.10431835800409317 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107.0, + "threshold": 32.5, "then": { "operation": "boost", - "score": 0.10366760939359665 + "score": -0.11169867217540741 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.018109023571014404 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": -0.09492343664169312 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.10744570940732956 - }, - "else": { - "operation": "boost", - "score": 0.09358758479356766 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.04184625297784805 - } + "operation": "boost", + "score": 0.09529092162847519 } + }, + "else": { + "operation": "boost", + "score": 0.06678686290979385 } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.003411918645724654 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "boost", + "score": 0.002021051710471511 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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.03925583139061928 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.10350647568702698 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.12170543521642685 + }, + "else": { + "operation": "boost", + "score": 0.1097479909658432 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04719622805714607 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52893.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07625479251146317 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02231592684984207 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.053110040724277496 + }, + "else": { + "operation": "boost", + "score": 0.19672761857509613 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.019083362072706223 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.05713518708944321 }, "else": { "operation": "boost", - "score": -0.8001583218574524 + "score": 0.11903303116559982 } }, "else": { "operation": "boost", - "score": -0.06289856135845184 + "score": 0.10101723670959473 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": "NumReferences", - "threshold": 177.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 189.0, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200.0, - "then": { - "operation": "boost", - "score": 0.042721789330244064 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 194.5, - "then": { - "operation": "boost", - "score": 0.11106269061565399 - }, - "else": { - "operation": "boost", - "score": 0.002641551662236452 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07107429206371307 - } + "operation": "boost", + "score": -0.1169593334197998 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 53478.0, "then": { "operation": "boost", - "score": -0.12785720825195312 + "score": 0.1257636547088623 }, "else": { "operation": "boost", - "score": 0.10090173780918121 + "score": -0.13885675370693207 } } }, "else": { + "operation": "boost", + "score": 0.05812850967049599 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.5056685209274292 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.10517048835754395 + }, + "else": { + "operation": "boost", + "score": -0.19257064163684845 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.06431349366903305 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "boost", - "score": 0.07068493962287903 - }, - "else": { - "operation": "boost", - "score": 0.1303989589214325 - } - }, - "else": { - "operation": "boost", - "score": -0.13099656999111176 - } - }, - "else": { - "operation": "boost", - "score": -0.026238517835736275 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92.5, - "then": { - "operation": "boost", - "score": -0.09963084757328033 - }, - "else": { - "operation": "boost", - "score": 0.1054358184337616 - } - }, - "else": { - "operation": "boost", - "score": -0.20622868835926056 - } - } - } + "feature": "NumReferences", + "threshold": 53478.0, + "then": { + "operation": "boost", + "score": 0.012673157267272472 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13453085720539093 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.04605526849627495 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1499893069267273 - }, - "else": { - "operation": "boost", - "score": -0.1155071035027504 - } - } - }, - "else": { - "operation": "boost", - "score": -0.3549744784832001 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -1.0042202472686768 - }, - "else": { - "operation": "boost", - "score": 0.0829610675573349 - } - }, - "else": { - "operation": "boost", - "score": -0.4273902177810669 - } - }, - "else": { - "operation": "boost", - "score": 0.11821403354406357 - } - } + "operation": "boost", + "score": 0.08985140919685364 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.10097365826368332 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.027302635833621025 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.02523423545062542 - }, - "else": { - "operation": "boost", - "score": 0.014518515206873417 - } - } - } + "operation": "boost", + "score": 0.11173875629901886 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.04468013346195221 }, "else": { - "operation": "boost", - "score": -0.1276027113199234 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, + "then": { + "operation": "boost", + "score": -0.15749847888946533 + }, + "else": { + "operation": "boost", + "score": 0.12295616418123245 + } } } + }, + "else": { + "operation": "boost", + "score": 1.5974023342132568 } } + }, + "else": { + "operation": "boost", + "score": 0.0014131860807538033 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.08901982009410858 - }, - "else": { - "operation": "boost", - "score": -0.010190151631832123 - } + "operation": "boost", + "score": -0.11090686172246933 } } } }, "else": { - "operation": "boost", - "score": -0.0034641576930880547 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0010567856952548027 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11440.5, - "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 51599.0, "then": { "operation": "boost", - "score": -0.06170613691210747 + "score": -0.11054067313671112 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 278454.0, + "threshold": 50563.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.11803433299064636 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10005316138267517 + }, + "else": { + "operation": "boost", + "score": 0.13801875710487366 + } }, "else": { - "operation": "boost", - "score": -0.12612761557102203 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07584599405527115 + }, + "else": { + "operation": "boost", + "score": 0.10994135588407516 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12660382688045502 + }, + "else": { + "operation": "boost", + "score": 0.1219019815325737 + } + } + }, + "else": { + "operation": "boost", + "score": -0.24044907093048096 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.008075808174908161 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.10839614272117615 + }, + "else": { + "operation": "boost", + "score": 0.1068584993481636 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09264113754034042 + }, + "else": { + "operation": "boost", + "score": -0.10896036028862 + } + } + } } }, "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": 135000.5, + "threshold": 45940.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 174254.0, + "threshold": 48488.5, "then": { "operation": "boost", - "score": 0.0649544969201088 + "score": -0.13605047762393951 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "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.11140987277030945 + "score": 0.06790827959775925 }, "else": { "operation": "boost", - "score": -0.17394816875457764 + "score": -0.13412067294120789 } } }, "else": { - "operation": "boost", - "score": 0.055516768246889114 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0961642637848854 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05052567645907402 + }, + "else": { + "operation": "boost", + "score": 0.09661832451820374 + } + }, + "else": { + "operation": "boost", + "score": 0.11334946751594543 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.0027919779531657696 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.042564671486616135 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.005067338701337576 + "score": -0.21353879570960999 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.05044156685471535 - }, - "else": { - "operation": "boost", - "score": -0.3655174970626831 - } + "operation": "boost", + "score": -0.06059994176030159 } } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34194.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11253.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09057972580194473 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 44220.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05341566354036331 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.0, + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.11685420572757721 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.11812945455312729 - }, - "else": { - "operation": "boost", - "score": 0.1288699209690094 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11016728729009628 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "threshold": 17.0, "then": { - "operation": "boost", - "score": 0.010977262631058693 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.10896818339824677 + }, + "else": { + "operation": "boost", + "score": -0.20136815309524536 + } }, "else": { - "operation": "boost", - "score": 0.0012318540830165148 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03727278485894203 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.08613656461238861 + }, + "else": { + "operation": "boost", + "score": 0.11385894566774368 + } + } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.0014304250944405794 + "score": -0.03942803293466568 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": -0.023786619305610657 + "score": 0.12299884110689163 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.007549452595412731 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.008844307623803616 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.06950309872627258 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.11890006065368652 - }, - "else": { - "operation": "boost", - "score": 0.10151354223489761 - } - }, - "else": { - "operation": "boost", - "score": -0.1545015275478363 - } - } - }, - "else": { - "operation": "boost", - "score": -0.02585441805422306 - } - } - } + "operation": "boost", + "score": -0.2086666226387024 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.2355956733226776 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "boost", - "score": 0.10864445567131042 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.05034278333187103 - }, - "else": { - "operation": "boost", - "score": 0.0172798503190279 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0022472115233540535 - } + "operation": "boost", + "score": -0.37009701132774353 + }, + "else": { + "operation": "boost", + "score": 0.09866248816251755 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07760737836360931 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11245398223400116 }, "else": { "operation": "boost", - "score": 0.02194320037961006 + "score": -0.3149472177028656 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.07548188418149948 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_Statement", "CCC_Expression" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.008239956572651863 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.228569895029068 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50008.5, - "then": { - "operation": "boost", - "score": -0.08836207538843155 - }, - "else": { - "operation": "boost", - "score": 0.12949062883853912 - } - }, - "else": { - "operation": "boost", - "score": 0.08052825927734375 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.010679650120437145 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05898679420351982 - }, - "else": { - "operation": "boost", - "score": -0.028150107711553574 - } - } + "operation": "boost", + "score": 0.12256407737731934 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04125060886144638 - }, - "else": { - "operation": "boost", - "score": 0.12083703279495239 - } - }, - "else": { - "operation": "boost", - "score": 0.028191711753606796 - } + "operation": "boost", + "score": 0.11410635709762573 } }, "else": { "operation": "boost", - "score": -0.0050813546404242516 + "score": 0.09570889919996262 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11236118525266647 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_SymbolOrNewName" ], "then": { "operation": "boost", - "score": 0.003915802109986544 + "score": 0.08755147457122803 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.004725855775177479 - }, - "else": { - "operation": "boost", - "score": -0.004472372587770224 - } + "operation": "boost", + "score": 0.029904965311288834 } } } + } + }, + "else": { + "operation": "boost", + "score": -0.0065123094245791435 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.20501375198364258 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "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 + } + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.021923784166574478 + "score": 0.1448960155248642 }, "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.16950000822544098 + }, + "else": { + "operation": "boost", + "score": 0.17244696617126465 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.011672810651361942 + "score": 0.07634949684143066 }, "else": { + "operation": "boost", + "score": 0.1361626535654068 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.14403274655342102 - }, - "else": { - "operation": "boost", - "score": 0.11348222196102142 - } + "operation": "boost", + "score": 0.08747958391904831 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.07900191843509674 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10402355343103409 - }, - "else": { - "operation": "boost", - "score": 0.1250527948141098 - } - }, - "else": { - "operation": "boost", - "score": 0.057121776044368744 - } - } + "operation": "boost", + "score": 0.13733558356761932 } }, "else": { "operation": "boost", - "score": -0.02903483808040619 + "score": 0.04230313003063202 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.01977074146270752 + }, + "else": { + "operation": "boost", + "score": 0.11791300773620605 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11895690858364105 }, "else": { "operation": "boost", - "score": -0.00912529043853283 + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 23.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.09091847389936447 + "score": -0.030162999406456947 }, "else": { - "operation": "boost", - "score": -0.00674503343179822 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10450370609760284 + "score": 0.003734458237886429 }, "else": { - "operation": "boost", - "score": 0.12036526948213577 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 33.5, "then": { - "operation": "boost", - "score": 0.13050895929336548 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3001.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3313.5, + "then": { + "operation": "boost", + "score": 0.002288965741172433 + }, + "else": { + "operation": "boost", + "score": 0.12298686802387238 + } + }, + "else": { + "operation": "boost", + "score": -0.03336794674396515 + } + }, + "else": { + "operation": "boost", + "score": 0.03860820084810257 + } }, "else": { - "operation": "boost", - "score": -0.012690138071775436 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04747464507818222 + }, + "else": { + "operation": "boost", + "score": -0.14775879681110382 + } + }, + "else": { + "operation": "boost", + "score": 0.02179938741028309 + } } }, "else": { "operation": "boost", - "score": 0.07552405446767807 + "score": 0.028381306678056717 } - }, - "else": { - "operation": "boost", - "score": -0.0268612839281559 } } + }, + "else": { + "operation": "boost", + "score": 0.00619508558884263 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], + "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, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 33610.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 5.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Namespace" ], "then": { "operation": "boost", - "score": 0.10872974991798401 + "score": 0.07410646975040436 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.05458387732505798 - }, - "else": { - "operation": "boost", - "score": 0.14737734198570251 - } - }, - "else": { - "operation": "boost", - "score": 0.0839499980211258 - } + "operation": "boost", + "score": 0.02928837575018406 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.0, + "feature": "NumReferences", + "threshold": 41673.5, "then": { - "operation": "boost", - "score": 0.036854322999715805 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.09719032794237137 + }, + "else": { + "operation": "boost", + "score": -0.00164173380471766 + } }, "else": { "operation": "boost", - "score": -0.399044007062912 + "score": -0.1479800045490265 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0267637949436903 + "score": 0.12481680512428284 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "threshold": 33155.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.06545454263687134 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.1077769547700882 + }, + "else": { + "operation": "boost", + "score": 0.06299874931573868 + } }, "else": { "operation": "boost", - "score": 0.12754389643669128 + "score": 0.11719724535942078 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "operation": "boost", + "score": -0.7941709756851196 + } + } + } + }, + "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": "boost", - "score": -0.2711474597454071 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.07360467314720154 - }, - "else": { - "operation": "boost", - "score": 0.09847047179937363 - } + "operation": "boost", + "score": -0.0339815728366375 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06544040143489838 - }, - "else": { - "operation": "boost", - "score": -0.09662862867116928 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08829830586910248 - }, - "else": { - "operation": "boost", - "score": 0.02888632006943226 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10103701055049896 - }, - "else": { - "operation": "boost", - "score": 0.11445126682519913 - } - }, - "else": { - "operation": "boost", - "score": 0.049291517585515976 - } - } + "operation": "boost", + "score": 0.040990691632032394 }, "else": { "operation": "boost", - "score": -0.051112812012434006 + "score": 0.09607437998056412 } } + }, + "else": { + "operation": "boost", + "score": -0.10124228894710541 } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.004715533461421728 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47.5, - "then": { - "operation": "boost", - "score": 0.12393347173929214 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28.5, + "threshold": 236336.5, "then": { - "operation": "boost", - "score": 0.07550620287656784 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09625118970870972 + }, + "else": { + "operation": "boost", + "score": -0.12822267413139343 + } }, "else": { "operation": "boost", - "score": -0.12500058114528656 + "score": -0.14578159153461456 } } }, "else": { - "operation": "boost", - "score": 0.03654402494430542 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05555868521332741 + }, + "else": { + "operation": "boost", + "score": 0.09925760328769684 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 38518.5, "then": { - "operation": "boost", - "score": -0.046315502375364304 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 40902.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55.5, + "threshold": 134893.5, "then": { "operation": "boost", - "score": -0.3165161609649658 + "score": -0.10879696160554886 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 127271.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { + "operation": "boost", + "score": -0.13223040103912354 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": -0.07910729944705963 - }, - "else": { - "operation": "boost", - "score": 0.14282916486263275 - } + "operation": "boost", + "score": 0.13331559300422668 }, "else": { "operation": "boost", - "score": 0.03520480543375015 + "score": -0.11440254002809525 } - }, - "else": { - "operation": "boost", - "score": -0.02181856893002987 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22.0, + "threshold": 99880.5, "then": { "operation": "boost", - "score": 0.08733208477497101 + "score": -0.1394236832857132 }, "else": { - "operation": "boost", - "score": 0.1081179529428482 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.10663723945617676 + }, + "else": { + "operation": "boost", + "score": 0.2094457596540451 + } + }, + "else": { + "operation": "boost", + "score": 0.04564337804913521 + } } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.022386962547898293 + "score": 0.5461077690124512 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11559045314788818 - }, - "else": { - "operation": "boost", - "score": -0.4331100881099701 - } + "operation": "boost", + "score": -0.10479623824357986 } } + }, + "else": { + "operation": "boost", + "score": -0.04374891519546509 } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + } + }, + "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": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "FileScope" ], "then": { - "operation": "boost", - "score": 0.007675262168049812 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.06622923165559769 - }, - "else": { - "operation": "boost", - "score": -0.07519543915987015 - } - }, - "else": { - "operation": "boost", - "score": -0.03408609330654144 - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.15609042346477509 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10353558510541916 - }, - "else": { - "operation": "boost", - "score": 0.05029536038637161 - } - }, - "else": { - "operation": "boost", - "score": -0.03276664391160011 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09060296416282654 - }, - "else": { - "operation": "boost", - "score": -0.0824505165219307 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "threshold": 15.0, "then": { "operation": "boost", - "score": -0.4529580771923065 + "score": 0.10123127698898315 }, "else": { "operation": "boost", - "score": -0.18816359341144562 + "score": 0.1029479131102562 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12570542097091675 - }, - "else": { - "operation": "boost", - "score": 0.03992370143532753 - } - }, - "else": { - "operation": "boost", - "score": -0.12352146953344345 - } - }, - "else": { - "operation": "boost", - "score": 0.3766573965549469 - } - }, - "else": { - "operation": "boost", - "score": -0.22395974397659302 - } + "operation": "boost", + "score": 0.04968545213341713 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.0034984874073415995 + "score": 0.024009421467781067 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1216275542974472 + "score": 0.009930022992193699 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 233715.5, "then": { "operation": "boost", - "score": 0.08769697695970535 + "score": -0.41546744108200073 }, "else": { "operation": "boost", - "score": 0.13985948264598846 + "score": 0.11275716125965118 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.3457450866699219 + "score": 0.08405157178640366 }, "else": { "operation": "boost", - "score": -0.1096489280462265 + "score": 0.06051088124513626 } } } @@ -310836,1883 +297517,1132 @@ }, "else": { "operation": "boost", - "score": -0.020210715010762215 + "score": 0.05562581866979599 } } + }, + "else": { + "operation": "boost", + "score": -0.004770119208842516 } - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.022468483075499535 - }, - "else": { - "operation": "boost", - "score": -0.0010508833220228553 - } - } - }, - "else": { - "operation": "boost", - "score": -0.001096263062208891 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0026414666790515184 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.02504088543355465 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 287.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 648.5, - "then": { - "operation": "boost", - "score": -0.47127005457878113 - }, - "else": { - "operation": "boost", - "score": 0.11232654750347137 - } + "operation": "boost", + "score": 0.04861968755722046 }, "else": { "operation": "boost", - "score": -0.08738339692354202 + "score": 0.059232816100120544 } }, "else": { "operation": "boost", - "score": -0.3473323583602905 + "score": 0.028113756328821182 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11623091995716095 + "score": 0.05899772047996521 }, "else": { "operation": "boost", - "score": 0.08661381900310516 + "score": 0.014726178720593452 } } - }, - "else": { - "operation": "boost", - "score": -0.005967521108686924 } }, "else": { "operation": "boost", - "score": 0.02536119893193245 + "score": 0.00762323709204793 } + } + } + }, + "else": { + "operation": "boost", + "score": -0.021570244804024696 + } + }, + "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": "boost", + "score": -0.13598299026489258 }, "else": { "operation": "boost", - "score": -0.01664324663579464 + "score": 0.06898240000009537 } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 31515.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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.0042327088303864 + "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" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820.5, + "feature": "SymbolScopeDistance", + "threshold": 8.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 857.0, + "threshold": 25175.0, "then": { - "operation": "boost", - "score": 0.03080209530889988 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29099.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10866563022136688 + }, + "else": { + "operation": "boost", + "score": 0.06556006520986557 + } + }, + "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": 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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02819335088133812 + } + }, + "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.10121161490678787 + "score": -0.04704712703824043 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "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.00923535879701376 + "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.0481700673699379 + "score": 0.10419655591249466 } } } - }, - "else": { + } + } + }, + "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": [ - "Operator", - "Variable", "Keyword", - "Function" + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 28239.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34237.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 86164.5, + "threshold": 31879.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111012.0, - "then": { - "operation": "boost", - "score": -0.30774620175361633 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.11107631027698517 - }, - "else": { - "operation": "boost", - "score": 0.05816466361284256 - } - } + "operation": "boost", + "score": -0.42888325452804565 }, "else": { "operation": "boost", - "score": -0.1446620374917984 + "score": 0.08144137263298035 } }, - "else": { - "operation": "boost", - "score": 0.14962968230247498 - } - }, - "else": { - "operation": "boost", - "score": 0.0009197377366945148 - } - }, - "else": { - "operation": "boost", - "score": 0.05975024029612541 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.044370099902153015 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.11985905468463898 + "score": 0.09080211073160172 }, "else": { "operation": "boost", - "score": 0.09025048464536667 + "score": 0.07353940606117249 } } }, "else": { "operation": "boost", - "score": 0.02564786933362484 + "score": -0.025112923234701157 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.4070860743522644 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24900.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { + "operation": "boost", + "score": -0.5337142944335938 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 26223.5, "then": { - "operation": "boost", - "score": 0.01996864564716816 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.1641673594713211 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.09164924919605255 + }, + "else": { + "operation": "boost", + "score": -0.126066192984581 + } }, "else": { "operation": "boost", - "score": 0.09660464525222778 + "score": 0.08941129595041275 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.8247247338294983 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.0876411721110344 + "score": 0.09828509390354156 }, "else": { "operation": "boost", - "score": 0.11414441466331482 + "score": 0.04881748929619789 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22628.5, - "then": { - "operation": "boost", - "score": -0.5245078206062317 - }, - "else": { - "operation": "boost", - "score": -0.03935379162430763 - } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "boost", - "score": 0.568120002746582 - }, - "else": { - "operation": "boost", - "score": 0.048842769116163254 - } + "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": "FilterLength", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 25461.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 18.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.006390985567122698 + "score": -0.11513452231884003 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.049130529165267944 - }, - "else": { - "operation": "boost", - "score": 0.12227535992860794 - } + "operation": "boost", + "score": 0.16065415740013123 } }, "else": { "operation": "boost", - "score": -0.01061039138585329 + "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": 2.5, + "threshold": 20253.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 347.5, + "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": "boost", - "score": 0.08485976606607437 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.12329583615064621 + "score": 0.10663135349750519 }, "else": { + "operation": "boost", + "score": 0.11188330501317978 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 19827.5, "then": { "operation": "boost", - "score": 0.09328070282936096 + "score": 0.03923153132200241 }, "else": { "operation": "boost", - "score": 0.1383124440908432 + "score": 0.11752546578645706 } + }, + "else": { + "operation": "boost", + "score": 0.0522361695766449 } } }, - "else": { - "operation": "boost", - "score": 0.12435166537761688 - } - }, - "else": { - "operation": "boost", - "score": 0.015104711055755615 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.0005372310406528413 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.016296125948429108 + "score": -0.3571794331073761 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19827.5, "then": { - "operation": "boost", - "score": 0.09652497619390488 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.10230078548192978 + "score": 0.1364465206861496 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.1467120200395584 - }, - "else": { - "operation": "boost", - "score": 0.1370900273323059 - } - }, - "else": { - "operation": "boost", - "score": -0.17810210585594177 - } + "operation": "boost", + "score": 0.039011433720588684 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04132669419050217 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.07533752918243408 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.09925608336925507 - }, - "else": { - "operation": "boost", - "score": -0.269724577665329 - } - }, - "else": { - "operation": "boost", - "score": 0.03645772859454155 - } - } + "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": "NumReferences", - "threshold": 110.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.017036404460668564 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 12.0, "then": { - "operation": "boost", - "score": -0.004159689415246248 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 14.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 221.5, - "then": { - "operation": "boost", - "score": 0.01948557049036026 - }, - "else": { - "operation": "boost", - "score": 0.11134207993745804 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, - "then": { - "operation": "boost", - "score": -0.17878195643424988 - }, - "else": { - "operation": "boost", - "score": 0.0757393017411232 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "boost", - "score": 0.09565968066453934 - }, - "else": { - "operation": "boost", - "score": 0.07862444221973419 - } - } - }, - "else": { - "operation": "boost", - "score": -0.025251656770706177 - } + "operation": "boost", + "score": 0.10151181370019913 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.004223052877932787 + "score": 0.11046796292066574 }, "else": { "operation": "boost", - "score": 0.10582805424928665 + "score": 0.10391656309366226 } } + }, + "else": { + "operation": "boost", + "score": -0.2223345935344696 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08028197288513184 + "score": 0.1014443039894104 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "boost", - "score": -0.02832038514316082 - }, - "else": { - "operation": "boost", - "score": 0.12095095962285995 - } + "operation": "boost", + "score": -0.003321316558867693 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": -0.009227105416357517 + "score": 0.21841853857040405 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.014055568724870682 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11142704635858536 - }, - "else": { - "operation": "boost", - "score": 0.020023340359330177 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09863077104091644 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.30173084139823914 - }, - "else": { - "operation": "boost", - "score": 0.24345821142196655 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.13023963570594788 - }, - "else": { - "operation": "boost", - "score": 0.09947358816862106 - } - }, - "else": { - "operation": "boost", - "score": 0.053324297070503235 - } - }, - "else": { - "operation": "boost", - "score": 0.020156001672148705 - } - } - } - } + "operation": "boost", + "score": 0.11460813134908676 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "boost", - "score": 0.09785345941781998 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.05943511053919792 - }, - "else": { - "operation": "boost", - "score": 0.08390606194734573 - } - }, - "else": { - "operation": "boost", - "score": -0.09342049807310104 - } - }, - "else": { - "operation": "boost", - "score": -0.36477720737457275 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.02790621668100357 - }, - "else": { - "operation": "boost", - "score": 0.09327558428049088 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08106746524572372 - }, - "else": { - "operation": "boost", - "score": -0.026317447423934937 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.0918237492442131 - }, - "else": { - "operation": "boost", - "score": -0.016817718744277954 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1006087139248848 - }, - "else": { - "operation": "boost", - "score": -0.07210633903741837 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, - "then": { - "operation": "boost", - "score": 0.10696663707494736 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.07645737379789352 - }, - "else": { - "operation": "boost", - "score": 0.09661168605089188 - } - }, - "else": { - "operation": "boost", - "score": 0.01983780600130558 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06237691268324852 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.0, - "then": { - "operation": "boost", - "score": 0.0799882560968399 - }, - "else": { - "operation": "boost", - "score": -0.15675358474254608 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.11655241250991821 - }, - "else": { - "operation": "boost", - "score": 0.02815934456884861 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.14094720780849457 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.031999412924051285 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.107265904545784 - }, - "else": { - "operation": "boost", - "score": 0.05745150148868561 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13685250282287598 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.1426842212677002 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11305001378059387 - }, - "else": { - "operation": "boost", - "score": 0.049342673271894455 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.05951223894953728 - }, - "else": { - "operation": "boost", - "score": -0.005134820006787777 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.017811208963394165 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.12882427871227264 - }, - "else": { - "operation": "boost", - "score": 0.023068077862262726 - } - }, - "else": { - "operation": "boost", - "score": 0.006636337377130985 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.22982025146484375 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10888788849115372 - }, - "else": { - "operation": "boost", - "score": -0.22872357070446014 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.030984623357653618 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "boost", - "score": 0.1144576296210289 - }, - "else": { - "operation": "boost", - "score": 0.0379401333630085 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04414711520075798 - } - } - } - } + "operation": "boost", + "score": -0.19285982847213745 } } + }, + "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": "boost", - "score": -0.0035077244974672794 + "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.001175791141577065 + "score": -0.0002175923145841807 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18585.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "boost", + "score": -0.00027679899358190596 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Function" + "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": "NumReferences", - "threshold": 749331.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.20730215311050415 + "score": -0.10897192358970642 }, "else": { + "operation": "boost", + "score": 0.15446262061595917 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9948.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 191566.0, + "threshold": 16649.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.017163405194878578 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.075131855905056 - }, - "else": { - "operation": "boost", - "score": 0.02177737094461918 - } - } - }, - "else": { - "operation": "boost", - "score": -0.020313069224357605 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.050460707396268845 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.10823951661586761 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": -1.0175989866256714 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.0818810760974884 - }, - "else": { - "operation": "boost", - "score": 0.0527748167514801 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108163.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.13107062876224518 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11113321036100388 - }, - "else": { - "operation": "boost", - "score": 0.10923264920711517 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.15880194306373596 - }, - "else": { - "operation": "boost", - "score": 0.046541228890419006 - } - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19035.0, + "threshold": 35664.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19625.0, + "threshold": 38757.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23639.5, + "threshold": 44616.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30221.5, + "threshold": 45940.0, "then": { "operation": "boost", - "score": 0.012379176914691925 + "score": 0.011643914505839348 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28239.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29370.0, - "then": { - "operation": "boost", - "score": 0.12041646242141724 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013210033066570759 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11251574754714966 - }, - "else": { - "operation": "boost", - "score": 0.11418917030096054 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.08408360183238983 - }, - "else": { - "operation": "boost", - "score": 0.13711082935333252 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.12523014843463898 - }, - "else": { - "operation": "boost", - "score": 0.13398170471191406 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.10756107419729233 - }, - "else": { - "operation": "boost", - "score": 1.6634643077850342 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25461.0, - "then": { - "operation": "boost", - "score": -0.04283952713012695 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12875321507453918 - }, - "else": { - "operation": "boost", - "score": 0.14606480300426483 - } - } - }, - "else": { - "operation": "boost", - "score": 0.046903908252716064 - } - } + "operation": "boost", + "score": 0.09866471588611603 } }, "else": { "operation": "boost", - "score": -0.04677498713135719 + "score": -0.7819960117340088 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19203.5, - "then": { - "operation": "boost", - "score": -0.10075771063566208 - }, - "else": { - "operation": "boost", - "score": 0.1341666579246521 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.055965397506952286 - }, - "else": { - "operation": "boost", - "score": 0.39307281374931335 - } - } - }, - "else": { - "operation": "boost", - "score": 0.023303581401705742 - } + "operation": "boost", + "score": -0.022976407781243324 }, "else": { "operation": "boost", - "score": 0.3073456287384033 + "score": 0.08480694144964218 } } }, "else": { - "operation": "boost", - "score": -0.1289338916540146 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90689.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 22180.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.01714138127863407 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 24179.0, "then": { "operation": "boost", - "score": 0.10103828459978104 + "score": -0.06355147808790207 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.04684504121541977 + "score": -0.48426318168640137 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 263421.0, - "then": { - "operation": "boost", - "score": 0.12408732622861862 - }, - "else": { - "operation": "boost", - "score": -0.01634651981294155 - } + "operation": "boost", + "score": -1.450974941253662 } } - }, - "else": { - "operation": "boost", - "score": 0.09558988362550735 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19121.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.1292753368616104 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11554112285375595 + }, + "else": { + "operation": "boost", + "score": 0.12377896159887314 + } }, "else": { "operation": "boost", - "score": 0.05077068880200386 + "score": -0.1760498434305191 } }, "else": { "operation": "boost", - "score": -0.030354565009474754 + "score": -0.049094121903181076 } } - }, - "else": { - "operation": "boost", - "score": -0.7318973541259766 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 32947.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06384869664907455 + "score": 0.09189572185277939 }, "else": { + "operation": "boost", + "score": -0.012685306370258331 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31879.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73296.0, + "feature": "FilterLength", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.1075090691447258 + "score": 0.10525072365999222 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61001.0, - "then": { - "operation": "boost", - "score": -0.1032518595457077 - }, - "else": { - "operation": "boost", - "score": 0.10074436664581299 - } + "operation": "boost", + "score": 0.12265193462371826 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.01742265373468399 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75566.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.00789732951670885 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 18215.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.017701489850878716 + "score": 0.09656433761119843 }, "else": { - "operation": "boost", - "score": 0.0785491093993187 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 23401.0, "then": { "operation": "boost", - "score": 0.08444308489561081 + "score": 0.07854576408863068 }, "else": { "operation": "boost", - "score": 0.022551558911800385 - } - }, - "else": { - "operation": "boost", - "score": -0.1680615395307541 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57901.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.02706991508603096 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73593.0, - "then": { - "operation": "boost", - "score": 0.09531056880950928 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.16360147297382355 - }, - "else": { - "operation": "boost", - "score": 0.08716540783643723 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10293322801589966 - } + "score": -0.468962699174881 } - }, - "else": { - "operation": "boost", - "score": 0.09919391572475433 } }, "else": { "operation": "boost", - "score": -0.22457537055015564 + "score": -0.11214805394411087 } } } @@ -312722,844 +298652,1133 @@ "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "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": "NumReferences", - "threshold": 24698.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 15798.0, "then": { "operation": "boost", - "score": -0.05327915772795677 + "score": -0.10364165157079697 }, "else": { "operation": "boost", - "score": 0.08504599332809448 + "score": 0.0920475497841835 } }, "else": { - "operation": "boost", - "score": -0.02835419587790966 + "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": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 13545.0, "then": { "operation": "boost", - "score": -0.10043536871671677 + "score": -0.1369585543870926 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 12017.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20296.0, + "threshold": 12435.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 17.0, "then": { "operation": "boost", - "score": -1.6509833335876465 + "score": -0.22246991097927094 }, "else": { "operation": "boost", - "score": -0.05765802785754204 + "score": 0.13260243833065033 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10401701927185059 - }, - "else": { - "operation": "boost", - "score": 0.06336604803800583 - } + "operation": "boost", + "score": -0.18325573205947876 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10031139850616455 - }, - "else": { - "operation": "boost", - "score": -0.31808018684387207 - } + "operation": "boost", + "score": 0.07404986768960953 } }, "else": { - "operation": "boost", - "score": 0.019347600638866425 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11609.5, + "then": { + "operation": "boost", + "score": -0.32573115825653076 + }, + "else": { + "operation": "boost", + "score": 0.07316327840089798 + } } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9195.0, + "then": { + "operation": "boost", + "score": -0.10950691252946854 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20253.5, + "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": "NumReferences", - "threshold": 28247.0, + "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": 287036.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.050599273294210434 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0636105090379715 + }, + "else": { + "operation": "boost", + "score": -0.2375057488679886 + } }, "else": { - "operation": "boost", - "score": 0.0032532275654375553 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1049206405878067 + }, + "else": { + "operation": "boost", + "score": 0.10671047121286392 + } + }, + "else": { + "operation": "boost", + "score": -0.023091452196240425 + } } + } + } + } + }, + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 25175.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 25286.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20314.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.012226901948451996 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.13623350858688354 + "score": -0.029339905828237534 }, "else": { - "operation": "boost", - "score": -0.07122431695461273 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18441839516162872 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.03149963542819023 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25536.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26697.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1016603335738182 + } + }, + "else": { + "operation": "boost", + "score": -0.11101038753986359 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28035.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.09930337220430374 + }, + "else": { + "operation": "boost", + "score": -0.24384310841560364 + } + }, + "else": { + "operation": "boost", + "score": -0.18377794325351715 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.015066242776811123 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24698.0, + "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": "boost", - "score": 0.07569121569395065 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.02365429885685444 + "score": 0.0028470128308981657 }, "else": { "operation": "boost", - "score": -0.31750115752220154 + "score": 0.09999001026153564 } + }, + "else": { + "operation": "boost", + "score": -0.5333085060119629 } } }, "else": { + "operation": "boost", + "score": -0.033321984112262726 + } + }, + "else": { + "operation": "boost", + "score": -0.08820342272520065 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.0767202377319336 + }, + "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" + ], + "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23047.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25248.0, - "then": { - "operation": "boost", - "score": 0.09444846957921982 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24164.5, - "then": { - "operation": "boost", - "score": 0.11465601623058319 - }, - "else": { - "operation": "boost", - "score": 0.017605438828468323 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10757961124181747 - }, - "else": { - "operation": "boost", - "score": 0.08404281735420227 - } - } - } + "operation": "boost", + "score": 0.04076884686946869 + }, + "else": { + "operation": "boost", + "score": 0.10837584733963013 + } + }, + "else": { + "operation": "boost", + "score": -0.4919912815093994 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.017152998596429825 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20345.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.016018282622098923 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06173580884933472 + }, + "else": { + "operation": "boost", + "score": 0.137326180934906 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22325.0, + "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.016594093292951584 + "score": 0.0858515202999115 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20449.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "boost", - "score": -0.010305224917829037 + "score": -0.010825074277818203 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1251256763935089 - }, - "else": { - "operation": "boost", - "score": 0.12899905443191528 - } + "operation": "boost", + "score": 0.08525371551513672 }, "else": { "operation": "boost", - "score": -0.3262660801410675 + "score": 0.14008572697639465 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24164.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24698.0, - "then": { - "operation": "boost", - "score": 0.04723411425948143 - }, - "else": { - "operation": "boost", - "score": 0.1337309330701828 - } - }, - "else": { - "operation": "boost", - "score": 0.006180575583130121 - } + "operation": "boost", + "score": -0.10504280030727386 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20665.0, + "then": { + "operation": "boost", + "score": -0.8357316255569458 + }, + "else": { + "operation": "boost", + "score": 0.25090736150741577 } + }, + "else": { + "operation": "boost", + "score": -0.07484520971775055 } } } }, "else": { "operation": "boost", - "score": -0.07605761289596558 + "score": -0.2664927542209625 } + }, + "else": { + "operation": "boost", + "score": 0.03237846493721008 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.041702475398778915 - }, - "else": { - "operation": "boost", - "score": -0.16701893508434296 - } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20039.5, + "threshold": 20253.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63549.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63761.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.007967818528413773 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09689514338970184 + }, + "else": { + "operation": "boost", + "score": 0.12209930270910263 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.10345576703548431 + "score": 0.14843876659870148 }, "else": { "operation": "boost", - "score": -0.07584632933139801 + "score": -0.206853985786438 } } }, + "else": { + "operation": "boost", + "score": 0.15134292840957642 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026960918679833412 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20150.0, "then": { + "operation": "boost", + "score": -0.1896388679742813 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 26697.0, + "threshold": 19362.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58696.0, + "threshold": 19474.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.022463899105787277 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.1275835633277893 + "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": "boost", - "score": 0.09674584865570068 + "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": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.016017889603972435 - }, - "else": { - "operation": "boost", - "score": -1.6114195585250854 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24785.0, - "then": { - "operation": "boost", - "score": 0.1086333766579628 }, "else": { "operation": "boost", - "score": -0.2719188332557678 + "score": -0.02434728667140007 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26287.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08496171236038208 + "score": 0.007918983697891235 }, "else": { - "operation": "boost", - "score": -0.07282017171382904 + "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.049709025770425797 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19827.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.09335102885961533 - }, - "else": { - "operation": "boost", - "score": 0.09548433870077133 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.27009907364845276 }, "else": { "operation": "boost", - "score": -0.07708726078271866 + "score": 0.03747617453336716 } } - }, - "else": { - "operation": "boost", - "score": -0.016913875937461853 } } } - } - }, - "else": { - "operation": "boost", - "score": 0.005571279674768448 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18608.0, - "then": { - "operation": "boost", - "score": -0.00250410009175539 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10403282940387726 - }, - "else": { - "operation": "boost", - "score": -0.14695021510124207 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16301.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18526.5, - "then": { - "operation": "boost", - "score": -0.6115442514419556 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.004723638761788607 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 17413.5, + "threshold": 23872.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18160.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0014261045726016164 + "score": 0.08852212876081467 }, "else": { "operation": "boost", - "score": -0.24013513326644897 + "score": 0.04685702174901962 } }, "else": { "operation": "boost", - "score": -0.10605649650096893 + "score": 0.02771328203380108 } + }, + "else": { + "operation": "boost", + "score": 0.011752794496715069 } } - }, - "else": { - "operation": "boost", - "score": -0.029793037101626396 } }, "else": { "operation": "boost", - "score": -0.00015374012582469732 + "score": -0.0005938521353527904 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "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_greater", - "feature": "NumReferences", - "threshold": 152.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.11787835508584976 - }, - "else": { - "operation": "boost", - "score": 0.048657745122909546 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.17543621361255646 - }, - "else": { - "operation": "boost", - "score": -0.2650805413722992 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": 0.01169046200811863 - }, - "else": { - "operation": "boost", - "score": -13.087203979492188 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.580764651298523 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.0666518285870552 + "score": -0.0028170200530439615 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 151.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11060938984155655 - }, - "else": { - "operation": "boost", - "score": -0.13728998601436615 - } + "operation": "boost", + "score": 0.0026990517508238554 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01189232524484396 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, - "then": { - "operation": "boost", - "score": 0.05134163424372673 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, - "then": { - "operation": "boost", - "score": 0.11661717295646667 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.014574764296412468 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12990525364875793 - }, - "else": { - "operation": "boost", - "score": -0.019203081727027893 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0722348615527153 - } - } + "operation": "boost", + "score": -0.04753834754228592 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60891.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 104.5, + "threshold": 62087.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.13431809842586517 - }, - "else": { - "operation": "boost", - "score": 0.07128411531448364 - } + "operation": "boost", + "score": 0.012111459858715534 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": -0.1372058093547821 + "score": 0.10569348931312561 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87.5, + "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" + ], "then": { - "operation": "boost", - "score": -0.1064155250787735 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.1361917108297348 + "score": 0.04359079524874687 }, "else": { "operation": "boost", - "score": 0.14820429682731628 + "score": 0.09269299358129501 } + }, + "else": { + "operation": "boost", + "score": -0.043395694345235825 } } } @@ -313568,2111 +299787,2308 @@ "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { + "operation": "boost", + "score": 0.005250841844826937 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.5, - "then": { - "operation": "boost", - "score": 0.10745933651924133 - }, - "else": { - "operation": "boost", - "score": -0.12514187395572662 - } - }, - "else": { - "operation": "boost", - "score": 0.12692666053771973 - } - }, - "else": { - "operation": "boost", - "score": 0.1171628087759018 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, + "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" + ], "then": { - "operation": "boost", - "score": -0.06371677666902542 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10085059702396393 + "score": -0.0022357471752911806 }, "else": { "operation": "boost", - "score": 0.12063437700271606 + "score": 0.023766275495290756 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03428135812282562 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, - "then": { - "operation": "boost", - "score": 0.00629155058413744 - }, - "else": { - "operation": "boost", - "score": 0.13055135309696198 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "boost", - "score": 0.04205673187971115 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "boost", - "score": 0.11148514598608017 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.10341504216194153 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.11568622291088104 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": -0.7164533734321594 + }, + "else": { + "operation": "boost", + "score": 0.10887526720762253 + } }, "else": { "operation": "boost", - "score": 0.12693347036838531 + "score": -0.011393863707780838 } }, "else": { "operation": "boost", - "score": -0.11424799263477325 + "score": 0.008128178305923939 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 13.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.1292046755552292 + "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 + } }, "else": { - "operation": "boost", - "score": -0.26572489738464355 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.1980247050523758 + }, + "else": { + "operation": "boost", + "score": -0.024399301037192345 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.1242266371846199 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 101.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.08705823123455048 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.17189104855060577 - }, - "else": { - "operation": "boost", - "score": 0.1264694780111313 - } + "operation": "boost", + "score": 0.22076627612113953 }, "else": { "operation": "boost", - "score": -0.10728006809949875 + "score": 0.13318543136119843 } - }, - "else": { - "operation": "boost", - "score": 0.12778054177761078 } }, "else": { "operation": "boost", - "score": -0.12030776590108871 + "score": -0.20223072171211243 } + }, + "else": { + "operation": "boost", + "score": 0.01843658648431301 } }, "else": { "operation": "boost", - "score": 0.06412781029939651 + "score": 0.0032323964405804873 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07568979263305664 }, "else": { + "operation": "boost", + "score": -0.05168270319700241 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.11528649181127548 - }, - "else": { - "operation": "boost", - "score": 0.11150911450386047 - } - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", "threshold": 1.0, "then": { "operation": "boost", - "score": 0.11658881604671478 + "score": -0.7334324717521667 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12912239134311676 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10374932736158371 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": 0.12346798926591873 - }, - "else": { - "operation": "boost", - "score": -0.10011361539363861 - } - } - } + "operation": "boost", + "score": 0.1022844985127449 }, "else": { "operation": "boost", - "score": -0.17112641036510468 + "score": -0.4125252962112427 } } + }, + "else": { + "operation": "boost", + "score": -0.24730738997459412 } - } - }, - "else": { - "operation": "boost", - "score": -0.004156957380473614 - } - }, - "else": { - "operation": "boost", - "score": -0.0033484031446278095 - } - } - }, - "else": { - "operation": "boost", - "score": 0.029499132186174393 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.03481544926762581 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.008864859119057655 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.0252846647053957 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1200532540678978 - }, - "else": { - "operation": "boost", - "score": -0.07920927554368973 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.11314134299755096 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.057040221989154816 + }, + "else": { + "operation": "boost", + "score": -0.07281878590583801 + } + } + } + } + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Variable", + "Function" ], "then": { + "operation": "boost", + "score": 0.014202316291630268 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 161.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.11986160278320312 + "score": 0.031970374286174774 }, "else": { - "operation": "boost", - "score": -0.05114502087235451 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, + "then": { + "operation": "boost", + "score": -0.014004210010170937 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134.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_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 137.5, + "then": { + "operation": "boost", + "score": -0.1852056235074997 + }, + "else": { + "operation": "boost", + "score": 0.11911056190729141 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.21194028854370117 + } + }, + "else": { + "operation": "boost", + "score": 0.011560493148863316 + } + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "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" + ], "then": { - "operation": "boost", - "score": 0.1096939742565155 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.012874465435743332 + }, + "else": { + "operation": "boost", + "score": 0.1339205950498581 + } + }, + "else": { + "operation": "boost", + "score": 0.005868602078408003 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.10306530445814133 + "score": -0.08062451332807541 }, "else": { "operation": "boost", - "score": -0.10263434052467346 + "score": -0.02010677382349968 } } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 657.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 675.5, - "then": { - "operation": "boost", - "score": 0.039467230439186096 - }, - "else": { - "operation": "boost", - "score": 0.12077569216489792 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "threshold": 132.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 201.5, + "threshold": 161.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 322.5, + "threshold": 2183.5, "then": { - "operation": "boost", - "score": 0.02657807245850563 + "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.11471214890480042 + "score": -0.04155762866139412 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.14117459952831268 + "score": -0.8407748937606812 }, "else": { "operation": "boost", - "score": 0.17213863134384155 + "score": 0.10935230553150177 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 366.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.12601503729820251 + "score": -0.3095194697380066 }, "else": { + "operation": "boost", + "score": -0.024082016199827194 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1559382826089859 + "score": -0.10311874002218246 }, "else": { "operation": "boost", - "score": 0.020115291699767113 + "score": 0.008208034560084343 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1258840411901474 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05234040319919586 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.0008067915332503617 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.18577730655670166 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10285641252994537 + }, + "else": { + "operation": "boost", + "score": 0.05370555445551872 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019595304504036903 + }, + "else": { + "operation": "boost", + "score": -0.09395354241132736 + } + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.008739699609577656 } } + }, + "else": { + "operation": "boost", + "score": -0.01614421419799328 } } - }, - "else": { - "operation": "boost", - "score": 0.0483916737139225 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.006645575165748596 + "score": -0.03397110104560852 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.014646300114691257 + "score": 0.008894229307770729 }, "else": { "operation": "boost", - "score": 0.10993064939975739 + "score": -0.13102243840694427 } } }, "else": { "operation": "boost", - "score": -9.644108649808913e-05 + "score": -0.06901729851961136 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Namespace", "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "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": 1280205.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09046890586614609 + "score": 0.050278499722480774 }, "else": { "operation": "boost", - "score": -0.009214550256729126 + "score": 0.008745432831346989 } }, "else": { "operation": "boost", - "score": 0.0924927294254303 + "score": -0.08319851756095886 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 205.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 359896.0, "then": { "operation": "boost", - "score": -0.03569324314594269 + "score": 0.1278890073299408 }, "else": { + "operation": "boost", + "score": 0.008931558579206467 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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.10361217707395554 + "score": 0.056696195155382156 }, "else": { "operation": "boost", - "score": 0.09764107316732407 + "score": 0.006473137065768242 } } - }, - "else": { - "operation": "boost", - "score": 0.11540931463241577 } }, "else": { - "operation": "boost", - "score": -0.0875295028090477 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31838.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34973.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0032000141218304634 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.03359024226665497 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.0, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.11245843023061752 + "score": 0.11683782935142517 }, "else": { "operation": "boost", - "score": 0.060821179300546646 + "score": 0.07990569621324539 } + }, + "else": { + "operation": "boost", + "score": 0.11465925723314285 } + }, + "else": { + "operation": "boost", + "score": 0.03440427407622337 } }, "else": { + "operation": "boost", + "score": 0.06308375298976898 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0011337555479258299 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04528150334954262 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.003042042488232255 + }, + "else": { + "operation": "boost", + "score": -0.06865804642438889 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 97.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 4.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3029.0, - "then": { - "operation": "boost", - "score": -0.004841160494834185 - }, - "else": { - "operation": "boost", - "score": -1.2167001962661743 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1081.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1847.5, - "then": { - "operation": "boost", - "score": 0.05853646993637085 - }, - "else": { - "operation": "boost", - "score": 0.10569075495004654 - } - }, - "else": { - "operation": "boost", - "score": 0.014085892587900162 - } - }, - "else": { - "operation": "boost", - "score": -0.12143109738826752 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 269.5, - "then": { - "operation": "boost", - "score": 0.17208555340766907 - }, - "else": { - "operation": "boost", - "score": 0.07893472164869308 - } - } - }, - "else": { - "operation": "boost", - "score": -0.7886040210723877 - } + "operation": "boost", + "score": 0.10095661878585815 }, "else": { "operation": "boost", - "score": 0.0069036888889968395 + "score": -0.6481800079345703 } }, "else": { "operation": "boost", - "score": -0.033184852451086044 + "score": 0.08201935887336731 } }, "else": { "operation": "boost", - "score": -0.09591096639633179 + "score": -0.25196534395217896 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61.5, - "then": { - "operation": "boost", - "score": 0.20710499584674835 - }, - "else": { - "operation": "boost", - "score": -0.21713845431804657 - } + "operation": "boost", + "score": 0.09830311685800552 } + }, + "else": { + "operation": "boost", + "score": -0.016515858471393585 } }, "else": { "operation": "boost", - "score": -0.02981075644493103 + "score": 0.11668667197227478 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "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_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": 0.11291714757680893 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.1854536533355713 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110.5, + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 40755.0, + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.1614525318145752 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27076.0, + "threshold": 23.5, "then": { + "operation": "boost", + "score": 0.021061616018414497 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.054897893220186234 + "score": 0.11408265680074692 }, "else": { "operation": "boost", - "score": 0.14915159344673157 + "score": 0.08969686180353165 } - }, - "else": { - "operation": "boost", - "score": 0.02724643237888813 } + }, + "else": { + "operation": "boost", + "score": -0.02130432054400444 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.12694814801216125 + "score": 0.11231893301010132 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.48559316992759705 - }, - "else": { - "operation": "boost", - "score": 0.11941436678171158 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10722500830888748 - }, - "else": { - "operation": "boost", - "score": -0.1026572659611702 - } - } + "operation": "boost", + "score": 0.0909404307603836 } } }, "else": { - "operation": "boost", - "score": -0.0018963736947625875 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 65.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1097940057516098 + "score": -0.2939301133155823 }, "else": { - "operation": "boost", - "score": 0.06338421255350113 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": 0.10026690363883972 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.34463417530059814 + }, + "else": { + "operation": "boost", + "score": 0.08433831483125687 + } }, "else": { - "operation": "boost", - "score": -0.034321289509534836 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03405708819627762 + }, + "else": { + "operation": "boost", + "score": -0.10541443526744843 + } } - }, - "else": { - "operation": "boost", - "score": -0.23064541816711426 } } } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06635073572397232 + }, + "else": { + "operation": "boost", + "score": 0.09637418389320374 + } + }, + "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.0004522112722042948 + "score": -0.0010641446569934487 } }, { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_ClassOrStructTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope" + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.09536837041378021 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.014412764459848404 + }, + "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": 0.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.00118588050827384 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.146385058760643 + }, + "else": { + "operation": "boost", + "score": 0.04384787380695343 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.079160675406456 + }, + "else": { + "operation": "boost", + "score": -0.8892221450805664 + } + }, + "else": { + "operation": "boost", + "score": 0.11754801124334335 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.08083907514810562 + "score": 0.016587238758802414 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1050509586930275 + "score": 0.03600252419710159 + }, + "else": { + "operation": "boost", + "score": -0.0998569130897522 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11676270514726639 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12644465267658234 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": 0.002747832564637065 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": 0.12908215820789337 + }, + "else": { + "operation": "boost", + "score": 0.07457523047924042 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.24495472013950348 + }, + "else": { + "operation": "boost", + "score": 0.10426837205886841 + } + }, + "else": { + "operation": "boost", + "score": 0.005372007377445698 + } + } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { + "operation": "boost", + "score": -0.023241402581334114 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07815038412809372 + "score": 0.11488129198551178 }, "else": { "operation": "boost", - "score": 0.09599710255861282 + "score": 0.030833356082439423 } + } + } + }, + "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.020604589954018593 + "score": 0.10658983141183853 } + }, + "else": { + "operation": "boost", + "score": -0.101736880838871 } } } - }, - "else": { - "operation": "boost", - "score": 0.007145378738641739 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 19.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1304989755153656 + }, + "else": { + "operation": "boost", + "score": -0.13074424862861633 + } + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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" + ], + "then": { + "operation": "boost", + "score": -0.006096061319112778 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381517.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08723633736371994 + "score": -0.3244180977344513 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.004796746652573347 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50011.5, - "then": { - "operation": "boost", - "score": -0.13448002934455872 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11707457900047302 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.28159767389297485 - }, - "else": { - "operation": "boost", - "score": 0.08430638909339905 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.01911710388958454 - } + "operation": "boost", + "score": 0.10565035790205002 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.0809917077422142 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.09871120750904083 - }, - "else": { - "operation": "boost", - "score": 0.17614510655403137 - } - } + "operation": "boost", + "score": 0.11369853466749191 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.4715011715888977 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.10342846810817719 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.1222582682967186 - }, - "else": { - "operation": "boost", - "score": -0.7096479535102844 - } - } - }, - "else": { - "operation": "boost", - "score": -0.7639085054397583 - } - } + "operation": "boost", + "score": -0.07390407472848892 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.33863744139671326 - }, - "else": { - "operation": "boost", - "score": 0.11915422230958939 - } + "operation": "boost", + "score": 0.11728863418102264 } }, "else": { - "operation": "boost", - "score": -0.3735862970352173 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04693758487701416 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.06490890681743622 - }, - "else": { - "operation": "boost", - "score": 0.12259838730096817 - } - }, - "else": { - "operation": "boost", - "score": -0.47873198986053467 - } - }, - "else": { - "operation": "boost", - "score": -0.022596970200538635 - } - }, - "else": { - "operation": "boost", - "score": 0.0882357507944107 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.7572506666183472 + "score": 0.08525485545396805 }, "else": { "operation": "boost", - "score": 0.17775289714336395 + "score": -0.35100609064102173 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.12613831460475922 + "score": -0.2719312906265259 }, "else": { "operation": "boost", - "score": -0.11130757629871368 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.13165324926376343 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.2963603138923645 - }, - "else": { - "operation": "boost", - "score": -0.10374845564365387 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.215537428855896 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12184809893369675 - }, - "else": { - "operation": "boost", - "score": 0.13333886861801147 - } - }, - "else": { - "operation": "boost", - "score": 0.019038181751966476 - } - } + "score": 0.003316278802230954 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 359896.0, - "then": { - "operation": "boost", - "score": 0.12394030392169952 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.035222165286540985 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.1626029759645462 - }, - "else": { - "operation": "boost", - "score": -0.027484217658638954 - } + "operation": "boost", + "score": 0.025480138137936592 }, "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "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.0651252344250679 + "score": -0.04670265316963196 }, "else": { "operation": "boost", - "score": 0.006207260303199291 + "score": -0.11638084053993225 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.022614311426877975 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15384.5, - "then": { - "operation": "boost", - "score": 0.15282391011714935 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.00775940902531147 - }, - "else": { - "operation": "boost", - "score": -0.7530724406242371 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.0021884345915168524 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0954204797744751 - }, - "else": { - "operation": "boost", - "score": 0.08880612999200821 - } + "operation": "boost", + "score": -0.15004995465278625 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.8010205030441284 + "score": 0.11783327162265778 }, "else": { "operation": "boost", - "score": 0.10644214600324631 + "score": 0.05894634127616882 } } + }, + "else": { + "operation": "boost", + "score": -0.14344114065170288 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3242.5, - "then": { - "operation": "boost", - "score": 0.10138024389743805 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.0414913184940815 - }, - "else": { - "operation": "boost", - "score": -0.42988526821136475 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.0, - "then": { - "operation": "boost", - "score": 0.0867924690246582 - }, - "else": { - "operation": "boost", - "score": -0.020552795380353928 - } - } + "operation": "boost", + "score": 0.11100815236568451 }, "else": { "operation": "boost", - "score": -0.07942818105220795 + "score": 0.09541548043489456 } } } }, "else": { "operation": "boost", - "score": -0.009082167409360409 + "score": -0.0013598862569779158 } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.2044491022825241 + }, + "else": { + "operation": "boost", + "score": -0.5456435084342957 + } + }, + "else": { + "operation": "boost", + "score": 0.0006042178720235825 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.01247369684278965 + }, + "else": { + "operation": "boost", + "score": -0.005197540856897831 + } + }, + "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_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.05044139176607132 + }, + "else": { + "operation": "boost", + "score": -0.01386462152004242 + } + }, + "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.0722571611404419 + }, + "else": { + "operation": "boost", + "score": -0.032365262508392334 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245161.0, + "then": { + "operation": "boost", + "score": -0.008574661798775196 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.013953588902950287 + "score": -0.7367027997970581 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.5, - "then": { - "operation": "boost", - "score": 0.22339001297950745 - }, - "else": { - "operation": "boost", - "score": -0.22284053266048431 - } - }, - "else": { - "operation": "boost", - "score": -0.06705284863710403 - } - }, - "else": { - "operation": "boost", - "score": 0.087223120033741 - } - }, - "else": { - "operation": "boost", - "score": 0.11488331109285355 - } + "operation": "boost", + "score": 0.11167822778224945 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.33559027314186096 + "score": 0.08988340198993683 }, "else": { "operation": "boost", - "score": -0.10308785736560822 + "score": 0.023328006267547607 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.1088702380657196 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11376343667507172 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.09644345194101334 - }, - "else": { - "operation": "boost", - "score": -0.212560772895813 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0007280097925104201 - } - } + "operation": "boost", + "score": -0.1092785894870758 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.24144716560840607 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1496046781539917 - }, - "else": { - "operation": "boost", - "score": 0.026005811989307404 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.09499014168977737 - }, - "else": { - "operation": "boost", - "score": 0.10364149510860443 - } }, "else": { "operation": "boost", - "score": 0.036634430289268494 + "score": 0.07191532105207443 } } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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.5397274494171143 + "score": 0.02401733584702015 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.13968057930469513 + "score": -0.10053097456693649 }, "else": { - "operation": "boost", - "score": -0.10085456073284149 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15788.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 17400.0, + "threshold": 381517.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": 0.10225243121385574 + "score": 0.05999613553285599 }, "else": { "operation": "boost", - "score": 0.042258501052856445 + "score": -1.2128745317459106 } }, "else": { "operation": "boost", - "score": 0.10870245099067688 + "score": 0.049457233399152756 } - }, - "else": { + } + }, + "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": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.04267724230885506 + "score": -0.11223690956830978 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07616114616394043 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.21598289906978607 - }, - "else": { - "operation": "boost", - "score": 0.15912558138370514 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13449901342391968 - } + "operation": "boost", + "score": 0.09483110904693604 } + }, + "else": { + "operation": "boost", + "score": -0.0036206713411957026 } } + } + }, + "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.04197046533226967 + "score": -0.031907819211483 } }, "else": { "operation": "boost", - "score": 0.0037277741357684135 + "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" + ], + "then": { + "operation": "boost", + "score": -0.026370586827397346 + }, + "else": { + "operation": "boost", + "score": -0.3781226575374603 } } + }, + "else": { + "operation": "boost", + "score": 0.015576930716633797 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.002539129927754402 - }, - "else": { - "operation": "boost", - "score": -0.011206953786313534 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00330531969666481 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.08017237484455109 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.033351462334394455 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 50012.5, + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.01868458092212677 + "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.07770910859107971 + }, + "else": { + "operation": "boost", + "score": -0.11805037409067154 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10112662613391876 + }, + "else": { + "operation": "boost", + "score": -1.2225909233093262 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012631651014089584 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09092079102993011 + }, + "else": { + "operation": "boost", + "score": 0.116029292345047 + } + } }, "else": { - "operation": "boost", - "score": -0.11033209413290024 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11028186231851578 + }, + "else": { + "operation": "boost", + "score": 0.01858699321746826 + } } - }, - "else": { + } + }, + "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_ClassStructUnion" + "CCC_TopLevel", + "CCC_Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.0 + "score": -0.07736318558454514 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.10139390081167221 + "score": -0.2559110224246979 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.5, + "threshold": 135.5, "then": { "operation": "boost", - "score": 0.0999218299984932 + "score": 0.02615673653781414 }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.09534895420074463 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.18418225646018982 + "score": 0.10275302082300186 }, "else": { "operation": "boost", - "score": 0.07238886505365372 + "score": 0.06757719069719315 } - }, - "else": { - "operation": "boost", - "score": -0.8642313480377197 } } } @@ -315681,198 +302097,244 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.0, + "threshold": 2622.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 43.0, - "then": { - "operation": "boost", - "score": -0.3003067970275879 - }, - "else": { - "operation": "boost", - "score": 0.11211787164211273 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "threshold": 3904.0, "then": { "operation": "boost", - "score": -0.3209012448787689 + "score": 0.03867905214428902 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": 0.12739476561546326 + "score": 0.11519208550453186 }, "else": { "operation": "boost", - "score": 0.03409872576594353 + "score": 0.06635088473558426 } } + }, + "else": { + "operation": "boost", + "score": -0.029296724125742912 } } + }, + "else": { + "operation": "boost", + "score": -0.06871769577264786 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 242.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 + } + } + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.2405482679605484 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.01699988543987274 + }, + "else": { + "operation": "boost", + "score": -0.06546232104301453 + } }, "else": { - "operation": "boost", - "score": 0.10065502673387527 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4000582993030548 + }, + "else": { + "operation": "boost", + "score": -2.0699143409729004 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121.5, + "then": { + "operation": "boost", + "score": 0.09051056951284409 + }, + "else": { + "operation": "boost", + "score": 0.026560338214039803 + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03894011676311493 }, "else": { "operation": "boost", - "score": -0.02482008934020996 + "score": -0.01780949905514717 } } } } - }, - "else": { - "operation": "boost", - "score": 2.7703772502718493e-05 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ArrowMemberAccess" + "FunctionScope", + "GlobalScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01613987423479557 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03484220802783966 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06704521924257278 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0010655143996700644 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03370532765984535 - }, - "else": { - "operation": "boost", - "score": 0.061921700835227966 - } - } - } - } - } + "operation": "boost", + "score": 0.006817126180976629 }, "else": { "operation": "boost", - "score": 0.004007335752248764 + "score": -0.005930924788117409 } }, "else": { - "operation": "boost", - "score": -0.009265785105526447 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.01505369320511818 + "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.11281950771808624 + "score": -0.002193744294345379 } - }, - "else": { - "operation": "boost", - "score": -0.07821591198444366 } } } }, "else": { "operation": "boost", - "score": 0.00157231988850981 + "score": -0.0004847196687478572 } }, "else": { "operation": "boost", - "score": -0.001510298578068614 + "score": -0.0016964878886938095 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 398.5, + "threshold": 18672.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24308.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 403.5, + "threshold": 25184.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", @@ -315880,1551 +302342,1353 @@ "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 443.5, + "threshold": 26864.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28180.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 638.0, + "threshold": 224557.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172808.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 200884.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.014556949026882648 + "score": -0.19576920568943024 }, "else": { - "operation": "boost", - "score": -0.14136892557144165 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 159753.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.04935060068964958 + "score": 0.10911203175783157 }, "else": { - "operation": "boost", - "score": 0.07947145402431488 + "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": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 98110.0, + "threshold": 1074118.5, "then": { - "operation": "boost", - "score": -0.18312938511371613 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.012517380528151989 + }, + "else": { + "operation": "boost", + "score": -0.008301163092255592 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20700.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23872.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.034047048538923264 - }, - "else": { - "operation": "boost", - "score": 0.07345680892467499 - } + "operation": "boost", + "score": -0.06094193458557129 }, "else": { "operation": "boost", - "score": -0.035535577684640884 + "score": 0.07389459758996964 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23701.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1035439670085907 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.13057823479175568 - }, - "else": { - "operation": "boost", - "score": 0.11697780340909958 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20869.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23667.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -1.015467643737793 - }, - "else": { - "operation": "boost", - "score": -0.12658345699310303 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.004599409643560648 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23047.5, - "then": { - "operation": "boost", - "score": 0.13229627907276154 - }, - "else": { - "operation": "boost", - "score": 0.06811629235744476 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.12077852338552475 - } - } + "operation": "boost", + "score": 0.07894423604011536 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20449.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.5817143321037292 + "score": 0.057412173599004745 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1275.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2655.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3102.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7258.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08574022352695465 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13559.0, - "then": { - "operation": "boost", - "score": 0.01465918030589819 - }, - "else": { - "operation": "boost", - "score": 0.11100266128778458 - } - } - }, - "else": { - "operation": "boost", - "score": 0.015652786940336227 - } - }, - "else": { - "operation": "boost", - "score": -0.03751756250858307 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05421248450875282 - }, - "else": { - "operation": "boost", - "score": -0.7487788796424866 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2525.0, - "then": { - "operation": "boost", - "score": 0.10848019272089005 - }, - "else": { - "operation": "boost", - "score": 0.0603887140750885 - } - } + "operation": "boost", + "score": 0.04015248641371727 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.3208988606929779 + "score": -0.029082857072353363 }, "else": { "operation": "boost", - "score": 0.028580917045474052 + "score": -0.22383418679237366 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12757.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.09925512224435806 + "score": 0.0318157859146595 }, "else": { "operation": "boost", - "score": 0.013285577297210693 + "score": 0.10758604109287262 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.024129599332809448 - }, - "else": { - "operation": "boost", - "score": 0.12711235880851746 - } + "operation": "boost", + "score": -0.024015579372644424 } } } } } + }, + "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 + } + } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 621.5, - "then": { - "operation": "boost", - "score": 0.19866883754730225 - }, - "else": { - "operation": "boost", - "score": 0.041483137756586075 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 542.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.10756136476993561 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.48003441095352173 + }, + "else": { + "operation": "boost", + "score": 0.027522793039679527 + } }, "else": { - "operation": "boost", - "score": 0.0037225764244794846 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97230.0, + "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": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.05590148642659187 }, "else": { - "operation": "boost", - "score": -0.03372802212834358 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7369.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7486.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9462.5, + "threshold": 44315.0, "then": { + "operation": "boost", + "score": 0.005391511134803295 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73487.5, + "threshold": 30061.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108013.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120524.0, - "then": { - "operation": "boost", - "score": 0.00923142209649086 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12511414289474487 - }, - "else": { - "operation": "boost", - "score": 0.12735983729362488 - } - } - }, - "else": { - "operation": "boost", - "score": -0.030960233882069588 - } + "operation": "boost", + "score": -0.035623449832201004 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": 0.06732653081417084 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.10893779247999191 + "score": 0.008456042967736721 }, "else": { - "operation": "boost", - "score": 0.09291557222604752 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67668.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.07213478535413742 + "score": 0.1252603828907013 }, "else": { - "operation": "boost", - "score": 0.06763061881065369 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16539.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19176.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -0.522650957107544 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25503.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27413.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62601.0, - "then": { - "operation": "boost", - "score": -0.15586887300014496 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, - "then": { - "operation": "boost", - "score": 0.11386807262897491 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40203.5, - "then": { - "operation": "boost", - "score": 0.008273139595985413 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33342.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10265616327524185 - }, - "else": { - "operation": "boost", - "score": 0.11990407854318619 - } - }, - "else": { - "operation": "boost", - "score": -0.02435588650405407 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0028925614897161722 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": -0.35713431239128113 - }, - "else": { - "operation": "boost", - "score": 0.0944988876581192 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09415491670370102 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.0068069384433329105 + "score": 0.11114731431007385 }, "else": { "operation": "boost", - "score": 0.10196518898010254 + "score": 0.11983220279216766 } }, "else": { "operation": "boost", - "score": 0.08656884729862213 + "score": -0.021851247176527977 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08537676185369492 }, "else": { "operation": "boost", - "score": -0.14538899064064026 + "score": -0.0019197211368009448 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32149.5, - "then": { - "operation": "boost", - "score": 0.10174605250358582 }, "else": { - "operation": "boost", - "score": -0.1360139101743698 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10942717641592026 + }, + "else": { + "operation": "boost", + "score": 0.06347320973873138 + } } }, "else": { - "operation": "boost", - "score": -0.2211034744977951 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0969615951180458 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": -0.41925689578056335 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.09616507589817047 - }, - "else": { - "operation": "boost", - "score": 0.009586038067936897 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.15100224316120148 - }, - "else": { - "operation": "boost", - "score": 0.08837573975324631 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1043.0, - "then": { - "operation": "boost", - "score": -0.039386216551065445 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1019.5, - "then": { - "operation": "boost", - "score": 0.09730784595012665 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 805.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 932.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { - "operation": "boost", - "score": -0.11475617438554764 + "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 + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 865.0, + "threshold": 33451.5, "then": { - "operation": "boost", - "score": 0.09812525659799576 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.038666751235723495 + "score": 0.0008473021443933249 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12247136980295181 + "score": 0.0578865148127079 }, "else": { "operation": "boost", - "score": -0.546279788017273 + "score": -0.036729276180267334 } } + } + } + } + }, + "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": "NumReferences", - "threshold": 678.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12669609487056732 + "score": -0.10034690797328949 }, "else": { "operation": "boost", - "score": 0.01853017508983612 + "score": 0.26597148180007935 } } }, "else": { "operation": "boost", - "score": 0.04111939296126366 + "score": -0.06612683832645416 } + }, + "else": { + "operation": "boost", + "score": 0.016109244897961617 } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.27407845854759216 - }, - "else": { - "operation": "boost", - "score": 0.11459892988204956 - } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 27682.0, "then": { "operation": "boost", - "score": 0.0690341591835022 + "score": 0.11514627188444138 }, "else": { "operation": "boost", - "score": 0.09477142989635468 + "score": -0.4114331305027008 } }, - "else": { - "operation": "boost", - "score": -0.09201418608427048 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.029905062168836594 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.009191677905619144 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5898.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7768.5, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.0019719155970960855 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23436.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, - "then": { - "operation": "boost", - "score": -0.4586719572544098 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27076.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43231.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.062390923500061035 - }, - "else": { - "operation": "boost", - "score": 0.06433691829442978 - } - }, - "else": { - "operation": "boost", - "score": -0.08129379153251648 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.11106980592012405 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.08026741445064545 - } + "operation": "boost", + "score": 0.1034558042883873 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.10612858086824417 + "score": -0.6836487650871277 }, "else": { "operation": "boost", - "score": -0.17571119964122772 + "score": 0.09031753242015839 } } - }, - "else": { - "operation": "boost", - "score": 0.022066280245780945 } }, "else": { + "operation": "boost", + "score": -0.5702822208404541 + } + }, + "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": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10796187072992325 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10636324435472488 + }, + "else": { + "operation": "boost", + "score": -0.12431108206510544 + } + } + }, + "else": { + "operation": "boost", + "score": -0.36266660690307617 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25940.5, + "then": { + "operation": "boost", + "score": -0.18554921448230743 + }, + "else": { + "operation": "boost", + "score": 0.4724576473236084 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7477.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { - "operation": "boost", - "score": 0.14268288016319275 - }, - "else": { - "operation": "boost", - "score": -0.03883502632379532 - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 6.0, "then": { "operation": "boost", - "score": -0.07446283847093582 + "score": 0.1117578074336052 }, "else": { "operation": "boost", - "score": 0.12001796811819077 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5908.5, - "then": { - "operation": "boost", - "score": 0.030168185010552406 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10762123018503189 - }, - "else": { - "operation": "boost", - "score": 0.09483149647712708 - } + "score": 0.11634249985218048 } }, "else": { "operation": "boost", - "score": 0.09594576060771942 + "score": 0.03168267011642456 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5669.5, - "then": { - "operation": "boost", - "score": -0.23336102068424225 }, "else": { "operation": "boost", - "score": -0.009222784079611301 + "score": -0.02725602686405182 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11469794064760208 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1592.5, - "then": { - "operation": "boost", - "score": 0.08768408000469208 - }, - "else": { - "operation": "boost", - "score": -0.08387380093336105 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2505.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2723.5, - "then": { - "operation": "boost", - "score": 0.026950323954224586 - }, - "else": { - "operation": "boost", - "score": 0.10821020603179932 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 422.5, - "then": { - "operation": "boost", - "score": 0.01589288003742695 - }, - "else": { - "operation": "boost", - "score": 0.3270385265350342 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 423.0, - "then": { - "operation": "boost", - "score": -0.06305902451276779 - }, - "else": { - "operation": "boost", - "score": -0.773064136505127 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.04394720867276192 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.05606624484062195 - }, - "else": { - "operation": "boost", - "score": -0.1542939692735672 - } - } - } + "operation": "boost", + "score": 0.10743792355060577 } } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.005378338973969221 }, "else": { "operation": "boost", - "score": -0.10722439736127853 + "score": -0.010789294727146626 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 402.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.0, + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.11784534901380539 + "score": -0.19025078415870667 }, "else": { "operation": "boost", - "score": -0.08064814656972885 + "score": 0.12830929458141327 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10194744169712067 - }, - "else": { - "operation": "boost", - "score": -0.05642089247703552 - } + "operation": "boost", + "score": -0.09694735705852509 } } }, "else": { - "operation": "boost", - "score": 0.0014418367063626647 - } - }, - "else": { - "operation": "boost", - "score": -0.0003656283370219171 - } - }, - { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01130722276866436 - }, - "else": { - "operation": "boost", - "score": -0.05125788599252701 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" ], - "then": { - "operation": "boost", - "score": 0.02327069826424122 - }, - "else": { - "operation": "boost", - "score": 0.0013249367475509644 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20345.0, "then": { - "operation": "boost", - "score": -0.008679916150867939 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_EnumTag", - "CCC_Statement" + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.04785319045186043 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.09202833473682404 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.27745646238327026 + }, + "else": { + "operation": "boost", + "score": -0.00374954123981297 + } + } }, "else": { + "operation": "boost", + "score": 0.023071832954883575 + } + }, + "else": { + "operation": "boost", + "score": -0.07841986417770386 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 22957.5, "then": { - "operation": "boost", - "score": -0.016833564266562462 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.14553745090961456 + }, + "else": { + "operation": "boost", + "score": 0.07525160163640976 + } + }, + "else": { + "operation": "boost", + "score": 0.09380579739809036 + } }, "else": { + "operation": "boost", + "score": 0.019561665132641792 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "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" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 20487.0, "then": { "operation": "boost", - "score": 0.1257735639810562 + "score": -0.6112586259841919 }, "else": { - "operation": "boost", - "score": 0.06686610728502274 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.284547358751297 + }, + "else": { + "operation": "boost", + "score": -0.16835801303386688 + } } }, "else": { "operation": "boost", - "score": -0.011817773804068565 + "score": 0.016445279121398926 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.006605330388993025 + } + } + }, + "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.09856479614973068 + }, + "else": { + "operation": "boost", + "score": 0.11980900913476944 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.14461782574653625 + }, + "else": { + "operation": "boost", + "score": -0.1101173534989357 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1297493875026703 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.2732391357421875 + }, + "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.042684487998485565 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20000.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "boost", + "score": 0.12246359884738922 + }, + "else": { + "operation": "boost", + "score": 0.036639951169490814 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19474.5, + "then": { + "operation": "boost", + "score": -0.20418226718902588 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.11710880696773529 - }, - "else": { - "operation": "boost", - "score": 0.045168858021497726 - } - }, - "else": { - "operation": "boost", - "score": 0.09543512761592865 - } - }, - "else": { - "operation": "boost", - "score": 0.027957184240221977 - } + "operation": "boost", + "score": -0.07267118990421295 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.12150588631629944 - }, - "else": { - "operation": "boost", - "score": -0.043730974197387695 - } + "operation": "boost", + "score": 0.1117396429181099 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.506714940071106 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.17654521763324738 + }, + "else": { + "operation": "boost", + "score": 0.088651642203331 } }, "else": { "operation": "boost", - "score": -0.01473226584494114 + "score": -0.0023156972602009773 } - }, - "else": { - "operation": "boost", - "score": -0.0026798578910529613 } }, + "else": { + "operation": "boost", + "score": 0.10413626581430435 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02680112235248089 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 20039.5, "then": { "operation": "boost", - "score": 0.0168209969997406 + "score": -0.17309193313121796 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19362.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 19474.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.5, + "operation": "boost", + "score": 0.10821636766195297 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": -0.17746146023273468 + "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.11064129322767258 + "score": 0.08718041330575943 } - }, - "else": { - "operation": "boost", - "score": -0.40472912788391113 } }, "else": { "operation": "boost", - "score": -0.16076481342315674 + "score": -0.04640482738614082 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.027954768389463425 - }, - "else": { - "operation": "boost", - "score": 0.09637118875980377 - } + "operation": "boost", + "score": 0.14031246304512024 }, "else": { "operation": "boost", - "score": 0.007647029589861631 + "score": -0.04771795868873596 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1938066929578781 + "score": 0.017146514728665352 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11127419769763947 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.15772995352745056 - }, - "else": { - "operation": "boost", - "score": 0.11102432012557983 - } + "operation": "boost", + "score": 0.09453095495700836 }, "else": { "operation": "boost", - "score": -0.1385444551706314 + "score": 0.10651775449514389 } + }, + "else": { + "operation": "boost", + "score": -0.5432167053222656 } } } }, "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.34548279643058777 + }, + "else": { + "operation": "boost", + "score": -0.002582325367256999 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.021413862705230713 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00022388073557522148 + } + }, + { + "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.1400744467973709 + }, + "else": { + "operation": "boost", + "score": -0.04112422838807106 + } + }, + "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": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": 0.08868597447872162 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.12174779921770096 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1077289804816246 + }, + "else": { + "operation": "boost", + "score": -0.019398318603634834 + } + } + } + }, + "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": 7.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.003755465615540743 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 404.5, + "threshold": 79.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 600.5, - "then": { - "operation": "boost", - "score": 0.08605366945266724 - }, - "else": { - "operation": "boost", - "score": 0.10382462292909622 - } + "operation": "boost", + "score": 0.05977306887507439 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.051724474877119064 + "score": 0.09275482594966888 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.19338828325271606 + "score": 0.14615048468112946 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.02505740337073803 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.12466470152139664 - }, - "else": { - "operation": "boost", - "score": 0.10258369147777557 - } - } + "operation": "boost", + "score": 0.06127196177840233 } } } @@ -317432,5600 +303696,5837 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 56.0, + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.0719168484210968 + "score": -0.19454243779182434 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.299567848443985 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.052039746195077896 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11784682422876358 + "score": 0.09156773239374161 }, "else": { "operation": "boost", - "score": 0.07476528733968735 + "score": 0.10484350472688675 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "boost", - "score": -0.37501299381256104 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.1145571693778038 - }, - "else": { - "operation": "boost", - "score": 0.05631789565086365 - } + "operation": "boost", + "score": 0.11844876408576965 } } }, "else": { "operation": "boost", - "score": 0.0014257370494306087 + "score": 0.05946531519293785 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11582613736391068 }, "else": { - "operation": "boost", - "score": 0.015835030004382133 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.15441149473190308 + }, + "else": { + "operation": "boost", + "score": 0.11945070326328278 + } } } + }, + "else": { + "operation": "boost", + "score": -0.023366471752524376 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.051195546984672546 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10989028215408325 + "score": -0.07614503055810928 }, "else": { - "operation": "boost", - "score": -0.12308132648468018 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09122985601425171 + }, + "else": { + "operation": "boost", + "score": -0.10437978059053421 + } + }, + "else": { + "operation": "boost", + "score": 0.1144028976559639 + } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.006317186169326305 }, "else": { "operation": "boost", - "score": -0.07640703022480011 + "score": -0.10874655842781067 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 23.5, + "threshold": 15.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": 0.10308852046728134 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.010260817594826221 + "score": 0.11124583333730698 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "boost", + "score": 0.07285165786743164 + }, + "else": { + "operation": "boost", + "score": -0.7299579977989197 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22610.5, + "then": { + "operation": "boost", + "score": -0.014667797833681107 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.028739165514707565 + "score": -0.27199122309684753 }, "else": { "operation": "boost", - "score": -0.21382290124893188 + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.03627810999751091 + "score": -0.07859598100185394 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.06859773397445679 + "score": -0.11914780735969543 }, "else": { "operation": "boost", - "score": -0.30553948879241943 + "score": 0.10751335322856903 } } }, "else": { "operation": "boost", - "score": -0.032063860446214676 + "score": -0.12259835749864578 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "boost", + "score": -0.010110598988831043 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47907.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02763502672314644 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.042188744992017746 + "score": 0.10642696171998978 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.046963170170784 + "score": 0.09972960501909256 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14946115016937256 - }, - "else": { - "operation": "boost", - "score": -0.10806815326213837 - } + "operation": "boost", + "score": 0.05970760062336922 } } }, "else": { + "operation": "boost", + "score": -0.10228735208511353 + } + } + }, + "else": { + "operation": "boost", + "score": 0.002507341792806983 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11176493018865585 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.8495534658432007 + }, + "else": { + "operation": "boost", + "score": 0.040087759494781494 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 58.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 155.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.04347900301218033 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 440.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10348781943321228 - }, - "else": { - "operation": "boost", - "score": -0.4122233986854553 - } + "operation": "boost", + "score": 0.09357529878616333 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08519457280635834 - }, - "else": { - "operation": "boost", - "score": 0.10929183661937714 - } + "operation": "boost", + "score": -0.13712544739246368 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.412625253200531 + "score": -0.04256065934896469 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200.0, + "threshold": 175.5, "then": { - "operation": "boost", - "score": 0.10239683091640472 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09425998479127884 + }, + "else": { + "operation": "boost", + "score": 0.13264474272727966 + } }, "else": { "operation": "boost", - "score": 0.11083146184682846 + "score": 0.05392639338970184 } }, "else": { - "operation": "boost", - "score": 0.09315226227045059 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.1681545525789261 + }, + "else": { + "operation": "boost", + "score": 0.40778711438179016 + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.0, + "then": { + "operation": "boost", + "score": 0.11521207541227341 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 38.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1718.5, - "then": { - "operation": "boost", - "score": 0.10535410791635513 - }, - "else": { - "operation": "boost", - "score": 0.1049157977104187 - } + "operation": "boost", + "score": -0.22814267873764038 }, "else": { "operation": "boost", - "score": -0.09978548437356949 + "score": 0.10752992331981659 } } } }, "else": { "operation": "boost", - "score": 0.02876383066177368 + "score": -0.16901233792304993 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.009529514238238335 + "score": 0.13186943531036377 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.14234057068824768 - }, - "else": { - "operation": "boost", - "score": -0.04075382649898529 - } - } - }, - "else": { - "operation": "boost", - "score": 0.012829488143324852 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04738492891192436 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12971.5, - "then": { - "operation": "boost", - "score": -0.10836676508188248 - }, - "else": { - "operation": "boost", - "score": 0.11331330984830856 - } - }, - "else": { - "operation": "boost", - "score": -0.026003122329711914 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.029458196833729744 - }, - "else": { - "operation": "boost", - "score": -0.04089123383164406 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7609.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11381.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12625.5, + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14023.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.018598265945911407 + "score": -0.10657919198274612 }, "else": { "operation": "boost", - "score": -0.43800869584083557 + "score": 0.12197785079479218 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12391301244497299 - }, - "else": { - "operation": "boost", - "score": -0.11465360224246979 - } + "operation": "boost", + "score": 0.13166847825050354 } - }, - "else": { - "operation": "boost", - "score": -0.16425983607769012 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6637.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10115677863359451 + "score": -0.11113514006137848 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.09061479568481445 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10421919077634811 + "score": 0.11276565492153168 }, "else": { - "operation": "boost", - "score": 0.06880219280719757 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.004314585123211145 + }, + "else": { + "operation": "boost", + "score": 0.10182283073663712 + } } - }, - "else": { - "operation": "boost", - "score": 0.03396816551685333 } } } } + }, + "else": { + "operation": "boost", + "score": -0.07308098673820496 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11939424276351929 + }, + "else": { + "operation": "boost", + "score": -0.08850392699241638 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": -0.09688885509967804 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.09876066446304321 + }, + "else": { + "operation": "boost", + "score": 0.03941700980067253 } } } } + } + } + } + } + }, + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "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, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11291475594043732 + }, + "else": { + "operation": "boost", + "score": 0.13361407816410065 + } + }, + "else": { + "operation": "boost", + "score": 0.023361900821328163 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.08204008638858795 + "score": 0.04839726537466049 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11809898912906647 - }, - "else": { - "operation": "boost", - "score": 0.11811557412147522 - } - }, - "else": { - "operation": "boost", - "score": 0.06899397820234299 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04091659188270569 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.06749705225229263 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11458384245634079 - }, - "else": { - "operation": "boost", - "score": 0.10484021157026291 - } - } - }, - "else": { - "operation": "boost", - "score": -0.5755094289779663 - } - }, - "else": { - "operation": "boost", - "score": 0.08785376697778702 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.06127897650003433 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06789900362491608 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07037148624658585 - }, - "else": { - "operation": "boost", - "score": -0.48651576042175293 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.09639327228069305 - }, - "else": { - "operation": "boost", - "score": 0.04612281545996666 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10241130739450455 - }, - "else": { - "operation": "boost", - "score": -0.057717129588127136 - } - }, - "else": { - "operation": "boost", - "score": -0.031548842787742615 - } - } - } - } - } - } + "operation": "boost", + "score": 0.08183428645133972 + }, + "else": { + "operation": "boost", + "score": 0.12003489583730698 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.07786242663860321 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.12516365945339203 + "score": 0.10952333360910416 }, "else": { "operation": "boost", - "score": 0.08837728202342987 + "score": 0.14309346675872803 } - }, - "else": { - "operation": "boost", - "score": 0.014003027230501175 } }, "else": { "operation": "boost", - "score": -0.04737747833132744 + "score": 0.014752237126231194 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05342867970466614 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07143474370241165 + }, + "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 + } + } + } } } }, "else": { "operation": "boost", - "score": -0.017142800614237785 + "score": 0.0623636320233345 } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "ClassScope", + "GlobalScope" ], "then": { - "operation": "boost", - "score": -0.014112237840890884 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": -0.11449329555034637 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "boost", + "score": -0.0589970164000988 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "boost", + "score": 0.06753301620483398 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09347017109394073 + "score": 0.10491642355918884 }, "else": { "operation": "boost", - "score": 0.12474098056554794 + "score": 0.08514373749494553 } }, "else": { "operation": "boost", - "score": -0.28450438380241394 + "score": 0.009207948110997677 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00680284108966589 }, "else": { "operation": "boost", - "score": -0.079072505235672 + "score": 0.06468179076910019 } }, "else": { "operation": "boost", - "score": -0.047889310866594315 + "score": 0.02742479369044304 } } }, "else": { "operation": "boost", - "score": 0.08663459867238998 + "score": 0.0310814268887043 } + }, + "else": { + "operation": "boost", + "score": -0.005829721689224243 } } } + }, + "else": { + "operation": "boost", + "score": 0.0008434552000835538 } }, "else": { - "operation": "boost", - "score": -0.0013416860019788146 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.01520537305623293 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.011868756264448166 + }, + "else": { + "operation": "boost", + "score": -0.022824382409453392 + } + }, + "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 + } + } + } } + }, + "else": { + "operation": "boost", + "score": -5.1435225032037124e-05 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 105.5, + "threshold": 2389.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 62180.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 233.5, + "threshold": 74698.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], "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": 735.0, + "threshold": 141422.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 812.5, + "threshold": 167779.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820.5, - "then": { - "operation": "boost", - "score": 0.011052710935473442 - }, - "else": { - "operation": "boost", - "score": 0.10354343801736832 - } + "operation": "boost", + "score": -0.019048606976866722 }, "else": { "operation": "boost", - "score": -0.10244898498058319 + "score": -0.2639353275299072 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 140040.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.03695354610681534 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 389.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": 0.008666426874697208 + "score": 0.0955863893032074 }, "else": { "operation": "boost", - "score": 0.12745358049869537 + "score": -0.48887914419174194 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 321.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11672624945640564 - }, - "else": { - "operation": "boost", - "score": 0.09296613186597824 - } - }, - "else": { - "operation": "boost", - "score": 0.10341763496398926 - } + "operation": "boost", + "score": 0.1108425110578537 }, "else": { "operation": "boost", - "score": -0.20097504556179047 + "score": 0.10166231542825699 } } + }, + "else": { + "operation": "boost", + "score": -0.04566184803843498 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 359.5, + "threshold": 96602.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 98088.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 438.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 464.0, - "then": { - "operation": "boost", - "score": -0.00525352917611599 - }, - "else": { - "operation": "boost", - "score": 0.07766183465719223 - } - }, - "else": { - "operation": "boost", - "score": -0.3749423921108246 - } + "operation": "boost", + "score": 0.01046594325453043 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 441.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 532.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 543.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.008424250409007072 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 699.5, - "then": { - "operation": "boost", - "score": -0.5285250544548035 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.07275859266519547 - }, - "else": { - "operation": "boost", - "score": 0.11536910384893417 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.10251201689243317 - } - }, - "else": { - "operation": "boost", - "score": -0.022071171551942825 - } - }, - "else": { - "operation": "boost", - "score": -0.3089465796947479 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09663943946361542 - }, - "else": { - "operation": "boost", - "score": 0.08926614373922348 - } - } + "operation": "boost", + "score": 0.09415601193904877 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 343.5, + "threshold": 80424.0, "then": { "operation": "boost", - "score": -0.5845407843589783 + "score": -0.04027732461690903 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.5, - "then": { - "operation": "boost", - "score": 0.10447880625724792 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 311.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04674393683671951 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17118793725967407 - }, - "else": { - "operation": "boost", - "score": -0.7812122106552124 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236.5, - "then": { - "operation": "boost", - "score": 0.011864063329994678 - }, - "else": { - "operation": "boost", - "score": -1.1578420400619507 - } - } - } + "operation": "boost", + "score": 0.04093145951628685 } } } } - }, - "else": { - "operation": "boost", - "score": 0.10712110996246338 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 73859.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.07352237403392792 + "score": 0.10851415991783142 }, "else": { "operation": "boost", - "score": 0.10292746126651764 + "score": 0.03603697195649147 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.20739275217056274 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03146488592028618 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.04298793897032738 + }, + "else": { + "operation": "boost", + "score": 0.09425278007984161 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17026780545711517 + } }, "else": { "operation": "boost", - "score": 0.1004958301782608 + "score": -0.0488477498292923 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03338140994310379 - }, - "else": { - "operation": "boost", - "score": -0.15645690262317657 - } + "operation": "boost", + "score": 0.021578503772616386 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.1776379644870758 - }, - "else": { - "operation": "boost", - "score": 0.08475527167320251 - } + "operation": "boost", + "score": -0.09732650220394135 } } } }, "else": { - "operation": "boost", - "score": 0.00687055429443717 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 106.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 173.5, + "threshold": 2417.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4641.5, "then": { "operation": "boost", - "score": 0.018530091270804405 + "score": -0.04316575825214386 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2505.0, + "threshold": 3803.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.21040482819080353 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.06262705475091934 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6150.0, - "then": { - "operation": "boost", - "score": 0.1016477569937706 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3716.5, - "then": { - "operation": "boost", - "score": -0.13712775707244873 - }, - "else": { - "operation": "boost", - "score": 0.0975412130355835 - } - } - } - } + "operation": "boost", + "score": 0.10659342259168625 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.0, - "then": { - "operation": "boost", - "score": -0.03374696895480156 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 182.5, - "then": { - "operation": "boost", - "score": 0.11995293200016022 - }, - "else": { - "operation": "boost", - "score": -0.11228824406862259 - } - } + "operation": "boost", + "score": -0.5983622074127197 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 503.0, - "then": { - "operation": "boost", - "score": -0.022306080907583237 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 308.0, - "then": { - "operation": "boost", - "score": 0.10167621821165085 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 217.5, - "then": { - "operation": "boost", - "score": -0.23680591583251953 - }, - "else": { - "operation": "boost", - "score": 0.09603700786828995 - } - } - } + "operation": "boost", + "score": 0.08541683852672577 } } } }, "else": { "operation": "boost", - "score": 0.00638225395232439 + "score": 0.020884785801172256 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 172.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.15590403974056244 - }, - "else": { - "operation": "boost", - "score": -0.12504294514656067 - } + "operation": "boost", + "score": 0.04899050295352936 }, "else": { + "operation": "boost", + "score": 0.11277218163013458 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "boost", + "score": 0.08733847737312317 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 155.5, + "threshold": 7591.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 162.5, + "threshold": 59716.0, "then": { "operation": "boost", - "score": -0.13918903470039368 + "score": -0.019318021833896637 }, "else": { - "operation": "boost", - "score": 0.12067432701587677 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48585.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15402.5, + "then": { + "operation": "boost", + "score": 0.029134346172213554 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11275.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12774.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15033.0, + "then": { + "operation": "boost", + "score": 0.0878482311964035 + }, + "else": { + "operation": "boost", + "score": -0.00679310318082571 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11960749328136444 + }, + "else": { + "operation": "boost", + "score": 0.1277487725019455 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7885.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.02115589566528797 + }, + "else": { + "operation": "boost", + "score": -0.32754138112068176 + } + }, + "else": { + "operation": "boost", + "score": 0.08924742043018341 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.25214433670043945 + }, + "else": { + "operation": "boost", + "score": 0.05308203771710396 + } + }, + "else": { + "operation": "boost", + "score": 0.102461077272892 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10726.5, + "then": { + "operation": "boost", + "score": 0.04190701246261597 + }, + "else": { + "operation": "boost", + "score": 0.11585585027933121 + } + }, + "else": { + "operation": "boost", + "score": -0.07570052146911621 + } + }, + "else": { + "operation": "boost", + "score": -0.011288020759820938 + } + } + } + } + } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 3977.5, "then": { - "operation": "boost", - "score": 0.1249236911535263 + "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.039475612342357635 + }, + "else": { + "operation": "boost", + "score": -0.07340134680271149 + } }, "else": { - "operation": "boost", - "score": -0.09775252640247345 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.07664903253316879 - }, - "else": { - "operation": "boost", - "score": -0.13848546147346497 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12807926535606384 - }, - "else": { - "operation": "boost", - "score": -0.12995491921901703 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_ClassOrStructTag", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14955097436904907 + "score": 0.10507358610630035 }, "else": { - "operation": "boost", - "score": 0.08677514642477036 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.010710001923143864 + }, + "else": { + "operation": "boost", + "score": 0.11144774407148361 + } } }, "else": { "operation": "boost", - "score": -0.23229257762432098 + "score": 0.026871172711253166 } - }, - "else": { - "operation": "boost", - "score": 0.5845500826835632 } - }, - "else": { - "operation": "boost", - "score": -0.1505090743303299 } + }, + "else": { + "operation": "boost", + "score": 0.007267417386174202 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 139.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.0970141664147377 + "score": 0.087065689265728 }, "else": { "operation": "boost", - "score": 0.254160076379776 + "score": 0.12044437229633331 } }, "else": { - "operation": "boost", - "score": -0.05329189449548721 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 119.5, + "threshold": 21786.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32538.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32947.0, + "then": { + "operation": "boost", + "score": 0.027469931170344353 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09688892215490341 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.10284220427274704 + }, + "else": { + "operation": "boost", + "score": 0.10437315702438354 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.015828508883714676 + } + }, + "else": { "operation": "boost", - "score": -0.17777153849601746 + "score": -0.03670007362961769 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21689.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.055051546543836594 + }, + "else": { + "operation": "boost", + "score": 0.08053221553564072 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 120.5, + "threshold": 5651.5, "then": { - "operation": "boost", - "score": 0.09773783385753632 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14555.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08549313247203827 + }, + "else": { + "operation": "boost", + "score": 0.047596462070941925 + } + }, + "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": "boost", + "score": 0.01812676340341568 + } + }, + "else": { + "operation": "boost", + "score": 0.006884814240038395 + } }, "else": { "operation": "boost", - "score": 0.24556130170822144 + "score": 0.006964432075619698 } } - }, - "else": { - "operation": "boost", - "score": -0.085073322057724 } - }, - "else": { - "operation": "boost", - "score": -0.09809769690036774 } - } - }, - "else": { - "operation": "boost", - "score": -0.4299788475036621 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, - "then": { - "operation": "boost", - "score": 0.15623991191387177 - }, - "else": { - "operation": "boost", - "score": 0.08177042007446289 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.36033472418785095 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.05738159641623497 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.0, - "then": { - "operation": "boost", - "score": -0.6894744634628296 - }, - "else": { - "operation": "boost", - "score": -0.1688797026872635 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.12694279849529266 - }, - "else": { - "operation": "boost", - "score": 0.11608077585697174 - } - }, - "else": { - "operation": "boost", - "score": -0.12724809348583221 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.10203314572572708 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.466155081987381 - }, - "else": { - "operation": "boost", - "score": -0.2536155581474304 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.0, - "then": { - "operation": "boost", - "score": 0.10418342798948288 - }, - "else": { - "operation": "boost", - "score": 0.0846240445971489 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.0, - "then": { - "operation": "boost", - "score": 0.11634207516908646 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 312.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 362.0, - "then": { - "operation": "boost", - "score": -0.06224430352449417 - }, - "else": { - "operation": "boost", - "score": 0.12143553048372269 - } - }, - "else": { - "operation": "boost", - "score": -0.12640820443630219 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, - "then": { - "operation": "boost", - "score": 0.02178410068154335 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.11181865632534027 - }, - "else": { - "operation": "boost", - "score": 0.1334666907787323 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140.5, - "then": { - "operation": "boost", - "score": 0.11508796364068985 }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" + "CCC_Namespace", + "CCC_Symbol" ], "then": { + "operation": "boost", + "score": 0.05009876564145088 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11045603454113007 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 59716.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.035013347864151 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 121.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1286848485469818 + "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": 16.5, + "threshold": 15.0, "then": { "operation": "boost", - "score": 0.38217276334762573 + "score": 0.10541371256113052 }, "else": { "operation": "boost", - "score": -0.314275324344635 + "score": -0.46058303117752075 } } + }, + "else": { + "operation": "boost", + "score": 0.010991232469677925 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.37927088141441345 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2870.0, + "then": { + "operation": "boost", + "score": 0.02383965253829956 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2702.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11881046742200851 + }, + "else": { + "operation": "boost", + "score": -0.10332739353179932 + } + }, + "else": { + "operation": "boost", + "score": 0.1373133361339569 + } + } }, "else": { "operation": "boost", - "score": 0.06803914904594421 + "score": -0.08115930110216141 } } - } - }, - "else": { - "operation": "boost", - "score": -0.1042766347527504 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0416623130440712 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 344.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 394.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1585.0, - "then": { - "operation": "boost", - "score": 0.10559362918138504 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 495.0, - "then": { - "operation": "boost", - "score": -0.008846363984048367 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 444.0, + "threshold": 15623.0, "then": { - "operation": "boost", - "score": 0.12974072992801666 + "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, + "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, + "then": { + "operation": "boost", + "score": -0.03371497243642807 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29064.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27234.5, + "then": { + "operation": "boost", + "score": 0.11677782982587814 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13966867327690125 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03980744630098343 + } }, "else": { "operation": "boost", - "score": -0.14679959416389465 + "score": -0.08232881128787994 } } } - }, - "else": { - "operation": "boost", - "score": 0.11599670350551605 - } - }, - "else": { - "operation": "boost", - "score": 0.11905008554458618 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.1073654294013977 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 201.5, - "then": { - "operation": "boost", - "score": 0.11130055785179138 - }, - "else": { - "operation": "boost", - "score": -0.005096096079796553 - } - }, - "else": { - "operation": "boost", - "score": 0.04879932478070259 } } - } - }, - "else": { - "operation": "boost", - "score": -0.0375383086502552 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07275541871786118 - }, - "else": { - "operation": "boost", - "score": 0.11752650141716003 - } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 271.0, + "threshold": 7979.5, "then": { + "operation": "boost", + "score": 0.051193565130233765 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 334.5, + "threshold": 6004.5, "then": { "operation": "boost", - "score": 0.020353354513645172 + "score": 0.12355863302946091 }, "else": { "operation": "boost", - "score": 0.15009567141532898 + "score": 0.03863966464996338 } - }, - "else": { - "operation": "boost", - "score": -0.21328113973140717 } }, "else": { "operation": "boost", - "score": -0.04908040165901184 + "score": 0.04767290875315666 } } - }, - "else": { - "operation": "boost", - "score": 0.021200159564614296 } } + } + }, + "else": { + "operation": "boost", + "score": -0.0009304296690970659 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2394.0, + "then": { + "operation": "boost", + "score": 0.009634477086365223 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11028960347175598 }, "else": { "operation": "boost", - "score": 0.0006492818356491625 + "score": -0.10303020477294922 } } } }, "else": { - "operation": "boost", - "score": -0.00041504582623019814 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0002945251762866974 + } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol" + "Variable", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 627.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "operation": "boost", + "score": 0.12407396733760834 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.1843596249818802 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.11238030344247818 + "score": -0.030411247164011 }, "else": { - "operation": "boost", - "score": 0.02481308951973915 + "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 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13546165823936462 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.14438174664974213 + "score": -0.005429632030427456 }, "else": { "operation": "boost", - "score": 0.16944584250450134 + "score": 0.019212966784834862 } } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.10044147819280624 - }, - "else": { - "operation": "boost", - "score": -0.2996836304664612 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1054.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2870.0, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2873.5, - "then": { - "operation": "boost", - "score": 0.01640099100768566 - }, - "else": { - "operation": "boost", - "score": 0.31164416670799255 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.006934797391295433 + "score": 0.006870684213936329 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2922.5, + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11992646753787994 + }, + "else": { + "operation": "boost", + "score": 0.016023149713873863 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11094542592763901 + }, + "else": { + "operation": "boost", + "score": -0.09293878078460693 + } + }, + "else": { + "operation": "boost", + "score": 0.028373975306749344 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "boost", + "score": 0.015225752256810665 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.023843908682465553 + }, + "else": { + "operation": "boost", + "score": 0.12480472773313522 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91274.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 94621.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.08418651670217514 + "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.4096725881099701 + "score": -0.02192419022321701 } }, "else": { - "operation": "boost", - "score": 0.07210255414247513 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13367368280887604 + }, + "else": { + "operation": "boost", + "score": 0.11769122630357742 + } + }, + "else": { + "operation": "boost", + "score": 0.017559364438056946 + } + }, + "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 + } + } } }, "else": { - "operation": "boost", - "score": -0.803673505783081 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06843029707670212 + }, + "else": { + "operation": "boost", + "score": 0.10603206604719162 + } + }, + "else": { + "operation": "boost", + "score": -0.04269061237573624 + } + }, + "else": { + "operation": "boost", + "score": 0.10397030413150787 + } } }, "else": { - "operation": "boost", - "score": 0.038845889270305634 - } - }, - "else": { - "operation": "boost", - "score": 0.4227621257305145 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11292000114917755 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1542.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1552.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2801.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.08607018738985062 - }, - "else": { - "operation": "boost", - "score": 0.09475073218345642 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1630.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1716.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.06356248259544373 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.04409709572792053 + }, + "else": { + "operation": "boost", + "score": 0.07475024461746216 + } + }, + "else": { + "operation": "boost", + "score": 0.1569335162639618 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1998.5, + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2088.5, + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1003074049949646 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.0758405402302742 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10107319802045822 + }, + "else": { + "operation": "boost", + "score": -0.42080947756767273 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11105432361364365 + } + }, + "else": { + "operation": "boost", + "score": -0.10673452168703079 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09128738194704056 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.17608405649662018 + }, + "else": { + "operation": "boost", + "score": 0.09686847776174545 + } + } + } }, "else": { "operation": "boost", - "score": 0.10699586570262909 + "score": -0.0318976454436779 } }, "else": { + "operation": "boost", + "score": -0.23952151834964752 + } + }, + "else": { + "operation": "boost", + "score": -0.11099422723054886 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.10633137822151184 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2747.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2754.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.057640496641397476 + "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": "boost", - "score": 0.48262959718704224 + "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.13026267290115356 + "score": 0.00789994839578867 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2208.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.19141104817390442 + "score": -0.012840408831834793 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "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": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.1384160965681076 + "score": 0.1076788604259491 }, "else": { "operation": "boost", - "score": 0.10533116012811661 + "score": 0.09628400951623917 } - }, - "else": { - "operation": "boost", - "score": -0.08870597183704376 } + }, + "else": { + "operation": "boost", + "score": 0.05020782724022865 } } - }, - "else": { - "operation": "boost", - "score": 0.100521020591259 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1227811872959137 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.1250012367963791 + "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 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2051.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.0512029305100441 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10862839221954346 + }, + "else": { + "operation": "boost", + "score": 0.08862986415624619 + } }, "else": { - "operation": "boost", - "score": 0.1445656567811966 + "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 + } + } + } } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1789.0, - "then": { - "operation": "boost", - "score": -0.19835823774337769 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11592740565538406 - }, - "else": { - "operation": "boost", - "score": -0.10281006991863251 - } - } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1295400708913803 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.314272940158844 - }, - "else": { - "operation": "boost", - "score": 0.014720694161951542 - } - } + "operation": "boost", + "score": -0.02204040065407753 } - }, - "else": { - "operation": "boost", - "score": -0.056717824190855026 } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10909923166036606 - }, - "else": { - "operation": "boost", - "score": 0.020305311307311058 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09713080525398254 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.13399316370487213 - }, - "else": { - "operation": "boost", - "score": -0.0013998195063322783 } }, "else": { - "operation": "boost", - "score": -0.04910876974463463 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 988.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 989.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1009.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1041.0, - "then": { - "operation": "boost", - "score": 0.12680424749851227 - }, - "else": { - "operation": "boost", - "score": -0.16436992585659027 - } - }, - "else": { - "operation": "boost", - "score": -0.16560977697372437 - } + "operation": "boost", + "score": 0.02206791564822197 }, "else": { "operation": "boost", - "score": 0.09433809667825699 + "score": 0.13254275918006897 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.2941150367259979 - }, - "else": { - "operation": "boost", - "score": 0.10289211571216583 - } - }, - "else": { - "operation": "boost", - "score": 0.018887262791395187 - } + "operation": "boost", + "score": 0.07667386531829834 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1006.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.012301416136324406 - }, - "else": { - "operation": "boost", - "score": 0.12764354050159454 - } + "operation": "boost", + "score": 0.01759653352200985 }, "else": { "operation": "boost", - "score": -0.07082809507846832 + "score": 0.12200180441141129 } } - }, - "else": { - "operation": "boost", - "score": 0.09915823489427567 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.0742124691605568 - }, - "else": { - "operation": "boost", - "score": 0.09648191183805466 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 650.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 812.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.005814883857965469 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 851.5, + "threshold": 1685.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 986.5, + "threshold": 2502.0, "then": { "operation": "boost", - "score": 0.14302073419094086 + "score": -0.010503273457288742 }, "else": { "operation": "boost", - "score": -0.016376441344618797 + "score": 0.11686757951974869 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 28.5, "then": { - "operation": "boost", - "score": 0.09497673809528351 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 825.0, + "threshold": 60.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "boost", - "score": 0.03839742764830589 + "score": 0.0856415256857872 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.13394096493721008 - }, - "else": { - "operation": "boost", - "score": 0.13507407903671265 - } + "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": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.22433358430862427 + "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": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05542551353573799 + }, + "else": { + "operation": "boost", + "score": 0.16054287552833557 + } + }, + "else": { + "operation": "boost", + "score": -0.2822236120700836 + } }, "else": { - "operation": "boost", - "score": 0.08752036094665527 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.3618260324001312 + }, + "else": { + "operation": "boost", + "score": 0.1738157421350479 + } } }, "else": { "operation": "boost", - "score": -0.1440446823835373 + "score": -0.028283799067139626 } } } } - }, - "else": { - "operation": "boost", - "score": -0.04147659242153168 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.00826969277113676 - }, - "else": { - "operation": "boost", - "score": 0.11489088088274002 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04613702371716499 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 622.5, - "then": { - "operation": "boost", - "score": 0.03214754909276962 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.20378746092319489 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.13237948715686798 - }, - "else": { - "operation": "boost", - "score": 0.10881616920232773 - } - } - } } }, "else": { - "operation": "boost", - "score": -0.058837514370679855 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0013026678934693336 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 276.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.02731860615313053 - }, - "else": { - "operation": "boost", - "score": 0.12204458564519882 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 379.0, - "then": { - "operation": "boost", - "score": 0.11342048645019531 - }, - "else": { - "operation": "boost", - "score": -0.7217477560043335 - } - }, - "else": { - "operation": "boost", - "score": 0.12081721425056458 - } + "score": 0.01070599164813757 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 498.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 512.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03507450595498085 - }, - "else": { - "operation": "boost", - "score": 0.09880635142326355 - } - }, - "else": { - "operation": "boost", - "score": 0.10360772162675858 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.08540300279855728 - }, - "else": { - "operation": "boost", - "score": -0.025163592770695686 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.030250700190663338 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011046253144741058 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 100.5, - "then": { - "operation": "boost", - "score": 0.11035396158695221 - }, - "else": { - "operation": "boost", - "score": -0.10384926199913025 - } - } - }, - "else": { - "operation": "boost", - "score": -0.09658320993185043 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.035564638674259186 + "score": -0.3432041108608246 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "boost", - "score": -0.11041299253702164 + "score": -0.10782159119844437 }, "else": { "operation": "boost", - "score": 0.33912310004234314 + "score": 0.09258256107568741 } }, "else": { "operation": "boost", - "score": 0.2273435741662979 + "score": 0.0752767026424408 } - } - }, - "else": { - "operation": "boost", - "score": -0.06338130682706833 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.23925690352916718 - }, - "else": { - "operation": "boost", - "score": 0.05104726925492287 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 8.75583355082199e-05 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.010054935701191425 + } }, "else": { - "operation": "boost", - "score": -0.16979920864105225 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12389057874679565 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 257.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 308.0, + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 343.5, + "threshold": 256.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 308.5, "then": { - "operation": "boost", - "score": -0.025153748691082 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 73593.0, "then": { "operation": "boost", - "score": 0.10456313192844391 + "score": -0.0823153406381607 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 531.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 567.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.06298114359378815 + "score": -0.044720470905303955 }, "else": { - "operation": "boost", - "score": 0.11974632740020752 + "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": "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005594304762780666 + } + }, + "else": { + "operation": "boost", + "score": 0.11357583105564117 + } } }, "else": { "operation": "boost", - "score": 0.00943822506815195 + "score": -0.0037673565093427896 } } + }, + "else": { + "operation": "boost", + "score": 0.11281442642211914 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.02986818738281727 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 37.5, "then": { "operation": "boost", - "score": 0.08274918049573898 + "score": 0.03257157281041145 }, "else": { "operation": "boost", - "score": 0.11474623531103134 + "score": 0.09853597730398178 } + }, + "else": { + "operation": "boost", + "score": -0.3251800835132599 } } }, "else": { "operation": "boost", - "score": -0.1496078073978424 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.10304350405931473 - }, - "else": { - "operation": "boost", - "score": 0.05545078217983246 + "score": 0.1041426807641983 } } } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004531803075224161 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.002403068821877241 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.19275347888469696 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10920096933841705 + "score": -1.1435747146606445 }, "else": { - "operation": "boost", - "score": 0.11492585390806198 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 168.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.10107631981372833 + "score": 0.0014299002941697836 }, "else": { - "operation": "boost", - "score": 0.1469786912202835 + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.06251101195812225 } }, "else": { "operation": "boost", - "score": -0.014759743586182594 + "score": 0.11810197681188583 } + }, + "else": { + "operation": "boost", + "score": -0.10924138873815536 } } + }, + "else": { + "operation": "boost", + "score": 0.01219144370406866 } + }, + "else": { + "operation": "boost", + "score": -0.00014090290642343462 } }, "else": { "operation": "boost", - "score": -0.020904259756207466 + "score": -0.01806524582207203 } - }, - "else": { - "operation": "boost", - "score": -0.00012131856055930257 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.011545572429895401 - }, - "else": { - "operation": "boost", - "score": 0.0007929663988761604 - } + "operation": "boost", + "score": -0.0004881874774582684 } + }, + "else": { + "operation": "boost", + "score": -0.0016929218545556068 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 66.5, + "threshold": 45.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.11853232979774475 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "feature": "FilterLength", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 14.5, "then": { + "operation": "boost", + "score": 0.044840335845947266 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 58.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 125.0, + "threshold": 2840.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 136.5, + "threshold": 5075.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.0, - "then": { - "operation": "boost", - "score": 0.13006387650966644 - }, - "else": { - "operation": "boost", - "score": -0.31956392526626587 - } - }, - "else": { - "operation": "boost", - "score": 0.0020507636945694685 - } + "operation": "boost", + "score": 0.10072603076696396 }, "else": { "operation": "boost", - "score": 0.10652174055576324 + "score": 0.13049198687076569 } }, "else": { "operation": "boost", - "score": -0.05988065153360367 + "score": 0.003554086433723569 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74.5, + "threshold": 542.5, "then": { - "operation": "boost", - "score": 0.029794923961162567 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 2258.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.11062928289175034 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11035052686929703 - }, - "else": { - "operation": "boost", - "score": -0.14412134885787964 - } - } + "operation": "boost", + "score": 0.11020484566688538 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "boost", - "score": 0.022840071469545364 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.19322021305561066 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.11865220218896866 - }, - "else": { - "operation": "boost", - "score": 0.06512273848056793 - } - } - } + "operation": "boost", + "score": 0.14952890574932098 } + }, + "else": { + "operation": "boost", + "score": 0.06893644481897354 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1221.5, + "threshold": 52.5, + "then": { + "operation": "boost", + "score": 0.1459837555885315 + }, + "else": { + "operation": "boost", + "score": -0.08701115101575851 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03328157588839531 + } + }, + "else": { + "operation": "boost", + "score": -0.0006645562825724483 + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33449.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.010349598713219166 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33610.5, + "threshold": 62576.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.020085005089640617 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 22.5, + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.051683660596609116 + "score": 0.08901993930339813 }, "else": { "operation": "boost", - "score": 0.12618820369243622 + "score": 0.028698090463876724 } - }, - "else": { - "operation": "boost", - "score": 0.03789789602160454 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0049872430972754955 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101032.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": -0.009190474636852741 + "score": 0.09216825664043427 }, "else": { "operation": "boost", - "score": 0.11225737631320953 + "score": -0.18491016328334808 } - }, - "else": { - "operation": "boost", - "score": -0.06916298717260361 } }, "else": { "operation": "boost", - "score": 0.04569893330335617 + "score": -0.024538015946745872 } } }, "else": { - "operation": "boost", - "score": 0.1173802986741066 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08168276399374008 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.06077314168214798 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30668.0, + "threshold": 49823.5, "then": { "operation": "boost", - "score": -0.09432551264762878 + "score": 0.1191243901848793 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.008848891593515873 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12881048023700714 - }, - "else": { - "operation": "boost", - "score": 0.02196199633181095 - } - }, - "else": { - "operation": "boost", - "score": 0.0164972934871912 - } - } + "operation": "boost", + "score": -0.30379414558410645 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.15867145359516144 + "score": 0.027704352512955666 }, "else": { "operation": "boost", - "score": 0.04511415213346481 + "score": 0.08714669197797775 } } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18885.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20157.5, + "then": { + "operation": "boost", + "score": 0.00013901761849410832 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3329028785228729 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25180.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": -0.06878284364938736 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25411.0, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { "operation": "boost", - "score": -0.032519351691007614 + "score": 0.1126006543636322 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 19589.5, "then": { "operation": "boost", - "score": -0.4484771192073822 + "score": 0.013597289100289345 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.037165988236665726 - }, - "else": { - "operation": "boost", - "score": 0.1367131471633911 - } + "operation": "boost", + "score": 0.19412000477313995 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.02529534511268139 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1668.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09196755290031433 + "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.07689026743173599 + "score": 0.02067597024142742 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1649.0, + "threshold": 134.5, "then": { "operation": "boost", - "score": 0.12107270210981369 + "score": -0.36597150564193726 }, "else": { - "operation": "boost", - "score": 0.009102833457291126 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.0, + "then": { + "operation": "boost", + "score": 0.09490638226270676 + }, + "else": { + "operation": "boost", + "score": -0.42099931836128235 + } } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318.5, - "then": { - "operation": "boost", - "score": -0.030268097296357155 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "Variable" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09063486009836197 + "score": 0.10989690572023392 }, "else": { "operation": "boost", - "score": 0.09886974841356277 + "score": 0.05893312767148018 } }, "else": { - "operation": "boost", - "score": -0.07395415008068085 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10383.5, "then": { "operation": "boost", - "score": 0.04134589806199074 + "score": -0.09565165638923645 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1127.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.6353180408477783 - }, - "else": { - "operation": "boost", - "score": -0.062405120581388474 - } - }, - "else": { - "operation": "boost", - "score": -0.05012626200914383 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 577.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 906.5, + "threshold": 10049.0, "then": { "operation": "boost", - "score": -0.10386525094509125 + "score": 0.08669893443584442 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 820.5, + "threshold": 8506.0, "then": { + "operation": "boost", + "score": -0.30716222524642944 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 7165.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 860.5, + "threshold": 7776.0, "then": { "operation": "boost", - "score": 0.10300125926733017 + "score": -0.1188897043466568 }, "else": { "operation": "boost", - "score": 0.1597859114408493 + "score": 0.11606843769550323 } }, "else": { - "operation": "boost", - "score": -0.08809655904769897 + "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 + } } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 702.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3050.0, + "then": { + "operation": "boost", + "score": 0.09051606804132462 }, "else": { "operation": "boost", - "score": 0.00380874564871192 + "score": -0.3425101935863495 } + }, + "else": { + "operation": "boost", + "score": 0.1056346446275711 } }, "else": { "operation": "boost", - "score": -0.060227036476135254 + "score": -0.3967925012111664 } } - }, - "else": { - "operation": "boost", - "score": -0.23193874955177307 } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + } + }, + "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": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.025196481496095657 + "score": -0.021317118778824806 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.04873787239193916 + "score": 0.021015707403421402 }, "else": { "operation": "boost", - "score": 0.03888951241970062 + "score": -0.11085085570812225 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 73.5, + "threshold": 234850.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 57.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.5, + "then": { + "operation": "boost", + "score": -0.43004146218299866 + }, + "else": { + "operation": "boost", + "score": 0.08281085640192032 + } + }, + "else": { "operation": "boost", - "score": 0.11259539425373077 + "score": 0.10337620973587036 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 365.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1041615679860115 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 223.0, + "then": { + "operation": "boost", + "score": -0.1498406082391739 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 197.0, + "then": { + "operation": "boost", + "score": 0.07312420010566711 + }, + "else": { + "operation": "boost", + "score": -0.3757486343383789 + } + }, + "else": { + "operation": "boost", + "score": 0.09931459277868271 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08371678739786148 + }, + "else": { + "operation": "boost", + "score": -0.2743324041366577 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11027955263853073 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.052474021911621094 + }, + "else": { + "operation": "boost", + "score": -0.5599217414855957 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0822673812508583 + }, + "else": { + "operation": "boost", + "score": -0.4302809536457062 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08572627604007721 + } }, "else": { "operation": "boost", - "score": -0.08587201684713364 + "score": -0.2383030205965042 } - }, - "else": { - "operation": "boost", - "score": -0.10801901668310165 } }, "else": { "operation": "boost", - "score": -0.03244609013199806 + "score": 0.10147961229085922 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 214.5, + "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": 7.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0867808610200882 + "score": 0.0986388772726059 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 459.0, + "operation": "boost", + "score": 0.013891187496483326 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 693.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 826.5, + "then": { + "operation": "boost", + "score": 0.02813171036541462 + }, + "else": { + "operation": "boost", + "score": 0.1007300615310669 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 275.5, + "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" + ], "then": { - "operation": "boost", - "score": 0.10296018421649933 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 362.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.19525209069252014 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.5, + "then": { + "operation": "boost", + "score": 0.04312444478273392 + }, + "else": { + "operation": "boost", + "score": 0.10202235728502274 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11644545197486877 + }, + "else": { + "operation": "boost", + "score": -0.45596399903297424 + } + } + } }, "else": { - "operation": "boost", - "score": 0.058523304760456085 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 225.0, + "then": { + "operation": "boost", + "score": 0.11043841391801834 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.27773338556289673 + }, + "else": { + "operation": "boost", + "score": 0.09576405584812164 + } + }, + "else": { + "operation": "boost", + "score": 0.10285972058773041 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.12057238817214966 } } - }, - "else": { - "operation": "boost", - "score": 0.10949526727199554 } - }, - "else": { - "operation": "boost", - "score": -0.28150349855422974 } }, "else": { "operation": "boost", - "score": -0.031034743413329124 + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.20922642946243286 + }, + "else": { + "operation": "boost", + "score": 0.11629479378461838 + } }, "else": { "operation": "boost", - "score": -0.1216123178601265 + "score": -0.07836821675300598 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.12047842144966125 + "score": 0.14275120198726654 }, "else": { "operation": "boost", - "score": 0.12255130708217621 + "score": 0.09646379947662354 } } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12318.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1053733304142952 }, "else": { - "operation": "boost", - "score": -0.1734776645898819 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 209.0, + "threshold": 80.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 309.0, - "then": { - "operation": "boost", - "score": -0.0010131036397069693 - }, - "else": { - "operation": "boost", - "score": -0.5663732290267944 - } + "operation": "boost", + "score": -0.023576488718390465 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 120.0, + "threshold": 60.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 181.5, - "then": { - "operation": "boost", - "score": 0.016565265133976936 - }, - "else": { - "operation": "boost", - "score": 0.1271803379058838 - } - }, - "else": { - "operation": "boost", - "score": 0.017486032098531723 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.16806870698928833 - }, - "else": { - "operation": "boost", - "score": 0.10688062757253647 - } - } + "operation": "boost", + "score": 0.11628332734107971 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11171329766511917 - }, - "else": { - "operation": "boost", - "score": -0.03830711543560028 - } + "operation": "boost", + "score": -0.4754709303379059 } } }, "else": { "operation": "boost", - "score": -0.06304687261581421 + "score": -0.006280119530856609 } - }, - "else": { - "operation": "boost", - "score": -0.14641961455345154 } } - }, - "else": { - "operation": "boost", - "score": -0.17034262418746948 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { + "operation": "boost", + "score": 0.12367028743028641 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04162601754069328 + "score": 0.03502151742577553 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11071640253067017 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1422111988067627 - }, - "else": { - "operation": "boost", - "score": 0.11078546196222305 - } - } + "operation": "boost", + "score": -0.026837563142180443 } - }, - "else": { - "operation": "boost", - "score": 0.0304564256221056 } } + }, + "else": { + "operation": "boost", + "score": -0.016822611913084984 } + } + }, + "else": { + "operation": "boost", + "score": -0.0004754458204843104 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.0003493283875286579 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.03623417392373085 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.009699251502752304 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 109.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 600.5, "then": { - "operation": "boost", - "score": -0.06502699106931686 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 427.5, + "threshold": 2093.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 493.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8084.5, + "threshold": 11345.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11747.0, - "then": { - "operation": "boost", - "score": 0.019977621734142303 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11547.0, - "then": { - "operation": "boost", - "score": 0.114195816218853 - }, - "else": { - "operation": "boost", - "score": 0.0805506706237793 - } - } + "operation": "boost", + "score": 0.07775874435901642 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2425.5, - "then": { - "operation": "boost", - "score": -0.1744655966758728 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1546.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1564.0, - "then": { - "operation": "boost", - "score": 0.07163485139608383 - }, - "else": { - "operation": "boost", - "score": 0.12106422334909439 - } - }, - "else": { - "operation": "boost", - "score": -0.0165428314357996 - } - } + "operation": "boost", + "score": -0.25829365849494934 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 474.0, + "threshold": 2430.0, + "then": { + "operation": "boost", + "score": 0.09511885046958923 + }, + "else": { + "operation": "boost", + "score": 0.10444844514131546 + } + } + }, + "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" + ], "then": { "operation": "boost", - "score": 0.12471623718738556 + "score": -0.0989876314997673 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 442.5, + "threshold": 1349.0, "then": { "operation": "boost", - "score": -0.008299492299556732 + "score": -1.1121833324432373 }, "else": { "operation": "boost", - "score": 0.10881379246711731 + "score": -0.48323705792427063 } } } - }, - "else": { - "operation": "boost", - "score": -0.01578538306057453 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 155.0, + "threshold": 496.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110939.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": -0.6825320720672607 + "score": 0.09397386014461517 }, "else": { "operation": "boost", - "score": 0.04047094285488129 + "score": 0.09645882248878479 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.050485361367464066 - }, - "else": { - "operation": "boost", - "score": 0.10895255208015442 - } - } - }, - "else": { - "operation": "boost", - "score": -0.031178174540400505 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 315.0, + "threshold": 165.5, "then": { "operation": "boost", - "score": 0.020326271653175354 + "score": -0.012259368784725666 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 282.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 302.0, + "threshold": 140.5, "then": { - "operation": "boost", - "score": -0.8910176157951355 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.10365653783082962 + }, + "else": { + "operation": "boost", + "score": -0.2940422296524048 + } }, "else": { "operation": "boost", - "score": -1.004299521446228 + "score": -0.060532547533512115 } }, "else": { "operation": "boost", - "score": -0.17192065715789795 + "score": 0.12912246584892273 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.10148891061544418 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 48.0, "then": { + "operation": "boost", + "score": 0.11015935987234116 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.02739504911005497 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.11382885277271271 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.15096499025821686 + }, + "else": { + "operation": "boost", + "score": 0.10013934224843979 + } }, "else": { - "operation": "boost", - "score": 0.07800830155611038 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.017977511510252953 + }, + "else": { + "operation": "boost", + "score": -0.7822275757789612 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.06317666918039322 + }, + "else": { + "operation": "boost", + "score": 0.042762573808431625 + } + }, + "else": { + "operation": "boost", + "score": -0.04729318246245384 + } + }, + "else": { + "operation": "boost", + "score": 0.08332151919603348 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.013499680906534195 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": -0.9921821355819702 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 164.5, + "threshold": 36.0, "then": { "operation": "boost", - "score": -0.46912679076194763 + "score": 0.13718000054359436 }, "else": { "operation": "boost", - "score": 0.01896725408732891 + "score": 0.009225054644048214 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.41353657841682434 - }, - "else": { - "operation": "boost", - "score": -0.027535075321793556 - } - }, - "else": { - "operation": "boost", - "score": -0.331199586391449 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02864181622862816 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0374256931245327 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17948992550373077 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09400608390569687 - }, - "else": { - "operation": "boost", - "score": 0.09820129722356796 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.00020476250210776925 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0004155198694206774 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": 0.12063399702310562 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, - "then": { - "operation": "boost", - "score": 0.09977959841489792 - }, - "else": { - "operation": "boost", - "score": -0.1163482591509819 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.17419497668743134 - }, - "else": { - "operation": "boost", - "score": -0.2385961413383484 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.0, - "then": { - "operation": "boost", - "score": 0.10037731379270554 - }, - "else": { - "operation": "boost", - "score": 0.06416167318820953 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02841198816895485 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.10945220291614532 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10949482768774033 - }, - "else": { - "operation": "boost", - "score": -0.1271972954273224 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10913349688053131 - }, - "else": { - "operation": "boost", - "score": -0.007915861904621124 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.043137434870004654 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 70.5, + "threshold": 29.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 72.5, - "then": { - "operation": "boost", - "score": 0.07965897023677826 - }, - "else": { - "operation": "boost", - "score": 0.10541052371263504 - } + "operation": "boost", + "score": -0.11076177656650543 }, "else": { "operation": "boost", - "score": -0.09835000336170197 + "score": -0.8212521076202393 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.17496955394744873 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.014102858491241932 + }, + "else": { + "operation": "boost", + "score": 0.08012592047452927 + } + }, + "else": { + "operation": "boost", + "score": 0.09416031837463379 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.04348307475447655 + }, + "else": { + "operation": "boost", + "score": -0.1755097657442093 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Expression" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { + "operation": "boost", + "score": -0.014235349372029305 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, + "feature": "FileProximityDistance", + "threshold": 8.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "boost", - "score": 0.1468261480331421 - }, - "else": { - "operation": "boost", - "score": 0.13039030134677887 - } + "operation": "boost", + "score": -0.13556452095508575 }, "else": { "operation": "boost", - "score": -0.12873391807079315 + "score": 0.3862212598323822 } }, "else": { "operation": "boost", - "score": -0.14736388623714447 + "score": -0.4096609652042389 } - }, - "else": { - "operation": "boost", - "score": -0.09984374791383743 } - }, - "else": { - "operation": "boost", - "score": 0.12278764694929123 } } } } }, "else": { - "operation": "boost", - "score": -0.12140404433012009 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1010.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1011.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.05089736357331276 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.30668872594833374 - }, - "else": { - "operation": "boost", - "score": 0.08614439517259598 - } - } + "operation": "boost", + "score": 0.05839533731341362 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.08762337267398834 - }, - "else": { - "operation": "boost", - "score": 0.03423706442117691 - } + "operation": "boost", + "score": 0.006181780248880386 }, "else": { "operation": "boost", - "score": -0.00172477588057518 + "score": -0.1266472488641739 } } }, "else": { "operation": "boost", - "score": -0.007962324656546116 + "score": -0.021858589723706245 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + } + } + }, + "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.3450375497341156 + "score": 0.043062347918748856 }, "else": { "operation": "boost", - "score": -1.8162105083465576 + "score": 0.10153556615114212 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1007.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.24514466524124146 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 318.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.03807760030031204 + "score": -0.0377354621887207 }, "else": { - "operation": "boost", - "score": 0.1004440113902092 + "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": "boost", - "score": -0.14557702839374542 - } - }, - "else": { - "operation": "boost", - "score": -0.03191792219877243 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 785.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 789.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.047910548746585846 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1028.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 860.5, + "threshold": 47903.0, "then": { "operation": "boost", - "score": -0.010365867055952549 + "score": 0.06260769814252853 }, "else": { "operation": "boost", - "score": 0.1580670326948166 + "score": 0.11752401292324066 } }, "else": { - "operation": "boost", - "score": -0.06451539695262909 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.03652709722518921 + }, + "else": { + "operation": "boost", + "score": -0.3818754553794861 + } + }, + "else": { + "operation": "boost", + "score": 0.11691572517156601 + } } + } + } + }, + "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.1781744658946991 + "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": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.03483632951974869 - }, - "else": { - "operation": "boost", - "score": -0.0652800053358078 - } + "operation": "boost", + "score": 0.018629413098096848 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.007187350653111935 - }, - "else": { - "operation": "boost", - "score": -0.0609615221619606 - } + "operation": "boost", + "score": 0.46274012327194214 } } - }, - "else": { - "operation": "boost", - "score": -0.24875377118587494 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 216.5, "then": { - "operation": "boost", - "score": 0.04306313768029213 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 608.0, + "threshold": 1262.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10364028811454773 - }, - "else": { - "operation": "boost", - "score": 0.04132223501801491 - } + "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" + ], + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.10633601993322372 + "score": 0.1271916627883911 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.19287602603435516 - }, - "else": { - "operation": "boost", - "score": -0.10122162848711014 - } + "operation": "boost", + "score": 0.03931164741516113 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.022001022472977638 + "score": 0.04285329207777977 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.5, - "then": { - "operation": "boost", - "score": 0.11040541529655457 - }, - "else": { - "operation": "boost", - "score": 0.023007787764072418 - } + "operation": "boost", + "score": 0.09269339591264725 } } + }, + "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": "boost", - "score": 0.03383508324623108 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76.5, + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 197.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 88.5, "then": { "operation": "boost", - "score": 0.11034134775400162 + "score": -0.4367775619029999 }, "else": { "operation": "boost", - "score": -0.11928797513246536 + "score": 0.0746794044971466 } }, "else": { - "operation": "boost", - "score": -0.10197771340608597 - } - }, - "else": { - "operation": "boost", - "score": -0.031245144084095955 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 214.5, + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.070843905210495 + "score": 0.006032351870089769 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 362.0, + "threshold": 553.5, "then": { "operation": "boost", - "score": 0.18333135545253754 + "score": 0.04999915510416031 }, "else": { "operation": "boost", - "score": 0.053996168076992035 + "score": 0.08797058463096619 } } }, "else": { - "operation": "boost", - "score": 0.10801191627979279 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11504116654396057 + }, + "else": { + "operation": "boost", + "score": 0.07510316371917725 + } } - }, - "else": { - "operation": "boost", - "score": -0.2114289551973343 } }, "else": { "operation": "boost", - "score": -0.024739257991313934 + "score": -0.08180879056453705 } + }, + "else": { + "operation": "boost", + "score": -0.060244474560022354 } }, - "else": { - "operation": "boost", - "score": -0.11544672399759293 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.11856318265199661 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "boost", - "score": 0.1667843610048294 + "score": -0.37314674258232117 }, "else": { "operation": "boost", - "score": -0.11822474747896194 + "score": 0.06434974074363708 + } + }, + "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 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0830283984541893 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.005183847155421972 }, "else": { "operation": "boost", - "score": -0.23805119097232819 + "score": -0.06691452860832214 } } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12318.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10198470950126648 - }, - "else": { - "operation": "boost", - "score": -0.16748465597629547 - } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 213.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 799.5, + "operation": "boost", + "score": 0.10074523836374283 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.13853658735752106 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07695458829402924 + }, + "else": { + "operation": "boost", + "score": -0.1231093779206276 + } + }, + "else": { + "operation": "boost", + "score": 0.11289621889591217 + } }, "else": { - "operation": "boost", - "score": -0.39219576120376587 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14386136829853058 + } + }, + "else": { + "operation": "boost", + "score": -0.16172197461128235 + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.12922370433807373 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 126.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.10812332481145859 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.0, + "then": { + "operation": "boost", + "score": 0.02742314152419567 + }, + "else": { + "operation": "boost", + "score": 0.11048698425292969 + } + }, + "else": { + "operation": "boost", + "score": 0.01741253398358822 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 133.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.022176777943968773 + "score": -0.43309375643730164 }, "else": { - "operation": "boost", - "score": 0.09912706166505814 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5554457902908325 + }, + "else": { + "operation": "boost", + "score": 0.03425564989447594 + } } } }, "else": { - "operation": "boost", - "score": 0.10738377273082733 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03359297662973404 + }, + "else": { + "operation": "boost", + "score": 0.07520659267902374 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08468693494796753 - }, - "else": { - "operation": "boost", - "score": -0.06564697623252869 - } + "operation": "boost", + "score": -0.06306396424770355 } } - }, - "else": { - "operation": "boost", - "score": -0.07666469365358353 } } - }, - "else": { - "operation": "boost", - "score": -0.1586252748966217 } } }, @@ -323033,397 +309534,163 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "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": 13.5, + "operation": "boost", + "score": -0.0060514602810144424 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.04528827965259552 + "score": 0.09970404952764511 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10804526507854462 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1449873149394989 + "score": -0.049566641449928284 }, "else": { - "operation": "boost", - "score": 0.11046016216278076 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.0834137499332428 + }, + "else": { + "operation": "boost", + "score": -0.30521318316459656 + } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.015339391306042671 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.03571033477783203 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5949.5, - "then": { - "operation": "boost", - "score": 0.011624795384705067 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.029459241777658463 - }, - "else": { - "operation": "boost", - "score": -6.0640530136879534e-05 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "boost", - "score": 0.02039422281086445 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.03132868930697441 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.0953712984919548 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10416907072067261 - }, - "else": { - "operation": "boost", - "score": -0.3853815495967865 - } + "operation": "boost", + "score": -0.010323172435164452 } } } } + }, + "else": { + "operation": "boost", + "score": 0.005121992435306311 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 9969.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16649.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "boost", + "score": 0.013390183448791504 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 242.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11527423560619354 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.11707253009080887 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2863.0, - "then": { - "operation": "boost", - "score": 0.10549505800008774 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 266.0, - "then": { - "operation": "boost", - "score": -0.1872333586215973 - }, - "else": { - "operation": "boost", - "score": 0.10969439148902893 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.09832864999771118 - }, - "else": { - "operation": "boost", - "score": -0.16015106439590454 - } - }, - "else": { - "operation": "boost", - "score": 0.11889573931694031 - } - } - } + "operation": "boost", + "score": -0.23941659927368164 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12406110018491745 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, - "then": { - "operation": "boost", - "score": 0.2147057205438614 - }, - "else": { - "operation": "boost", - "score": -0.21116411685943604 - } - } - }, - "else": { - "operation": "boost", - "score": -0.021319227293133736 - } + "operation": "boost", + "score": 0.10452258586883545 } }, "else": { "operation": "boost", - "score": -0.011076068505644798 + "score": 0.049503762274980545 } - }, - "else": { - "operation": "boost", - "score": 0.04645507037639618 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" + "CCC_ParenthesizedExpression", + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.0003575324371922761 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": -0.012528441846370697 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.07957476377487183 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11852961778640747 - }, - "else": { - "operation": "boost", - "score": 0.08770947903394699 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.11225215345621109 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.006096699275076389 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.026706408709287643 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 125.5, - "then": { - "operation": "boost", - "score": 0.0728994682431221 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.0, - "then": { - "operation": "boost", - "score": 0.12254302203655243 - }, - "else": { - "operation": "boost", - "score": 0.002902509644627571 - } - } - }, - "else": { - "operation": "boost", - "score": 0.023343615233898163 - } - } - }, - "else": { - "operation": "boost", - "score": -0.23267070949077606 - } - } + "score": 0.012118586339056492 }, "else": { "operation": "boost", - "score": -0.06968989968299866 + "score": 0.11321432888507843 } + }, + "else": { + "operation": "boost", + "score": 0.08460575342178345 } + }, + "else": { + "operation": "boost", + "score": 0.02268020249903202 } + }, + "else": { + "operation": "boost", + "score": 0.011034179478883743 } + }, + "else": { + "operation": "boost", + "score": 0.0030734564643353224 } } } @@ -323431,668 +309698,368 @@ }, "else": { "operation": "boost", - "score": -0.00039843135164119303 + "score": -0.00031889279489405453 } }, { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01885780692100525 - }, - "else": { - "operation": "boost", - "score": -0.013107452541589737 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Constructor", + "Function", "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 633.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2757.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "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 + } + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope" + "CCC_Statement", + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { + "operation": "boost", + "score": 0.045882321894168854 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 6653.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 109.0, + "threshold": 6943.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 63399.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 250.0, - "then": { - "operation": "boost", - "score": -0.059894464910030365 - }, - "else": { - "operation": "boost", - "score": 0.18114767968654633 - } + "operation": "boost", + "score": -0.36267808079719543 }, "else": { "operation": "boost", - "score": -0.27861979603767395 + "score": 0.08637462556362152 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10093068331480026 - }, - "else": { - "operation": "boost", - "score": 0.1010286957025528 - } - }, - "else": { - "operation": "boost", - "score": -0.08247964084148407 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.015401664189994335 - }, - "else": { - "operation": "boost", - "score": 0.12512241303920746 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06383585184812546 - } - }, - "else": { - "operation": "boost", - "score": 0.08192389458417892 - } + "operation": "boost", + "score": 0.12276113033294678 } }, "else": { - "operation": "boost", - "score": 0.08896049857139587 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04678162932395935 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 17.5, + "threshold": 3473.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 5163.5, "then": { "operation": "boost", - "score": 0.14780770242214203 + "score": 0.08829144388437271 }, "else": { "operation": "boost", - "score": 0.13214825093746185 + "score": -0.015767790377140045 } }, "else": { "operation": "boost", - "score": -0.04350919649004936 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.10146734118461609 - }, - "else": { - "operation": "boost", - "score": 0.015713386237621307 + "score": 0.11846938729286194 } } - }, - "else": { - "operation": "boost", - "score": 0.020016292110085487 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": 0.11332326382398605 - }, - "else": { - "operation": "boost", - "score": -0.041513968259096146 - } + "operation": "boost", + "score": 0.00937426183372736 } - }, - "else": { - "operation": "boost", - "score": -0.01516789011657238 } }, "else": { "operation": "boost", - "score": -0.005980431567877531 + "score": -0.020037777721881866 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 562.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 575.5, "then": { - "operation": "boost", - "score": 0.036386117339134216 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.002469781320542097 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.022394631057977676 - }, - "else": { - "operation": "boost", - "score": -0.003476843936368823 - } - } + "operation": "boost", + "score": 0.10810086876153946 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.043080464005470276 - }, - "else": { - "operation": "boost", - "score": -0.002250977326184511 - } + "operation": "boost", + "score": 0.1002577468752861 } + }, + "else": { + "operation": "boost", + "score": 0.14513441920280457 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 565.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FileScope" + "CCC_SymbolOrNewName", + "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 619.5, "then": { "operation": "boost", - "score": 0.11107918620109558 + "score": -0.0075329928658902645 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 597.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0213765986263752 - }, - "else": { - "operation": "boost", - "score": 0.11371973901987076 - } + "operation": "boost", + "score": 0.11079247295856476 }, "else": { "operation": "boost", - "score": -0.022150225937366486 + "score": 0.06162954866886139 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.1762574315071106 - }, - "else": { - "operation": "boost", - "score": 0.07003068923950195 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.04059493541717529 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.3303835988044739 - }, - "else": { - "operation": "boost", - "score": 0.11809248477220535 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.15212595462799072 - }, - "else": { - "operation": "boost", - "score": 0.12034501135349274 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.012178169563412666 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.3580574095249176 - }, - "else": { - "operation": "boost", - "score": 0.07062162458896637 - } - }, - "else": { - "operation": "boost", - "score": 0.09487311542034149 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.025852033868432045 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.06925040483474731 - }, - "else": { - "operation": "boost", - "score": 0.09118469059467316 - } - } - } - } + "operation": "boost", + "score": 0.0933123230934143 } }, "else": { "operation": "boost", - "score": 0.04518340155482292 + "score": -0.02070598304271698 } }, "else": { "operation": "boost", - "score": -0.018238557502627373 + "score": 0.12431932985782623 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 62.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62601.0, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08832195401191711 + }, + "else": { + "operation": "boost", + "score": -0.3010175824165344 + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76669.0, + "threshold": 112.5, "then": { "operation": "boost", - "score": -0.021984262391924858 + "score": 0.0439116433262825 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10653737932443619 - }, - "else": { - "operation": "boost", - "score": 0.04821555316448212 - } + "operation": "boost", + "score": 0.030464615672826767 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.03853902220726013 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 165.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 322.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 344.0, + "operation": "boost", + "score": -0.11878100782632828 + }, + "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.018497969955205917 + "score": 0.14191827178001404 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.10686086863279343 - }, - "else": { - "operation": "boost", - "score": 0.09873220324516296 - } + "operation": "boost", + "score": -0.11206885427236557 } - }, - "else": { - "operation": "boost", - "score": -0.13060425221920013 } }, "else": { "operation": "boost", - "score": -0.11044567078351974 + "score": -0.13450616598129272 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135.0, - "then": { - "operation": "boost", - "score": 0.07981868088245392 - }, - "else": { - "operation": "boost", - "score": -0.0026180357672274113 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": -0.07079212367534637 - }, - "else": { - "operation": "boost", - "score": 0.11231972277164459 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 61.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.03883600980043411 + "score": 0.024145212024450302 }, "else": { "operation": "boost", - "score": 0.16029618680477142 + "score": 0.1748036891222 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, - "then": { - "operation": "boost", - "score": 0.10568172484636307 - }, - "else": { - "operation": "boost", - "score": 0.04254979267716408 - } + "operation": "boost", + "score": -0.26476964354515076 } + }, + "else": { + "operation": "boost", + "score": 0.09175601601600647 } - }, - "else": { - "operation": "boost", - "score": 0.13534852862358093 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.058510009199380875 - }, - "else": { - "operation": "boost", - "score": -0.01233896054327488 } } } @@ -324100,2104 +310067,2427 @@ } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], + "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 + } + } + }, + "else": { + "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": "boost", + "score": 0.007294195704162121 + }, + "else": { + "operation": "boost", + "score": -0.004274423699826002 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Symbol", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 69.5, + "threshold": 180.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 99.0, + "threshold": 191.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 706.5, + "then": { + "operation": "boost", + "score": -0.3986850678920746 + }, + "else": { + "operation": "boost", + "score": 0.12809059023857117 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204.5, + "then": { + "operation": "boost", + "score": 0.05527634546160698 + }, + "else": { + "operation": "boost", + "score": 0.10040375590324402 + } + } + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45617.0, + "threshold": 646.5, "then": { "operation": "boost", - "score": -0.0799497663974762 + "score": -0.11405602842569351 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20608.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08987313508987427 - }, - "else": { - "operation": "boost", - "score": 0.11099320650100708 - } + "operation": "boost", + "score": 0.12404908984899521 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 109.5, - "then": { - "operation": "boost", - "score": 0.06109710782766342 - }, - "else": { - "operation": "boost", - "score": 0.10343855619430542 - } + "operation": "boost", + "score": 0.019937114790081978 } } }, "else": { "operation": "boost", - "score": -0.24196389317512512 + "score": -0.03403427451848984 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.12131825089454651 }, "else": { "operation": "boost", - "score": -0.21823212504386902 + "score": 0.01232842542231083 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93.5, + "threshold": 99.0, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.5, + "then": { + "operation": "boost", + "score": 0.10998804867267609 + }, + "else": { + "operation": "boost", + "score": 0.05614479258656502 + } + }, + "else": { + "operation": "boost", + "score": 0.10716381669044495 + } + }, + "else": { "operation": "boost", - "score": 0.11243722587823868 + "score": -0.19179879128932953 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { + "operation": "boost", + "score": 0.02755456231534481 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "boost", + "score": 0.11027500033378601 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.5, + "then": { + "operation": "boost", + "score": -0.07451590150594711 + }, + "else": { + "operation": "boost", + "score": 0.11532219499349594 + } + }, + "else": { + "operation": "boost", + "score": -0.10489640384912491 + } + } + } }, "else": { "operation": "boost", - "score": -0.06428458541631699 + "score": 0.005732151214033365 } } - }, - "else": { - "operation": "boost", - "score": 0.11380580067634583 } }, "else": { - "operation": "boost", - "score": 0.00466123316437006 - } - }, - "else": { - "operation": "boost", - "score": -0.07307641208171844 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.049497947096824646 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 6320.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 6826.5, "then": { "operation": "boost", - "score": 0.6523468494415283 + "score": 0.04571641981601715 }, "else": { "operation": "boost", - "score": -0.0635218694806099 + "score": 0.1779320389032364 } }, "else": { "operation": "boost", - "score": 0.10007324069738388 + "score": 0.007940681651234627 } - } - }, - "else": { - "operation": "boost", - "score": -0.09600020200014114 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.015465690754354 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, "then": { - "operation": "boost", - "score": -0.037297219038009644 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127.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": 163.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 489.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 754.0, + "then": { + "operation": "boost", + "score": 0.05608639866113663 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.09917575120925903 + }, + "else": { + "operation": "boost", + "score": 0.11127340793609619 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.22140797972679138 + }, + "else": { + "operation": "boost", + "score": -0.047495026141405106 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10549180954694748 + }, + "else": { + "operation": "boost", + "score": -0.10755404829978943 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10649131238460541 + } + }, + "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", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11001890897750854 + } + } + } }, "else": { - "operation": "boost", - "score": -0.14446382224559784 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1093655675649643 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.4533081352710724 + }, + "else": { + "operation": "boost", + "score": -0.12205569446086884 + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.025988595560193062 - }, - "else": { - "operation": "boost", - "score": 0.10151831805706024 - } } + }, + "else": { + "operation": "boost", + "score": 0.016364455223083496 } + }, + "else": { + "operation": "boost", + "score": -0.007396592292934656 } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "Variable" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 92.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 467.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.39423051476478577 - }, - "else": { - "operation": "boost", - "score": 0.06675561517477036 - } + "operation": "boost", + "score": -0.07842736691236496 }, "else": { "operation": "boost", - "score": -0.42545512318611145 + "score": 0.13193732500076294 } }, "else": { "operation": "boost", - "score": 0.04653012380003929 + "score": -0.20731233060359955 } }, "else": { + "operation": "boost", + "score": 0.029648326337337494 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "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": 3.5, "then": { + "operation": "boost", + "score": 0.014157609082758427 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1560.5, + "threshold": 446.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7172.5, + "threshold": 566.5, "then": { - "operation": "boost", - "score": -0.06762944906949997 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 948.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.110979825258255 + }, + "else": { + "operation": "boost", + "score": 0.1041620597243309 + } + }, + "else": { + "operation": "boost", + "score": -0.1886707842350006 + } }, "else": { "operation": "boost", - "score": 0.09414343535900116 + "score": 0.11801600456237793 } }, "else": { - "operation": "boost", - "score": -0.04334099590778351 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89.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": "NumReferences", + "threshold": 277.0, + "then": { + "operation": "boost", + "score": 0.0008893201593309641 + }, + "else": { + "operation": "boost", + "score": 0.10605953633785248 + } + }, + "else": { + "operation": "boost", + "score": -0.03820207715034485 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.5, + "then": { + "operation": "boost", + "score": 0.12948425114154816 + }, + "else": { + "operation": "boost", + "score": 0.0027261136565357447 + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 98.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 102.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 149.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 175.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 227.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 259.0, + "then": { + "operation": "boost", + "score": 0.03978181630373001 + }, + "else": { + "operation": "boost", + "score": 0.10431579500436783 + } + }, + "else": { + "operation": "boost", + "score": -0.2309671938419342 + } + }, + "else": { + "operation": "boost", + "score": 0.09475556015968323 + } + }, + "else": { + "operation": "boost", + "score": -0.6160053610801697 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.0, + "then": { + "operation": "boost", + "score": 0.11770384013652802 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154.5, + "then": { + "operation": "boost", + "score": 0.024105727672576904 + }, + "else": { + "operation": "boost", + "score": 0.0936851054430008 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04387642815709114 + } + }, + "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "CCC_TopLevel", + "CCC_Expression" ], "then": { "operation": "boost", - "score": 0.051609497517347336 + "score": 0.11760036647319794 }, "else": { "operation": "boost", - "score": -0.2610062062740326 + "score": 0.029840027913451195 } - }, - "else": { - "operation": "boost", - "score": -0.1558404564857483 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "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.0943184569478035 + "score": 0.12780441343784332 }, "else": { "operation": "boost", - "score": 0.07821683585643768 + "score": -0.2424316257238388 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.3208703100681305 + "score": -0.010720578022301197 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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.08305644989013672 + "score": -0.1876383125782013 }, "else": { "operation": "boost", - "score": 0.08696296066045761 + "score": -0.824708878993988 } } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07514742761850357 - }, - "else": { - "operation": "boost", - "score": -0.0667516440153122 - } + "operation": "boost", + "score": -0.08577151596546173 } } - }, - "else": { - "operation": "boost", - "score": -0.09685195237398148 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + }, + "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": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" ], "then": { - "operation": "boost", - "score": 0.01061293762177229 - }, - "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.3354310989379883 + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 192.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03235568106174469 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.09204071015119553 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1057007759809494 - }, - "else": { - "operation": "boost", - "score": 0.03364874795079231 - } - } + "operation": "boost", + "score": -0.1168958768248558 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.08961032330989838 - }, - "else": { - "operation": "boost", - "score": 0.04780185595154762 - } + "operation": "boost", + "score": 0.10950680077075958 }, "else": { "operation": "boost", - "score": 0.004864376038312912 + "score": 0.01774969883263111 } } - }, - "else": { - "operation": "boost", - "score": -0.01903042383491993 } + }, + "else": { + "operation": "boost", + "score": -0.10197734832763672 } }, "else": { "operation": "boost", - "score": 0.0010868273675441742 - } - }, - "else": { - "operation": "boost", - "score": -0.08601387590169907 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.014002320356667042 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.10162438452243805 - }, - "else": { - "operation": "boost", - "score": 0.09797831624746323 + "score": 0.01226250734180212 } } } } }, "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.058719538152217865 - }, - "else": { - "operation": "boost", - "score": 0.02087433822453022 - } - }, - "else": { - "operation": "boost", - "score": 0.0036395974457263947 - } - }, - "else": { - "operation": "boost", - "score": -0.01335581298917532 - } + "operation": "boost", + "score": 0.003826610976830125 } } - }, - "else": { - "operation": "boost", - "score": -0.00022127755801193416 } + }, + "else": { + "operation": "boost", + "score": -0.0004759879084303975 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable", - "Namespace", - "Constructor", + "Function", "Type", - "Function" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "FunctionScope" + "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": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -2.2563146906406928e-09 - }, - "else": { - "operation": "boost", - "score": 0.09421537071466446 - } - }, - "else": { - "operation": "boost", - "score": 0.05514993518590927 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.17768853902816772 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -4.212872505187988 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18423603475093842 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06953057646751404 - }, - "else": { - "operation": "boost", - "score": 0.05773666873574257 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11558078229427338 - } - } - } - } + "operation": "boost", + "score": -0.0005365421529859304 }, "else": { "operation": "boost", - "score": -0.0711505338549614 + "score": -0.1103893518447876 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Type" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" ], "then": { "operation": "boost", - "score": 9.848911577137187e-05 + "score": 0.009790889918804169 }, "else": { - "operation": "boost", - "score": -0.10853724926710129 + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.063081756234169 + }, + "else": { + "operation": "boost", + "score": -0.10172094404697418 + } + }, + "else": { + "operation": "boost", + "score": -0.013290917500853539 + } } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" + "CCC_ArrowMemberAccess", + "CCC_Symbol", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.005646096542477608 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1188335120677948 + "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 + } }, "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.05479865148663521 + "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.07660522311925888 + "score": 0.054118331521749496 } }, "else": { "operation": "boost", - "score": 0.09740302711725235 + "score": 0.06696901470422745 + } + } + }, + "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.05794066563248634 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10195942223072052 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23506.0, + "then": { + "operation": "boost", + "score": 0.02886749804019928 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "boost", + "score": 0.11051501333713531 + }, + "else": { + "operation": "boost", + "score": -0.13309794664382935 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60891.5, + "then": { + "operation": "boost", + "score": -0.008232975378632545 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50371.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10001510381698608 + }, + "else": { + "operation": "boost", + "score": 0.1300847828388214 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12185664474964142 + }, + "else": { + "operation": "boost", + "score": -0.11253441870212555 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11912516504526138 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027018923312425613 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011968466453254223 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.0916736051440239 + }, + "else": { + "operation": "boost", + "score": 0.10443465411663055 + } + }, + "else": { + "operation": "boost", + "score": -0.17837275564670563 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.023729586973786354 } } }, "else": { - "operation": "boost", - "score": -0.05511698126792908 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "boost", + "score": 0.0513138473033905 + }, + "else": { + "operation": "boost", + "score": 0.037773314863443375 + } + }, + "else": { + "operation": "boost", + "score": 0.03553200885653496 + } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.03829158842563629 + "score": 0.0368146151304245 }, "else": { "operation": "boost", - "score": 0.07915718853473663 + "score": 0.08645296096801758 } }, "else": { "operation": "boost", - "score": -0.021048326045274734 + "score": 0.019873708486557007 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.019065413624048233 - }, - "else": { - "operation": "boost", - "score": 0.015681084245443344 - } + "operation": "boost", + "score": 0.0004362122272141278 } }, "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": "IsImplementationDetail", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.0795387551188469 + "score": -0.026990626007318497 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": -0.029953544959425926 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06327749788761139 + }, + "else": { + "operation": "boost", + "score": 0.05798967555165291 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2854.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3256.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 8.0, "then": { "operation": "boost", - "score": 0.012854745611548424 + "score": 0.00491925235837698 }, "else": { "operation": "boost", - "score": 0.13933567702770233 + "score": 0.11037294566631317 } }, "else": { - "operation": "boost", - "score": 0.030270444229245186 + "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 + } } }, "else": { - "operation": "boost", - "score": -0.0379842072725296 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 949.5, "then": { "operation": "boost", - "score": 0.007210560142993927 + "score": -0.12551161646842957 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 315.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 323.5, "then": { "operation": "boost", - "score": -0.06668423116207123 + "score": 0.023911116644740105 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.03586486726999283 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.038303397595882416 - }, - "else": { - "operation": "boost", - "score": 0.022847430780529976 - } - } + "operation": "boost", + "score": 0.11308705061674118 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.048864688724279404 + "score": 0.0161689855158329 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.046365924179553986 + "score": -0.04108559712767601 }, "else": { "operation": "boost", - "score": -0.04191024601459503 + "score": 0.0033077914267778397 } } } } - }, - "else": { - "operation": "boost", - "score": 0.0030950650107115507 } - } - }, - "else": { - "operation": "boost", - "score": 0.0001595433132024482 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.022742707282304764 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.00684824725612998 + "score": 0.017875803634524345 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.03570973873138428 - }, - "else": { - "operation": "boost", - "score": -0.07270494848489761 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.058140844106674194 - }, - "else": { - "operation": "boost", - "score": -0.011459002271294594 - } - }, - "else": { - "operation": "boost", - "score": -0.14107854664325714 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "threshold": 11159.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 12405.0, "then": { "operation": "boost", - "score": 0.09325801581144333 + "score": 0.016647033393383026 }, "else": { - "operation": "boost", - "score": -0.0244876891374588 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0993914008140564 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10520443320274353 + }, + "else": { + "operation": "boost", + "score": 0.1055377870798111 + } + } } }, "else": { "operation": "boost", - "score": -0.175195574760437 + "score": -0.005709650926291943 } - }, - "else": { - "operation": "boost", - "score": 0.10045845806598663 } } } - }, - "else": { + } + }, + "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": "NumReferences", - "threshold": 20253.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23047.5, - "then": { - "operation": "boost", - "score": 0.04227645322680473 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -1.3061838150024414 - }, - "else": { - "operation": "boost", - "score": 0.1240316703915596 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22623.0, - "then": { - "operation": "boost", - "score": 0.15353171527385712 - }, - "else": { - "operation": "boost", - "score": 0.01864713989198208 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.034203242510557175 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 166.0, "then": { - "operation": "boost", - "score": -0.15162907540798187 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1044459268450737 + }, + "else": { + "operation": "boost", + "score": -0.13704781234264374 + } + }, + "else": { + "operation": "boost", + "score": 0.0640367865562439 + } }, "else": { "operation": "boost", - "score": 0.1616690307855606 + "score": -0.1284266859292984 } + }, + "else": { + "operation": "boost", + "score": -0.4520431160926819 } }, "else": { + "operation": "boost", + "score": -0.3108496367931366 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 24.5, + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 63.0, "then": { "operation": "boost", - "score": 0.14733651280403137 + "score": 0.04504390060901642 }, "else": { - "operation": "boost", - "score": 0.0950445830821991 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.07841862738132477 + }, + "else": { + "operation": "boost", + "score": 0.09650484472513199 + } } }, "else": { "operation": "boost", - "score": -0.007919128984212875 + "score": -0.13069681823253632 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.09867727011442184 + "score": 0.15991081297397614 }, "else": { "operation": "boost", - "score": 0.06122194230556488 + "score": -0.2144087851047516 } } + }, + "else": { + "operation": "boost", + "score": -0.04555375128984451 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6089.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11886.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.052397504448890686 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { - "operation": "boost", - "score": -0.058463580906391144 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.10743152350187302 + }, + "else": { + "operation": "boost", + "score": -0.10495420545339584 + } }, "else": { "operation": "boost", - "score": -0.5011188983917236 + "score": 0.15151536464691162 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "boost", + "score": 0.009411065839231014 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6739.0, + "threshold": 30.5, "then": { - "operation": "boost", - "score": 0.086585134267807 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 33.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.0987866073846817 - }, - "else": { - "operation": "boost", - "score": -0.10087652504444122 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06250812858343124 - }, - "else": { - "operation": "boost", - "score": 0.11121819168329239 - } - } - }, - "else": { - "operation": "boost", - "score": -0.030628444626927376 - } - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 143.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.02036508172750473 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04544857144355774 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.0, - "then": { - "operation": "boost", - "score": 0.09302487224340439 - }, - "else": { - "operation": "boost", - "score": 0.11641813814640045 - } - }, - "else": { - "operation": "boost", - "score": 0.08856043219566345 - } - }, - "else": { - "operation": "boost", - "score": -0.3912103474140167 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.20992255210876465 - }, - "else": { - "operation": "boost", - "score": 0.0995405837893486 - } - } + "operation": "boost", + "score": 0.10389986634254456 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FilterLength", "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 55.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 927.5, - "then": { - "operation": "boost", - "score": -0.07966512441635132 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 665.0, - "then": { - "operation": "boost", - "score": 0.10535149276256561 - }, - "else": { - "operation": "boost", - "score": 0.021604161709547043 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.00041675972170196474 - }, - "else": { - "operation": "boost", - "score": -0.2178475260734558 - } - } + "operation": "boost", + "score": 0.1430792212486267 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2242.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3513.5, - "then": { - "operation": "boost", - "score": -0.33716481924057007 - }, - "else": { - "operation": "boost", - "score": 0.057999998331069946 - } - }, - "else": { - "operation": "boost", - "score": 0.10809709876775742 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 118.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.15230971574783325 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 196.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18373088538646698 - }, - "else": { - "operation": "boost", - "score": 0.08044245839118958 - } - }, - "else": { - "operation": "boost", - "score": -0.29506275057792664 - } - }, - "else": { - "operation": "boost", - "score": -0.18674692511558533 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 116.0, - "then": { - "operation": "boost", - "score": 0.12825217843055725 - }, - "else": { - "operation": "boost", - "score": 0.03404194489121437 - } - } - } + "operation": "boost", + "score": -0.10405811667442322 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.0, - "then": { - "operation": "boost", - "score": 0.10194859653711319 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.34818369150161743 - }, - "else": { - "operation": "boost", - "score": 0.05707960203289986 - } - } - }, - "else": { - "operation": "boost", - "score": 0.097035251557827 - } + "operation": "boost", + "score": -0.1103539988398552 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.031799010932445526 - }, - "else": { - "operation": "boost", - "score": -0.6706100702285767 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10565897822380066 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -1.2204883098602295 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.09551019221544266 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.24865683913230896 - }, - "else": { - "operation": "boost", - "score": 0.07027637213468552 - } - } - } - } - } + "operation": "boost", + "score": 0.11221788078546524 }, "else": { "operation": "boost", - "score": -0.06076550483703613 + "score": 0.07577745616436005 } } + }, + "else": { + "operation": "boost", + "score": 0.12864680588245392 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.10207562893629074 + }, + "else": { + "operation": "boost", + "score": 0.11663532257080078 + } + }, + "else": { + "operation": "boost", + "score": 0.05645768716931343 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08076155185699463 + "score": 0.0027437659446150064 }, "else": { - "operation": "boost", - "score": 0.001777367782779038 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.10574794560670853 + }, + "else": { + "operation": "boost", + "score": 0.027302047237753868 + } + } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.036028902977705 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30877.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": -0.013981223106384277 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32056.0, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { - "operation": "boost", - "score": 0.024497544392943382 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.05698341131210327 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.2103785276412964 + "score": 0.05022849515080452 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "SemaFileProximityScore", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03242761269211769 - }, - "else": { - "operation": "boost", - "score": 0.10589177906513214 - } - }, - "else": { - "operation": "boost", - "score": 0.08979600667953491 - } - }, - "else": { - "operation": "boost", - "score": -0.22988438606262207 - } + "operation": "boost", + "score": 0.09992267191410065 }, "else": { "operation": "boost", - "score": 0.005751776974648237 + "score": -0.12449770420789719 } } }, "else": { "operation": "boost", - "score": 0.16448524594306946 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.01864277571439743 - }, - "else": { - "operation": "boost", - "score": 0.12848098576068878 + "score": 0.055700648576021194 } } + }, + "else": { + "operation": "boost", + "score": -0.19664739072322845 } - }, - "else": { - "operation": "boost", - "score": 0.028728095814585686 } } + } + }, + "else": { + "operation": "boost", + "score": 0.014438895508646965 + } + }, + "else": { + "operation": "boost", + "score": -0.0033411122858524323 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.009455448016524315 + }, + "else": { + "operation": "boost", + "score": 0.02162541076540947 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.3301578760147095 + }, + "else": { + "operation": "boost", + "score": 0.12031567841768265 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05430961027741432 + }, + "else": { + "operation": "boost", + "score": 0.10808280855417252 + } }, "else": { "operation": "boost", - "score": 0.01563291624188423 + "score": 0.13612185418605804 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1355.5, "then": { "operation": "boost", - "score": 0.0730450302362442 + "score": -0.12033799290657043 }, "else": { "operation": "boost", - "score": 0.01858079433441162 + "score": 0.11472619324922562 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 284274.5, - "then": { - "operation": "boost", - "score": 0.10786827653646469 - }, - "else": { - "operation": "boost", - "score": -0.0033146163914352655 - } - }, - "else": { - "operation": "boost", - "score": -0.027275774627923965 - } + "operation": "boost", + "score": -0.003245291067287326 } }, "else": { "operation": "boost", - "score": 0.0035051913000643253 + "score": 0.043006181716918945 } } + }, + "else": { + "operation": "boost", + "score": -0.022110674530267715 } }, "else": { - "operation": "boost", - "score": -0.0022967010736465454 + "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": "boost", - "score": -0.1054038479924202 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 604.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2082.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 4.0, "then": { "operation": "boost", - "score": 0.0629805251955986 + "score": 0.11388379335403442 }, "else": { "operation": "boost", - "score": 0.07767336070537567 + "score": -0.23300890624523163 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.025030866265296936 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.035776909440755844 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.10696420073509216 - }, - "else": { - "operation": "boost", - "score": -0.13468536734580994 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09985267370939255 - } + "operation": "boost", + "score": 0.11179793626070023 } }, "else": { + "operation": "boost", + "score": 0.017330963164567947 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { + "operation": "boost", + "score": -0.004747792612761259 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 89117.0, + "threshold": 10091.5, "then": { "operation": "boost", - "score": 0.027728604152798653 + "score": -0.16552285850048065 }, "else": { "operation": "boost", - "score": 0.08996043354272842 + "score": 0.10726531594991684 } - }, - "else": { - "operation": "boost", - "score": -0.0009512717952020466 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06286411732435226 }, "else": { "operation": "boost", - "score": 0.10144048929214478 + "score": -0.3987245261669159 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 594.0, "then": { "operation": "boost", - "score": 0.1268652379512787 + "score": 0.11669021844863892 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 546.0, "then": { + "operation": "boost", + "score": 0.1117144376039505 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06260308623313904 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1514010727405548 + "score": -0.12297823280096054 }, "else": { - "operation": "boost", - "score": -0.15375378727912903 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 440.0, + "then": { + "operation": "boost", + "score": 0.06443853676319122 + }, + "else": { + "operation": "boost", + "score": 0.10314856469631195 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08831211924552917 }, "else": { "operation": "boost", - "score": -0.03772339969873428 + "score": -0.23175247013568878 } } } @@ -326205,2220 +312495,2165 @@ }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132310.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.041440077126026154 + "score": -0.05708512291312218 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123410.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10633133351802826 - }, - "else": { - "operation": "boost", - "score": 0.12337925285100937 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 86511.0, + "threshold": 501.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107411.0, - "then": { - "operation": "boost", - "score": -0.13914984464645386 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97095.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10388262569904327 - }, - "else": { - "operation": "boost", - "score": 0.15032698214054108 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.10050982981920242 - }, - "else": { - "operation": "boost", - "score": 0.038555048406124115 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31879.0, + "threshold": 807.5, "then": { - "operation": "boost", - "score": -0.03815477341413498 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30750.5, + "threshold": 1530.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.11505341529846191 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 2637.0, "then": { - "operation": "boost", - "score": -0.006724949926137924 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 10457.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 26906.0, "then": { "operation": "boost", - "score": 0.10110922902822495 + "score": 0.016131166368722916 }, "else": { - "operation": "boost", - "score": 0.09919501841068268 + "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.05285884812474251 + "score": -0.0547371469438076 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26223.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09381937980651855 }, "else": { - "operation": "boost", - "score": -0.1926601082086563 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21689.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22914.5, + "threshold": 1743.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "boost", + "score": 0.0891818106174469 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23310.0, - "then": { - "operation": "boost", - "score": 0.06361352652311325 - }, - "else": { - "operation": "boost", - "score": -0.05022453889250755 - } + "operation": "boost", + "score": 0.13783864676952362 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 2217.5, "then": { "operation": "boost", - "score": -0.12033382803201675 + "score": 0.10288917273283005 }, "else": { "operation": "boost", - "score": 0.10566399991512299 + "score": -0.2382974773645401 } } - }, - "else": { + } + }, + "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25461.0, + "threshold": 7147.0, "then": { - "operation": "boost", - "score": -0.0010560028022155166 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23473.0, - "then": { - "operation": "boost", - "score": -0.4343425929546356 - }, - "else": { - "operation": "boost", - "score": 0.1267639547586441 - } + "operation": "boost", + "score": -0.5514982342720032 }, "else": { "operation": "boost", - "score": -1.0399930477142334 + "score": 0.10976547747850418 } + }, + "else": { + "operation": "boost", + "score": 0.20038889348506927 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.1102854311466217 }, "else": { "operation": "boost", - "score": 0.13853052258491516 + "score": 0.11140915006399155 } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.33031633496284485 + }, + "else": { + "operation": "boost", + "score": 0.12241429090499878 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9969.5, + "threshold": 706.5, "then": { "operation": "boost", - "score": -0.026398630812764168 + "score": 0.05109637230634689 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6228.0, + "operation": "boost", + "score": 0.11944755166769028 + } + }, + "else": { + "operation": "boost", + "score": -0.019196704030036926 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 588.0, + "then": { + "operation": "boost", + "score": -0.022097334265708923 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6390.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6952.0, - "then": { - "operation": "boost", - "score": 0.03928568214178085 - }, - "else": { - "operation": "boost", - "score": -0.0490671843290329 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08091971278190613 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6388.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.1077929437160492 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10682520270347595 - }, - "else": { - "operation": "boost", - "score": 0.023650573566555977 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.04964471235871315 - }, - "else": { - "operation": "boost", - "score": 0.10444852709770203 - } - }, - "else": { - "operation": "boost", - "score": 0.10645418614149094 - } - } - }, - "else": { - "operation": "boost", - "score": -0.006956328637897968 - } - } - } + "operation": "boost", + "score": 0.228294238448143 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4722.0, + "threshold": 524.0, "then": { "operation": "boost", - "score": -0.08628915250301361 + "score": -0.702090859413147 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4667.5, - "then": { - "operation": "boost", - "score": 0.1266806423664093 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1474.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1517.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4620.0, - "then": { - "operation": "boost", - "score": -1.308785080909729 - }, - "else": { - "operation": "boost", - "score": 0.009502725675702095 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1709.5, - "then": { - "operation": "boost", - "score": 0.11530870944261551 - }, - "else": { - "operation": "boost", - "score": -0.10296645760536194 - } - }, - "else": { - "operation": "boost", - "score": 0.06427306681871414 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1498.0, - "then": { - "operation": "boost", - "score": 0.10739979892969131 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.20200099050998688 - }, - "else": { - "operation": "boost", - "score": 0.12046728283166885 - } - }, - "else": { - "operation": "boost", - "score": 0.11540277302265167 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": 0.22811174392700195 - }, - "else": { - "operation": "boost", - "score": -0.1452709436416626 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09566610306501389 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1195.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11178401112556458 - }, - "else": { - "operation": "boost", - "score": -0.12946079671382904 - } - }, - "else": { - "operation": "boost", - "score": -0.05236227810382843 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 175.0, - "then": { - "operation": "boost", - "score": 0.1011100634932518 - }, - "else": { - "operation": "boost", - "score": 0.10297462344169617 - } - }, - "else": { - "operation": "boost", - "score": 0.026900863274931908 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 229.0, - "then": { - "operation": "boost", - "score": 0.097793810069561 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.07961443066596985 - }, - "else": { - "operation": "boost", - "score": -0.007776882965117693 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 84.0, - "then": { - "operation": "boost", - "score": -0.10023355484008789 - }, - "else": { - "operation": "boost", - "score": 0.0882163792848587 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.5, - "then": { - "operation": "boost", - "score": 0.14145681262016296 - }, - "else": { - "operation": "boost", - "score": -0.3290509283542633 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.16807983815670013 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 344.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.12002220004796982 - }, - "else": { - "operation": "boost", - "score": 0.1543220430612564 - } - }, - "else": { - "operation": "boost", - "score": -0.04187564551830292 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 145.0, - "then": { - "operation": "boost", - "score": 0.18366992473602295 - }, - "else": { - "operation": "boost", - "score": -0.1636127233505249 - } - } - }, - "else": { - "operation": "boost", - "score": 0.05003572255373001 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 95.0, - "then": { - "operation": "boost", - "score": 0.12697508931159973 - }, - "else": { - "operation": "boost", - "score": 0.07766082137823105 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.014605979435145855 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.04673853889107704 - }, - "else": { - "operation": "boost", - "score": 0.10760631412267685 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.03295571357011795 - }, - "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": 39.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": -0.13820099830627441 - }, - "else": { - "operation": "boost", - "score": 0.1039222925901413 - } - }, - "else": { - "operation": "boost", - "score": 0.03703535720705986 - } - }, - "else": { - "operation": "boost", - "score": -0.12355200201272964 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.12218431383371353 - }, - "else": { - "operation": "boost", - "score": 0.001363305258564651 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.04634983837604523 - }, - "else": { - "operation": "boost", - "score": 0.040579937398433685 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.036170829087495804 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.002649125875905156 - } - } - } + "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 + } } } } } } + }, + "else": { + "operation": "boost", + "score": -0.17457027733325958 } + }, + "else": { + "operation": "boost", + "score": 0.03331127017736435 } } } + } + } + }, + "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": "NumReferences", - "threshold": 14.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.0, + "threshold": 1087.0, "then": { "operation": "boost", - "score": 0.10605999082326889 + "score": 0.11427310109138489 }, "else": { - "operation": "boost", - "score": -0.018370371311903 + "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.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 509.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 844.5, + "then": { + "operation": "boost", + "score": 0.1291416883468628 + }, + "else": { + "operation": "boost", + "score": 0.06490969657897949 + } + }, + "else": { + "operation": "boost", + "score": -0.13077226281166077 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 414.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 433.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 458.0, + "then": { + "operation": "boost", + "score": 0.10250408947467804 + }, + "else": { + "operation": "boost", + "score": -0.1671314537525177 + } + }, + "else": { + "operation": "boost", + "score": 0.1174982339143753 + } + }, + "else": { + "operation": "boost", + "score": 0.10829298198223114 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.1356641799211502 + } + } + } } }, "else": { "operation": "boost", - "score": 0.10643915086984634 + "score": -0.18999233841896057 } } }, "else": { - "operation": "boost", - "score": 0.003221986349672079 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1864.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2591.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3078.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.04284871369600296 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.04664061218500137 + }, + "else": { + "operation": "boost", + "score": 0.0961519181728363 + } }, "else": { - "operation": "boost", - "score": -0.2495848387479782 + "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 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2204.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10519848018884659 + "score": -0.15972721576690674 }, "else": { "operation": "boost", - "score": 0.09691313654184341 + "score": 0.015342269092798233 } } }, - "else": { - "operation": "boost", - "score": -0.0025722666177898645 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.015141032636165619 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "Type" ], "then": { - "operation": "boost", - "score": 0.10845939069986343 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 514.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1093.5, + "then": { + "operation": "boost", + "score": 0.13518132269382477 + }, + "else": { + "operation": "boost", + "score": 0.031208543106913567 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 446.0, + "then": { + "operation": "boost", + "score": 0.10901526361703873 + }, + "else": { + "operation": "boost", + "score": -0.3951488733291626 + } + } }, "else": { "operation": "boost", - "score": -0.10007435083389282 + "score": 0.012195263989269733 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "boost", + "score": -0.13570536673069 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.12370692938566208 + "score": 0.10379229485988617 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.15370287001132965 - }, - "else": { - "operation": "boost", - "score": -0.10677638649940491 - } - }, - "else": { - "operation": "boost", - "score": -0.253536581993103 - } + "operation": "boost", + "score": 0.06310588121414185 } }, "else": { "operation": "boost", - "score": -0.29249492287635803 + "score": 0.00023431057343259454 } - }, - "else": { - "operation": "boost", - "score": 0.12967449426651 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.1478780061006546 - }, - "else": { - "operation": "boost", - "score": 0.01902189292013645 - } + "operation": "boost", + "score": -0.06972792744636536 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.02805238775908947 }, "else": { - "operation": "boost", - "score": 0.00440751388669014 + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01450700405985117 + } } } } }, - "else": { - "operation": "boost", - "score": -0.0002882152039092034 - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.0006187806720845401 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.018320254981517792 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_UnionTag", + "CCC_Symbol" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 337.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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015351654030382633 + } + }, + "else": { + "operation": "boost", + "score": 0.0007919298950582743 + } + } + }, + "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", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12300822138786316 + "score": 0.0946827232837677 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.007273614406585693 + "score": 0.0814194455742836 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { "operation": "boost", - "score": -0.1299913078546524 + "score": 0.2740269601345062 }, "else": { "operation": "boost", - "score": 0.11171560734510422 + "score": 0.15647192299365997 } } } }, "else": { "operation": "boost", - "score": -0.12057160586118698 + "score": 0.08227939158678055 } }, "else": { "operation": "boost", - "score": 0.012910819612443447 + "score": -0.12090957909822464 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Type", - "CCC_ClassOrStructTag" + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0992838591337204 + "score": 0.07595492154359818 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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.09672197699546814 + "score": 0.11422798782587051 }, "else": { "operation": "boost", - "score": -0.22254712879657745 + "score": -0.17682458460330963 } } }, "else": { "operation": "boost", - "score": -0.03932615742087364 + "score": -0.03818484768271446 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, + "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": "NumReferences", - "threshold": 107.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10306119918823242 + "score": 1.0298571586608887 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.3393247127532959 + "score": 0.10225816071033478 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.06385169923305511 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10323592275381088 - }, - "else": { - "operation": "boost", - "score": 0.02572370506823063 - } - } + "operation": "boost", + "score": 0.02368502877652645 + } + } + } + } + } + }, + "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.11551482230424881 + "score": 0.14650844037532806 + } + } + }, + "else": { + "operation": "boost", + "score": -2.4025357561185956e-05 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03369836136698723 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0003301998949609697 + } + } + }, + { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47907.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.011453060433268547 + }, + "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, + "then": { + "operation": "boost", + "score": -0.047470226883888245 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "boost", + "score": 0.036874424666166306 + }, + "else": { + "operation": "boost", + "score": 0.10235729813575745 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.24164417386054993 + "score": -0.04423518106341362 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 175.5, + "then": { + "operation": "boost", + "score": 0.1073891818523407 + }, + "else": { + "operation": "boost", + "score": 0.03550605848431587 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04631899669766426 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.11835168302059174 + "score": -0.12920063734054565 }, "else": { "operation": "boost", - "score": -0.03083072043955326 + "score": 0.10936983674764633 } + }, + "else": { + "operation": "boost", + "score": 0.06680751591920853 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 5716.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2681.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": -0.23426438868045807 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3428.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 17.0, "then": { "operation": "boost", - "score": 0.12464925646781921 + "score": -0.1760173738002777 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5784.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7475.5, - "then": { - "operation": "boost", - "score": -0.3172837793827057 - }, - "else": { - "operation": "boost", - "score": 0.1247018352150917 - } + "operation": "boost", + "score": 0.096831314265728 }, "else": { "operation": "boost", - "score": -0.36080610752105713 + "score": 0.06734191626310349 } } }, "else": { "operation": "boost", - "score": 0.11419853568077087 + "score": -0.27306121587753296 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.13243982195854187 }, "else": { "operation": "boost", - "score": 0.043621841818094254 + "score": 0.12789955735206604 } - }, - "else": { - "operation": "boost", - "score": 0.028027605265378952 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34322.0, + "threshold": 78.5, "then": { "operation": "boost", - "score": 0.11259093135595322 + "score": -0.038876697421073914 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 59.5, + "threshold": 30.5, "then": { - "operation": "boost", - "score": 0.0017787809483706951 + "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": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.10956434160470963 + "score": 0.1146424412727356 }, "else": { "operation": "boost", - "score": -0.15705744922161102 + "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": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.15748481452465057 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 58.5, + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.008238832466304302 - }, - "else": { - "operation": "boost", - "score": 0.13407626748085022 - } + "operation": "boost", + "score": 0.010986575856804848 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.20055536925792694 + "score": 0.13863377273082733 }, "else": { "operation": "boost", - "score": 0.11446733772754669 + "score": -0.12893474102020264 } }, "else": { "operation": "boost", - "score": -0.17562337219715118 + "score": -0.13498610258102417 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.07749040424823761 + "score": -0.13613788783550262 }, "else": { - "operation": "boost", - "score": 0.10809231549501419 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07097059488296509 - } - }, - "else": { - "operation": "boost", - "score": -0.13110677897930145 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.07346238940954208 - }, - "else": { - "operation": "boost", - "score": -0.11720734089612961 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.08387068659067154 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5537111759185791 - }, - "else": { - "operation": "boost", - "score": 0.19405098259449005 - } - }, - "else": { - "operation": "boost", - "score": 0.03438799828290939 - } - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06926195323467255 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.04343850538134575 - }, - "else": { - "operation": "boost", - "score": 0.10653527081012726 - } - } - }, - "else": { - "operation": "boost", - "score": 0.002342658583074808 - } - }, - "else": { - "operation": "boost", - "score": -0.17709530889987946 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.007433860097080469 - } - }, - "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": 11.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.09817663580179214 - }, - "else": { - "operation": "boost", - "score": 0.04414893686771393 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.03371858969330788 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.010610871948301792 - }, - "else": { - "operation": "boost", - "score": 0.1429140418767929 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.007184143643826246 + "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": "boost", - "score": 0.12526337802410126 + "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": "boost", - "score": -0.20498695969581604 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "boost", - "score": 0.15037916600704193 - }, - "else": { - "operation": "boost", - "score": 0.09577333182096481 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.0330965630710125 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01460948120802641 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.004893166478723288 + "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.12429410964250565 + "score": -0.05886473506689072 } } } - }, - "else": { - "operation": "boost", - "score": -0.0074895271100103855 } } } }, - "else": { - "operation": "boost", - "score": 0.015022710897028446 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.0032431413419544697 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.11554569005966187 + "score": 0.02536473609507084 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.03868316486477852 - }, - "else": { - "operation": "boost", - "score": 0.11260760575532913 - } + "operation": "boost", + "score": 0.08548314869403839 } }, "else": { - "operation": "boost", - "score": -0.07636912167072296 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.05837811902165413 + }, + "else": { + "operation": "boost", + "score": 0.32932448387145996 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.10543163120746613 - }, - "else": { - "operation": "boost", - "score": -0.00798018928617239 - } + "operation": "boost", + "score": 0.06242399662733078 } } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.001156953745521605 + "score": 0.09149918705224991 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.021385930478572845 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.03948242589831352 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11935652047395706 - }, - "else": { - "operation": "boost", - "score": 0.086457759141922 - } - }, - "else": { - "operation": "boost", - "score": 0.014249402098357677 - } - } - } + "operation": "boost", + "score": -0.10911396890878677 } }, "else": { "operation": "boost", - "score": 0.007863142527639866 + "score": 0.02681570313870907 } } - }, - "else": { - "operation": "boost", - "score": -0.00728550786152482 } + }, + "else": { + "operation": "boost", + "score": -0.03606732189655304 } }, "else": { + "operation": "boost", + "score": -0.013692625798285007 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Constructor" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "boost", + "score": 6.791210034862161e-05 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.1152859777212143 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.019204195588827133 - }, - "else": { - "operation": "boost", - "score": 0.12810181081295013 - } - } - }, - "else": { - "operation": "boost", - "score": 0.018860720098018646 - } + "operation": "boost", + "score": -0.007567864377051592 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.007523008156567812 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 35.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1452.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.06696151196956635 + "score": 0.12463697791099548 }, "else": { "operation": "boost", - "score": -0.01069747656583786 + "score": -0.005056349094957113 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 663.5, + "threshold": 32.5, "then": { "operation": "boost", - "score": -0.20677724480628967 + "score": 0.1108861118555069 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 195.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.10174401104450226 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.1525142341852188 + "score": 0.03778110817074776 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "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.10164763778448105 + "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.028164800256490707 + "score": 0.02766485884785652 } }, "else": { "operation": "boost", - "score": 0.24186019599437714 + "score": 0.12262842059135437 } + }, + "else": { + "operation": "boost", + "score": 0.05913282558321953 } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.028659243136644363 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" + "ClassScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { - "operation": "boost", - "score": 0.029802139848470688 + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016654403880238533 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12280134111642838 + }, + "else": { + "operation": "boost", + "score": -0.04640079289674759 + } + }, + "else": { + "operation": "boost", + "score": 0.08201143890619278 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05738753825426102 + } + }, + "else": { + "operation": "boost", + "score": -0.06134013831615448 + } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": 0.13635997474193573 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.015889327973127365 + }, + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.11425331979990005 + "score": 0.024278447031974792 } } }, "else": { - "operation": "boost", - "score": 1.2807003259658813 + "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_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.002447353210300207 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.019345181062817574 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", + "CCC_Namespace", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.10607459396123886 - }, - "else": { - "operation": "boost", - "score": 2.6683766841888428 - } + "operation": "boost", + "score": 0.00830259919166565 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.079340860247612 - }, - "else": { - "operation": "boost", - "score": -0.30307477712631226 - } + "operation": "boost", + "score": -0.06614430993795395 } } + }, + "else": { + "operation": "boost", + "score": -0.013596965000033379 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.015643637627363205 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Symbol" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03546319529414177 + "score": -0.4615057110786438 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10382548719644547 - }, - "else": { - "operation": "boost", - "score": 0.038812533020973206 - } + "operation": "boost", + "score": 0.0156412273645401 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.0699358731508255 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.12016236037015915 + "score": -0.4453681707382202 }, "else": { - "operation": "boost", - "score": 0.11744704097509384 + "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.5440816879272461 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 270.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 583.0, - "then": { - "operation": "boost", - "score": -0.04838291183114052 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08373209834098816 }, "else": { "operation": "boost", - "score": -0.12306609004735947 + "score": 0.11449883878231049 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.20712918043136597 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.11976034194231033 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.08868538588285446 + }, + "else": { + "operation": "boost", + "score": 0.03576066344976425 + } }, "else": { - "operation": "boost", - "score": 0.06400945037603378 + "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 } } }, "else": { "operation": "boost", - "score": -0.10122677683830261 + "score": -0.004557366482913494 } }, "else": { "operation": "boost", - "score": -0.014625889249145985 + "score": -0.020676765590906143 } }, "else": { @@ -328426,1355 +314661,1366 @@ "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_Statement" + "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.006731374189257622 + "score": -0.015047436580061913 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08845388144254684 - }, - "else": { - "operation": "boost", - "score": 0.1079336479306221 - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "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.1319519579410553 + "score": 0.13589034974575043 }, "else": { "operation": "boost", - "score": 0.08207578212022781 + "score": -0.01695842295885086 } }, "else": { "operation": "boost", - "score": 0.3782656788825989 + "score": 0.003911765292286873 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10310903936624527 + }, + "else": { + "operation": "boost", + "score": 0.12855151295661926 } } } }, "else": { - "operation": "boost", - "score": 0.031517356634140015 + "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 + } } } } - }, - "else": { - "operation": "boost", - "score": -0.010059899650514126 } + }, + "else": { + "operation": "boost", + "score": -0.00011064585123676807 } } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 54.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.0040860408917069435 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 58.5, "then": { - "operation": "boost", - "score": -0.05100317299365997 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.03047987073659897 - }, - "else": { - "operation": "boost", - "score": 0.06201283633708954 - } - }, - "else": { - "operation": "boost", - "score": -0.06848026067018509 - } + "operation": "boost", + "score": 0.03766551613807678 }, "else": { - "operation": "boost", - "score": 0.10314662754535675 - } - } - }, - "else": { - "operation": "boost", - "score": 0.014982236549258232 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 1.9619137674453668e-05 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.12126302719116211 + "score": 0.04107775539159775 }, "else": { - "operation": "boost", - "score": 0.1194533035159111 + "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 + } } - }, - "else": { - "operation": "boost", - "score": -0.02344905398786068 } }, "else": { - "operation": "boost", - "score": -0.0957094207406044 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.003390322905033827 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.14308494329452515 + }, + "else": { + "operation": "boost", + "score": 0.1563107669353485 + } + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 7.0, + "threshold": 9.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 177.5, "then": { + "operation": "boost", + "score": 0.01581299491226673 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 117.5, "then": { - "operation": "boost", - "score": 0.10863959044218063 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 120.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 173.0, + "threshold": 126.5, "then": { - "operation": "boost", - "score": 0.06566689163446426 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 119.0, + "threshold": 167.5, "then": { - "operation": "boost", - "score": 0.1473826915025711 + "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.10123852640390396 + "score": -0.15443235635757446 } + }, + "else": { + "operation": "boost", + "score": 0.12412884831428528 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 209.5, + "threshold": 171.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 410.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": 0.10701757669448853 + "score": 0.11523757129907608 }, "else": { - "operation": "boost", - "score": 0.10977789759635925 + "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 + } } }, "else": { + "operation": "boost", + "score": -0.13125525414943695 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 418.0, + "threshold": 146.5, "then": { "operation": "boost", - "score": -0.18348552286624908 + "score": -0.11705050617456436 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 134.5, "then": { - "operation": "boost", - "score": -0.1248069554567337 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 265.5, + "threshold": 136.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 144.5, "then": { "operation": "boost", - "score": 0.3879706561565399 + "score": 0.13696153461933136 }, "else": { "operation": "boost", - "score": 0.13136827945709229 + "score": 0.08571060001850128 } }, "else": { "operation": "boost", - "score": -0.2736697494983673 + "score": 0.1346428543329239 } + }, + "else": { + "operation": "boost", + "score": 0.08224139362573624 } } + }, + "else": { + "operation": "boost", + "score": 0.013306334614753723 } - }, - "else": { - "operation": "boost", - "score": -0.17985643446445465 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 337.5, - "then": { - "operation": "boost", - "score": 0.11608953773975372 - }, - "else": { - "operation": "boost", - "score": -0.17597860097885132 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.17673975229263306 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.00426429882645607 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 177.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 221.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": 0.01982363499701023 + "score": -0.10195852071046829 }, "else": { "operation": "boost", - "score": 0.10666634887456894 + "score": 0.14390763640403748 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 114.5, + "operation": "boost", + "score": 0.12312506139278412 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { - "operation": "boost", - "score": -0.16235217452049255 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.11869364231824875 + }, + "else": { + "operation": "boost", + "score": 0.12555478513240814 + } + }, + "else": { + "operation": "boost", + "score": 0.707193911075592 + } }, "else": { "operation": "boost", - "score": 0.08938118815422058 + "score": -0.31130215525627136 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "boost", - "score": 0.09081569314002991 }, "else": { "operation": "boost", - "score": 0.06529204547405243 + "score": 0.018125204369425774 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94.5, + "then": { + "operation": "boost", + "score": -0.05750241130590439 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 358.5, + "threshold": 86.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 397.5, + "threshold": 87.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0394890122115612 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12165240198373795 + }, + "else": { + "operation": "boost", + "score": 0.3091754913330078 + } + }, + "else": { + "operation": "boost", + "score": 0.0035970599856227636 + } + } + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Function" + "Variable" ], "then": { "operation": "boost", - "score": 0.42970868945121765 + "score": 0.14966756105422974 }, "else": { - "operation": "boost", - "score": -0.0028714328072965145 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.13196638226509094 + }, + "else": { + "operation": "boost", + "score": -0.21747741103172302 + } } - }, - "else": { - "operation": "boost", - "score": 0.11061673611402512 } }, "else": { "operation": "boost", - "score": -0.1353393793106079 + "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, + "then": { + "operation": "boost", + "score": 0.1135982945561409 }, "else": { - "operation": "boost", - "score": -0.00425031827762723 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10890201479196548 + }, + "else": { + "operation": "boost", + "score": -0.5362826585769653 + } } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.06126656010746956 - }, - "else": { - "operation": "boost", - "score": -0.2137952297925949 - } + "operation": "boost", + "score": 0.08252237737178802 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88.5, + "threshold": 3130.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8412.5, + "then": { + "operation": "boost", + "score": 0.07838878035545349 + }, + "else": { + "operation": "boost", + "score": 0.12106025218963623 + } + }, + "else": { + "operation": "boost", + "score": 0.04414663091301918 + } + }, + "else": { + "operation": "boost", + "score": 0.0624435618519783 + } + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "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.25823974609375 + "score": -0.06564751267433167 }, "else": { "operation": "boost", - "score": 0.11739795655012131 + "score": -0.4045717120170593 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 1039.0, "then": { "operation": "boost", - "score": -0.002016125014051795 + "score": 0.0911901667714119 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1177.0, "then": { "operation": "boost", - "score": 0.10115474462509155 + "score": -0.09605124592781067 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 597.0, "then": { - "operation": "boost", - "score": 0.10690949857234955 + "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.10576512664556503 + "score": 0.03261341154575348 } } }, "else": { "operation": "boost", - "score": 0.03081132471561432 + "score": 0.11871279031038284 } + }, + "else": { + "operation": "boost", + "score": 0.045999910682439804 } + }, + "else": { + "operation": "boost", + "score": 0.016908859834074974 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 62.5, "then": { - "operation": "boost", - "score": -0.0016678011743351817 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 118.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 490.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 712.0, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10961299389600754 - }, - "else": { - "operation": "boost", - "score": -0.09385598450899124 - } + "operation": "boost", + "score": 0.053109437227249146 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 568.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.02412078157067299 - }, - "else": { - "operation": "boost", - "score": 0.09365956485271454 - } + "operation": "boost", + "score": 0.07403941452503204 }, "else": { "operation": "boost", - "score": -0.5913845300674438 + "score": 0.11286357790231705 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11102791130542755 - }, - "else": { - "operation": "boost", - "score": 0.03990552946925163 - } - }, - "else": { - "operation": "boost", - "score": 0.07094457745552063 - } + "operation": "boost", + "score": 0.11731062084436417 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 376.5, "then": { + "operation": "boost", + "score": -0.35566169023513794 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 324.0, "then": { + "operation": "boost", + "score": 0.20152117311954498 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.16360053420066833 + "score": 0.08506131917238235 }, "else": { "operation": "boost", - "score": 0.12202397733926773 + "score": 0.006930687464773655 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.06344502419233322 - }, - "else": { - "operation": "boost", - "score": 0.10737919807434082 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { "operation": "boost", - "score": 0.105520099401474 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.07194390892982483 - }, - "else": { - "operation": "boost", - "score": 0.16177158057689667 - } - }, - "else": { - "operation": "boost", - "score": -0.014940045773983002 - } + "score": -0.2604905962944031 } } - }, - "else": { - "operation": "boost", - "score": -0.012749644927680492 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 82.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76.5, + "threshold": 94.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 111.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.08545093983411789 + "score": 0.1294529289007187 }, "else": { "operation": "boost", - "score": 0.10554836690425873 + "score": -0.11005621403455734 } }, "else": { "operation": "boost", - "score": -0.19353646039962769 + "score": 0.028553999960422516 } }, "else": { - "operation": "boost", - "score": -0.014611925929784775 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.0059472015127539635 - }, - "else": { - "operation": "boost", - "score": 0.024823255836963654 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.05284162983298302 + "score": 0.09336404502391815 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.03267800435423851 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "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": 5.0, - "then": { - "operation": "boost", - "score": 0.2192256897687912 - }, - "else": { - "operation": "boost", - "score": 0.04490618780255318 - } - }, - "else": { - "operation": "boost", - "score": -0.142130047082901 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.3622048795223236 - }, - "else": { - "operation": "boost", - "score": 0.13688604533672333 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.13675302267074585 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.6323934197425842 - }, - "else": { - "operation": "boost", - "score": 0.11160965263843536 - } - }, - "else": { - "operation": "boost", - "score": 0.09856583923101425 - } - } - } - } + "operation": "boost", + "score": -0.2762186527252197 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24.0, + "threshold": 90.0, "then": { "operation": "boost", - "score": 0.12349210679531097 + "score": -0.11454617977142334 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.12715813517570496 - }, - "else": { - "operation": "boost", - "score": 0.04336575046181679 - } - }, - "else": { - "operation": "boost", - "score": -0.2705307602882385 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.02069122903048992 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 40.0, + "threshold": 86.5, "then": { "operation": "boost", - "score": 0.07810176908969879 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.02748095989227295 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10686510801315308 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.6251781582832336 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1207881048321724 - }, - "else": { - "operation": "boost", - "score": 0.0709441527724266 - } - }, - "else": { - "operation": "boost", - "score": 0.017173878848552704 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0957907885313034 - }, - "else": { - "operation": "boost", - "score": 0.12773503363132477 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.015011688694357872 - }, - "else": { - "operation": "boost", - "score": -0.28008660674095154 - } + "score": 0.11194213479757309 }, "else": { "operation": "boost", - "score": -0.12628573179244995 + "score": 0.10046664625406265 } } - }, - "else": { - "operation": "boost", - "score": 0.02904251404106617 } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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": "NumReferences", - "threshold": 69.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.06707073003053665 - }, - "else": { - "operation": "boost", - "score": 0.12820328772068024 - } - }, - "else": { - "operation": "boost", - "score": 0.00476065231487155 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.029608964920043945 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": -0.1784702092409134 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "boost", - "score": 0.12713389098644257 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.25375086069107056 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12799857556819916 - }, - "else": { - "operation": "boost", - "score": 0.8316106796264648 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.014086256735026836 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.18044298887252808 - }, - "else": { - "operation": "boost", - "score": 0.16251276433467865 - } - } - } - } - } - } + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.017856618389487267 }, "else": { "operation": "boost", - "score": 0.01802479289472103 + "score": 0.09488510340452194 } }, "else": { - "operation": "boost", - "score": 0.04028227552771568 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10693460702896118 + }, + "else": { + "operation": "boost", + "score": 0.0004573935584630817 + } } + }, + "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": -0.012492350302636623 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92.0, + "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.03279542550444603 + "score": -0.10090669989585876 } }, "else": { + "operation": "boost", + "score": -0.14676369726657867 + } + }, + "else": { + "operation": "boost", + "score": 0.12887123227119446 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.29658615589141846 + }, + "else": { + "operation": "boost", + "score": -0.16918134689331055 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01625117100775242 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "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": "NumReferences", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.027340248227119446 + "score": 0.10433806478977203 }, "else": { "operation": "boost", - "score": -0.009629069827497005 + "score": 0.11746040731668472 } + }, + "else": { + "operation": "boost", + "score": 0.010495811700820923 } } } + }, + "else": { + "operation": "boost", + "score": 0.00996603537350893 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 50001.5, + "feature": "NumReferences", + "threshold": 111.5, "then": { "operation": "boost", - "score": -0.20975521206855774 + "score": 0.02865126170217991 }, "else": { - "operation": "boost", - "score": 0.11111106723546982 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "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": "boost", - "score": -0.002864178968593478 + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.036479149013757706 + }, + "else": { + "operation": "boost", + "score": 0.06981664896011353 + } + }, + "else": { + "operation": "boost", + "score": -0.2515958547592163 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.019489280879497528 + }, + "else": { + "operation": "boost", + "score": -0.23622941970825195 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015971366316080093 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.027062715962529182 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": 0.10688542574644089 + }, + "else": { + "operation": "boost", + "score": 0.03605418652296066 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 55.5, "then": { "operation": "boost", - "score": -0.09585056453943253 + "score": -0.14480525255203247 }, "else": { "operation": "if_greater", @@ -329782,3053 +316028,3208 @@ "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09758764505386353 + "score": 0.040339939296245575 }, "else": { "operation": "boost", - "score": -0.12862595915794373 + "score": 0.14251406490802765 } } }, "else": { "operation": "boost", - "score": -0.13526128232479095 + "score": -0.05204572156071663 } } } } + }, + "else": { + "operation": "boost", + "score": -0.008066766895353794 } - }, - "else": { - "operation": "boost", - "score": -0.0015333074843510985 } + }, + "else": { + "operation": "boost", + "score": -0.0004465508973225951 } }, { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 54.5, "then": { - "operation": "boost", - "score": -0.000975010683760047 - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 798.5, + "feature": "FilterLength", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.033932726830244064 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 951.5, + "threshold": 2840.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4977.0, + "threshold": 6998.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5174.5, - "then": { - "operation": "boost", - "score": 0.05861863121390343 - }, - "else": { - "operation": "boost", - "score": 0.1323157399892807 - } + "operation": "boost", + "score": 0.10008159279823303 }, "else": { "operation": "boost", - "score": 0.016445599496364594 + "score": 0.1283552050590515 } }, "else": { + "operation": "boost", + "score": -0.004155643284320831 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 210.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 3794.5, "then": { "operation": "boost", - "score": 0.11357511579990387 + "score": 0.10013829916715622 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 905.5, - "then": { - "operation": "boost", - "score": 0.12398086488246918 - }, - "else": { - "operation": "boost", - "score": 0.10386794805526733 - } + "operation": "boost", + "score": 0.13741560280323029 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.08153114467859268 }, "else": { "operation": "boost", - "score": -0.15639913082122803 + "score": 0.045704953372478485 } } + } + }, + "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": 35.5, + "threshold": 120.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 1135.0, "then": { "operation": "boost", - "score": -0.015319506637752056 + "score": 0.010942350141704082 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1074.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1097.0, "then": { "operation": "boost", - "score": 0.09055566042661667 + "score": 0.07873786240816116 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.1406639665365219 - }, - "else": { - "operation": "boost", - "score": 0.014797468669712543 - } - }, - "else": { - "operation": "boost", - "score": 0.08426807075738907 - } + "operation": "boost", + "score": 0.10213583707809448 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04209910333156586 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10046948492527008 - }, - "else": { - "operation": "boost", - "score": 0.11782003939151764 - } - } - }, - "else": { - "operation": "boost", - "score": 0.2443552315235138 - } + "operation": "boost", + "score": 0.06988973915576935 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 108.5, + "threshold": 159.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 118.5, + "threshold": 168.5, "then": { - "operation": "boost", - "score": 0.034549564123153687 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 115.5, + "threshold": 222.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 224.5, "then": { - "operation": "boost", - "score": 0.006424561142921448 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 117.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.12408068031072617 + "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.26927193999290466 + "score": 0.0680643692612648 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.10435370355844498 - }, - "else": { - "operation": "boost", - "score": -0.13131366670131683 - } + "operation": "boost", + "score": -0.027875253930687904 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "boost", - "score": -0.03599679470062256 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1167653501033783 + "score": -0.14612703025341034 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.05581056699156761 - }, - "else": { - "operation": "boost", - "score": 0.12517273426055908 - } + "operation": "boost", + "score": 0.1963246762752533 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.007779390085488558 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.38534361124038696 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.10077773034572601 + "score": 0.06286017596721649 }, "else": { "operation": "boost", - "score": 0.1509220451116562 + "score": -0.20567713677883148 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.12513898313045502 + "score": -0.4144216477870941 }, "else": { "operation": "boost", - "score": -0.20507517457008362 + "score": 0.1353038102388382 } }, "else": { "operation": "boost", - "score": 0.03634012117981911 + "score": 0.026383737102150917 } } }, "else": { "operation": "boost", - "score": 0.06528189778327942 + "score": -0.029878851026296616 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10158908367156982 }, "else": { - "operation": "boost", - "score": -0.42317888140678406 + "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 + } } }, "else": { - "operation": "boost", - "score": 0.009880897589027882 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": -0.10568578541278839 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.12117144465446472 + }, + "else": { + "operation": "boost", + "score": -0.10123856365680695 + } + } + }, + "else": { + "operation": "boost", + "score": 0.23350228369235992 + } } } + }, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.020993247628211975 + "score": 0.10512536019086838 }, "else": { "operation": "boost", - "score": 0.013431164436042309 + "score": -0.21598611772060394 } + }, + "else": { + "operation": "boost", + "score": 0.044736798852682114 } - }, - "else": { - "operation": "boost", - "score": 0.01094417180866003 } - }, - "else": { - "operation": "boost", - "score": -0.0035741061437875032 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", "CCC_ClassOrStructTag", + "CCC_Statement", + "CCC_Namespace", "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "boost", + "score": 0.037872765213251114 + }, + "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.0016565419500693679 + "score": 0.0019008297240361571 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1293.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48867.5, "then": { "operation": "boost", - "score": 0.020075347274541855 + "score": -0.3461264371871948 }, "else": { "operation": "boost", - "score": -0.01858597621321678 + "score": 0.07767263799905777 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 31066.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.0876360684633255 + }, + "else": { + "operation": "boost", + "score": -0.022041447460651398 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3169704079627991 + } + }, + "else": { + "operation": "boost", + "score": -0.04816006124019623 + } + } + } + } + }, + "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": { + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1177.0, "then": { "operation": "boost", - "score": -0.0204244963824749 + "score": -0.09827876836061478 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 597.0, "then": { - "operation": "boost", - "score": -0.028914587572216988 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 697.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 951.0, + "then": { + "operation": "boost", + "score": 0.1069846823811531 + }, + "else": { + "operation": "boost", + "score": 0.0002911796036642045 + } + }, + "else": { + "operation": "boost", + "score": 0.11764465272426605 + } }, "else": { "operation": "boost", - "score": -0.567889392375946 + "score": 0.024798251688480377 } } }, "else": { "operation": "boost", - "score": -0.007181301712989807 + "score": 0.1166267991065979 } + }, + "else": { + "operation": "boost", + "score": 0.047310974448919296 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.025967521592974663 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 191.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 292.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": 0.0644403025507927 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 242.5, "then": { "operation": "boost", - "score": 0.07669524103403091 + "score": 0.11026246845722198 }, "else": { "operation": "boost", - "score": 0.03556342050433159 + "score": 0.08123182505369186 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09836668521165848 + "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.04252319037914276 + "score": -0.1178482174873352 } + }, + "else": { + "operation": "boost", + "score": 0.11036495864391327 } - }, - "else": { - "operation": "boost", - "score": 0.014324191026389599 } + }, + "else": { + "operation": "boost", + "score": 0.010216918773949146 } } }, "else": { - "operation": "boost", - "score": 0.006882746238261461 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 62.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10204538702964783 + "score": 0.05779392272233963 }, "else": { "operation": "boost", - "score": -0.16897962987422943 + "score": 0.050915613770484924 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.027305517345666885 + "score": -0.21060575544834137 }, "else": { - "operation": "boost", - "score": -0.5956607460975647 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10920856893062592 + }, + "else": { + "operation": "boost", + "score": 0.11243436485528946 + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 61.5, "then": { "operation": "boost", - "score": 0.07911326736211777 + "score": 0.6005985140800476 }, "else": { "operation": "boost", - "score": 0.04321647062897682 + "score": -0.22430811822414398 } } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.01211882010102272 + } + }, + "else": { + "operation": "boost", + "score": -0.010308351367712021 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.5, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.07254283875226974 - }, - "else": { - "operation": "boost", - "score": 0.11057257652282715 - } + "operation": "boost", + "score": 0.09142334759235382 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.12489387392997742 + "score": 0.08725130558013916 }, "else": { - "operation": "boost", - "score": -0.05597695708274841 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1759.5, + "then": { + "operation": "boost", + "score": 0.05130413919687271 + }, + "else": { + "operation": "boost", + "score": -0.1335850954055786 + } } } }, + "else": { + "operation": "boost", + "score": -0.48479169607162476 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 163.5, + "then": { + "operation": "boost", + "score": 0.10419107228517532 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 100.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 112.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.4021451771259308 + "score": 0.0918041467666626 }, "else": { "operation": "boost", - "score": 0.02654227428138256 + "score": -0.13613857328891754 } }, "else": { "operation": "boost", - "score": -0.08518363535404205 + "score": 0.10185196995735168 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.03990701958537102 - }, - "else": { - "operation": "boost", - "score": -0.08660484850406647 - } - }, - "else": { - "operation": "boost", - "score": 0.024596694856882095 - } + "operation": "boost", + "score": -0.3741404712200165 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.14000959694385529 - }, - "else": { - "operation": "boost", - "score": 0.07683981955051422 - } + "operation": "boost", + "score": 0.067746601998806 }, "else": { "operation": "boost", - "score": 0.023050393909215927 + "score": 0.10152760148048401 } } }, "else": { "operation": "boost", - "score": -0.0203473549336195 + "score": -0.17626217007637024 } } } }, "else": { - "operation": "boost", - "score": -0.004813869949430227 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "boost", + "score": 0.12052737921476364 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "boost", + "score": -0.12757202982902527 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.05419374629855156 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10712061822414398 + }, + "else": { + "operation": "boost", + "score": 0.06460385769605637 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14770936965942383 + } + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11442819237709045 }, "else": { "operation": "boost", - "score": -0.02330107055604458 + "score": 0.09932247549295425 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.018787331879138947 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 267.0, + "then": { + "operation": "boost", + "score": 0.12232260406017303 + }, + "else": { + "operation": "boost", + "score": -0.0007148918230086565 + } }, "else": { - "operation": "boost", - "score": -0.01135561615228653 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": 0.09722674638032913 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 137.5, + "then": { + "operation": "boost", + "score": 0.01520959660410881 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.17653606832027435 + }, + "else": { + "operation": "boost", + "score": 0.11538846790790558 + } + }, + "else": { + "operation": "boost", + "score": 0.0770980641245842 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.11322139203548431 + }, + "else": { + "operation": "boost", + "score": 0.1181681677699089 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.08967658132314682 + }, + "else": { + "operation": "boost", + "score": -0.009904944337904453 + } + } + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 55.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 235.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { - "operation": "boost", - "score": 0.040718868374824524 + "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.11061708629131317 + "score": 0.023565970361232758 } }, "else": { "operation": "boost", - "score": -0.0012006019242107868 + "score": 0.01322633121162653 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "boost", + "score": 0.0029522664844989777 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.03559546172618866 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.019740892574191093 + "score": -0.11134780198335648 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "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" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005345483310520649 - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10221152752637863 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.12819981575012207 - }, - "else": { - "operation": "boost", - "score": -0.05936156213283539 - } - }, - "else": { - "operation": "boost", - "score": 0.11723094433546066 - } - }, - "else": { - "operation": "boost", - "score": 0.11310317367315292 - } - }, - "else": { - "operation": "boost", - "score": 0.039641786366701126 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1283629834651947 - }, - "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": 22.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.07393106818199158 - }, - "else": { - "operation": "boost", - "score": 0.09875485301017761 - } - }, - "else": { - "operation": "boost", - "score": -0.025330297648906708 - } - }, - "else": { - "operation": "boost", - "score": 0.090763621032238 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.09617145359516144 - }, - "else": { - "operation": "boost", - "score": 0.08107534795999527 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.04329023137688637 - } - } - } - } + "operation": "boost", + "score": -0.1782436966896057 }, "else": { - "operation": "boost", - "score": -0.014266890473663807 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.013806596398353577 + "score": 0.37750130891799927 }, "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1016530767083168 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.023924844339489937 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "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": 23.5, - "then": { - "operation": "boost", - "score": -0.011828220449388027 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.0921197161078453 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.033256687223911285 - }, - "else": { - "operation": "boost", - "score": 0.07945145666599274 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.008471607230603695 - } - }, - "else": { - "operation": "boost", - "score": 0.0877181887626648 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.035185303539037704 - }, - "else": { - "operation": "boost", - "score": 0.1152251660823822 - } - }, - "else": { - "operation": "boost", - "score": 0.03003905899822712 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08916820585727692 - }, - "else": { - "operation": "boost", - "score": 0.06307747960090637 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": -0.10263929516077042 - }, - "else": { - "operation": "boost", - "score": 0.11980832368135452 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09120115637779236 - }, - "else": { - "operation": "boost", - "score": -0.024533718824386597 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04389629513025284 - } - }, - "else": { - "operation": "boost", - "score": 0.01859688200056553 - } - } - } - } + "operation": "boost", + "score": 0.11377981305122375 } - }, - "else": { - "operation": "boost", - "score": -0.014500752091407776 } + }, + "else": { + "operation": "boost", + "score": -0.10433045774698257 } } - }, - "else": { - "operation": "boost", - "score": 0.020584939047694206 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_Symbol" ], "then": { - "operation": "boost", - "score": 0.042172666639089584 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.026596084237098694 + "score": 0.0905541181564331 + }, + "else": { + "operation": "boost", + "score": 0.1367291808128357 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 3.441368818283081 }, "else": { "operation": "boost", - "score": 0.020639684051275253 + "score": -0.11093934625387192 } } } + }, + "else": { + "operation": "boost", + "score": -0.15038278698921204 } - }, - "else": { - "operation": "boost", - "score": -0.004083011765033007 } - }, - "else": { - "operation": "boost", - "score": -0.007515851408243179 } } + }, + "else": { + "operation": "boost", + "score": -0.0004609566240105778 } }, { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 54.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.2059219926595688 - }, - "else": { - "operation": "boost", - "score": 0.09186765551567078 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 58.5, "then": { - "operation": "boost", - "score": 0.1229403167963028 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.03304452449083328 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2840.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1000736728310585 + }, + "else": { + "operation": "boost", + "score": 0.12346275895833969 + } + }, + "else": { + "operation": "boost", + "score": 0.0002132891968358308 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 210.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3794.5, + "then": { + "operation": "boost", + "score": 0.10012524574995041 + }, + "else": { + "operation": "boost", + "score": 0.13323643803596497 + } + }, + "else": { + "operation": "boost", + "score": 0.05263087898492813 + } + } + } }, "else": { - "operation": "boost", - "score": 0.10090207308530807 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.13343310356140137 + }, + "else": { + "operation": "boost", + "score": -0.10658188909292221 + } } }, "else": { - "operation": "boost", - "score": -0.17749081552028656 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 151.0, + "threshold": 115.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 196.5, + "threshold": 120.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18951.5, + "threshold": 1135.0, "then": { "operation": "boost", - "score": 0.09428996592760086 + "score": 0.012185901403427124 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1097.0, + "then": { + "operation": "boost", + "score": 0.0756220668554306 + }, + "else": { + "operation": "boost", + "score": 0.10156987607479095 + } + }, + "else": { + "operation": "boost", + "score": 0.06387826800346375 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.06894981116056442 + }, + "else": { + "operation": "boost", + "score": 0.017794622108340263 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.4161844551563263 + }, + "else": { + "operation": "boost", + "score": 0.13167110085487366 + } + }, + "else": { + "operation": "boost", + "score": 0.025360114872455597 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023598812520503998 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10138536989688873 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.13830088078975677 + }, + "else": { + "operation": "boost", + "score": -0.167813241481781 + } + }, + "else": { + "operation": "boost", + "score": 0.12134534120559692 + } + } }, "else": { - "operation": "boost", - "score": 0.002824341179803014 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": -0.10472463071346283 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1187824085354805 + }, + "else": { + "operation": "boost", + "score": -0.10104213654994965 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1967143714427948 + } } - }, - "else": { - "operation": "boost", - "score": 0.064419686794281 } }, "else": { "operation": "boost", - "score": -0.07008306682109833 + "score": 0.03412002697587013 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.11843232065439224 - }, - "else": { - "operation": "boost", - "score": -0.30395692586898804 - } + "operation": "boost", + "score": 0.020631996914744377 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 222.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10954538732767105 - }, - "else": { - "operation": "boost", - "score": -0.363033264875412 - } + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 341.5, "then": { "operation": "boost", - "score": -0.19917458295822144 + "score": 0.12654827535152435 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 105.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.11355986446142197 - }, - "else": { - "operation": "boost", - "score": 0.1162668764591217 - } + "operation": "boost", + "score": -0.23771978914737701 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 93.5, "then": { "operation": "boost", - "score": 0.07701729238033295 + "score": 1.208583116531372 }, "else": { - "operation": "boost", - "score": -0.1843447983264923 + "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 + } + } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.033010195940732956 }, "else": { "operation": "boost", - "score": 0.1181916743516922 + "score": 0.04565691575407982 } - }, - "else": { - "operation": "boost", - "score": -0.09488093852996826 } } + }, + "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 + } } }, "else": { + "operation": "boost", + "score": -0.0014719549799337983 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 10008.5, + "threshold": 57.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15737.0, + "threshold": 171.5, "then": { + "operation": "boost", + "score": -0.0720766931772232 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 166.0, "then": { "operation": "boost", - "score": 0.03353814035654068 + "score": 0.10215093195438385 }, "else": { "operation": "boost", - "score": 0.0765404999256134 + "score": 0.0032357126474380493 } - }, - "else": { - "operation": "boost", - "score": 0.03222159668803215 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.016623420640826225 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 168.0, "then": { + "operation": "boost", + "score": -0.1830594539642334 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47903.0, + "threshold": 108.5, "then": { "operation": "boost", - "score": 0.09886626154184341 + "score": 0.10672619938850403 }, "else": { "operation": "boost", - "score": 0.06792876869440079 + "score": -0.5130957365036011 } - }, - "else": { - "operation": "boost", - "score": -0.024020640179514885 } - }, - "else": { - "operation": "boost", - "score": 0.01580897718667984 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, "then": { + "operation": "boost", + "score": 0.11818575114011765 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13638.5, + "threshold": 69.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88678.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89117.0, - "then": { - "operation": "boost", - "score": 0.02007860317826271 - }, - "else": { - "operation": "boost", - "score": 0.08700273185968399 - } - }, - "else": { - "operation": "boost", - "score": -0.015073076821863651 - } + "operation": "boost", + "score": -0.11926085501909256 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13189.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.10664945095777512 + "score": -0.2963074743747711 }, "else": { "operation": "boost", - "score": 0.11615192890167236 + "score": 0.10499965399503708 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, "then": { "operation": "boost", - "score": 0.08254354447126389 + "score": 0.09690948575735092 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12517762184143066 - }, - "else": { - "operation": "boost", - "score": -0.05965185537934303 - } + "operation": "boost", + "score": -0.06977588683366776 } } } - }, - "else": { - "operation": "boost", - "score": -0.02047043666243553 } } }, + "else": { + "operation": "boost", + "score": 0.09761980921030045 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.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": 6228.0, + "threshold": 236336.5, "then": { + "operation": "boost", + "score": 0.09570896625518799 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6390.5, + "threshold": 110.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 111.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6952.0, + "threshold": 137.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.011180566623806953 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7222.0, - "then": { - "operation": "boost", - "score": 0.11186007410287857 - }, - "else": { - "operation": "boost", - "score": 0.07330335676670074 - } - } - }, - "else": { - "operation": "boost", - "score": -0.11462118476629257 - } + "operation": "boost", + "score": 0.01629233919084072 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7021.0, - "then": { - "operation": "boost", - "score": 0.01923227310180664 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11140109598636627 - }, - "else": { - "operation": "boost", - "score": -0.06540755182504654 - } - }, - "else": { - "operation": "boost", - "score": 0.09958113729953766 - } - } + "operation": "boost", + "score": -0.27450332045555115 } }, "else": { - "operation": "boost", - "score": -0.027885768562555313 - } - }, - "else": { - "operation": "boost", - "score": -0.09206313639879227 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.09375310689210892 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6388.5, + "threshold": 132.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.0, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10714388638734818 + "score": 0.13864420354366302 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10254687815904617 - }, - "else": { - "operation": "boost", - "score": 0.018825113773345947 - } + "operation": "boost", + "score": 0.1133110299706459 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10375705361366272 - }, - "else": { - "operation": "boost", - "score": -0.10297545790672302 - } + "operation": "boost", + "score": -0.12253851443529129 }, "else": { "operation": "boost", - "score": 0.10539103299379349 + "score": 0.11161162704229355 } } - }, - "else": { - "operation": "boost", - "score": -0.003911351319402456 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.006673414260149002 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.016120634973049164 + "score": -0.11171689629554749 }, "else": { "operation": "boost", - "score": 0.0007097809575498104 + "score": 0.11468289792537689 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01616445742547512 - }, - "else": { - "operation": "boost", - "score": -0.20655028522014618 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 59.5, "then": { - "operation": "boost", - "score": 0.008586992509663105 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.017461102455854416 + }, + "else": { + "operation": "boost", + "score": -0.1810995638370514 + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13.5, + "threshold": 56.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.11708094924688339 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.0, - "then": { - "operation": "boost", - "score": -0.1096549853682518 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.2279129922389984 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, - "then": { - "operation": "boost", - "score": 0.11126657575368881 - }, - "else": { - "operation": "boost", - "score": 0.12364928424358368 - } - } - } - } + "operation": "boost", + "score": 0.07684344798326492 }, "else": { "operation": "boost", - "score": -0.022016244009137154 + "score": -0.5268344283103943 } } + }, + "else": { + "operation": "boost", + "score": -0.007879109121859074 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 55.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 2.5, + "threshold": 7.5, "then": { + "operation": "boost", + "score": 0.00998024269938469 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 67.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 29.5, + "threshold": 81.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 216.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 67.5, + "threshold": 223.5, "then": { - "operation": "boost", - "score": -0.03818704932928085 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 257.5, "then": { - "operation": "boost", - "score": -0.27599430084228516 + "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": "boost", - "score": -1.0094213485717773 + "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 + } + } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 33.5, + "threshold": 261.5, "then": { - "operation": "boost", - "score": -0.11530662328004837 + "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": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.18120990693569183 + "score": -1.1538379192352295 }, "else": { "operation": "boost", - "score": -0.6687955260276794 + "score": -0.1569981724023819 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.10975965112447739 }, "else": { "operation": "boost", - "score": -0.024143975228071213 + "score": 0.15596972405910492 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.09059454500675201 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5024594664573669 + }, + "else": { + "operation": "boost", + "score": 0.11874144524335861 + } }, "else": { "operation": "boost", - "score": 0.18648891150951385 + "score": -0.2383558601140976 } }, "else": { "operation": "boost", - "score": -0.10216221958398819 + "score": -0.030358172953128815 } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14229799807071686 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 73.5, "then": { - "operation": "boost", - "score": -0.048160601407289505 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": -0.10024794936180115 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 78.5, "then": { "operation": "boost", - "score": -0.001457752427086234 + "score": -0.13122405111789703 }, "else": { - "operation": "boost", - "score": 0.1759088784456253 + "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 + } + } } }, "else": { "operation": "boost", - "score": -0.05346332862973213 + "score": 0.15579061210155487 } + }, + "else": { + "operation": "boost", + "score": 0.02795621007680893 } + }, + "else": { + "operation": "boost", + "score": 0.05513269081711769 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 216.5, - "then": { - "operation": "boost", - "score": 0.30766788125038147 - }, - "else": { - "operation": "boost", - "score": -0.35899782180786133 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.06521119177341461 - }, - "else": { - "operation": "boost", - "score": -0.14507383108139038 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.11268580704927444 + "score": 0.10724468529224396 }, "else": { - "operation": "boost", - "score": -0.01411343552172184 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12201190739870071 + }, + "else": { + "operation": "boost", + "score": -0.02035646326839924 + } } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "boost", - "score": 0.04972997307777405 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": 0.09006386250257492 - }, - "else": { - "operation": "boost", - "score": 0.07867787778377533 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10586675256490707 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.14110435545444489 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.09853444248437881 - }, - "else": { - "operation": "boost", - "score": 0.06721123307943344 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.11479022353887558 - }, - "else": { - "operation": "boost", - "score": 0.09516394138336182 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59.5, - "then": { - "operation": "boost", - "score": 0.10664055496454239 - }, - "else": { - "operation": "boost", - "score": -0.04115334153175354 - } - } + "operation": "boost", + "score": 0.04047856107354164 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 312.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 553.0, - "then": { - "operation": "boost", - "score": -0.17123156785964966 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.10522475838661194 - }, - "else": { - "operation": "boost", - "score": 0.35635894536972046 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05690392851829529 - } + "operation": "boost", + "score": 0.11443748325109482 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08926776796579361 + "score": 0.08961557596921921 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.13752694427967072 - }, - "else": { - "operation": "boost", - "score": -0.10306381434202194 - } + "operation": "boost", + "score": 0.13220445811748505 } }, "else": { "operation": "boost", - "score": -0.12962010502815247 + "score": -0.06140444427728653 } } } + }, + "else": { + "operation": "boost", + "score": -0.007796413265168667 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.042670004069805145 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "boost", + "score": 0.004281277302652597 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 50.5, "then": { - "operation": "boost", - "score": -0.11616802215576172 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "boost", + "score": -0.10852383822202682 + }, + "else": { + "operation": "boost", + "score": 0.10386934131383896 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1604427546262741 + "score": 0.025845885276794434 }, "else": { "operation": "boost", - "score": -0.10013321787118912 + "score": 0.0479336716234684 } } }, "else": { "operation": "boost", - "score": 0.0766998678445816 + "score": -0.006276382133364677 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + } + }, + "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_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.12332668900489807 - }, - "else": { - "operation": "boost", - "score": -0.4054343104362488 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.0841999351978302 + "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": 4.5, + "threshold": 21.5, "then": { - "operation": "boost", - "score": -0.13324953615665436 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.3404652178287506 + "score": 0.08101015537977219 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10800261050462723 + }, + "else": { + "operation": "boost", + "score": 0.04870970547199249 + } + }, + "else": { + "operation": "boost", + "score": 0.11517544090747833 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11165367811918259 + }, + "else": { + "operation": "boost", + "score": 0.07361358404159546 + } }, "else": { "operation": "boost", - "score": 0.17562200129032135 + "score": 0.05943945050239563 } } } }, "else": { "operation": "boost", - "score": 0.0073770941235125065 + "score": 0.02619304321706295 } + }, + "else": { + "operation": "boost", + "score": 0.013616068288683891 } }, "else": { "operation": "boost", - "score": 0.01860017515718937 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.002844911767169833 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.009581593796610832 - }, - "else": { - "operation": "boost", - "score": -0.0910845622420311 + "score": -0.08432484418153763 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.028297172859311104 - }, - "else": { - "operation": "boost", - "score": 0.03218458592891693 - } + "operation": "boost", + "score": -0.00434889318421483 } + }, + "else": { + "operation": "boost", + "score": -0.04262249916791916 } } }, "else": { "operation": "boost", - "score": 0.0022607690189033747 + "score": 0.054060399532318115 } + }, + "else": { + "operation": "boost", + "score": 0.00028378781280480325 } - }, - "else": { - "operation": "boost", - "score": -0.00030320740188471973 } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44220.5, + "threshold": 43.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 87006.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.005080800037831068 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.031170038506388664 - }, - "else": { - "operation": "boost", - "score": 0.09589894115924835 - } + "operation": "boost", + "score": 0.03847238048911095 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 58.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 549.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 135000.5, + "threshold": 716.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09643654525279999 - }, - "else": { - "operation": "boost", - "score": 0.03219520300626755 - } + "operation": "boost", + "score": 0.017207736149430275 }, "else": { "operation": "boost", - "score": -0.24182520806789398 + "score": 0.12734901905059814 } }, "else": { "operation": "boost", - "score": 0.05716568976640701 + "score": 0.05711936950683594 } }, "else": { - "operation": "boost", - "score": 0.045781347900629044 + "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": 204563.0, + "threshold": 1574.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 205637.0, + "threshold": 1597.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "boost", - "score": 0.0042775701731443405 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23530.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 25758.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.10661035776138306 - }, - "else": { - "operation": "boost", - "score": 0.1059848889708519 - } + "operation": "boost", + "score": 0.12345641106367111 }, "else": { "operation": "boost", - "score": 0.043667327612638474 + "score": -0.17512422800064087 } }, "else": { "operation": "boost", - "score": 0.04404235631227493 + "score": 0.11048052459955215 + } + }, + "else": { + "operation": "boost", + "score": 0.0467170886695385 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75477.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "boost", + "score": 0.039683613926172256 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.004860611632466316 + }, + "else": { + "operation": "boost", + "score": 0.05646951124072075 + } } }, "else": { "operation": "boost", - "score": -0.10546102374792099 + "score": 0.034325748682022095 } } - }, - "else": { - "operation": "boost", - "score": 0.0020318222232162952 } }, "else": { "operation": "boost", - "score": 0.0030051316134631634 + "score": 0.013928079977631569 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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": "FilterLength", - "threshold": 0.5, + "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": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.032257143408060074 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04063865914940834 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.03080577403306961 + "score": -0.12554067373275757 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08838606625795364 + "score": -0.012832462787628174 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 651.5, "then": { - "operation": "boost", - "score": -0.3476030230522156 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 676.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2764.5, + "then": { + "operation": "boost", + "score": 0.07061515003442764 + }, + "else": { + "operation": "boost", + "score": 0.10979311913251877 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.14158201217651367 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08968929201364517 + }, + "else": { + "operation": "boost", + "score": 0.11632902175188065 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1268501877784729 + } }, "else": { "operation": "boost", - "score": 0.09627129137516022 + "score": -0.10410080850124359 } } } + } + }, + "else": { + "operation": "boost", + "score": 0.07281368225812912 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12546.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22433.5, + "then": { + "operation": "boost", + "score": -0.03952778875827789 + }, + "else": { + "operation": "boost", + "score": 0.2770821750164032 + } }, "else": { - "operation": "boost", - "score": 0.007140643894672394 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.1152951791882515 + }, + "else": { + "operation": "boost", + "score": 0.12102532386779785 + } } }, "else": { "operation": "boost", - "score": 0.023491108790040016 + "score": 0.06000044569373131 } } }, "else": { "operation": "boost", - "score": 0.024547867476940155 + "score": -0.011549372225999832 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003200497245416045 + } + } + }, + "else": { + "operation": "boost", + "score": -0.030798083171248436 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.005162880290299654 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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": "boost", + "score": 0.042001690715551376 + }, + "else": { + "operation": "boost", + "score": 0.05839894339442253 } }, "else": { "operation": "boost", - "score": 0.021939968690276146 + "score": 0.017170196399092674 } + }, + "else": { + "operation": "boost", + "score": -0.019650384783744812 } - }, - "else": { - "operation": "boost", - "score": 0.003373300191015005 } + }, + "else": { + "operation": "boost", + "score": -0.02660883590579033 } } - }, - "else": { - "operation": "boost", - "score": -0.010320539586246014 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 171.5, "then": { + "operation": "boost", + "score": -0.06067914515733719 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 166.0, "then": { "operation": "boost", - "score": 0.10547720640897751 + "score": 0.09233442693948746 }, "else": { - "operation": "boost", - "score": 0.10479500144720078 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "then": { + "operation": "boost", + "score": 0.10662771761417389 + }, + "else": { + "operation": "boost", + "score": 0.014896823093295097 + } + }, + "else": { + "operation": "boost", + "score": -0.04863353073596954 + } + }, + "else": { + "operation": "boost", + "score": 0.0881505012512207 + } + }, + "else": { + "operation": "boost", + "score": -0.20664642751216888 + } } - }, - "else": { - "operation": "boost", - "score": 0.12034240365028381 } }, "else": { - "operation": "boost", - "score": -0.1953713744878769 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.017077844589948654 + "score": 0.013692863285541534 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 168.0, "then": { "operation": "boost", - "score": 0.08870925009250641 + "score": -0.197080597281456 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 108.5, "then": { "operation": "boost", - "score": 0.10511624068021774 + "score": 0.10548937320709229 }, "else": { "operation": "boost", - "score": 0.1638021022081375 + "score": -0.3297380805015564 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "boost", + "score": 0.11593613773584366 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 51.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 69.5, "then": { "operation": "boost", - "score": 0.10126544535160065 + "score": -0.09027464687824249 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10463818162679672 - }, - "else": { - "operation": "boost", - "score": 0.021465597674250603 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55726.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11952339857816696 - }, - "else": { - "operation": "boost", - "score": 0.09743824601173401 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 55.0, "then": { "operation": "boost", - "score": 0.10627005994319916 + "score": -0.24189887940883636 }, "else": { "operation": "boost", - "score": -0.10850479453802109 + "score": 0.11796632409095764 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, - "then": { - "operation": "boost", - "score": 0.12114181369543076 }, "else": { "operation": "boost", - "score": 0.03946352377533913 + "score": 0.0977054238319397 } } + }, + "else": { + "operation": "boost", + "score": -0.08279391378164291 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 58.5, "then": { "operation": "boost", - "score": 0.07105601578950882 + "score": 0.05303477123379707 }, "else": { - "operation": "boost", - "score": 0.12441026419401169 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "boost", + "score": 0.10309214144945145 + }, + "else": { + "operation": "boost", + "score": 0.10313525795936584 + } } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.11478772759437561 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 49.5, "then": { "operation": "boost", - "score": 0.20796306431293488 + "score": 0.027316788211464882 }, "else": { "operation": "boost", - "score": 0.1255454272031784 + "score": 0.09873690456151962 } + }, + "else": { + "operation": "boost", + "score": -0.33344215154647827 } } } @@ -332836,1626 +319237,2725 @@ }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 267.0, "then": { "operation": "boost", - "score": -0.37329918146133423 + "score": 0.11446329206228256 }, "else": { "operation": "boost", - "score": 0.08928424119949341 + "score": -0.017799725756049156 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 236336.5, "then": { + "operation": "boost", + "score": 0.09658174961805344 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 110.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 111.5, "then": { - "operation": "boost", - "score": -0.17326851189136505 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 133.5, "then": { + "operation": "boost", + "score": 0.013449737802147865 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 132.5, "then": { - "operation": "boost", - "score": -0.006465555168688297 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.055243875831365585 + }, + "else": { + "operation": "boost", + "score": 0.11289473623037338 + } }, "else": { - "operation": "boost", - "score": -0.5338078141212463 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.047671087086200714 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.5, + "then": { + "operation": "boost", + "score": 0.4340083599090576 + }, + "else": { + "operation": "boost", + "score": -0.19290970265865326 + } + }, + "else": { + "operation": "boost", + "score": 0.11970030516386032 + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.11037623882293701 }, "else": { "operation": "boost", - "score": 0.08885448426008224 + "score": 0.11324197798967361 } } }, "else": { + "operation": "boost", + "score": -0.02530755288898945 + } + } + } + } + }, + "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", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 88.0, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 467.0, + "then": { + "operation": "boost", + "score": -0.0686635673046112 + }, + "else": { + "operation": "boost", + "score": 0.11894161999225616 + } + }, + "else": { "operation": "boost", - "score": 0.035161010921001434 + "score": -0.1508762389421463 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.026334967464208603 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09726159274578094 + }, + "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 + } + } + } }, "else": { "operation": "boost", - "score": 0.10451091825962067 + "score": -0.0354217104613781 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.6247829794883728 + "score": -0.12645716965198517 }, "else": { "operation": "boost", - "score": -0.1418672651052475 + "score": 0.013686046004295349 } } + }, + "else": { + "operation": "boost", + "score": -0.05957377701997757 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { + "operation": "boost", + "score": 0.005379298701882362 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55221.5, + "threshold": 185.5, + "then": { + "operation": "boost", + "score": -0.21344327926635742 + }, + "else": { + "operation": "boost", + "score": 0.14616413414478302 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 207.0, "then": { - "operation": "boost", - "score": -0.36789000034332275 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20068.5, "then": { + "operation": "boost", + "score": -0.03674141690135002 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.03160719573497772 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3299.5, + "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, + "then": { + "operation": "boost", + "score": 0.11338012665510178 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10423438251018524 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.07205043733119965 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 768.5, + "then": { + "operation": "boost", + "score": 0.07404395192861557 + }, + "else": { + "operation": "boost", + "score": 0.11825267970561981 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10804560035467148 + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 507.5, "then": { "operation": "boost", - "score": 0.09279844164848328 + "score": -0.06914026290178299 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.09271903336048126 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 308.5, "then": { "operation": "boost", - "score": -0.12241557985544205 + "score": 0.06377384066581726 }, "else": { "operation": "boost", - "score": 0.05960024520754814 + "score": 0.10697142779827118 } + }, + "else": { + "operation": "boost", + "score": -0.021965408697724342 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { + "operation": "boost", + "score": -0.2230987250804901 }, "else": { "operation": "boost", - "score": 0.0729028582572937 + "score": 0.09655549377202988 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 83201.0, "then": { - "operation": "boost", - "score": 0.05954200029373169 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 110939.5, "then": { "operation": "boost", - "score": 0.1063922643661499 + "score": -0.17895781993865967 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11544003337621689 - }, - "else": { - "operation": "boost", - "score": 0.10922626405954361 - } + "operation": "boost", + "score": 0.02129465714097023 } + }, + "else": { + "operation": "boost", + "score": -0.0848596841096878 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 34453.0, "then": { - "operation": "boost", - "score": -0.013585830107331276 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10306458920240402 + "score": 0.07015544921159744 }, "else": { "operation": "boost", - "score": -0.15484566986560822 + "score": -0.00042429837048985064 } + }, + "else": { + "operation": "boost", + "score": -0.03941169008612633 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004340603481978178 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002280907006934285 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.006590001285076141 + }, + "else": { + "operation": "boost", + "score": 0.009670496918261051 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Symbol", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44616.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10348773002624512 + "score": 0.030073465779423714 }, "else": { - "operation": "boost", - "score": 0.11724907904863358 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09131361544132233 + }, + "else": { + "operation": "boost", + "score": 0.2047608345746994 + } + }, + "else": { + "operation": "boost", + "score": 0.12656207382678986 + } + }, + "else": { + "operation": "boost", + "score": -0.039742350578308105 + } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.31407758593559265 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.05893712863326073 + "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.05299833044409752 + }, + "else": { + "operation": "boost", + "score": 0.24948589503765106 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12948325276374817 + }, + "else": { + "operation": "boost", + "score": -0.15090809762477875 + } + } }, "else": { "operation": "boost", - "score": 0.21399271488189697 + "score": 0.05202244594693184 } + }, + "else": { + "operation": "boost", + "score": 0.06881152838468552 } } }, "else": { - "operation": "boost", - "score": 0.06345438212156296 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44693.0, + "threshold": 19362.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 47903.5, + "threshold": 19474.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52191.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.05516577512025833 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.09946668148040771 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 23506.0, "then": { "operation": "boost", - "score": -0.03209017589688301 + "score": 0.022213829681277275 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "boost", + "score": 0.10749463737010956 + }, + "else": { + "operation": "boost", + "score": -0.12803493440151215 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60891.5, + "then": { + "operation": "boost", + "score": -0.005799827631562948 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50371.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54992.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.12699200212955475 + "score": 0.10001281648874283 }, "else": { "operation": "boost", - "score": -0.14455857872962952 + "score": 0.12421101331710815 } }, "else": { "operation": "boost", - "score": 0.13003350794315338 + "score": 0.03549725562334061 } }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.05040830373764038 + }, + "else": { + "operation": "boost", + "score": 0.11553163081407547 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53950.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 2.0, "then": { + "operation": "boost", + "score": -0.7964848875999451 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54992.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.02605310082435608 + "score": 0.11731349676847458 }, "else": { "operation": "boost", - "score": 0.09650015085935593 + "score": -0.013116692192852497 } - }, - "else": { - "operation": "boost", - "score": 0.089845210313797 } + }, + "else": { + "operation": "boost", + "score": 0.11743149906396866 } } }, "else": { "operation": "boost", - "score": 0.07011767476797104 + "score": 0.02444671094417572 } - }, - "else": { - "operation": "boost", - "score": -0.047634661197662354 } - }, - "else": { - "operation": "boost", - "score": -0.07281099259853363 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0030287466943264008 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 47029.0, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { - "operation": "boost", - "score": -0.04938598349690437 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0796281024813652 - }, - "else": { - "operation": "boost", - "score": -0.5461001992225647 - } + "operation": "boost", + "score": 0.08784588426351547 }, "else": { "operation": "boost", - "score": 0.10995788872241974 + "score": 0.10247654467821121 } + }, + "else": { + "operation": "boost", + "score": -0.16391782462596893 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + } + } + }, + "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": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 9368.5, + "then": { + "operation": "boost", + "score": -0.2344980686903 + }, + "else": { + "operation": "boost", + "score": 0.13325664401054382 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": -0.0007647154270671308 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45940.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.05739051476120949 + "score": 0.10449296236038208 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.13952098786830902 - }, - "else": { - "operation": "boost", - "score": 0.5495073199272156 - } + "operation": "boost", + "score": 0.0422414094209671 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.1349201649427414 - }, - "else": { - "operation": "boost", - "score": 0.003916628658771515 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10351503640413284 - }, - "else": { - "operation": "boost", - "score": 0.11158940941095352 - } - } - }, - "else": { - "operation": "boost", - "score": 0.10696040093898773 - } + "operation": "boost", + "score": 0.008281557820737362 } - }, - "else": { - "operation": "boost", - "score": 0.051740314811468124 } - }, - "else": { - "operation": "boost", - "score": -0.14533469080924988 } + }, + "else": { + "operation": "boost", + "score": 0.042074453085660934 } + }, + "else": { + "operation": "boost", + "score": -0.038455042988061905 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "boost", + "score": 0.047829363495111465 }, "else": { + "operation": "boost", + "score": 0.03632902726531029 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.24450543522834778 + "score": 0.04320826008915901 }, "else": { "operation": "boost", - "score": -0.13388939201831818 + "score": 0.04520007222890854 } + }, + "else": { + "operation": "boost", + "score": 0.03164372220635414 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50563.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.25461313128471375 + "score": 0.07862933725118637 }, "else": { "operation": "boost", - "score": -0.1685439944267273 + "score": 0.10000487416982651 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46094.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.011018737219274044 + "score": -0.0018795536598190665 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45617.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": 0.016522318124771118 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.04345425218343735 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.11979310214519501 - }, - "else": { - "operation": "boost", - "score": 0.11406225711107254 - } - }, - "else": { - "operation": "boost", - "score": 0.1125505119562149 - } - } - }, - "else": { - "operation": "boost", - "score": -0.003500779625028372 - } + "operation": "boost", + "score": -0.14779546856880188 }, "else": { "operation": "boost", - "score": -0.10277454555034637 + "score": 0.11517172306776047 } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.03371823951601982 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11805698275566101 }, "else": { "operation": "boost", - "score": -0.0659947469830513 + "score": 0.06878212839365005 } } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0278455913066864 + }, + "else": { + "operation": "boost", + "score": 0.022719500586390495 + } + } + } + }, + "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, + "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 + } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.03604484722018242 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48196.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.5063274502754211 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.0, + "then": { + "operation": "boost", + "score": 0.023331401869654655 + }, + "else": { + "operation": "boost", + "score": -0.15651898086071014 + } }, "else": { "operation": "boost", - "score": -0.17614664137363434 + "score": 0.04838518425822258 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": -0.005347564350813627 + }, + "else": { + "operation": "boost", + "score": -0.03456352651119232 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03392718359827995 + }, + "else": { + "operation": "boost", + "score": -0.03404458984732628 + } } } }, "else": { "operation": "boost", - "score": -0.07181137800216675 + "score": 0.017130127176642418 } }, "else": { - "operation": "boost", - "score": -0.02362854592502117 + "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_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.023495834320783615 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.09077943116426468 + "score": 0.15589416027069092 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06838971376419067 - }, - "else": { - "operation": "boost", - "score": 0.09256599098443985 - } + "operation": "boost", + "score": 0.1351311355829239 } }, "else": { "operation": "boost", - "score": 0.056899216026067734 + "score": 0.08326181769371033 } - }, - "else": { - "operation": "boost", - "score": 0.11088675260543823 } }, "else": { "operation": "boost", - "score": -0.10771675407886505 + "score": 0.0011782569345086813 } } } - }, - "else": { - "operation": "boost", - "score": -0.0670212134718895 } } } }, "else": { - "operation": "boost", - "score": -0.00016549981955904514 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18585.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28306.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.007559167221188545 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27939.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "NumReferences", + "threshold": 47907.0, "then": { "operation": "boost", - "score": 0.07848429679870605 + "score": 0.059258364140987396 }, "else": { "operation": "boost", - "score": -0.07883021235466003 + "score": -0.02233300171792507 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20869.0, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.037802428007125854 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 98.0, "then": { - "operation": "boost", - "score": 0.11707799136638641 + "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 + } + } + } }, "else": { - "operation": "boost", - "score": -0.028472842648625374 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.053608719259500504 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.12931013107299805 + }, + "else": { + "operation": "boost", + "score": 0.10967136919498444 + } + }, + "else": { + "operation": "boost", + "score": 0.08040080964565277 + } + } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": 0.011214923113584518 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25536.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.11080185323953629 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.08797850459814072 - }, - "else": { - "operation": "boost", - "score": 0.07910234481096268 - } - } + "operation": "boost", + "score": -0.12127161026000977 }, "else": { "operation": "boost", - "score": 0.0236070454120636 + "score": 0.10179043561220169 } }, "else": { "operation": "boost", - "score": -0.07527605444192886 + "score": 0.14148454368114471 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.0, + "then": { + "operation": "boost", + "score": 0.10276858508586884 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23701.5, + "threshold": 30.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.12994378805160522 + "score": 0.012420160695910454 }, "else": { - "operation": "boost", - "score": 0.11781209707260132 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.0, + "then": { + "operation": "boost", + "score": 0.08924510329961777 + }, + "else": { + "operation": "boost", + "score": 0.12991102039813995 + } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23486.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.15013918280601501 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.11056777089834213 + }, + "else": { + "operation": "boost", + "score": 0.03407949581742287 + } + }, + "else": { + "operation": "boost", + "score": -0.10180874913930893 + } }, "else": { "operation": "boost", - "score": 0.07941203564405441 + "score": 0.1289733350276947 } }, "else": { - "operation": "boost", - "score": -0.01741650700569153 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.020483991131186485 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.019044112414121628 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.015633031725883484 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09296302497386932 + }, + "else": { + "operation": "boost", + "score": 0.027858823537826538 + } + } + } } } } } - }, - "else": { - "operation": "boost", - "score": 0.11872614175081253 } }, "else": { "operation": "boost", - "score": -0.0690341591835022 + "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 } } } }, "else": { "operation": "boost", - "score": 0.005847317166626453 + "score": 0.02088080905377865 } }, "else": { "operation": "boost", - "score": 0.0016110349679365754 + "score": -0.00047731728409416974 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.007578597869724035 + }, + "else": { + "operation": "boost", + "score": -0.07573062181472778 } + } + } + }, + { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.0005396142369136214 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 900.5, + "then": { + "operation": "boost", + "score": -0.022754816338419914 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19362.0, + "threshold": 899.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09991370886564255 + }, + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 59.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.0, + "threshold": 7.5, "then": { + "operation": "boost", + "score": -5.621318268822506e-05 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02155924215912819 + "score": -0.028713682666420937 }, "else": { "operation": "boost", - "score": 0.08730343729257584 + "score": 0.03862281143665314 } - }, - "else": { - "operation": "boost", - "score": -0.20558349788188934 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 55.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "NumReferences", + "threshold": 58.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0733971893787384 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11993817985057831 + }, + "else": { + "operation": "boost", + "score": -0.18996018171310425 + } }, "else": { "operation": "boost", - "score": 0.0976308211684227 + "score": 0.05019634589552879 } }, "else": { "operation": "boost", - "score": -0.5568772554397583 + "score": -0.025740966200828552 } }, "else": { - "operation": "boost", - "score": 0.11245057731866837 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12429303675889969 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10590244829654694 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1204414889216423 + }, + "else": { + "operation": "boost", + "score": 0.1281798779964447 + } + } + }, + "else": { + "operation": "boost", + "score": -0.9702273011207581 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06676075607538223 + } } }, "else": { - "operation": "boost", - "score": -0.09823950380086899 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03602784126996994 + }, + "else": { + "operation": "boost", + "score": -0.12459689378738403 + } } } }, "else": { "operation": "boost", - "score": 0.07698540389537811 + "score": 0.009406433440744877 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], "then": { - "operation": "boost", - "score": -0.2594676613807678 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11450228095054626 + "score": 0.0067685442045331 }, "else": { - "operation": "boost", - "score": -0.10099668055772781 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10016006231307983 - } - } - }, - "else": { - "operation": "boost", - "score": 0.022384164854884148 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.0009299312368966639 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10579.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10719.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "boost", + "score": -0.0035868166014552116 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14738.0, - "then": { - "operation": "boost", - "score": 0.3206610083580017 - }, - "else": { - "operation": "boost", - "score": -0.14081479609012604 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression" + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.05327398702502251 + "score": -0.028742263093590736 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13903.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09491704404354095 + "score": -0.3826810121536255 }, "else": { - "operation": "boost", - "score": 0.1115739494562149 + "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": "boost", - "score": 0.05359259247779846 + "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 + } } }, "else": { - "operation": "boost", - "score": 0.01976933516561985 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15959013998508453 + }, + "else": { + "operation": "boost", + "score": -0.02786530740559101 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "boost", + "score": 0.023787586018443108 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.13047584891319275 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.045549433678388596 + }, + "else": { + "operation": "boost", + "score": 0.10564199090003967 + } }, "else": { "operation": "boost", - "score": 0.023359015583992004 + "score": 0.0014247403014451265 } + }, + "else": { + "operation": "boost", + "score": 0.024623528122901917 } - }, - "else": { - "operation": "boost", - "score": 0.0014305275399237871 } + }, + "else": { + "operation": "boost", + "score": 0.047249291092157364 } - }, - "else": { + } + } + }, + "else": { + "operation": "boost", + "score": -0.1136365607380867 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12381359189748764 - }, - "else": { - "operation": "boost", - "score": 0.13623768091201782 - } + "operation": "boost", + "score": 0.09890104830265045 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13799.0, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "boost", - "score": -0.04983171820640564 + "score": -0.10514752566814423 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", - "CCC_ClassOrStructTag" + "CCC_SymbolOrNewName", + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.17603324353694916 + "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.07382868230342865 + "score": 0.03466653451323509 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.12288465350866318 }, "else": { - "operation": "boost", - "score": 0.10458343476057053 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 63.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { + "operation": "boost", + "score": -0.021555837243795395 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.017135754227638245 + "score": -0.020135659724473953 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.025003332644701004 - }, - "else": { - "operation": "boost", - "score": -0.07393088936805725 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1322789341211319 + "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.10729510337114334 + "score": -0.15668006241321564 } }, "else": { - "operation": "boost", - "score": -0.03081616200506687 + "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 + } + } + } } }, "else": { - "operation": "boost", - "score": -0.0010616416111588478 + "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 + } + } + } } + }, + "else": { + "operation": "boost", + "score": -0.03964156284928322 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.4444006085395813 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.866955578327179 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "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.11177907884120941 + "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.21972252428531647 + "score": -0.11600060015916824 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": -0.04689015448093414 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 62.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.06329341977834702 - }, - "else": { - "operation": "boost", - "score": 0.1181768849492073 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "feature": "FilterLength", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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": "TypeMatchesPreferred", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.13169173896312714 + "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": "boost", - "score": 0.10911272466182709 + "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": "boost", - "score": -0.12583135068416595 + "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 + } + }, + "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": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10306352376937866 + "score": 0.36540260910987854 }, "else": { - "operation": "boost", - "score": -0.27481043338775635 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.11734572798013687 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "boost", - "score": -0.02419387362897396 + "score": -0.16322004795074463 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, + "feature": "FilterLength", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.10270348936319351 + "score": -0.030166111886501312 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "boost", - "score": -0.4026230573654175 - }, - "else": { - "operation": "boost", - "score": 0.11252067983150482 - } + "operation": "boost", + "score": 0.118331179022789 } } - }, - "else": { - "operation": "boost", - "score": -0.27093926072120667 } + }, + "else": { + "operation": "boost", + "score": 0.02125735767185688 } + }, + "else": { + "operation": "boost", + "score": -0.05588669702410698 } }, "else": { "operation": "boost", - "score": -0.03810857981443405 + "score": -0.06381210684776306 } } }, "else": { "operation": "boost", - "score": -0.026866314932703972 + "score": 0.023402228951454163 } } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10948484390974045 - }, - "else": { - "operation": "boost", - "score": 0.08078291267156601 - } - }, - "else": { - "operation": "boost", - "score": 0.09323715418577194 - } - }, - "else": { - "operation": "boost", - "score": 0.03616189956665039 - } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_UnionTag" + "CCC_Namespace", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.023897619917988777 + "score": -0.0052779195830225945 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0110985292121768 - }, - "else": { - "operation": "boost", - "score": 0.11612393707036972 - } + "operation": "boost", + "score": 0.023765916004776955 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.019483370706439018 + "score": -0.13330256938934326 }, "else": { "operation": "boost", - "score": -0.011987637728452682 + "score": -0.022141749039292336 } } } @@ -334463,376 +321963,467 @@ }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "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.1706262081861496 + "score": -0.006351650692522526 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.003244078252464533 - }, - "else": { - "operation": "boost", - "score": 0.10553515702486038 - } + "operation": "boost", + "score": -0.664527177810669 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.5, - "then": { - "operation": "boost", - "score": -0.002069830894470215 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.01508859358727932 - }, - "else": { - "operation": "boost", - "score": 0.10907472670078278 - } - } + "operation": "boost", + "score": 0.10490810871124268 }, "else": { "operation": "boost", - "score": -0.03014051914215088 + "score": 0.0886923149228096 } }, "else": { + "operation": "boost", + "score": -0.028497369959950447 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.24878592789173126 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.0, + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 709.0, - "then": { - "operation": "boost", - "score": 0.08225703984498978 - }, - "else": { - "operation": "boost", - "score": -0.1403772234916687 - } + "operation": "boost", + "score": -0.06182757392525673 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { + "operation": "boost", + "score": -0.1777627021074295 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0933762639760971 + "score": -0.030997369438409805 }, "else": { - "operation": "boost", - "score": -0.0577283538877964 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.10782863944768906 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07671685516834259 + }, + "else": { + "operation": "boost", + "score": 0.05659663677215576 + } + } } }, "else": { "operation": "boost", - "score": -0.23857997357845306 + "score": -0.13926951587200165 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.08841776847839355 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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.8076781034469604 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.104399673640728 + }, + "else": { + "operation": "boost", + "score": 0.015380339697003365 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12394542992115021 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09473678469657898 + }, + "else": { + "operation": "boost", + "score": 0.14626410603523254 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09124018996953964 + } + }, + "else": { + "operation": "boost", + "score": 0.05312122032046318 + } + } }, "else": { "operation": "boost", - "score": 0.1203528419137001 + "score": -0.29045411944389343 } } - }, - "else": { - "operation": "boost", - "score": -0.09208345413208008 } } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.02316438965499401 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.009155313484370708 }, "else": { "operation": "boost", - "score": -0.14014434814453125 + "score": 0.008590622805058956 } }, "else": { + "operation": "boost", + "score": -0.03426407277584076 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.018211526796221733 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, "then": { - "operation": "boost", - "score": 0.0653216615319252 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.0566091388463974 + "score": 0.0413772389292717 }, "else": { "operation": "boost", - "score": 0.009269531816244125 + "score": 0.1292792111635208 } + }, + "else": { + "operation": "boost", + "score": -0.03894174471497536 } + }, + "else": { + "operation": "boost", + "score": -0.046792056411504745 } + }, + "else": { + "operation": "boost", + "score": -0.058537062257528305 } } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": 0.0008460190729238093 + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.048605289310216904 + }, + "else": { + "operation": "boost", + "score": 0.09740471839904785 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.061761416494846344 + }, + "else": { + "operation": "boost", + "score": -0.10700736194849014 + } + } + }, + "else": { + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", "Keyword", - "Macro", + "Destructor", + "Operator", + "Unknown", "Constructor", - "Function" + "Function", + "Type", + "Namespace" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.5, - "then": { - "operation": "boost", - "score": 0.05016151815652847 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, - "then": { - "operation": "boost", - "score": 0.11207758635282516 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.01441653911024332 - }, - "else": { - "operation": "boost", - "score": 0.13074706494808197 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.11041063815355301 - } + "operation": "boost", + "score": 0.06119586154818535 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.009585971012711525 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.06639152020215988 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1449584662914276 - }, - "else": { - "operation": "boost", - "score": 0.13933728635311127 - } - }, - "else": { - "operation": "boost", - "score": 0.10972659289836884 - } - } - } + "operation": "boost", + "score": -0.1078651025891304 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_ArrowMemberAccess", + "CCC_Namespace", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.05646103248000145 - }, - "else": { - "operation": "boost", - "score": 0.03736450523138046 - } + "operation": "boost", + "score": 0.034774258732795715 }, "else": { "operation": "boost", - "score": -0.0404619462788105 + "score": -0.13714982569217682 } } + }, + "else": { + "operation": "boost", + "score": 0.002088500652462244 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.006283272989094257 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { + }, + "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ @@ -334840,1258 +322431,1163 @@ ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05475258454680443 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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.11165881156921387 + "score": -0.012197542935609818 }, "else": { "operation": "boost", - "score": 0.11575347185134888 + "score": 0.027001507580280304 } - }, - "else": { - "operation": "boost", - "score": -0.15428148210048676 } - }, - "else": { - "operation": "boost", - "score": 0.03541751205921173 } - }, - "else": { - "operation": "boost", - "score": 0.03132067248225212 } + }, + "else": { + "operation": "boost", + "score": -0.00569854024797678 } } }, "else": { "operation": "boost", - "score": 0.001517720171250403 + "score": -0.021928058937191963 } }, "else": { - "operation": "boost", - "score": 0.0006864411989226937 + "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": { + "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.06813525408506393 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.1101333349943161 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05236033350229263 + }, + "else": { + "operation": "boost", + "score": -0.26664984226226807 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08450503647327423 + } + } } } - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "ClassScope" ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" + "Type" ], "then": { - "operation": "boost", - "score": 0.0027706788387149572 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14527.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.05887226015329361 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2312706708908081 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17707036435604095 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11856451630592346 + }, + "else": { + "operation": "boost", + "score": 0.18870697915554047 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.026460453867912292 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01636631414294243 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0903884544968605 + }, + "else": { + "operation": "boost", + "score": 0.08990965038537979 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0034589567221701145 + }, + "else": { + "operation": "boost", + "score": 0.08081656694412231 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11700703948736191 + }, + "else": { + "operation": "boost", + "score": 0.008668291382491589 + } + }, + "else": { + "operation": "boost", + "score": -0.06578332930803299 + } + }, + "else": { + "operation": "boost", + "score": 0.024470604956150055 + } + } + } + } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 264.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0611337311565876 + "score": -0.01300374697893858 }, "else": { "operation": "boost", - "score": 0.006277581211179495 + "score": 0.09007865935564041 } }, "else": { "operation": "boost", - "score": -0.012163597159087658 + "score": 0.0012707317946478724 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.0895494595170021 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "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_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.10198996961116791 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "boost", - "score": 0.03678211197257042 - }, - "else": { - "operation": "boost", - "score": 0.15291160345077515 - } - } - }, - "else": { - "operation": "boost", - "score": 0.005549098830670118 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10676492750644684 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.14436201751232147 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.002713683992624283 + }, + "else": { + "operation": "boost", + "score": 0.04457826539874077 + } }, "else": { "operation": "boost", - "score": 0.07910457998514175 + "score": -0.018215050920844078 } }, "else": { "operation": "boost", - "score": -0.41422775387763977 + "score": -0.004941958002746105 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.10970519483089447 - }, - "else": { - "operation": "boost", - "score": -0.11216703057289124 - } + "operation": "boost", + "score": -0.005953923333436251 }, "else": { "operation": "boost", - "score": 0.12955766916275024 + "score": 0.05000671371817589 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": -0.10075205564498901 - }, - "else": { - "operation": "boost", - "score": 0.15065021812915802 - } - }, - "else": { - "operation": "boost", - "score": 0.011532251723110676 - } + "operation": "boost", + "score": -0.023180076852440834 } + }, + "else": { + "operation": "boost", + "score": -0.10285238176584244 + } + }, + "else": { + "operation": "boost", + "score": -0.00823840219527483 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01839413121342659 + }, + "else": { + "operation": "boost", + "score": -0.0326240248978138 } + }, + "else": { + "operation": "boost", + "score": -0.03919480741024017 } } }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.013645109720528126 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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": 5.5, - "then": { - "operation": "boost", - "score": 0.00965662021189928 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07516738772392273 - }, - "else": { - "operation": "boost", - "score": 0.0325305350124836 - } - } + "operation": "boost", + "score": 0.008665969595313072 }, "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": 2.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.03915437310934067 + "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 + } }, "else": { "operation": "boost", - "score": 0.06833874434232712 + "score": 0.16767112910747528 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], "then": { "operation": "boost", - "score": -0.0037692601326853037 + "score": 0.07122936844825745 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.050572123378515244 - }, - "else": { - "operation": "boost", - "score": -0.04543224722146988 - } + "operation": "boost", + "score": 0.014797191135585308 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11573218554258347 }, "else": { "operation": "boost", - "score": -0.01889011822640896 + "score": -0.132486030459404 } } + }, + "else": { + "operation": "boost", + "score": -0.0033736161421984434 } }, "else": { - "operation": "boost", - "score": 0.004347538575530052 + "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": "NumReferences", - "threshold": 2.5, + } + }, + "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_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Constructor", + "Function", + "Type" + ], "then": { + "operation": "boost", + "score": 0.004363608546555042 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.027430459856987 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { + "operation": "boost", + "score": 0.10220186412334442 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 803047.0, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.11363352090120316 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 200.5, + "threshold": 4073.0, "then": { "operation": "boost", - "score": 0.02364310249686241 + "score": -0.020809466019272804 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07548556476831436 + "score": 0.10050761699676514 }, "else": { "operation": "boost", - "score": 0.2942626178264618 + "score": 0.11580731719732285 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "boost", - "score": 0.05133170634508133 - }, - "else": { - "operation": "boost", - "score": -0.18780168890953064 - } + "operation": "boost", + "score": 0.11452055722475052 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, - "then": { - "operation": "boost", - "score": 0.11808180063962936 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.1435677707195282 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04837563633918762 - }, - "else": { - "operation": "boost", - "score": 0.14573855698108673 - } - } - } + "operation": "boost", + "score": 0.027379313483834267 } } } }, "else": { "operation": "boost", - "score": -0.3705819547176361 + "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": "NumReferences", - "threshold": 434.5, + "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, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.01735188439488411 + "score": -0.019096767529845238 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.1055978536605835 - }, - "else": { - "operation": "boost", - "score": 0.1500604897737503 - } + "operation": "boost", + "score": -0.04514126107096672 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 73593.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.07270660251379013 + "score": -0.03791720047593117 }, "else": { "operation": "boost", - "score": -0.9460261464118958 + "score": 0.08670175075531006 } }, "else": { - "operation": "boost", - "score": -0.040007442235946655 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 138.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 110939.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.023509155958890915 + "score": 0.04866061359643936 }, "else": { "operation": "boost", - "score": -0.3204147517681122 + "score": 0.1010517030954361 } }, "else": { "operation": "boost", - "score": 0.010121671482920647 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.06158548966050148 - }, - "else": { - "operation": "boost", - "score": -0.26436400413513184 - } - }, - "else": { - "operation": "boost", - "score": -0.04010311886668205 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04452864080667496 - }, - "else": { - "operation": "boost", - "score": 0.10836289077997208 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.15898092091083527 - }, - "else": { - "operation": "boost", - "score": 0.10927452147006989 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": 0.10847767442464828 - }, - "else": { - "operation": "boost", - "score": 0.06121812015771866 - } - }, - "else": { - "operation": "boost", - "score": 0.08230116218328476 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.038960229605436325 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.038526732474565506 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.08030431717634201 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.10939235240221024 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.10233834385871887 - }, - "else": { - "operation": "boost", - "score": -0.4160209894180298 - } - } - }, - "else": { - "operation": "boost", - "score": -0.42122483253479004 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "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": "boost", - "score": -0.0005674374406225979 - }, - "else": { - "operation": "boost", - "score": 0.1745711714029312 - } - }, - "else": { - "operation": "boost", - "score": -0.11998748034238815 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08281262218952179 - }, - "else": { - "operation": "boost", - "score": 0.15152627229690552 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.045710545033216476 - }, - "else": { - "operation": "boost", - "score": 0.06740116328001022 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1304214894771576 - }, - "else": { - "operation": "boost", - "score": -0.23566977679729462 - } - }, - "else": { - "operation": "boost", - "score": -0.22900426387786865 - } - }, - "else": { - "operation": "boost", - "score": 0.04185852035880089 - } - } - } + "score": 0.04054633155465126 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.5, - "then": { - "operation": "boost", - "score": 0.08191123604774475 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08824300020933151 - }, - "else": { - "operation": "boost", - "score": -0.08474844694137573 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.02363007143139839 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.06470515578985214 }, "else": { "operation": "boost", - "score": 0.10292313247919083 + "score": -0.32224786281585693 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.1514783352613449 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.1119154766201973 + "score": -0.057892560958862305 }, "else": { "operation": "boost", - "score": 0.09094231575727463 + "score": -0.13403891026973724 } + }, + "else": { + "operation": "boost", + "score": -0.016590436920523643 } } } + } + } + } + } + }, + "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": "NumReferences", - "threshold": 33937.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 38351.0, + "threshold": 450197.5, "then": { "operation": "boost", - "score": -0.024526894092559814 + "score": 0.0406775139272213 }, "else": { "operation": "boost", - "score": -0.5746335387229919 + "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": 26807.0, + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29053.5, - "then": { - "operation": "boost", - "score": 0.07886775583028793 - }, - "else": { - "operation": "boost", - "score": 0.10426704585552216 - } + "operation": "boost", + "score": 0.013401973061263561 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.016596274450421333 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11680971086025238 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14993.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18208.5, - "then": { - "operation": "boost", - "score": -0.10889147222042084 - }, - "else": { - "operation": "boost", - "score": 0.07649944722652435 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 294.5, - "then": { - "operation": "boost", - "score": -0.005181389395147562 - }, - "else": { - "operation": "boost", - "score": 0.09555843472480774 - } - }, - "else": { - "operation": "boost", - "score": -0.34298425912857056 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08067262172698975 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.952219545841217 - } - }, - "else": { - "operation": "boost", - "score": 0.09295706450939178 - } - }, - "else": { - "operation": "boost", - "score": -0.6107487082481384 - } - }, - "else": { - "operation": "boost", - "score": 0.08704260736703873 - } - }, - "else": { - "operation": "boost", - "score": -0.49067434668540955 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83.0, - "then": { - "operation": "boost", - "score": 0.05563225597143173 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0841403678059578 - }, - "else": { - "operation": "boost", - "score": 0.10506715625524521 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.11057021468877792 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "FilterLength", + "threshold": 4.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.017490051686763763 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 70.5, - "then": { - "operation": "boost", - "score": 0.046485625207424164 - }, - "else": { - "operation": "boost", - "score": 0.10287486016750336 - } - } + "operation": "boost", + "score": 0.1141665130853653 }, "else": { "operation": "boost", - "score": 0.0860087126493454 + "score": -0.007541762199252844 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.35225731134414673 + "score": -0.06512752920389175 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.12475225329399109 + "score": -0.047988250851631165 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.03636220470070839 + "score": 0.022228216752409935 }, "else": { "operation": "boost", - "score": 0.10427359491586685 + "score": 0.12139711529016495 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.06381695717573166 - }, - "else": { - "operation": "boost", - "score": -0.08613598346710205 - } + "operation": "boost", + "score": -0.1144365444779396 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.22660642862319946 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.4475492537021637 - }, - "else": { - "operation": "boost", - "score": 0.09403074532747269 - } - }, - "else": { - "operation": "boost", - "score": -0.12566854059696198 - } - } + "operation": "boost", + "score": 0.11742610484361649 } } } } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.004074375610798597 + }, + "else": { + "operation": "boost", + "score": 0.1106770858168602 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03890620917081833 + }, + "else": { + "operation": "boost", + "score": 0.13750946521759033 + } + }, + "else": { + "operation": "boost", + "score": -0.009944042190909386 } } } @@ -336100,1513 +323596,1740 @@ } }, "else": { - "operation": "boost", - "score": 0.000682963989675045 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.007689312566071749 + } } - }, - "else": { - "operation": "boost", - "score": -0.005602180026471615 } + }, + "else": { + "operation": "boost", + "score": -0.0020793613512068987 } } - }, - "else": { - "operation": "boost", - "score": -0.0009196226601488888 } }, { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0006120388861745596 + "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.13695786893367767 + }, + "else": { + "operation": "boost", + "score": -0.035682130604982376 + } + }, + "else": { + "operation": "boost", + "score": 0.0378655344247818 + } + }, + "else": { + "operation": "boost", + "score": -0.030720701441168785 + } + }, + "else": { + "operation": "boost", + "score": -0.012028241530060768 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.012199733406305313 + "score": -0.01225768867880106 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.006659344304352999 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.04335039108991623 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0056988331489264965 + "score": -0.11187401413917542 }, "else": { "operation": "boost", - "score": -0.21041809022426605 + "score": 0.11725085228681564 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { + "operation": "boost", + "score": 0.01731724664568901 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 71.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0820024237036705 + }, + "else": { + "operation": "boost", + "score": -0.21239346265792847 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 211.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.24384832382202148 - }, - "else": { - "operation": "boost", - "score": 0.08792392164468765 - } + "operation": "boost", + "score": 0.09650301933288574 }, "else": { "operation": "boost", - "score": -0.13421300053596497 + "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 110.0, + "threshold": 21.5, "then": { + "operation": "boost", + "score": -0.1964438557624817 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.010002391412854195 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.08501528203487396 + "score": 0.13507574796676636 }, "else": { "operation": "boost", - "score": -0.06488781422376633 + "score": 0.052987802773714066 } - }, - "else": { - "operation": "boost", - "score": 0.1308286488056183 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10617902129888535 }, "else": { "operation": "boost", - "score": 0.060849130153656006 + "score": 0.11773620545864105 } } }, "else": { "operation": "boost", - "score": 0.11181119084358215 + "score": 0.02167471870779991 } - }, - "else": { - "operation": "boost", - "score": -0.16890035569667816 } - }, - "else": { - "operation": "boost", - "score": 0.11890082061290741 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.7585103511810303 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.08110447973012924 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12232045829296112 + }, + "else": { + "operation": "boost", + "score": -0.10977281630039215 + } + }, + "else": { + "operation": "boost", + "score": 0.03952523693442345 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 41.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.3528907001018524 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.054148733615875244 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.24991680681705475 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.17153333127498627 + }, + "else": { + "operation": "boost", + "score": 0.12123316526412964 + } + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19.5, + "threshold": 90.0, "then": { + "operation": "boost", + "score": -0.21556618809700012 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10316689312458038 + "score": 0.09808763116598129 }, "else": { "operation": "boost", - "score": -0.024975402280688286 + "score": 0.11962874233722687 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 57.0, "then": { "operation": "boost", - "score": 0.16401256620883942 + "score": 0.061721328645944595 }, "else": { "operation": "boost", - "score": 0.0553717315196991 + "score": 0.1181570291519165 } }, "else": { "operation": "boost", - "score": 0.12679848074913025 + "score": 0.08144323527812958 } }, "else": { - "operation": "boost", - "score": 0.11373696476221085 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005489036440849304 + }, + "else": { + "operation": "boost", + "score": 0.09522270411252975 + } } } - }, - "else": { - "operation": "boost", - "score": -0.23923157155513763 } } } + }, + "else": { + "operation": "boost", + "score": 0.017468545585870743 } - }, - "else": { - "operation": "boost", - "score": 0.027828602120280266 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.006436867173761129 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_SymbolOrNewName" + "ClassScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.009857220575213432 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08637887984514236 + "score": -0.008888883516192436 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { - "operation": "boost", - "score": 0.12120321393013 - }, - "else": { - "operation": "boost", - "score": 0.14280810952186584 - } + "operation": "boost", + "score": 0.06179629638791084 } }, "else": { - "operation": "boost", - "score": -0.05526730790734291 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6028.0, - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1539311408996582 + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.13091479241847992 + }, + "else": { + "operation": "boost", + "score": 0.09395778179168701 + } + }, + "else": { + "operation": "boost", + "score": -0.0004760785959661007 + } + }, + "else": { + "operation": "boost", + "score": 0.06105751916766167 + } }, "else": { "operation": "boost", - "score": 0.006178655195981264 + "score": 0.04266345873475075 } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + } + }, + "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_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.06109952926635742 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.0015620560152456164 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 651.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.14888598024845123 - }, - "else": { - "operation": "boost", - "score": 0.15125006437301636 - } - }, - "else": { - "operation": "boost", - "score": -0.051783543080091476 - } - }, - "else": { - "operation": "boost", - "score": 0.11324121803045273 - } + "operation": "boost", + "score": 0.11112193763256073 }, "else": { "operation": "boost", - "score": -0.1365429311990738 + "score": -0.015774767845869064 } }, "else": { - "operation": "boost", - "score": 0.1169673353433609 + "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.07602562755346298 + }, + "else": { + "operation": "boost", + "score": -0.10490292310714722 + } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018476072698831558 }, "else": { "operation": "boost", - "score": 0.03628240153193474 + "score": -0.132082000374794 } }, "else": { - "operation": "boost", - "score": 0.035406116396188736 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.008224718272686005 + "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": "NumReferences", - "threshold": 27.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.1331147402524948 + "score": -0.11550460755825043 }, "else": { "operation": "boost", - "score": 0.11403105407953262 + "score": 0.2083941400051117 } }, "else": { "operation": "boost", - "score": -0.10284195840358734 + "score": 0.025972405448555946 } } }, "else": { "operation": "boost", - "score": -0.26433587074279785 + "score": 0.02248941920697689 } - }, - "else": { - "operation": "boost", - "score": -0.10793466866016388 } } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10585463792085648 + }, + "else": { + "operation": "boost", + "score": 0.019953157752752304 + } } - }, - "else": { + } + }, + "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": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.13905438780784607 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], "then": { "operation": "boost", - "score": -0.00028324394952505827 + "score": -0.04823673143982887 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, + "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, + "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_DotMemberAccess", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.13471533358097076 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.14741645753383636 - }, - "else": { - "operation": "boost", - "score": 0.11397668719291687 - } + "operation": "boost", + "score": 0.010588880628347397 }, "else": { "operation": "boost", - "score": -0.13855808973312378 + "score": 0.035286154597997665 } + }, + "else": { + "operation": "boost", + "score": -0.18745195865631104 } + }, + "else": { + "operation": "boost", + "score": 0.07519499957561493 } + }, + "else": { + "operation": "boost", + "score": -0.1547868847846985 } } + }, + "else": { + "operation": "boost", + "score": 0.0002526360040064901 } }, "else": { - "operation": "boost", - "score": -0.015326444990932941 + "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": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.031014055013656616 + }, + "else": { + "operation": "boost", + "score": 0.0596969798207283 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.06298814713954926 + }, + "else": { + "operation": "boost", + "score": 0.01697051152586937 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.1012917011976242 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06176937744021416 + }, + "else": { + "operation": "boost", + "score": -0.03964724764227867 + } + } + } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0015726317651569843 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.017764363437891006 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "FunctionScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 219281.5, "then": { - "operation": "boost", - "score": 0.11507229506969452 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.10187766700983047 + "score": 0.10821014642715454 }, "else": { "operation": "boost", - "score": -0.22639679908752441 + "score": 0.006888491101562977 } + }, + "else": { + "operation": "boost", + "score": 0.0028699992690235376 } }, "else": { "operation": "boost", - "score": 0.05684380233287811 + "score": -0.018803734332323074 } }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Statement" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.08983249962329865 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1060793399810791 - }, - "else": { - "operation": "boost", - "score": 0.0522497296333313 - } - }, - "else": { - "operation": "boost", - "score": -0.1750233769416809 - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.42577752470970154 - }, - "else": { - "operation": "boost", - "score": 0.10356904566287994 - } - }, - "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.116916224360466 - }, - "else": { - "operation": "boost", - "score": 0.09965016692876816 - } - } - }, - "else": { - "operation": "boost", - "score": 0.054776180535554886 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.09016536176204681 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.016918670386075974 - }, - "else": { - "operation": "boost", - "score": 0.10914583504199982 - } - }, - "else": { - "operation": "boost", - "score": -0.3770616352558136 - } - }, - "else": { - "operation": "boost", - "score": -0.04068783298134804 - } + "score": 0.029941817745566368 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.061287377029657364 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.008273961022496223 - }, - "else": { - "operation": "boost", - "score": 0.10930022597312927 - } - } + "operation": "boost", + "score": -0.03472084552049637 }, "else": { "operation": "boost", - "score": -0.05961785092949867 + "score": 0.01575714536011219 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.016853731125593185 - }, - "else": { - "operation": "boost", - "score": -0.10357920825481415 - } + "operation": "boost", + "score": -0.015231345780193806 } }, "else": { "operation": "boost", - "score": -0.08139333873987198 + "score": 0.027388274669647217 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.2981027662754059 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.1288241446018219 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.5324286222457886 - }, - "else": { - "operation": "boost", - "score": 0.11730599403381348 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0039519029669463634 - } + "operation": "boost", + "score": -0.019789207726716995 } + }, + "else": { + "operation": "boost", + "score": -0.10508742928504944 } + }, + "else": { + "operation": "boost", + "score": -0.006524031516164541 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "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_SymbolOrNewName" - ], - "then": { - "operation": "boost", - "score": 0.0479143001139164 - }, - "else": { - "operation": "boost", - "score": 0.03518708050251007 - } + "operation": "boost", + "score": -0.014706515707075596 }, "else": { "operation": "boost", - "score": -0.0067888242192566395 + "score": -0.031762801110744476 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "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, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.14794032275676727 - }, - "else": { - "operation": "boost", - "score": -0.11513392627239227 - } + "operation": "boost", + "score": 0.031635582447052 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.33739471435546875 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10672415047883987 - }, - "else": { - "operation": "boost", - "score": 0.14278410375118256 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.11170979589223862 - }, - "else": { - "operation": "boost", - "score": 0.09174951165914536 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09662044793367386 - }, - "else": { - "operation": "boost", - "score": -0.014754497446119785 - } - } + "operation": "boost", + "score": -0.11734914034605026 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 16.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.12714339792728424 - }, - "else": { - "operation": "boost", - "score": 0.12155710905790329 - } + "operation": "boost", + "score": 0.08056730031967163 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08055878430604935 - }, - "else": { - "operation": "boost", - "score": 0.0062709832563996315 - } + "operation": "boost", + "score": 0.09316180646419525 } }, "else": { - "operation": "boost", - "score": -0.017932912334799767 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.060152776539325714 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.07455327361822128 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.0369507297873497 - }, - "else": { - "operation": "boost", - "score": 0.12452057003974915 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06574058532714844 - }, - "else": { - "operation": "boost", - "score": 0.11771679669618607 - } + "score": -0.007131829857826233 }, "else": { "operation": "boost", - "score": 0.02634371444582939 + "score": 0.10781136155128479 } }, "else": { "operation": "boost", - "score": 0.03737977147102356 + "score": -0.19390304386615753 } } + }, + "else": { + "operation": "boost", + "score": -0.0011864195112138987 } } + }, + "else": { + "operation": "boost", + "score": -0.015014315024018288 } + }, + "else": { + "operation": "boost", + "score": -0.006146968342363834 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.005279789213091135 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.0977730080485344 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_ClassStructUnion", + "CCC_TopLevel" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "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": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.11519830673933029 + "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.1340135782957077 + }, + "else": { + "operation": "boost", + "score": -0.04606667906045914 + } }, "else": { "operation": "boost", - "score": -0.020592164248228073 + "score": 0.0005967382458038628 } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": 0.09742608666419983 + "score": 0.10083575546741486 }, "else": { "operation": "boost", - "score": 0.13017421960830688 + "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 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.3924272358417511 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05029893293976784 }, "else": { "operation": "boost", - "score": 0.06182669475674629 + "score": 0.10127002000808716 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03680209815502167 }, "else": { + "operation": "boost", + "score": -0.6474971771240234 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.014732463285326958 + "score": -0.003434708109125495 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.10671379417181015 - }, - "else": { - "operation": "boost", - "score": 0.03303886204957962 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.03396008536219597 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05591317638754845 - }, - "else": { - "operation": "boost", - "score": 0.11023063957691193 - } - } - } + "operation": "boost", + "score": 0.09700210392475128 }, "else": { "operation": "boost", - "score": -0.049437642097473145 + "score": 0.021105028688907623 } } + }, + "else": { + "operation": "boost", + "score": -0.5144620537757874 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.06490453332662582 + }, + "else": { + "operation": "boost", + "score": -0.0345194935798645 } } - }, - "else": { - "operation": "boost", - "score": 0.020320894196629524 } - }, - "else": { - "operation": "boost", - "score": 0.004766999743878841 } } + }, + "else": { + "operation": "boost", + "score": -0.00022941002680454403 } } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18885.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, + "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, + "then": { + "operation": "boost", + "score": -0.17741985619068146 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0652896910905838 + }, + "else": { + "operation": "boost", + "score": 0.002657294739037752 + } + } + } + }, + "else": { "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.07662549614906311 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1339312642812729 + }, + "else": { + "operation": "boost", + "score": -0.2125571370124817 + } + }, + "else": { + "operation": "boost", + "score": -0.13441121578216553 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.09224024415016174 + }, + "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": 19617.5, + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Symbol" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 30221.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33380.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33949.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34450.5, + "threshold": 54.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.18141546845436096 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 20039.5, "then": { "operation": "boost", - "score": 0.008869582787156105 + "score": 0.0037375465035438538 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7959.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 35884.0, + "threshold": 8751.0, "then": { + "operation": "boost", + "score": 0.07503686845302582 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "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": 90689.5, + "threshold": 3463.5, "then": { "operation": "boost", - "score": 0.013008317910134792 + "score": -0.0071105039678514 }, "else": { + "operation": "boost", + "score": 0.1035982146859169 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55310.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.059651199728250504 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 61001.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73296.0, - "then": { - "operation": "boost", - "score": 0.10734480619430542 - }, - "else": { - "operation": "boost", - "score": -0.10289846360683441 - } - }, - "else": { - "operation": "boost", - "score": 0.10056652873754501 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75566.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.009980903007090092 - }, - "else": { - "operation": "boost", - "score": 0.06250720471143723 - } - }, - "else": { - "operation": "boost", - "score": 0.00479131517931819 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10781612247228622 - }, - "else": { - "operation": "boost", - "score": -0.06221182644367218 - } - }, - "else": { - "operation": "boost", - "score": 0.09648734331130981 - } - } - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.07035300135612488 + "score": 0.01753547601401806 }, "else": { "operation": "boost", - "score": -0.003045102348551154 + "score": -0.49374544620513916 } + }, + "else": { + "operation": "boost", + "score": 0.08262507617473602 } + }, + "else": { + "operation": "boost", + "score": -0.25596871972084045 } - }, - "else": { - "operation": "boost", - "score": -0.12658236920833588 } }, "else": { "operation": "boost", - "score": 0.10678320378065109 + "score": 0.04001140967011452 } - }, - "else": { - "operation": "boost", - "score": 0.008892357349395752 } } + }, + "else": { + "operation": "boost", + "score": -0.026994751766324043 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.061895471066236496 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": 0.08799639344215393 + }, + "else": { + "operation": "boost", + "score": -0.06988973915576935 + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.0, + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.1753956526517868 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.0, + "then": { + "operation": "boost", + "score": 0.22015999257564545 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.006285248789936304 + }, + "else": { + "operation": "boost", + "score": 0.10415960103273392 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11034499108791351 + } }, "else": { "operation": "boost", - "score": 0.1920892298221588 + "score": 0.021126385778188705 } } } @@ -337614,2173 +325337,2091 @@ "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, - "then": { - "operation": "boost", - "score": 0.08628545701503754 - }, - "else": { - "operation": "boost", - "score": 0.10413052141666412 - } + "operation": "boost", + "score": 0.08493878692388535 }, "else": { "operation": "boost", - "score": -0.060328058898448944 + "score": -0.13108596205711365 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3392.0, "then": { "operation": "boost", - "score": 0.17622515559196472 + "score": 0.05463699996471405 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.37437528371810913 + "score": 0.06550636142492294 }, "else": { "operation": "boost", - "score": 0.16474579274654388 + "score": 0.1001463532447815 } } }, - "else": { - "operation": "boost", - "score": 0.07218839973211288 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18138141930103302 - }, - "else": { - "operation": "boost", - "score": -0.024255242198705673 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29812.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.11499879509210587 - }, - "else": { - "operation": "boost", - "score": 0.058609262108802795 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27089.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28180.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.038188427686691284 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 296.5, "then": { + "operation": "boost", + "score": 0.06187942251563072 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 28306.0, + "threshold": 203.0, "then": { + "operation": "boost", + "score": -0.6707778573036194 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 125.5, "then": { - "operation": "boost", - "score": -0.04625393822789192 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 170.0, "then": { "operation": "boost", - "score": 0.3100278675556183 + "score": -0.056537169963121414 }, "else": { "operation": "boost", - "score": 0.11159422993659973 + "score": 0.12001729756593704 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 113.0, "then": { "operation": "boost", - "score": 0.11171470582485199 + "score": -0.727903425693512 }, "else": { "operation": "boost", - "score": 0.09202571958303452 + "score": -0.030436426401138306 } - }, - "else": { - "operation": "boost", - "score": 0.1075439378619194 } } + } + } + } + } + }, + "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": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 776.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29460.5, - "then": { - "operation": "boost", - "score": 0.046905867755413055 - }, - "else": { - "operation": "boost", - "score": 0.14511138200759888 - } + "operation": "boost", + "score": 0.11478810757398605 }, "else": { "operation": "boost", - "score": -0.020910823717713356 + "score": 0.028067993000149727 } } + }, + "else": { + "operation": "boost", + "score": -0.015178145840764046 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11702787131071091 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.016843639314174652 - }, - "else": { - "operation": "boost", - "score": 0.09800936281681061 - } - } + "operation": "boost", + "score": 0.09660597890615463 }, "else": { "operation": "boost", - "score": -0.10197893530130386 + "score": -0.6656498312950134 } }, "else": { + "operation": "boost", + "score": 0.08616834133863449 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1563.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1881.0, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14879511296749115 + "score": 0.0852402076125145 }, "else": { "operation": "boost", - "score": 0.014339733868837357 + "score": -0.19030368328094482 } + }, + "else": { + "operation": "boost", + "score": 0.10394328832626343 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.17654705047607422 + }, + "else": { + "operation": "boost", + "score": 0.0320681668817997 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10711188614368439 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08133924007415771 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "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", + "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": "NumReferences", + "threshold": 73.0, "then": { + "operation": "boost", + "score": 0.009179751388728619 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25461.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.03949502855539322 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23639.5, + "threshold": 51.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 10.0, "then": { "operation": "boost", - "score": 0.12690314650535583 + "score": 0.10760516673326492 }, "else": { "operation": "boost", - "score": 0.13843725621700287 + "score": 0.11237253993749619 } }, "else": { "operation": "boost", - "score": 0.01373387686908245 + "score": -0.385940283536911 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2457391619682312 }, "else": { "operation": "boost", - "score": 0.007261452730745077 + "score": 0.02584495209157467 } } }, + "else": { + "operation": "boost", + "score": -0.0913144201040268 + } + }, + "else": { + "operation": "boost", + "score": 0.1094621866941452 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": -0.13202494382858276 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.1052454486489296 + }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "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": "NumReferences", - "threshold": 25208.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "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.2135387808084488 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.10066932439804077 + "score": -0.8107118010520935 }, "else": { "operation": "boost", - "score": 0.1286192238330841 + "score": 0.12117592245340347 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20618.5, - "then": { - "operation": "boost", - "score": 0.010646147653460503 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20253.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.08055809140205383 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.1390630006790161 + "score": 0.10073527693748474 }, "else": { "operation": "boost", - "score": 0.12959466874599457 + "score": -0.032635465264320374 } - } - }, - "else": { - "operation": "boost", - "score": -0.12921826541423798 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.026511836796998978 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24164.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25208.5, - "then": { - "operation": "boost", - "score": -0.18358293175697327 }, "else": { "operation": "boost", - "score": 0.09973397105932236 + "score": -0.06461624801158905 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23373.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.3564201295375824 + "score": -0.3508301377296448 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21311.0, - "then": { - "operation": "boost", - "score": 0.10494363307952881 - }, - "else": { - "operation": "boost", - "score": -0.11324601620435715 - } - }, - "else": { - "operation": "boost", - "score": -0.00959171075373888 - } + "operation": "boost", + "score": 0.027520939707756042 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25208.5, - "then": { - "operation": "boost", - "score": 0.059585895389318466 - }, - "else": { - "operation": "boost", - "score": -0.5697923898696899 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20565.5, - "then": { - "operation": "boost", - "score": -0.03016790933907032 - }, - "else": { - "operation": "boost", - "score": 0.12307015061378479 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21900.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24698.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 5.400515510700643e-05 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 24164.5, + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.12395423650741577 + "score": 0.11072304099798203 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.11064452677965164 - }, - "else": { - "operation": "boost", - "score": 0.1181657463312149 - } + "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": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23366.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.0847705602645874 - }, - "else": { - "operation": "boost", - "score": 0.009686692617833614 - } - }, - "else": { - "operation": "boost", - "score": 0.11865720897912979 - } + "operation": "boost", + "score": 0.0760679543018341 }, "else": { "operation": "boost", - "score": 0.026913754642009735 + "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": "boost", - "score": -0.02340761013329029 + "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": "NumReferences", - "threshold": 20039.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.00330327614210546 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.16267859935760498 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -2.864040834538173e-05 + }, + "else": { + "operation": "boost", + "score": 0.09119075536727905 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.1742006242275238 + "score": -0.44802945852279663 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 87637.0, + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.05869950354099274 + }, + "else": { + "operation": "boost", + "score": -0.042023930698633194 + } + } + } + }, + "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, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90101.0, + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05897641181945801 + }, + "else": { + "operation": "boost", + "score": 0.09392169117927551 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "boost", - "score": -0.12386279553174973 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.01985052600502968 - }, - "else": { - "operation": "boost", - "score": 0.10065535455942154 - } - }, - "else": { - "operation": "boost", - "score": -0.17285099625587463 - } - } + "operation": "boost", + "score": 0.10608716309070587 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 234850.0, - "then": { - "operation": "boost", - "score": -0.09203777462244034 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219439.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.015144948847591877 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "boost", - "score": 0.09239771217107773 - }, - "else": { - "operation": "boost", - "score": 0.12007609009742737 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148760.5, - "then": { - "operation": "boost", - "score": -0.24978408217430115 - }, - "else": { - "operation": "boost", - "score": 0.05027438700199127 - } - }, - "else": { - "operation": "boost", - "score": -0.15135592222213745 - } - } - } + "operation": "boost", + "score": 0.10728456825017929 } }, "else": { + "operation": "boost", + "score": -0.2751978933811188 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, + "feature": "NumReferences", + "threshold": 27.5, "then": { "operation": "boost", - "score": 0.11114523559808731 + "score": -0.5302497148513794 }, "else": { "operation": "boost", - "score": 0.0665314719080925 + "score": 0.081718310713768 } + }, + "else": { + "operation": "boost", + "score": -0.46977493166923523 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { + "operation": "boost", + "score": 0.10060533136129379 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25814.0, + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 39761.5, + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46973.5, - "then": { - "operation": "boost", - "score": -0.15306030213832855 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.09047617763280869 - }, - "else": { - "operation": "boost", - "score": -0.04562703147530556 - } - } + "operation": "boost", + "score": -0.31519246101379395 }, "else": { "operation": "boost", - "score": -0.2890723645687103 + "score": 0.1003301590681076 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24785.0, + "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.10853607207536697 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1053013950586319 + }, + "else": { + "operation": "boost", + "score": -0.013304569758474827 + } }, "else": { - "operation": "boost", - "score": -0.28882813453674316 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09406092017889023 + }, + "else": { + "operation": "boost", + "score": -0.6827035546302795 + } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 82787.0, - "then": { - "operation": "boost", - "score": -0.4395512342453003 - }, - "else": { - "operation": "boost", - "score": -0.05171714723110199 - } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19990.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_ClassStructUnion" ], "then": { "operation": "boost", - "score": 0.09147634357213974 - }, - "else": { - "operation": "boost", - "score": 0.09448505192995071 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.23861870169639587 + "score": 0.12128893285989761 }, "else": { - "operation": "boost", - "score": -0.07031966745853424 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08576695621013641 + }, + "else": { + "operation": "boost", + "score": 0.08932241052389145 + } } } - }, - "else": { - "operation": "boost", - "score": 0.05886754021048546 } } } }, "else": { "operation": "boost", - "score": 0.004550247918814421 + "score": 0.0037405905313789845 } }, "else": { - "operation": "boost", - "score": -0.15662312507629395 - } - }, - "else": { - "operation": "boost", - "score": -0.0032849684357643127 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.07264520972967148 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029770171269774437 + }, + "else": { + "operation": "boost", + "score": 0.008978168480098248 + } + }, + "else": { + "operation": "boost", + "score": 0.010542323812842369 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.03547479584813118 + }, + "else": { + "operation": "boost", + "score": 0.10466492176055908 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.06724726408720016 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.07451562583446503 + }, + "else": { + "operation": "boost", + "score": -0.0011900727404281497 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03513381630182266 + } + } }, "else": { "operation": "boost", - "score": -0.16622650623321533 + "score": 0.0014817174524068832 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "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": "HadContextType", - "threshold": 0.5, + "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": "FileProximityDistance", - "threshold": 12.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": 0.06810694932937622 + "score": 0.040828753262758255 }, "else": { "operation": "boost", - "score": 0.09557449072599411 + "score": -0.14756964147090912 } }, "else": { "operation": "boost", - "score": -0.10023143142461777 + "score": 0.04795445129275322 } - }, - "else": { - "operation": "boost", - "score": 0.10947594791650772 } - }, - "else": { - "operation": "boost", - "score": -0.09506034106016159 } - } - }, - "else": { - "operation": "boost", - "score": 0.06413300335407257 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.13021166622638702 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11284761130809784 - }, - "else": { - "operation": "boost", - "score": -0.1008155345916748 - } + "operation": "boost", + "score": -0.0185096375644207 } - }, - "else": { - "operation": "boost", - "score": -0.1001179963350296 } } }, "else": { "operation": "boost", - "score": 0.04581988975405693 + "score": -0.0005404078401625156 } + }, + "else": { + "operation": "boost", + "score": -0.06330560892820358 } - }, - "else": { - "operation": "boost", - "score": -0.0001954099425347522 } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Variable", - "Type" + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "boost", - "score": -0.09845439344644547 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.015424443408846855 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.11258015781641006 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.055179279297590256 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 398484.5, "then": { - "operation": "boost", - "score": 0.05069490522146225 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.03371460363268852 + "score": 0.09153558313846588 }, "else": { "operation": "boost", - "score": 0.07519405335187912 + "score": 0.0944083109498024 } + }, + "else": { + "operation": "boost", + "score": -0.031952500343322754 } + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 306389.0, "then": { "operation": "boost", - "score": 0.07188563793897629 + "score": -0.20620740950107574 }, "else": { "operation": "boost", - "score": 0.09820088744163513 + "score": 0.07803408801555634 } } } } + }, + "else": { + "operation": "boost", + "score": 0.01459662988781929 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.0010279575362801552 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.24054042994976044 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.021533701568841934 + "score": 0.014157391153275967 }, "else": { - "operation": "boost", - "score": 0.008845196105539799 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.09649620205163956 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.07245223969221115 + }, + "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.12092971801757812 + }, + "else": { + "operation": "boost", + "score": -0.12645216286182404 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07923030108213425 + } + }, + "else": { + "operation": "boost", + "score": -0.02441822551190853 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05698477104306221 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09294446557760239 + }, + "else": { + "operation": "boost", + "score": 0.047695357352495193 + } + } + } } + }, + "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "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.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05726322904229164 + "score": 0.004976572003215551 }, "else": { - "operation": "boost", - "score": 0.02117631398141384 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.048765674233436584 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13975076377391815 + }, + "else": { + "operation": "boost", + "score": 0.07473945617675781 + } + } } }, + "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": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.0010556982597336173 + "score": -0.07199607044458389 }, "else": { "operation": "boost", - "score": -0.039977844804525375 + "score": 0.006414922885596752 } } - }, - "else": { - "operation": "boost", - "score": 0.011033469811081886 } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 42.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 153.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 194.5, "then": { "operation": "boost", - "score": 0.017545407637953758 + "score": 0.03232298791408539 }, "else": { - "operation": "boost", - "score": 0.08495671302080154 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10739361494779587 + }, + "else": { + "operation": "boost", + "score": 0.070391446352005 + } } }, "else": { "operation": "boost", - "score": -0.05366760119795799 + "score": -0.026009034365415573 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.026160981506109238 + "score": -0.04109989106655121 }, "else": { "operation": "boost", - "score": -0.02054721675813198 + "score": 0.13628047704696655 } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02987271547317505 - }, - "else": { - "operation": "boost", - "score": -0.029903875663876534 - } + "operation": "boost", + "score": -0.025769967585802078 } } } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12198799103498459 + }, + "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.020055903121829033 + "score": 0.00572931906208396 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], "then": { + "operation": "boost", + "score": -0.0013412612024694681 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007505600806325674 + }, + "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": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.011755518615245819 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.005765358451753855 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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.11802978813648224 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09361445158720016 + }, + "else": { + "operation": "boost", + "score": 0.11670615524053574 + } }, "else": { "operation": "boost", - "score": 0.069560706615448 + "score": -0.7843937277793884 } }, "else": { + "operation": "boost", + "score": -0.07115644961595535 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.004993305541574955 + "score": 0.10030461847782135 }, "else": { + "operation": "boost", + "score": 0.11213864386081696 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 10.0, "then": { "operation": "boost", - "score": 0.0009787656599655747 + "score": -0.11699500679969788 }, "else": { - "operation": "boost", - "score": 0.06343639642000198 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.085477314889431 + }, + "else": { + "operation": "boost", + "score": 0.0 + } + }, + "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": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.28470379114151 - }, - "else": { - "operation": "boost", - "score": 0.028433144092559814 - } + "operation": "boost", + "score": -0.0969068855047226 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.11006321758031845 + "score": 0.029669957235455513 }, "else": { - "operation": "boost", - "score": -0.028118696063756943 + "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.013263133354485035 } + }, + "else": { + "operation": "boost", + "score": -0.07729616016149521 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.015322654508054256 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.05992531031370163 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.09176503866910934 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03085869364440441 + "score": -0.13316014409065247 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", "CCC_Type" ], - "then": { - "operation": "boost", - "score": 0.12673206627368927 - }, - "else": { - "operation": "boost", - "score": 0.040290042757987976 - } - } - }, - "else": { - "operation": "boost", - "score": 0.012011622078716755 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "ClassScope" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Type" + "Type" ], "then": { + "operation": "boost", + "score": 0.07387275248765945 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03339536860585213 + "score": -0.014749920926988125 }, "else": { - "operation": "boost", - "score": 0.09281443804502487 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.019356975331902504 + }, + "else": { + "operation": "boost", + "score": 0.045501500368118286 + } } - }, - "else": { - "operation": "boost", - "score": 0.031705956906080246 } }, - "else": { - "operation": "boost", - "score": -0.36157935857772827 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.7420292496681213 - }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": 0.08016549795866013 + "score": -0.0846891850233078 }, "else": { "operation": "boost", - "score": 0.08235908299684525 + "score": 0.019321003928780556 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.06371844559907913 - }, - "else": { - "operation": "boost", - "score": 0.012530164793133736 - } - }, - "else": { - "operation": "boost", - "score": -0.08072038739919662 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.16423748433589935 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel", - "CCC_Type" + "Type" ], "then": { - "operation": "boost", - "score": 0.08225736767053604 - }, - "else": { - "operation": "boost", - "score": 0.03146810457110405 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10958880186080933 - }, - "else": { - "operation": "boost", - "score": 0.06069064512848854 - } - }, - "else": { - "operation": "boost", - "score": 0.07014808803796768 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -5.0641935089856815e-09 - }, - "else": { - "operation": "boost", - "score": 0.0930577740073204 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.11379364132881165 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06089634820818901 + }, + "else": { + "operation": "boost", + "score": 0.13500060141086578 + } + }, + "else": { + "operation": "boost", + "score": 0.05302591994404793 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0473414808511734 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.05836432799696922 } }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16766051948070526 - }, - "else": { - "operation": "boost", - "score": 0.05185653641819954 - } + "operation": "boost", + "score": -0.0004833569109905511 } }, "else": { "operation": "boost", - "score": 0.0061941989697515965 + "score": -0.0025120878126472235 } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10933704674243927 - }, - "else": { - "operation": "boost", - "score": -0.10323134064674377 - } - }, - "else": { - "operation": "boost", - "score": 0.0026601264253258705 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.029046665877103806 + "score": 0.09143585711717606 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.020920952782034874 + "score": -0.03665890172123909 }, "else": { "operation": "boost", - "score": 0.05592171475291252 + "score": -0.17614521086215973 } }, "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10678332298994064 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.010754595510661602 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.05705311521887779 - }, - "else": { - "operation": "boost", - "score": -0.014163034036755562 - } - } - } + "operation": "boost", + "score": -0.02310977689921856 } } - }, - "else": { - "operation": "boost", - "score": -0.005820991471409798 } }, "else": { "operation": "boost", - "score": 0.003441759617999196 + "score": -0.004468098282814026 } - } - }, - "else": { - "operation": "boost", - "score": -0.009983512572944164 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011147516779601574 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 902.0, "then": { "operation": "boost", - "score": -0.14077182114124298 + "score": 0.08891133219003677 }, "else": { - "operation": "boost", - "score": -0.026988141238689423 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.022846361622214317 - }, - "else": { - "operation": "boost", - "score": -0.027280675247311592 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011710532009601593 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.001316230627708137 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0379454605281353 - }, - "else": { - "operation": "boost", - "score": -0.10141300410032272 - } - } - }, - "else": { - "operation": "boost", - "score": 0.01629806123673916 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "feature": "NumReferences", + "threshold": 66.5, "then": { - "operation": "boost", - "score": 0.0008700357866473496 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 79.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 103.0, "then": { "operation": "boost", - "score": -0.00013451618724502623 + "score": -0.21819841861724854 }, "else": { - "operation": "boost", - "score": 0.017421960830688477 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.0, + "then": { + "operation": "boost", + "score": 0.10110213607549667 + }, + "else": { + "operation": "boost", + "score": -0.056421633809804916 + } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.0027128010988235474 - }, - "else": { - "operation": "boost", - "score": -0.01965453289449215 - } + "operation": "boost", + "score": 0.11468454450368881 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { "operation": "boost", - "score": -0.04270554333925247 + "score": -0.12274354696273804 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.12897127866744995 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.004923009779304266 + "score": -0.3982486128807068 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.10101278871297836 + "score": 0.02816588617861271 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, "then": { "operation": "boost", - "score": 0.2032768577337265 + "score": 0.10913901031017303 }, "else": { "operation": "boost", - "score": 0.13157212734222412 + "score": -0.01080633420497179 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.00185915338806808 + "score": -0.7335802912712097 }, "else": { - "operation": "boost", - "score": 0.01658467948436737 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10915285348892212 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.031484268605709076 + }, + "else": { + "operation": "boost", + "score": -0.0553278774023056 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09530458599328995 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10922630876302719 + }, + "else": { + "operation": "boost", + "score": 0.055859945714473724 + } + } + } + } } } } - }, - "else": { - "operation": "boost", - "score": 0.01119784265756607 } } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.14232070744037628 - }, - "else": { - "operation": "boost", - "score": -0.09543917328119278 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.012860511429607868 - }, - "else": { - "operation": "boost", - "score": -0.08206839114427567 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.0011428712168708444 - }, - "else": { - "operation": "boost", - "score": 0.20752166211605072 - } - }, - "else": { - "operation": "boost", - "score": 0.00776526378467679 - } - }, - "else": { - "operation": "boost", - "score": 0.04831645265221596 - } + "score": 0.021853163838386536 }, "else": { "operation": "boost", - "score": 0.028715599328279495 + "score": -0.13090580701828003 } } } @@ -339795,498 +327436,259 @@ "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type", - "Function" + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression" ], "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.003759422106668353 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "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, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.005554351024329662 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.01970624551177025 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03378550708293915 - }, - "else": { - "operation": "boost", - "score": -0.04617925360798836 - } - } + "operation": "boost", + "score": -0.13303391635417938 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.12395403534173965 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10432468354701996 - }, - "else": { - "operation": "boost", - "score": 0.04609791189432144 - } - } - }, - "else": { - "operation": "boost", - "score": 0.051109760999679565 - } + "operation": "boost", + "score": 0.0951056107878685 }, "else": { "operation": "boost", - "score": -0.022292044013738632 + "score": -0.10610458999872208 } } + } + }, + "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_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0657811239361763 + }, + "else": { + "operation": "boost", + "score": -0.12867006659507751 + } }, "else": { "operation": "boost", - "score": -0.1172405555844307 + "score": -0.059510041028261185 } - }, - "else": { - "operation": "boost", - "score": 0.02167535573244095 } - }, - "else": { - "operation": "boost", - "score": -0.05693359673023224 } + }, + "else": { + "operation": "boost", + "score": -0.0233792532235384 } }, "else": { "operation": "boost", - "score": -0.003679281333461404 + "score": 0.007678324356675148 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.06984958797693253 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.0050256578251719475 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08756128698587418 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06773697584867477 - }, - "else": { - "operation": "boost", - "score": -0.0012493564281612635 - } - } - } - } + "operation": "boost", + "score": 0.003343840828165412 } }, "else": { "operation": "boost", - "score": -0.0013281316496431828 + "score": -0.0018491409718990326 } } }, { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.0009901419980451465 + "score": -0.0002683565835468471 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", + "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_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 119.5, "then": { - "operation": "boost", - "score": -0.011373869143426418 + "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": 2368.0, + "threshold": 76.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3884.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.2580031454563141 - }, - "else": { - "operation": "boost", - "score": 0.12196549028158188 - } - }, - "else": { - "operation": "boost", - "score": 0.02729988843202591 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.12119334936141968 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "boost", - "score": 0.12031736969947815 - }, - "else": { - "operation": "boost", - "score": 0.14206868410110474 - } - }, - "else": { - "operation": "boost", - "score": 0.015755340456962585 - } - } - } + "operation": "boost", + "score": 0.09785646945238113 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.04558543488383293 + "score": 0.07140224426984787 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.08129765093326569 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 27.5, + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.04077741503715515 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "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": "FilterLength", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.14330917596817017 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11720884591341019 - }, - "else": { - "operation": "boost", - "score": -0.5003834366798401 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11630614101886749 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.1843377649784088 - }, - "else": { - "operation": "boost", - "score": 0.165260910987854 - } - }, - "else": { - "operation": "boost", - "score": 0.12661242485046387 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46.5, - "then": { - "operation": "boost", - "score": -0.062044907361269 - }, - "else": { - "operation": "boost", - "score": 0.10173889994621277 - } - } + "operation": "boost", + "score": -0.06396150588989258 }, "else": { - "operation": "boost", - "score": 0.06902720779180527 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.1273723691701889 + "score": 0.12016892433166504 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.1300504058599472 - }, - "else": { - "operation": "boost", - "score": -0.27617889642715454 - } + "operation": "boost", + "score": 0.07271730154752731 } - }, - "else": { - "operation": "boost", - "score": 0.004048652946949005 } } + }, + "else": { + "operation": "boost", + "score": -2.4860033988952637 } } } @@ -340294,1130 +327696,2363 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4990866482257843 + }, + "else": { + "operation": "boost", + "score": 0.012410130351781845 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1115301176905632 + }, + "else": { + "operation": "boost", + "score": -0.23293966054916382 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.5890836715698242 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.020395681262016296 + }, + "else": { + "operation": "boost", + "score": -0.13043390214443207 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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, "then": { + "operation": "boost", + "score": -0.39613139629364014 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.09298119693994522 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.037210822105407715 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.12706826627254486 - }, - "else": { - "operation": "boost", - "score": 0.10739640146493912 - } + "operation": "boost", + "score": 0.14342723786830902 }, "else": { "operation": "boost", - "score": 0.14480379223823547 + "score": 0.028115270659327507 } - }, - "else": { - "operation": "boost", - "score": -0.057046763598918915 } }, "else": { "operation": "boost", - "score": 0.1563774049282074 + "score": -0.18447759747505188 } + } + } + } + }, + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.2528441548347473 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.09513843059539795 + "score": 0.12384413927793503 }, "else": { "operation": "boost", - "score": 0.035368118435144424 + "score": 0.10987933725118637 } + }, + "else": { + "operation": "boost", + "score": 0.050941433757543564 + } + } + }, + "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": "boost", - "score": 0.0477394163608551 + "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 + } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.044642046093940735 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.0, + "then": { + "operation": "boost", + "score": 0.05079155042767525 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.0, "then": { "operation": "boost", - "score": 0.02846364490687847 + "score": -0.8270891904830933 }, "else": { "operation": "boost", - "score": 0.012146500870585442 + "score": -0.03834613040089607 } } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016731664538383484 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.002508071018382907 + "score": -0.0033679683692753315 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03623943030834198 + "score": 0.0033703241497278214 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.06409037858247757 + "score": 0.14079706370830536 }, "else": { "operation": "boost", - "score": -0.211253821849823 + "score": 0.10762742161750793 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "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, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.003127327188849449 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.05091595649719238 + }, + "else": { + "operation": "boost", + "score": 0.10504695028066635 + } }, "else": { "operation": "boost", - "score": 0.033678386360406876 + "score": 0.00882426742464304 } }, "else": { - "operation": "boost", - "score": -0.0024535267148166895 + "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 + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.020419059321284294 }, "else": { "operation": "boost", - "score": -0.07357524335384369 + "score": -0.020294660702347755 } + }, + "else": { + "operation": "boost", + "score": 0.006539677735418081 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0073135485872626305 }, "else": { "operation": "boost", - "score": -0.0989992544054985 + "score": 0.012416910380125046 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.09926505386829376 - }, - "else": { - "operation": "boost", - "score": 0.010341133922338486 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.03056390769779682 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.0, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.03128112107515335 + "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.10971658676862717 + "score": 0.1905146837234497 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 393.0, + "then": { + "operation": "boost", + "score": 0.10055378824472427 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "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": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "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.08821963518857956 + "score": 0.07236587256193161 + }, + "else": { + "operation": "boost", + "score": -0.19380560517311096 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.031701020896434784 + } + }, + "else": { + "operation": "boost", + "score": 0.10638118535280228 + } + }, + "else": { + "operation": "boost", + "score": 0.16214226186275482 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.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, + "then": { + "operation": "boost", + "score": -0.01425214298069477 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.29417234659194946 }, "else": { "operation": "boost", - "score": 0.01472923718392849 + "score": 0.17687374353408813 } }, "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.10515440255403519 + }, + "else": { + "operation": "boost", + "score": 0.12175451219081879 + } + }, + "else": { + "operation": "boost", + "score": 0.12900736927986145 + } + }, + "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": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", "Function" ], "then": { "operation": "boost", - "score": 0.10153945535421371 + "score": 0.10655096173286438 }, "else": { "operation": "boost", - "score": -0.20965030789375305 + "score": 0.06818380206823349 + } + }, + "else": { + "operation": "boost", + "score": -0.0037815000396221876 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.06134583428502083 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11761674284934998 + }, + "else": { + "operation": "boost", + "score": -0.5009667873382568 + } + }, + "else": { + "operation": "boost", + "score": -0.0006749294698238373 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14466078579425812 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13034173846244812 + }, + "else": { + "operation": "boost", + "score": 0.11975718289613724 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.10371749848127365 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": 0.023440297693014145 + "score": 0.08092204481363297 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.20944948494434357 + "score": 0.0765618234872818 }, "else": { "operation": "boost", - "score": 0.04355177655816078 + "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": "IsNameInContext", + "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": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.015113169327378273 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumReferences", "threshold": 20.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.13556315004825592 + "score": 0.020845472812652588 }, "else": { - "operation": "boost", - "score": -0.10158979147672653 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11095511168241501 + }, + "else": { + "operation": "boost", + "score": 0.11048150062561035 + } } }, "else": { "operation": "boost", - "score": 0.04572910815477371 + "score": -0.06579741835594177 } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" + "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.16331550478935242 + "score": -0.4057711362838745 }, "else": { "operation": "boost", - "score": -0.1325501650571823 + "score": -1.4516109228134155 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "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": 10.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.24386060237884521 + "score": 0.046565573662519455 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.3969818651676178 + "score": 0.0654887929558754 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SymbolScopeDistance", "threshold": 2.0, "then": { + "operation": "boost", + "score": 0.030134523287415504 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.1111760139465332 - }, - "else": { - "operation": "boost", - "score": -0.13121497631072998 - } + "operation": "boost", + "score": 0.097050242125988 }, "else": { "operation": "boost", - "score": 0.11211644858121872 + "score": 0.1357232928276062 } - }, - "else": { - "operation": "boost", - "score": 1.4333211183547974 } } } }, "else": { "operation": "boost", - "score": 0.07720305770635605 + "score": -0.0888548493385315 } }, "else": { - "operation": "boost", - "score": 0.07897025346755981 + "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, + "then": { + "operation": "boost", + "score": 0.22349633276462555 + }, + "else": { + "operation": "boost", + "score": -0.48471927642822266 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0924396738409996 + }, + "else": { + "operation": "boost", + "score": 0.049389470368623734 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.01091771386563778 } + }, + "else": { + "operation": "boost", + "score": 0.010361921973526478 } }, "else": { "operation": "boost", - "score": 0.028672203421592712 + "score": -0.042101044207811356 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 271.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09805088490247726 + }, + "else": { + "operation": "boost", + "score": 0.12872864305973053 + } + }, + "else": { + "operation": "boost", + "score": -0.22827713191509247 + } + }, + "else": { + "operation": "boost", + "score": 0.12097789347171783 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06214071810245514 + }, + "else": { + "operation": "boost", + "score": -0.1747322976589203 + } + }, + "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 + } + } + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 11.0, "then": { "operation": "boost", - "score": 0.019974390044808388 + "score": 0.02794104814529419 }, "else": { "operation": "boost", - "score": -0.008896315470337868 + "score": 0.08804379403591156 } }, "else": { "operation": "boost", - "score": -0.054672256112098694 + "score": -0.02841494418680668 } }, "else": { - "operation": "boost", - "score": -0.028605014085769653 - } - }, - "else": { - "operation": "boost", - "score": 0.0067130280658602715 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.019360503181815147 - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Function" + "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.10600738227367401 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.11147447675466537 - }, - "else": { - "operation": "boost", - "score": -0.06333952397108078 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 22.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.06260793656110764 + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010566821321845055 + }, + "else": { + "operation": "boost", + "score": -0.04260475933551788 + } }, "else": { - "operation": "boost", - "score": 0.10646408051252365 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.2133937031030655 + }, + "else": { + "operation": "boost", + "score": -0.06239766255021095 + } } }, "else": { - "operation": "boost", - "score": 0.013521362096071243 + "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 + } + } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 25.5, "then": { - "operation": "boost", - "score": 0.03424656018614769 + "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 + } }, "else": { "operation": "boost", - "score": -0.021394286304712296 + "score": -0.15187227725982666 } } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.004220977425575256 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 134.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 139.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 203.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, - "then": { - "operation": "boost", - "score": 0.11793717741966248 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.11597689241170883 - }, - "else": { - "operation": "boost", - "score": -0.05730577930808067 - } - } + "operation": "boost", + "score": 0.009088468737900257 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 196.0, "then": { "operation": "boost", - "score": 0.036660995334386826 + "score": 0.15960821509361267 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.008813587948679924 - }, - "else": { - "operation": "boost", - "score": -0.18553607165813446 - } + "operation": "boost", + "score": 0.06402623653411865 } } }, "else": { "operation": "boost", - "score": 0.005134377162903547 + "score": 0.11857405304908752 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": 0.029152989387512207 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10402600467205048 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 16.5, "then": { - "operation": "boost", - "score": 0.11809679865837097 + "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.002948763081803918 + "score": -0.05660562217235565 } + }, + "else": { + "operation": "boost", + "score": -0.26123517751693726 } - }, - "else": { - "operation": "boost", - "score": -0.05394380912184715 } }, + "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" + ], + "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": "boost", + "score": -0.011554007418453693 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 97.0, "then": { "operation": "boost", - "score": 0.09758700430393219 + "score": 0.13892778754234314 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.19034212827682495 + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, "then": { "operation": "boost", - "score": 0.09425437450408936 + "score": 0.11061451584100723 }, "else": { "operation": "boost", - "score": -0.2379833310842514 + "score": -0.12037988007068634 } } } } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.003172749886289239 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 57.5, "then": { "operation": "boost", - "score": -0.017350653186440468 + "score": -0.19932031631469727 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "boost", + "score": 0.013625369407236576 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.00677234074100852 + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "IsDeprecated", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.10111721605062485 + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.13798139989376068 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "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": "boost", - "score": 0.4676905870437622 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.19114470481872559 + }, + "else": { + "operation": "boost", + "score": 0.09967402368783951 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.013147737830877304 + }, + "else": { + "operation": "boost", + "score": 0.09287860244512558 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.9054198861122131 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.3150383532047272 + }, + "else": { + "operation": "boost", + "score": 0.10863613337278366 + } + }, + "else": { + "operation": "boost", + "score": -0.3628704249858856 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07390877604484558 + } + } + } } }, "else": { "operation": "boost", - "score": 0.04576866328716278 + "score": 0.014997257851064205 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" - ], + "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, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.06968830525875092 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.12004760652780533 + }, + "else": { + "operation": "boost", + "score": 0.017671363428235054 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.12835726141929626 + "score": 0.2061184048652649 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": 0.009069526568055153 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.08812806010246277 + "score": 0.13342362642288208 }, "else": { "operation": "boost", - "score": 0.07213050872087479 + "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 + } } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.032007794827222824 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10890646278858185 + }, + "else": { + "operation": "boost", + "score": 0.10134780406951904 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11126550287008286 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -1.7536739110946655 + }, + "else": { + "operation": "boost", + "score": 0.1194223091006279 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.07934966683387756 + }, + "else": { + "operation": "boost", + "score": 0.11019545048475266 + } + } + }, + "else": { + "operation": "boost", + "score": 0.040482137352228165 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.10396572947502136 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10542808473110199 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07390864193439484 + "score": 0.099345363676548 }, "else": { "operation": "boost", - "score": 0.07989484816789627 + "score": -0.10968868434429169 } } } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.059700872749090195 + } }, "else": { "operation": "boost", - "score": 0.032768070697784424 + "score": 0.01429225504398346 } } } } - }, - "else": { - "operation": "boost", - "score": -0.013449293561279774 + } + } + } + } + }, + "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": "boost", + "score": 0.05153566971421242 + }, + "else": { + "operation": "boost", + "score": -0.045899346470832825 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.0, + "then": { + "operation": "boost", + "score": -0.7573672533035278 + }, + "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 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.02323675900697708 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05819672718644142 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07623990625143051 + }, + "else": { + "operation": "boost", + "score": 0.07275212556123734 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.01089983806014061 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009964913129806519 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0068273479118943214 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.06065515801310539 + }, + "else": { + "operation": "boost", + "score": 0.09292490035295486 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10258499532938004 + }, + "else": { + "operation": "boost", + "score": 0.1012674868106842 + } + }, + "else": { + "operation": "boost", + "score": -0.19330443441867828 + } } }, "else": { - "operation": "boost", - "score": 0.04099871963262558 + "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", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09807556867599487 + }, + "else": { + "operation": "boost", + "score": -0.05372015759348869 + } + }, + "else": { + "operation": "boost", + "score": 0.030933784320950508 + } + } + } } - } - }, - "else": { - "operation": "boost", - "score": 0.01866867206990719 - } - }, - "else": { - "operation": "boost", - "score": 0.016479017212986946 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.02317674271762371 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05967587232589722 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.08577081561088562 + "score": 0.1171947717666626 }, "else": { "operation": "boost", - "score": 0.11405546963214874 + "score": 0.08243444561958313 } } - }, - "else": { - "operation": "boost", - "score": 0.027159737423062325 } } - }, - "else": { - "operation": "boost", - "score": -0.00828179344534874 } + }, + "else": { + "operation": "boost", + "score": 0.0025014053098857403 } }, "else": { "operation": "boost", - "score": -0.00662586884573102 + "score": -0.00044426051317714155 } } + }, + "else": { + "operation": "boost", + "score": -0.0016287690959870815 } }, { @@ -341428,3083 +330063,2528 @@ "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10180.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.06617355346679688 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 278454.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.029918773099780083 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 135000.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 174254.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope", + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.06015363335609436 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10805058479309082 + "score": -0.07878891378641129 }, "else": { "operation": "boost", - "score": -0.1593112200498581 + "score": 0.06845982372760773 } + }, + "else": { + "operation": "boost", + "score": -0.025713136419653893 } }, "else": { "operation": "boost", - "score": 0.03902421146631241 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.012410025112330914 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9969.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9990.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.12636210024356842 - }, - "else": { - "operation": "boost", - "score": -0.25849777460098267 + "score": 0.003855382790789008 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", + "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { + "operation": "boost", + "score": 0.0439436174929142 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.14634576439857483 + "score": 0.06285052746534348 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.11926443874835968 + "score": -0.13631998002529144 }, "else": { - "operation": "boost", - "score": 0.11854211986064911 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09857156127691269 + }, + "else": { + "operation": "boost", + "score": 0.02004663459956646 + } } } - }, - "else": { - "operation": "boost", - "score": -0.10153178870677948 } } }, "else": { "operation": "boost", - "score": 0.1532316356897354 + "score": 0.011426661163568497 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7430.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.008556588552892208 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 77.0, "then": { - "operation": "boost", - "score": 0.13155460357666016 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7679.5, + "threshold": 94.5, "then": { - "operation": "boost", - "score": -0.023712042719125748 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7635.5, + "threshold": 902.0, "then": { "operation": "boost", - "score": 0.10811517387628555 + "score": 0.08232202380895615 }, "else": { "operation": "boost", - "score": -0.1027878075838089 + "score": -0.0019662503618746996 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7443.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7506.5, - "then": { - "operation": "boost", - "score": 0.005084592383354902 }, "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" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.4904162287712097 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7467.0, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 30.5, "then": { + "operation": "boost", + "score": -0.14980584383010864 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "NumReferences", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7475.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.04299258813261986 + "score": 0.065745510160923 }, "else": { "operation": "boost", - "score": 0.12951086461544037 + "score": 0.12014059722423553 } }, "else": { "operation": "boost", - "score": 0.09092767536640167 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.1339655965566635 - }, - "else": { - "operation": "boost", - "score": -0.23311802744865417 + "score": 0.002361482009291649 } } }, "else": { - "operation": "boost", - "score": -0.13120941817760468 + "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 } + }, + "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": "FilterLength", - "threshold": 3.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.032549191266298294 + "score": -0.02392210252583027 }, "else": { "operation": "boost", - "score": 0.0970529168844223 + "score": -0.007483676075935364 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6923.5, - "then": { - "operation": "boost", - "score": -0.1295681744813919 - }, - "else": { - "operation": "boost", - "score": 0.0028312825597822666 - } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.002408476546406746 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "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": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.00013975761248730123 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 243.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 16.0, "then": { + "operation": "boost", + "score": -0.0331701934337616 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 347.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.06665974855422974 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 327.0, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1121906116604805 + "score": 0.03458271920681 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.07553087919950485 - }, - "else": { - "operation": "boost", - "score": 0.12170633673667908 - } + "operation": "boost", + "score": -0.003299869829788804 } + }, + "else": { + "operation": "boost", + "score": 0.02418237365782261 } - }, - "else": { - "operation": "boost", - "score": 0.11048073321580887 } }, "else": { + "operation": "boost", + "score": -0.03432849794626236 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.0, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.0, - "then": { - "operation": "boost", - "score": -0.014472053386271 - }, - "else": { - "operation": "boost", - "score": 0.1366172581911087 - } + "operation": "boost", + "score": 0.09417658299207687 }, "else": { "operation": "boost", - "score": 0.0035708339419215918 + "score": 0.0023725659120827913 } + }, + "else": { + "operation": "boost", + "score": -0.023219455033540726 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.029561102390289307 - }, - "else": { - "operation": "boost", - "score": -0.002286668634042144 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.015743698924779892 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, - "then": { - "operation": "boost", - "score": 0.06249154731631279 - }, - "else": { - "operation": "boost", - "score": 0.09873991459608078 - } - }, - "else": { - "operation": "boost", - "score": 0.037958983331918716 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33937.5, - "then": { - "operation": "boost", - "score": -0.018611684441566467 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27163.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 29053.5, - "then": { - "operation": "boost", - "score": 0.06679829955101013 - }, - "else": { - "operation": "boost", - "score": 0.10585399717092514 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.02599429525434971 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.03334105759859085 - }, - "else": { - "operation": "boost", - "score": 0.09941937029361725 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0022764201276004314 - } - } - } - } - } + "operation": "boost", + "score": -0.09789274632930756 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "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" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.00033800164237618446 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.024155665189027786 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { - "operation": "boost", - "score": 0.02053944021463394 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.0, - "then": { - "operation": "boost", - "score": 0.11738628894090652 - }, - "else": { - "operation": "boost", - "score": -0.23305144906044006 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.2036057412624359 - }, - "else": { - "operation": "boost", - "score": 0.1866249144077301 - } - }, - "else": { - "operation": "boost", - "score": 0.11681964248418808 - } - }, - "else": { - "operation": "boost", - "score": -0.10942856222391129 - } - }, - "else": { - "operation": "boost", - "score": -0.3722684979438782 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.06636011600494385 - }, - "else": { - "operation": "boost", - "score": -0.09541226923465729 - } - } - }, - "else": { - "operation": "boost", - "score": -0.01775846816599369 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.02723112143576145 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 421.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 790.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1093.0, - "then": { - "operation": "boost", - "score": -0.23671536147594452 - }, - "else": { - "operation": "boost", - "score": 0.09545974433422089 - } - }, - "else": { - "operation": "boost", - "score": -0.25336331129074097 - } - }, - "else": { - "operation": "boost", - "score": 0.11969522386789322 - } - }, - "else": { - "operation": "boost", - "score": -0.2761617600917816 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 186.0, - "then": { - "operation": "boost", - "score": 0.10395365953445435 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 136.0, - "then": { - "operation": "boost", - "score": -0.09721192717552185 - }, - "else": { - "operation": "boost", - "score": 0.13815291225910187 - } - }, - "else": { - "operation": "boost", - "score": -0.08523775637149811 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, - "then": { - "operation": "boost", - "score": 0.09783477336168289 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, - "then": { - "operation": "boost", - "score": -0.27460968494415283 - }, - "else": { - "operation": "boost", - "score": 0.09670941531658173 - } - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.010984452441334724 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.11529731750488281 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.5, - "then": { - "operation": "boost", - "score": -0.229095458984375 - }, - "else": { - "operation": "boost", - "score": 0.0779113918542862 - } - } - }, - "else": { - "operation": "boost", - "score": 0.11110963672399521 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.006291222758591175 - }, - "else": { - "operation": "boost", - "score": -0.7099063992500305 - } - }, - "else": { - "operation": "boost", - "score": 0.03660574555397034 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.042609527707099915 - }, - "else": { - "operation": "boost", - "score": -0.31925058364868164 - } - }, - "else": { - "operation": "boost", - "score": -0.03761200234293938 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.1484537273645401 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1009306013584137 - }, - "else": { - "operation": "boost", - "score": -0.15750089287757874 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.0385652519762516 - }, - "else": { - "operation": "boost", - "score": 0.11057612299919128 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 81.5, - "then": { - "operation": "boost", - "score": -0.21737796068191528 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "boost", - "score": 0.10880418866872787 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.02631770819425583 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1906629055738449 - }, - "else": { - "operation": "boost", - "score": 0.4738921821117401 - } - }, - "else": { - "operation": "boost", - "score": -0.11740069836378098 - } - }, - "else": { - "operation": "boost", - "score": -0.08230183273553848 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.14712738990783691 - } - } - } - } + "operation": "boost", + "score": 0.04711790755391121 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.02279304340481758 + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0596906915307045 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9.5, + "threshold": 2.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 315.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 427.5, + "then": { + "operation": "boost", + "score": -0.04036038741469383 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 363.5, + "then": { + "operation": "boost", + "score": 0.12000449001789093 + }, + "else": { + "operation": "boost", + "score": 0.08298048377037048 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0006386296590790153 + } + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.080814428627491 + "score": 0.11453662067651749 }, "else": { "operation": "boost", - "score": 0.1080220565199852 + "score": -0.10185927152633667 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.0859074592590332 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.0010649629402905703 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.10201060771942139 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11100168526172638 + }, + "else": { + "operation": "boost", + "score": -0.11345770210027695 + } + } }, "else": { "operation": "boost", - "score": 0.10964363068342209 + "score": 0.12687897682189941 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.12479916960000992 - }, - "else": { - "operation": "boost", - "score": -0.16754485666751862 - } + "operation": "boost", + "score": 0.06570427864789963 } - }, - "else": { - "operation": "boost", - "score": 0.009275805205106735 } } - }, - "else": { - "operation": "boost", - "score": 0.02337905764579773 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.027363525703549385 + "score": 0.04122474044561386 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { + "operation": "boost", + "score": 0.09684508293867111 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.09813867509365082 + "score": -0.14843492209911346 }, "else": { "operation": "boost", - "score": 0.15737812221050262 + "score": 0.17307740449905396 } - }, - "else": { + } + } + } + }, + "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": 8.5, + "threshold": 132.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.017102310433983803 - }, - "else": { - "operation": "boost", - "score": 0.09886675328016281 - } + "operation": "boost", + "score": 0.010169805958867073 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6.5, + "threshold": 129.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.03545810654759407 - }, - "else": { - "operation": "boost", - "score": -0.33350899815559387 - } + "operation": "boost", + "score": 0.11600740253925323 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08368434011936188 - }, - "else": { - "operation": "boost", - "score": 0.0419100783765316 - } + "operation": "boost", + "score": 0.10874812304973602 }, "else": { "operation": "boost", - "score": 0.04904600605368614 + "score": -0.41823625564575195 } } } + }, + "else": { + "operation": "boost", + "score": 0.026092182844877243 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.003575481940060854 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.036643851548433304 + "score": 0.05027703940868378 }, "else": { + "operation": "boost", + "score": 0.09161143004894257 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.08831355720758438 + "score": 0.1010386198759079 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.1254834085702896 - }, - "else": { - "operation": "boost", - "score": -0.060619425028562546 - } + "operation": "boost", + "score": 0.11729192733764648 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.0500897578895092 + }, + "else": { + "operation": "boost", + "score": 0.041292861104011536 } } - }, - "else": { - "operation": "boost", - "score": -0.0388854518532753 } } } } + }, + "else": { + "operation": "boost", + "score": -0.00011296905722701922 } - } - }, - "else": { - "operation": "boost", - "score": -0.003873159410431981 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0008748832624405622 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18885.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.13201887905597687 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34626.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.00018442037981003523 + "score": 0.008697066456079483 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30847.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.5122619867324829 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13496273756027222 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08378516137599945 + }, + "else": { + "operation": "boost", + "score": -0.10590440779924393 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.06876543164253235 + }, + "else": { + "operation": "boost", + "score": 0.11326734721660614 + } + }, + "else": { + "operation": "boost", + "score": -0.10780029743909836 + } + } }, "else": { - "operation": "boost", - "score": 0.039271555840969086 + "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, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6101.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 54378.0, + "threshold": 6445.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56138.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0443684384226799 + "score": 0.01568802446126938 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.025011226534843445 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 76763.5, + "threshold": 19905.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 193454.5, + "operation": "boost", + "score": 0.09979776293039322 + }, + "else": { + "operation": "boost", + "score": 0.020172331482172012 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02701181173324585 + } + }, + "else": { + "operation": "boost", + "score": 0.11462986469268799 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004619884770363569 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Operator", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199646.0, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 241916.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.1324525773525238 - }, - "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.1611665040254593 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": 0.10784757882356644 - }, - "else": { - "operation": "boost", - "score": -0.35499218106269836 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 350855.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.1801406294107437 - }, - "else": { - "operation": "boost", - "score": 0.0778561681509018 - } - }, - "else": { - "operation": "boost", - "score": 0.11875461786985397 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.03396887704730034 - }, - "else": { - "operation": "boost", - "score": -0.3622707426548004 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 236336.5, - "then": { - "operation": "boost", - "score": 0.1047729030251503 - }, - "else": { - "operation": "boost", - "score": 0.022477390244603157 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 6.0, "then": { "operation": "boost", - "score": 0.10117935389280319 + "score": 0.08148679882287979 }, "else": { "operation": "boost", - "score": 0.1046898290514946 + "score": 0.09160343557596207 } }, "else": { "operation": "boost", - "score": 0.006388354115188122 + "score": 0.3725389540195465 } + }, + "else": { + "operation": "boost", + "score": 0.05390617623925209 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97848.0, - "then": { - "operation": "boost", - "score": 0.09020496159791946 - }, - "else": { - "operation": "boost", - "score": -0.05399999022483826 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.20612303912639618 + "score": 0.017759639769792557 }, "else": { - "operation": "boost", - "score": -0.07181986421346664 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75477.5, - "then": { - "operation": "boost", - "score": 0.10580765455961227 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59488.0, - "then": { - "operation": "boost", - "score": -0.0019890875555574894 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57410.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { "operation": "boost", - "score": 0.07315140962600708 + "score": 0.10605543106794357 }, "else": { "operation": "boost", - "score": 0.09780459851026535 + "score": 0.03847995027899742 } - }, - "else": { - "operation": "boost", - "score": -0.10518748313188553 } + }, + "else": { + "operation": "boost", + "score": 0.006998992525041103 } } + }, + "else": { + "operation": "boost", + "score": -0.014683994464576244 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02137790061533451 + "score": 0.022183259949088097 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 367822.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.18687529861927032 - }, - "else": { - "operation": "boost", - "score": -0.38530439138412476 - } - }, - "else": { - "operation": "boost", - "score": -0.9122369289398193 - } + "operation": "boost", + "score": 0.1578325480222702 }, "else": { "operation": "boost", - "score": -0.0065859416499733925 + "score": 0.12423530966043472 } }, "else": { - "operation": "boost", - "score": -0.02185286581516266 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.10757795721292496 + }, + "else": { + "operation": "boost", + "score": 0.12557923793792725 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.011230498552322388 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], + } + }, + "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": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 30820.5, "then": { "operation": "boost", - "score": 0.028987837955355644 + "score": -0.002799262525513768 }, "else": { + "operation": "boost", + "score": 0.08955628424882889 + } + }, + "else": { + "operation": "boost", + "score": -0.36921006441116333 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25073.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25377.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 28191.0, "then": { "operation": "boost", - "score": 0.05915282666683197 + "score": 0.11011920869350433 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.0, "then": { - "operation": "boost", - "score": 0.10491319000720978 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26163.5, + "then": { + "operation": "boost", + "score": 0.10862948000431061 + }, + "else": { + "operation": "boost", + "score": 0.015306600369513035 + } }, "else": { "operation": "boost", - "score": 0.10250038653612137 + "score": -0.01871970109641552 } } + }, + "else": { + "operation": "boost", + "score": 0.10363569110631943 } }, "else": { "operation": "boost", - "score": 0.007903383113443851 + "score": 0.01699345000088215 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24227.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07129683345556259 + "score": 0.038003213703632355 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.09956607222557068 - }, - "else": { - "operation": "boost", - "score": -0.18776997923851013 - } + "operation": "boost", + "score": 0.003569947788491845 + }, + "else": { + "operation": "boost", + "score": -0.43802717328071594 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5009.5, + "then": { + "operation": "boost", + "score": -0.011225493624806404 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4797.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23281.0, + "threshold": 4989.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.008340029045939445 - }, - "else": { - "operation": "boost", - "score": 0.10494975745677948 - } + "operation": "boost", + "score": 0.1082991436123848 }, "else": { "operation": "boost", - "score": 0.055020980536937714 + "score": 0.029450321570038795 } }, "else": { + "operation": "boost", + "score": 0.1124892607331276 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24093.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 4.214407920837402 - }, - "else": { - "operation": "boost", - "score": -0.10342042148113251 - } + "operation": "boost", + "score": 0.06930702179670334 }, "else": { "operation": "boost", - "score": -0.0014081745175644755 + "score": 0.10512568801641464 } + }, + "else": { + "operation": "boost", + "score": -0.4609035551548004 } } + }, + "else": { + "operation": "boost", + "score": 0.004524436313658953 } } + } + }, + "else": { + "operation": "boost", + "score": -0.00705066230148077 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009104986675083637 + } + }, + { + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08947356790304184 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 406.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1016203761100769 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.27522552013397217 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1704.0, + "then": { + "operation": "boost", + "score": 0.16097795963287354 + }, + "else": { + "operation": "boost", + "score": 0.08573751151561737 + } + }, + "else": { + "operation": "boost", + "score": 0.3729100823402405 + } + }, + "else": { + "operation": "boost", + "score": -0.1241447851061821 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "boost", - "score": -0.003207949921488762 + "score": 0.014981926418840885 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 368430.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.04032134637236595 + "score": 0.019323257729411125 }, "else": { "operation": "boost", - "score": 0.12829339504241943 + "score": -0.021199239417910576 } }, "else": { "operation": "boost", - "score": -0.27158376574516296 + "score": -0.03725667670369148 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.07360262423753738 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.062182314693927765 + "score": -0.1719551533460617 }, "else": { "operation": "boost", - "score": -0.14426684379577637 + "score": -0.024365171790122986 } - }, - "else": { + } + }, + "else": { + "operation": "boost", + "score": -0.2256964147090912 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 302.0, "then": { + "operation": "boost", + "score": -0.13385945558547974 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "NumReferences", "threshold": 23.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.04726092889904976 - }, - "else": { - "operation": "boost", - "score": -0.5647370219230652 - } + "operation": "boost", + "score": 0.10288294404745102 }, "else": { "operation": "boost", - "score": 0.06997721642255783 + "score": -0.014970095828175545 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.002076047472655773 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190072.0, - "then": { - "operation": "boost", - "score": -1.0735975503921509 - }, - "else": { - "operation": "boost", - "score": -0.09281447529792786 - } - }, - "else": { - "operation": "boost", - "score": 0.03525655344128609 - } - }, - "else": { - "operation": "boost", - "score": -0.5161806344985962 - } + "operation": "boost", + "score": 0.14215713739395142 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.017460709437727928 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.8702391386032104 + "score": -0.09098239243030548 }, "else": { - "operation": "boost", - "score": -0.04696481302380562 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.6461445689201355 + }, + "else": { + "operation": "boost", + "score": -0.23708786070346832 + } } - }, - "else": { - "operation": "boost", - "score": -0.010481473989784718 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": 0.08679981529712677 - }, - "else": { - "operation": "boost", - "score": -0.00859242957085371 - } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 443558.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.07092592865228653 + "score": 0.005595774855464697 }, "else": { - "operation": "boost", - "score": -0.038268137723207474 + "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 + } + } } }, "else": { "operation": "boost", - "score": -0.5521790981292725 + "score": 0.02900925651192665 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55828.0, - "then": { - "operation": "boost", - "score": -0.1361522078514099 - }, - "else": { - "operation": "boost", - "score": -2.438347578048706 - } - }, - "else": { - "operation": "boost", - "score": -0.11045169085264206 - } + "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_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Symbol" + "CCC_Expression" ], "then": { - "operation": "boost", - "score": 0.009147221222519875 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 220295.0, + "threshold": 62.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.01651819981634617 - }, - "else": { - "operation": "boost", - "score": 0.09530703723430634 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50563.0, + "threshold": 100.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 58696.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 105803.0, + "threshold": 353.0, "then": { - "operation": "boost", - "score": 0.008067294023931026 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 93657.0, + "threshold": 1768.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101593.5, - "then": { - "operation": "boost", - "score": 0.012883026152849197 - }, - "else": { - "operation": "boost", - "score": 0.10739343613386154 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11427401751279831 - }, - "else": { - "operation": "boost", - "score": 0.06714096665382385 - } - } + "operation": "boost", + "score": 0.0675315260887146 }, "else": { "operation": "boost", - "score": 0.057156506925821304 + "score": 0.10725328326225281 } + }, + "else": { + "operation": "boost", + "score": -0.09104592353105545 } }, "else": { "operation": "boost", - "score": 0.003950114361941814 + "score": -0.021064024418592453 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4486.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10068212449550629 - }, - "else": { - "operation": "boost", - "score": 0.11745449900627136 - } - }, - "else": { - "operation": "boost", - "score": 0.5529529452323914 - } + "operation": "boost", + "score": -0.3885272741317749 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2026.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.0910671278834343 - }, - "else": { - "operation": "boost", - "score": 0.09882833063602448 - } + "operation": "boost", + "score": 0.11255156993865967 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 457.0, "then": { - "operation": "boost", - "score": 0.14469404518604279 + "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.0773773267865181 + "score": -0.19567078351974487 } } } } }, - "else": { - "operation": "boost", - "score": -0.001759431674145162 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.0030860453844070435 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 116639.0, + "threshold": 97.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": 0.13504458963871002 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 65.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.05637398734688759 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11876484006643295 + }, + "else": { + "operation": "boost", + "score": 0.0748811885714531 + } }, "else": { - "operation": "boost", - "score": 0.0902889221906662 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.30289411544799805 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08127869665622711 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10764598101377487 + }, + "else": { + "operation": "boost", + "score": -0.2723976969718933 + } + }, + "else": { + "operation": "boost", + "score": 0.09227506071329117 + } }, "else": { "operation": "boost", - "score": 0.03596659004688263 + "score": -0.12531781196594238 } - }, - "else": { - "operation": "boost", - "score": 0.09047197550535202 } - }, - "else": { - "operation": "boost", - "score": 0.10021238774061203 } + }, + "else": { + "operation": "boost", + "score": 0.10060470551252365 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, "then": { "operation": "boost", - "score": 0.09260857850313187 + "score": 0.10904479026794434 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.2169046252965927 - }, - "else": { - "operation": "boost", - "score": 0.003408930730074644 - } + "operation": "boost", + "score": -0.09903544187545776 } } - }, - "else": { - "operation": "boost", - "score": -0.030351923778653145 } } }, "else": { "operation": "boost", - "score": -0.055034030228853226 - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.003005614038556814 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "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": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.02695460058748722 - }, - "else": { - "operation": "boost", - "score": 0.08586013317108154 + "score": 0.015261368826031685 } }, "else": { - "operation": "boost", - "score": -0.20369067788124084 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.06464048475027084 + "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.09223390370607376 + "score": -0.04323297366499901 } }, "else": { - "operation": "boost", - "score": -0.10020843893289566 + "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.10719145834445953 + "score": 0.07980985939502716 } - }, - "else": { - "operation": "boost", - "score": -0.09711266309022903 } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.144004687666893 }, "else": { "operation": "boost", - "score": -0.14057140052318573 + "score": -0.0010373103432357311 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.12820780277252197 - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.11030242592096329 - }, - "else": { - "operation": "boost", - "score": -0.10077371448278427 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10010931640863419 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.11291435360908508 - }, - "else": { - "operation": "boost", - "score": 0.08427509665489197 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10956572741270065 - }, - "else": { - "operation": "boost", - "score": -0.10281670838594437 - } + "score": -0.024896366521716118 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -3.940643310546875 + "score": 0.05139072239398956 }, "else": { - "operation": "boost", - "score": -0.04089997708797455 + "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": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.056155867874622345 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_Type" ], "then": { "operation": "boost", - "score": -0.10974472016096115 + "score": 0.0019781175069510937 }, "else": { "operation": "boost", - "score": -0.4549018442630768 + "score": -0.10616511851549149 } - }, - "else": { - "operation": "boost", - "score": 0.13713286817073822 } } - }, - "else": { - "operation": "boost", - "score": 0.022628892213106155 } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00019436003640294075 - } - }, - { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.008114750497043133 - }, - "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.11650535464286804 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10170788317918777 + "score": 0.0070419772528111935 }, "else": { - "operation": "boost", - "score": 0.03070782870054245 + "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": 2.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.003404288087040186 + "score": 0.009544874541461468 }, "else": { - "operation": "boost", - "score": -1.1475390195846558 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.017734147608280182 - }, - "else": { - "operation": "boost", - "score": 0.035996124148368835 - } - }, - "else": { - "operation": "boost", - "score": -0.07426778972148895 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.09665561467409134 + "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": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "boost", - "score": -0.10346914082765579 + "score": 0.014654295518994331 }, "else": { "operation": "boost", - "score": -0.45157912373542786 + "score": 0.08790688961744308 } }, "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": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.06212412193417549 + }, + "else": { + "operation": "boost", + "score": 0.09211984276771545 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "boost", - "score": -0.18534332513809204 + "score": 0.09806524962186813 }, "else": { "operation": "boost", - "score": 0.060887061059474945 + "score": 0.09944383054971695 } }, + "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, + "then": { + "operation": "boost", + "score": -0.05254359915852547 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "boost", - "score": -0.2054421305656433 + "score": 0.0955595150589943 }, "else": { - "operation": "boost", - "score": -1.2807255983352661 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.3609050512313843 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10882671922445297 + }, + "else": { + "operation": "boost", + "score": -0.280791699886322 + } + }, + "else": { + "operation": "boost", + "score": 0.002064220141619444 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.0035175292287021875 } } - } - }, - "else": { - "operation": "boost", - "score": -0.01620245911180973 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -1.787521481513977 - }, - "else": { - "operation": "boost", - "score": 0.022795716300606728 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.014936388470232487 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.10549760609865189 }, "else": { - "operation": "boost", - "score": 0.10485068708658218 + "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.06349170953035355 } } } }, "else": { + "operation": "boost", + "score": 0.0022219480015337467 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], + "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_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], - "then": { - "operation": "boost", - "score": 0.0014680145541206002 - }, - "else": { - "operation": "boost", - "score": -0.03199882432818413 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.004397178068757057 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.0, + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.5122360587120056 - }, - "else": { - "operation": "boost", - "score": 0.06808525323867798 - } + "operation": "boost", + "score": -0.22706261277198792 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.08640020340681076 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.00016350123041775078 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11658623069524765 + }, + "else": { + "operation": "boost", + "score": 0.12732799351215363 + } + }, + "else": { + "operation": "boost", + "score": 0.0347701720893383 + } + } }, "else": { "operation": "boost", - "score": 0.11077902466058731 + "score": 0.04850909113883972 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.37629997730255127 - }, - "else": { - "operation": "boost", - "score": -0.05040546506643295 - } + "operation": "boost", + "score": -0.05659635365009308 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.06361791491508484 + "score": 0.05605451762676239 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "boost", - "score": 0.13157738745212555 + "score": -0.07265356183052063 }, "else": { "operation": "boost", - "score": -0.16751250624656677 + "score": -0.0019382763421162963 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1431531012058258 - }, - "else": { - "operation": "boost", - "score": 0.08608497679233551 - } + "operation": "boost", + "score": -0.0768725648522377 } } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess" - ], - "then": { - "operation": "boost", - "score": 0.10290302336215973 }, "else": { - "operation": "boost", - "score": -0.026238422840833664 + "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": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "FileScope" + "Type" ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": -2.618340113258455e-05 + "score": 0.03155462071299553 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.09811730682849884 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.12241394817829132 - }, - "else": { - "operation": "boost", - "score": -0.047760818153619766 - } - } + "operation": "boost", + "score": -0.030321968719363213 } }, "else": { - "operation": "boost", - "score": 0.010225721634924412 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.0008377482299692929 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.03951895982027054 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08550921827554703 + }, + "else": { + "operation": "boost", + "score": 0.016110491007566452 + } }, "else": { - "operation": "boost", - "score": 0.08022478222846985 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10617373883724213 + }, + "else": { + "operation": "boost", + "score": -0.3962693512439728 + } } }, "else": { "operation": "boost", - "score": 0.013127823360264301 + "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 } } } @@ -344512,6161 +332592,6579 @@ } }, "else": { + "operation": "boost", + "score": -0.0013495102757588029 + } + } + }, + { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.00025769066996872425 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" + "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_ClassStructUnion" ], "then": { + "operation": "boost", + "score": 0.11462979018688202 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", - "score": 0.009973232634365559 + "score": -0.41272592544555664 }, "else": { - "operation": "boost", - "score": -0.009335297159850597 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10241910815238953 + }, + "else": { + "operation": "boost", + "score": -0.21467049419879913 + } } - }, - "else": { - "operation": "boost", - "score": -0.00681088212877512 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.020294442772865295 - }, - "else": { - "operation": "boost", - "score": 0.10784103721380234 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 28.0, "then": { "operation": "boost", - "score": 0.11835873126983643 + "score": -0.2346607893705368 }, "else": { "operation": "boost", - "score": 0.02085743099451065 + "score": 0.10887053608894348 } }, "else": { "operation": "boost", - "score": 0.01134649571031332 + "score": -0.06938444823026657 } - } - }, - "else": { - "operation": "boost", - "score": -0.010797737166285515 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.005194897763431072 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.11398080736398697 + "score": -0.18600863218307495 }, "else": { - "operation": "boost", - "score": -0.1257665455341339 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.1026143729686737 + "score": 0.0982869490981102 }, "else": { "operation": "boost", - "score": -0.09979057312011719 + "score": -0.3688066303730011 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.640018105506897 }, "else": { "operation": "boost", - "score": -0.09630095213651657 + "score": 0.11205079406499863 } } } }, "else": { - "operation": "boost", - "score": -0.020732328295707703 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0046572694554924965 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.02709249220788479 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 8.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.16702111065387726 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.36497756838798523 - }, - "else": { - "operation": "boost", - "score": -0.14491970837116241 - } - }, - "else": { - "operation": "boost", - "score": 0.04645216837525368 - } - } + "operation": "boost", + "score": -0.029904775321483612 }, "else": { "operation": "boost", - "score": -0.09144847095012665 + "score": 0.08879254758358002 } }, "else": { "operation": "boost", - "score": 0.009421064518392086 + "score": -0.012396492063999176 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.0819125548005104 + "score": 0.018492601811885834 }, "else": { - "operation": "boost", - "score": 0.15141165256500244 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.007676989305764437 + "score": 0.10448069125413895 }, "else": { "operation": "boost", - "score": 0.08132891356945038 + "score": 0.04712136089801788 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.04480673000216484 + "score": 0.02809332124888897 }, "else": { "operation": "boost", - "score": -0.6268917918205261 + "score": 0.10392993688583374 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 39.0, - "then": { - "operation": "boost", - "score": 0.10917715728282928 - }, - "else": { - "operation": "boost", - "score": -0.04653449356555939 - } + "operation": "boost", + "score": -0.7142096161842346 }, "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": 130.0, - "then": { - "operation": "boost", - "score": -0.30869224667549133 - }, - "else": { - "operation": "boost", - "score": 0.10663511604070663 - } - }, - "else": { - "operation": "boost", - "score": -0.18132127821445465 - } - }, - "else": { - "operation": "boost", - "score": 0.12399556487798691 - } + "operation": "boost", + "score": 0.07328318059444427 } } + } + } + }, + "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": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.3338080644607544 }, "else": { "operation": "boost", - "score": 0.04068763926625252 + "score": 0.05288943648338318 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": 0.09591767936944962 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.04188656434416771 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.035948701202869415 + "score": 0.10549812018871307 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": -0.21892514824867249 - }, - "else": { - "operation": "boost", - "score": 0.09512896835803986 - } - }, - "else": { - "operation": "boost", - "score": 0.09814899414777756 - } + "operation": "boost", + "score": -0.1961740404367447 } - }, - "else": { - "operation": "boost", - "score": -0.21312466263771057 } + } + } + } + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014657232910394669 + }, + "else": { + "operation": "boost", + "score": 0.08206052333116531 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08317945897579193 + }, + "else": { + "operation": "boost", + "score": 0.10006225109100342 + } + }, + "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.13970398902893066 + "score": 0.10371946543455124 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.0, + "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.32077544927597046 + "score": 0.02231616899371147 }, "else": { - "operation": "boost", - "score": 0.11280641704797745 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.12594595551490784 + }, + "else": { + "operation": "boost", + "score": 0.021279674023389816 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.07863742858171463 - }, - "else": { - "operation": "boost", - "score": -0.13267722725868225 - } + "operation": "boost", + "score": -0.10074158757925034 } } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01651429943740368 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.02291700430214405 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0818495973944664 }, "else": { - "operation": "boost", - "score": -0.24540358781814575 + "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 + } + } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.0508728101849556 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11831843852996826 + "score": -0.12641610205173492 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.057429611682891846 + }, + "else": { + "operation": "boost", + "score": 0.09963290393352509 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0296370517462492 + }, + "else": { + "operation": "boost", + "score": -0.12353039532899857 + } + }, + "else": { + "operation": "boost", + "score": 0.016132406890392303 + } + }, + "else": { + "operation": "boost", + "score": -0.10086800158023834 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.03516902029514313 + "score": 0.06834578514099121 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "boost", - "score": 0.06286443024873734 - }, - "else": { - "operation": "boost", - "score": 0.1382702887058258 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.06731148809194565 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.41622769832611084 - }, - "else": { - "operation": "boost", - "score": -0.3331562578678131 - } - }, - "else": { - "operation": "boost", - "score": 0.12864267826080322 - } - } - } - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.1153220683336258 + "score": 0.10304409265518188 }, "else": { "operation": "boost", - "score": 0.0650738999247551 + "score": 0.16264384984970093 } + }, + "else": { + "operation": "boost", + "score": 0.09236165136098862 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.022694038227200508 + "score": -0.05964115634560585 }, "else": { "operation": "boost", - "score": -0.08360619097948074 + "score": 0.04676845669746399 } } + }, + "else": { + "operation": "boost", + "score": -0.07634644955396652 } }, "else": { + "operation": "boost", + "score": -0.02630370669066906 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.04714113846421242 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88.5, + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.05464788153767586 + "score": -0.38762691617012024 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.021779965609312057 - }, - "else": { - "operation": "boost", - "score": -0.1318306028842926 - } + "operation": "boost", + "score": 0.11537738144397736 } }, + "else": { + "operation": "boost", + "score": 0.0100418571382761 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03603190556168556 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0404486283659935 - }, - "else": { - "operation": "boost", - "score": -0.2529785931110382 - } + "operation": "boost", + "score": -0.1401832401752472 }, "else": { "operation": "boost", - "score": 0.12808063626289368 + "score": 0.09992820024490356 } } } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09801319241523743 - }, - "else": { - "operation": "boost", - "score": 0.04671525955200195 - } + "operation": "boost", + "score": -0.025441855192184448 } + }, + "else": { + "operation": "boost", + "score": 0.0129423001781106 } + }, + "else": { + "operation": "boost", + "score": 0.01649019867181778 } - }, - "else": { + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.15360824763774872 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11644577980041504 - }, - "else": { - "operation": "boost", - "score": 0.20852486789226532 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07954800873994827 + "score": 0.013858456164598465 }, "else": { - "operation": "boost", - "score": 0.11275476962327957 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.24732717871665955 + }, + "else": { + "operation": "boost", + "score": 0.1291174739599228 + } + }, + "else": { + "operation": "boost", + "score": 0.19649945199489594 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 393.0, "then": { "operation": "boost", - "score": -0.08706658333539963 + "score": 0.09879007190465927 }, "else": { - "operation": "boost", - "score": -0.16717854142189026 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11152050644159317 + }, + "else": { + "operation": "boost", + "score": -0.13871626555919647 + } } } + }, + "else": { + "operation": "boost", + "score": 0.038028500974178314 } }, "else": { "operation": "boost", - "score": -0.027312546968460083 + "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 } } }, "else": { - "operation": "boost", - "score": 0.0056013064458966255 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00027995870914310217 - } - }, - { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.0008411860908381641 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Symbol", - "CCC_ParenthesizedExpression" + "CCC_Statement" ], "then": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.006908330600708723 - }, - "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "boost", + "score": -0.23226803541183472 + }, + "else": { + "operation": "boost", + "score": 0.12305029481649399 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008443833328783512 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.10966154932975769 - }, - "else": { - "operation": "boost", - "score": 0.09735822677612305 - } + "operation": "boost", + "score": -0.39504843950271606 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10136473178863525 + "score": 0.16108763217926025 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.0, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.6526592373847961 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.09996836632490158 + "score": 0.11785993725061417 }, "else": { - "operation": "boost", - "score": 0.10181410610675812 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1082390546798706 - }, - "else": { - "operation": "boost", - "score": -0.14880989491939545 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.11480825394392014 - }, - "else": { - "operation": "boost", - "score": 0.09199493378400803 - } + "operation": "boost", + "score": 0.1034703478217125 }, "else": { "operation": "boost", - "score": 0.06922734528779984 + "score": -0.10527046024799347 } - }, - "else": { - "operation": "boost", - "score": 0.0114585617557168 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.2667176127433777 - }, - "else": { - "operation": "boost", - "score": 0.06951338797807693 - } + "operation": "boost", + "score": 0.1479116678237915 } - }, - "else": { - "operation": "boost", - "score": 0.0317147932946682 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.010248329490423203 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.2401951253414154 - }, - "else": { - "operation": "boost", - "score": -0.08861739933490753 - } - } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.10176215320825577 - }, - "else": { - "operation": "boost", - "score": 0.43059295415878296 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.28273993730545044 - }, - "else": { - "operation": "boost", - "score": 0.15793433785438538 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10663451254367828 - } - }, - "else": { "operation": "boost", - "score": 0.09958110749721527 - } - }, - "else": { - "operation": "boost", - "score": 0.04169254004955292 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.14310814440250397 - }, - "else": { - "operation": "boost", - "score": 0.1596248894929886 - } + "score": -0.10401105135679245 }, "else": { "operation": "boost", - "score": 0.10859173536300659 + "score": 0.11431064456701279 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "boost", - "score": -0.02120138518512249 + "score": 0.10673180222511292 }, "else": { "operation": "boost", - "score": 0.10878568142652512 + "score": 0.06549949198961258 } }, "else": { "operation": "boost", - "score": 0.00955448392778635 + "score": 0.06177366524934769 } } + }, + "else": { + "operation": "boost", + "score": 0.0045605795457959175 } }, "else": { - "operation": "boost", - "score": 0.058880630880594254 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.015931325033307076 - }, - "else": { - "operation": "boost", - "score": 0.07315482944250107 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1265411674976349 - }, - "else": { - "operation": "boost", - "score": -0.10119468718767166 - } - }, - "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": 1149.0, - "then": { - "operation": "boost", - "score": -0.01052761822938919 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0049671693705022335 + "score": 0.0512995570898056 }, "else": { - "operation": "boost", - "score": 0.060739915817976 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1095009297132492 + }, + "else": { + "operation": "boost", + "score": -0.10186176002025604 + } + }, + "else": { + "operation": "boost", + "score": 0.11530744284391403 + } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.014908275566995144 - }, - "else": { - "operation": "boost", - "score": 0.0540304109454155 - } + "operation": "boost", + "score": 0.11023548990488052 } }, "else": { "operation": "boost", - "score": 0.05471184104681015 + "score": -0.12108895927667618 } } }, "else": { - "operation": "boost", - "score": -0.042385973036289215 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": 0.019557466730475426 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { + "operation": "boost", + "score": 0.07595571875572205 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.022414831444621086 + "score": 0.07427014410495758 }, "else": { "operation": "boost", - "score": -0.07493671029806137 + "score": -0.022746577858924866 } - }, - "else": { - "operation": "boost", - "score": -0.009463527239859104 } } } + }, + "else": { + "operation": "boost", + "score": 0.09609241038560867 } + }, + "else": { + "operation": "boost", + "score": 0.00946089532226324 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "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.009409592486917973 + }, + "else": { + "operation": "boost", + "score": -0.11759842187166214 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 76.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 86.5, "then": { - "operation": "boost", - "score": -0.1524832546710968 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 94.5, "then": { "operation": "boost", - "score": -0.12243907153606415 + "score": -0.009244185872375965 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.11185068637132645 - }, - "else": { - "operation": "boost", - "score": -0.21977993845939636 - } + "operation": "boost", + "score": 0.09623853117227554 } + }, + "else": { + "operation": "boost", + "score": 0.10459373146295547 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09313555061817169 - }, - "else": { - "operation": "boost", - "score": -0.10629036277532578 - } - }, - "else": { - "operation": "boost", - "score": -0.22778180241584778 - } + "operation": "boost", + "score": -0.11726655811071396 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 299.5, + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 319.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.039430417120456696 + "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 + } }, "else": { - "operation": "boost", - "score": 0.11011479794979095 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.107339046895504 + }, + "else": { + "operation": "boost", + "score": 0.0018232539296150208 + } } }, - "else": { - "operation": "boost", - "score": -0.007198137231171131 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": -0.01826563850045204 - }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.13267001509666443 - }, - "else": { - "operation": "boost", - "score": 0.09457799792289734 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.052393198013305664 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.20664094388484955 + "score": 0.08810165524482727 }, "else": { "operation": "boost", - "score": -0.10217065364122391 + "score": 0.013926873914897442 } } } + }, + "else": { + "operation": "boost", + "score": -0.012080885469913483 } } }, "else": { "operation": "boost", - "score": -0.07461510598659515 + "score": -0.002265893155708909 } }, "else": { "operation": "boost", - "score": -0.03686492517590523 + "score": -0.009155933745205402 } } - }, - "else": { - "operation": "boost", - "score": 0.0008027059375308454 } } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 1159.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "boost", + "score": 0.0020920021925121546 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 2745.0, "then": { "operation": "boost", - "score": 0.021350396797060966 + "score": 0.006666501984000206 }, "else": { - "operation": "boost", - "score": 0.007999788038432598 + "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": "boost", - "score": -0.0034238831140100956 + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Namespace" ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 330.0, "then": { + "operation": "boost", + "score": -0.025294866412878036 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.018510062247514725 + "score": 0.05930929258465767 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.10510807484388351 - }, - "else": { - "operation": "boost", - "score": 0.13462255895137787 - } + "operation": "boost", + "score": 0.10424909740686417 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "boost", + "score": 0.056551743298769 + } + } + } + }, + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 470.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 472.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_DotMemberAccess", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": 0.13130781054496765 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.06456772983074188 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 674.0, + "then": { + "operation": "boost", + "score": 0.10269227623939514 + }, + "else": { + "operation": "boost", + "score": 0.08278180658817291 + } + } }, "else": { - "operation": "boost", - "score": -0.012094362638890743 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.044505055993795395 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": 0.07563599199056625 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1025.0, "then": { - "operation": "boost", - "score": 0.026204919442534447 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1082.0, + "then": { + "operation": "boost", + "score": -0.03834453597664833 + }, + "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 + } + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 822.0, "then": { "operation": "boost", - "score": 0.0697990357875824 + "score": -0.3375546932220459 }, "else": { - "operation": "boost", - "score": 0.40580064058303833 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.20186083018779755 + } } } + }, + "else": { + "operation": "boost", + "score": -0.05770701542496681 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07178684324026108 - } - }, - "else": { - "operation": "boost", - "score": -0.02423659712076187 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.03306795284152031 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0010130819864571095 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.018712695688009262 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.00283136242069304 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.18624624609947205 + "score": -0.3903099000453949 }, "else": { "operation": "boost", - "score": 0.04122348129749298 + "score": 0.10882899165153503 } } + }, + "else": { + "operation": "boost", + "score": -0.0724993422627449 } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.002834185492247343 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04114456847310066 }, "else": { "operation": "boost", - "score": 0.08945143222808838 + "score": -0.12587764859199524 } }, "else": { - "operation": "boost", - "score": 0.01053925696760416 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Keyword", + "Variable", + "Destructor", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.05937625840306282 - }, - "else": { - "operation": "boost", - "score": 0.10451234877109528 - } - }, - "else": { - "operation": "boost", - "score": 0.0133584626019001 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.09404384344816208 - }, - "else": { - "operation": "boost", - "score": 0.03348120301961899 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "feature": "NumReferences", + "threshold": 264.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 273.0, "then": { + "operation": "boost", + "score": 0.011274680495262146 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.0, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.08173468708992004 + "score": 0.12060169130563736 }, "else": { "operation": "boost", - "score": 0.0974292904138565 + "score": 0.15112599730491638 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11224260926246643 - }, - "else": { - "operation": "boost", - "score": -0.1836588829755783 - } + "operation": "boost", + "score": 0.09916649013757706 } - }, - "else": { - "operation": "boost", - "score": -0.012577817775309086 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 253.5, "then": { "operation": "boost", - "score": -0.11424868553876877 + "score": -0.2067154496908188 }, "else": { - "operation": "boost", - "score": -0.019501402974128723 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 240.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 251.0, + "then": { + "operation": "boost", + "score": 0.141680046916008 + }, + "else": { + "operation": "boost", + "score": 0.06613736599683762 + } + }, + "else": { + "operation": "boost", + "score": 0.13613127171993256 + } + }, + "else": { + "operation": "boost", + "score": 0.023632634431123734 + } } } + }, + "else": { + "operation": "boost", + "score": -0.0069010015577077866 } } } }, "else": { "operation": "boost", - "score": -0.005397902335971594 + "score": -0.033069808036088943 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1683.5, - "then": { - "operation": "boost", - "score": 0.025090038776397705 - }, - "else": { - "operation": "boost", - "score": -0.034228164702653885 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "threshold": 12.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Operator", - "Destructor", - "Keyword", - "Macro", - "Constructor", - "Type" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1114.5, "then": { "operation": "boost", - "score": -0.10230459272861481 + "score": 0.1091514378786087 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.018807755783200264 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, + "feature": "NumReferences", + "threshold": 370.0, "then": { "operation": "boost", - "score": -0.17293007671833038 + "score": 0.15145422518253326 }, "else": { "operation": "boost", - "score": 0.007403385825455189 + "score": 0.04814609885215759 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10698050260543823 + }, + "else": { + "operation": "boost", + "score": 0.12230399250984192 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 130.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 481.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 497.5, "then": { - "operation": "boost", - "score": 0.07082090526819229 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 943.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11833794414997101 + }, + "else": { + "operation": "boost", + "score": -0.6025333404541016 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 812.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 849.0, + "then": { + "operation": "boost", + "score": 0.140952467918396 + }, + "else": { + "operation": "boost", + "score": 0.11944328993558884 + } + }, + "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 + } + } + } + } + } + } }, "else": { + "operation": "boost", + "score": 0.11088074743747711 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.03429615497589111 + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.12804409861564636 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10950304567813873 + }, + "else": { + "operation": "boost", + "score": -0.11057237535715103 + } }, "else": { - "operation": "boost", - "score": 0.08678597956895828 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 361.0, + "then": { + "operation": "boost", + "score": -0.15419267117977142 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 312.0, + "then": { + "operation": "boost", + "score": 0.22189638018608093 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.10216421633958817 + }, + "else": { + "operation": "boost", + "score": 0.10555781424045563 + } + } + } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176.5, + "then": { + "operation": "boost", + "score": -0.07748360931873322 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 170.5, "then": { "operation": "boost", - "score": 0.097381591796875 + "score": 0.10209226608276367 }, "else": { "operation": "boost", - "score": 0.07622513920068741 + "score": -0.0072292182594537735 } } } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.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.0739942267537117 + "score": 0.009836188517510891 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "boost", + "score": -0.006621848326176405 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.1419798880815506 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "then": { + "operation": "boost", + "score": -0.0355105921626091 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.5, + "then": { + "operation": "boost", + "score": 0.10541963577270508 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012106589041650295 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04254743084311485 + } + } + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0727899894118309 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.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.09274902194738388 + "score": 0.1025756448507309 }, "else": { "operation": "boost", - "score": 0.10000289976596832 + "score": 0.10719791799783707 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12475273758172989 + }, + "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", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11246275156736374 + }, + "else": { + "operation": "boost", + "score": 0.15590910613536835 + } + }, + "else": { + "operation": "boost", + "score": -0.0061901044100522995 + } + } } }, "else": { "operation": "boost", - "score": 0.022986194118857384 + "score": 0.00311466446146369 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04347195103764534 + "score": 0.11858442425727844 }, "else": { "operation": "boost", - "score": 0.00779420230537653 + "score": 0.059991102665662766 } } + }, + "else": { + "operation": "boost", + "score": 0.032492898404598236 } } - }, - "else": { - "operation": "boost", - "score": 0.05833309143781662 } } } }, "else": { "operation": "boost", - "score": 0.02989538013935089 + "score": 0.019386881962418556 } }, "else": { "operation": "boost", - "score": -0.031383708119392395 + "score": -0.11832858622074127 } }, "else": { "operation": "boost", - "score": 0.016594117507338524 + "score": 0.006105051841586828 } + }, + "else": { + "operation": "boost", + "score": -0.0046946513466537 } - }, - "else": { - "operation": "boost", - "score": -0.011235899291932583 } }, "else": { "operation": "boost", - "score": -0.006753577850759029 + "score": -0.00015061514568515122 } } + }, + "else": { + "operation": "boost", + "score": 0.0024534454569220543 } }, { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], "then": { - "operation": "boost", - "score": -0.083079032599926 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "boost", + "score": -0.040595464408397675 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.014052352868020535 + "score": 0.040218353271484375 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.07530509680509567 + "score": 0.04258376732468605 }, "else": { + "operation": "boost", + "score": 0.08401627838611603 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11397143453359604 + }, + "else": { + "operation": "boost", + "score": 0.005492060910910368 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0002354362659389153 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type" - ], + "operation": "boost", + "score": -0.0005387468263506889 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.043230436742305756 - }, - "else": { - "operation": "boost", - "score": 0.005294138565659523 - } + "operation": "boost", + "score": 0.04188837856054306 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.0016200767131522298 - }, - "else": { "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.11684640496969223 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1367.0, "then": { + "operation": "boost", + "score": 0.11039789021015167 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.009837576188147068 + "score": 0.09713130444288254 }, "else": { "operation": "boost", - "score": -0.06492151319980621 + "score": 0.14008520543575287 } - }, - "else": { - "operation": "boost", - "score": -0.013879465870559216 } + }, + "else": { + "operation": "boost", + "score": 0.1569535881280899 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.02089175023138523 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.046231627464294434 + "score": 0.07389620691537857 }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.08312266319990158 + "score": -0.11303997039794922 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09155154228210449 - }, - "else": { - "operation": "boost", - "score": 0.014301321469247341 - } + "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 + } } }, "else": { - "operation": "boost", - "score": 0.01155957579612732 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.12491938471794128 + }, + "else": { + "operation": "boost", + "score": 0.12032372504472733 + } } - }, - "else": { - "operation": "boost", - "score": -0.13106626272201538 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.012785708531737328 - }, - "else": { - "operation": "boost", - "score": -0.00493262242525816 } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.5, + "then": { + "operation": "boost", + "score": 0.09871672093868256 + }, + "else": { + "operation": "boost", + "score": -0.011436648666858673 + } } } }, "else": { "operation": "boost", - "score": 0.00023989807232283056 + "score": 0.004638136830180883 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.1268114298582077 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.0, - "then": { - "operation": "boost", - "score": 0.07759030908346176 - }, - "else": { - "operation": "boost", - "score": -0.3096243441104889 - } - }, - "else": { - "operation": "boost", - "score": 0.1700819581747055 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.010329179465770721 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.034300945699214935 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.013942623510956764 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08221179991960526 + }, + "else": { + "operation": "boost", + "score": -0.004277427680790424 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14660070836544037 + }, + "else": { + "operation": "boost", + "score": -0.13317474722862244 + } + }, + "else": { + "operation": "boost", + "score": -0.10382838547229767 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02272173762321472 + } + } }, "else": { "operation": "boost", - "score": -0.05273027345538139 + "score": -0.04407269135117531 } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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": "FilterLength", - "threshold": 1.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08229140192270279 + "score": -0.03442783281207085 }, "else": { "operation": "boost", - "score": 0.08073920011520386 + "score": 0.0031788838095963 } }, "else": { "operation": "boost", - "score": 0.02181265316903591 + "score": -0.0631726086139679 } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.133326455950737 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.1160278245806694 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.02958693541586399 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.09020499885082245 + "score": -0.003524956526234746 }, "else": { "operation": "boost", - "score": -0.13412663340568542 + "score": 0.054718438535928726 } + }, + "else": { + "operation": "boost", + "score": -0.005746627692133188 } }, "else": { "operation": "boost", - "score": -0.08239513635635376 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10653967410326004 - }, - "else": { - "operation": "boost", - "score": -0.7824969291687012 + "score": -0.0650520920753479 } }, "else": { "operation": "boost", - "score": -0.07709922641515732 + "score": -0.10352250188589096 } } }, "else": { "operation": "boost", - "score": -0.05119593068957329 + "score": -0.024989569559693336 } } + }, + "else": { + "operation": "boost", + "score": -0.0007557005155831575 } - }, - "else": { + } + } + }, + "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": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { - "operation": "boost", - "score": 1.709137201309204 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.032898854464292526 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Function" + "GlobalScope" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.049808863550424576 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.049451787024736404 + "score": -0.37156572937965393 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07655639201402664 - }, - "else": { - "operation": "boost", - "score": 0.13600289821624756 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.5010082721710205 - }, - "else": { - "operation": "boost", - "score": 0.07463553547859192 - } - } + "operation": "boost", + "score": 0.1761477291584015 } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06630610674619675 }, "else": { + "operation": "boost", + "score": 0.0986877977848053 + } + }, + "else": { + "operation": "boost", + "score": -0.08159051835536957 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { + "operation": "boost", + "score": 0.10845855623483658 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.016560358926653862 - }, - "else": { - "operation": "boost", - "score": -0.6901286840438843 - } + "operation": "boost", + "score": 0.0997525230050087 }, "else": { "operation": "boost", - "score": 0.04554154351353645 + "score": -0.03359582647681236 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.06758815795183182 }, "else": { "operation": "boost", - "score": -0.04631451889872551 + "score": -0.0354510098695755 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 63.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.0, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.25884947180747986 + "score": -0.10781954973936081 }, "else": { "operation": "boost", - "score": 0.08769199997186661 + "score": 0.143254816532135 } }, "else": { "operation": "boost", - "score": -0.14367160201072693 + "score": 0.06763731688261032 } }, "else": { "operation": "boost", - "score": 0.11836113035678864 + "score": 0.2948704659938812 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.16278283298015594 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -0.04905097559094429 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.13903987407684326 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.13337227702140808 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": -0.4437861740589142 + }, + "else": { + "operation": "boost", + "score": 0.08352747559547424 + } + }, + "else": { + "operation": "boost", + "score": -1.3608899116516113 + } + } }, "else": { - "operation": "boost", - "score": 0.10517992824316025 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.07019975781440735 + }, + "else": { + "operation": "boost", + "score": 0.10827227681875229 + } } }, - "else": { - "operation": "boost", - "score": 0.10855311155319214 - } - }, - "else": { - "operation": "boost", - "score": 0.021368753165006638 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08250904828310013 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08917845040559769 - }, - "else": { - "operation": "boost", - "score": -0.08881983906030655 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10008.5, - "then": { - "operation": "boost", - "score": -0.04386245086789131 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 146.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 178.0, - "then": { - "operation": "boost", - "score": 0.07073580473661423 - }, - "else": { - "operation": "boost", - "score": 0.11324284970760345 - } - }, - "else": { - "operation": "boost", - "score": -0.18855290114879608 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 127.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.047345176339149475 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 229.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11978145688772202 + "score": -0.07444991171360016 }, "else": { "operation": "boost", - "score": 0.053059469908475876 + "score": 0.11792461574077606 } } - }, - "else": { - "operation": "boost", - "score": 0.012550842948257923 } }, "else": { "operation": "boost", - "score": 0.1199088916182518 + "score": 0.01418117806315422 } - }, - "else": { - "operation": "boost", - "score": 0.016244756057858467 } } - }, - "else": { - "operation": "boost", - "score": -0.004419705830514431 } } + }, + "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": "SemaSaysInScope", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.026461834087967873 - }, - "else": { - "operation": "boost", - "score": 0.007266693748533726 - } - }, - "else": { - "operation": "boost", - "score": -2.488025188446045 - } - }, - "else": { - "operation": "boost", - "score": 0.05839693173766136 - } + "operation": "boost", + "score": 0.006063962355256081 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "boost", - "score": 0.07105255872011185 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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.060895539820194244 + "score": 0.011526966467499733 }, "else": { "operation": "boost", - "score": -0.7345890402793884 + "score": -0.006167309358716011 } + }, + "else": { + "operation": "boost", + "score": 0.01853042282164097 } - } - }, - "else": { - "operation": "boost", - "score": -0.029852384701371193 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.00887980591505766 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 149.0, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 265.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.03806883096694946 + "score": -0.044089436531066895 }, "else": { "operation": "boost", - "score": 0.10249609500169754 + "score": 0.10062766075134277 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.07382979989051819 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.011222007684409618 + }, + "else": { + "operation": "boost", + "score": 0.026381682604551315 + } }, "else": { "operation": "boost", - "score": 0.10816443711519241 + "score": -0.010768801905214787 } }, "else": { - "operation": "boost", - "score": 0.030647145584225655 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.05327184125781059 + "score": 0.7818167805671692 }, "else": { "operation": "boost", - "score": -4.63397741317749 + "score": 0.019402794539928436 } - }, - "else": { - "operation": "boost", - "score": -0.021989842876791954 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04485664516687393 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10048222541809082 }, "else": { "operation": "boost", - "score": 0.06225818768143654 + "score": -0.004191744141280651 } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadSymbolType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.030265450477600098 + "score": 0.03604250028729439 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 108.5, - "then": { - "operation": "boost", - "score": 0.017691414803266525 - }, - "else": { - "operation": "boost", - "score": 0.0974155142903328 - } + "operation": "boost", + "score": 0.13598109781742096 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10453355312347412 - }, - "else": { - "operation": "boost", - "score": -0.1175055280327797 - } + "operation": "boost", + "score": 0.0030867040622979403 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007081310730427504 + }, + "else": { + "operation": "boost", + "score": 0.1001659408211708 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.0, + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.04750930145382881 + "score": 0.10780789703130722 }, "else": { "operation": "boost", - "score": 0.10119643807411194 + "score": 0.09001348912715912 } }, "else": { "operation": "boost", - "score": 0.045102622359991074 + "score": 0.003971195314079523 } }, "else": { + "operation": "boost", + "score": 0.012518598698079586 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.02650492638349533 + "score": -0.4588032066822052 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.13057675957679749 - }, - "else": { - "operation": "boost", - "score": 0.09310086816549301 - } + "operation": "boost", + "score": -0.07156478613615036 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.17335174977779388 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Operator", + "Unknown", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.061356835067272186 - }, - "else": { - "operation": "boost", - "score": 0.08764834702014923 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.19954049587249756 - }, - "else": { - "operation": "boost", - "score": 0.11724339425563812 - } - }, - "else": { - "operation": "boost", - "score": 0.01589321717619896 - } + "score": -0.013249770738184452 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.024004129692912102 + "score": 0.017900830134749413 }, "else": { "operation": "boost", - "score": -0.17903020977973938 + "score": 0.004181920550763607 } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0009442463051527739 + }, + "else": { + "operation": "boost", + "score": -0.10780937969684601 + } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.026862187311053276 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.006997908465564251 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31592.0, - "then": { - "operation": "boost", - "score": -0.1402132362127304 - }, - "else": { - "operation": "boost", - "score": -0.002854582155123353 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.10105494409799576 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.010960938408970833 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.011676919646561146 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0111941983923316 + "score": 0.016073863953351974 }, "else": { "operation": "boost", - "score": 0.08488732576370239 + "score": -0.037456195801496506 } - }, - "else": { - "operation": "boost", - "score": 0.02155298739671707 } } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "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": "SymbolScopeDistance", - "threshold": 50002.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.008871289901435375 - }, - "else": { - "operation": "boost", - "score": 0.06411299854516983 - } + "operation": "boost", + "score": -0.04682939127087593 }, "else": { "operation": "boost", - "score": -0.05755267292261124 + "score": 0.009859366342425346 } - }, - "else": { - "operation": "boost", - "score": 0.021345822140574455 } } } - }, - "else": { - "operation": "boost", - "score": -0.01980399899184704 } - }, - "else": { - "operation": "boost", - "score": 0.0008802076918072999 } }, "else": { - "operation": "boost", - "score": -0.0014467259170487523 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18885.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.005694323685020208 - }, - "else": { - "operation": "boost", - "score": -0.002424343954771757 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "FilterLength", - "threshold": 2.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "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.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07003530114889145 + "score": -0.02045024186372757 }, "else": { "operation": "boost", - "score": -0.13095438480377197 + "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, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", + "CCC_Statement", "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "boost", + "score": 0.03026833012700081 + }, + "else": { + "operation": "boost", + "score": -0.010074760764837265 + } + }, + "else": { + "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": "FileProximityDistance", - "threshold": 12.0, + "operation": "boost", + "score": 0.09097184240818024 + }, + "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" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "boost", + "score": 0.04647732153534889 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.06141325831413269 + "score": 0.0041241771541535854 }, "else": { "operation": "boost", - "score": 0.0890730768442154 + "score": -0.1600462794303894 } - }, - "else": { - "operation": "boost", - "score": -0.1001843512058258 } }, "else": { "operation": "boost", - "score": 0.10480304807424545 + "score": -0.02149556577205658 } - }, - "else": { - "operation": "boost", - "score": -0.09109850227832794 - } - } - }, - "else": { - "operation": "boost", - "score": 0.053306322544813156 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.12416016310453415 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.10791206359863281 - }, - "else": { - "operation": "boost", - "score": -0.10068473219871521 } } }, "else": { "operation": "boost", - "score": -0.10011027753353119 + "score": -0.008244043216109276 } } - }, - "else": { - "operation": "boost", - "score": 0.043225839734077454 } } - }, - "else": { + } + }, + { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.0009461934678256512 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04673806205391884 + }, + "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 332.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0364568866789341 + "score": 0.023544572293758392 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "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.11102798581123352 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8282.0, + "then": { + "operation": "boost", + "score": -0.11077603697776794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 745.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2265.5, + "then": { + "operation": "boost", + "score": 0.10752546042203903 + }, + "else": { + "operation": "boost", + "score": 0.10718824714422226 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 362.0, + "then": { + "operation": "boost", + "score": -0.28737935423851013 + }, + "else": { + "operation": "boost", + "score": 0.11921671032905579 + } + } + } }, "else": { "operation": "boost", - "score": 0.16247549653053284 + "score": -0.1162911206483841 } }, "else": { "operation": "boost", - "score": -0.004957585129886866 + "score": -0.16304519772529602 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 678.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.088058702647686 + "score": 0.09813757240772247 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22.5, + "threshold": 1782.0, "then": { - "operation": "boost", - "score": -0.11335906386375427 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11423.5, "then": { "operation": "boost", - "score": 0.19301943480968475 + "score": 0.08710148185491562 }, "else": { "operation": "boost", - "score": -0.38619866967201233 + "score": -0.1027078926563263 } + }, + "else": { + "operation": "boost", + "score": 0.1872205138206482 } } }, "else": { "operation": "boost", - "score": 0.0685296505689621 + "score": -0.11192569136619568 } } } }, "else": { "operation": "boost", - "score": 0.054338354617357254 + "score": 0.029225073754787445 } }, "else": { "operation": "boost", - "score": 0.024053271859884262 + "score": 0.004416801035404205 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", + "CCC_ClassStructUnion", + "CCC_Statement", "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.047954294830560684 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.010812586173415184 + } }, "else": { - "operation": "boost", - "score": 0.014386351220309734 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_UnionTag" - ], - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 107.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "boost", - "score": -0.3524135649204254 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.14461757242679596 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.12466908246278763 + }, + "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 + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.04129302129149437 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.07395229488611221 + "score": -0.1006065085530281 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { "operation": "boost", - "score": 0.0440908744931221 + "score": 0.20125707983970642 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": 0.11135061830282211 + "score": 0.10704468190670013 }, "else": { "operation": "boost", - "score": 0.061724476516246796 + "score": 0.10076185315847397 } } }, + "else": { + "operation": "boost", + "score": -0.08729677647352219 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00016177556244656444 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.041399359703063965 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10059801489114761 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.02543254755437374 + "score": -0.1288149058818817 }, "else": { "operation": "boost", - "score": 0.1059306263923645 + "score": 0.09611184149980545 } }, "else": { "operation": "boost", - "score": -0.017376648262143135 + "score": -0.04946257546544075 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.03005489893257618 + "score": 0.09505301713943481 }, "else": { "operation": "boost", - "score": -0.32872849702835083 + "score": -0.10641635209321976 } } } }, "else": { "operation": "boost", - "score": 0.0814111977815628 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.0, - "then": { - "operation": "boost", - "score": 0.10836520045995712 - }, - "else": { - "operation": "boost", - "score": 0.04895966500043869 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09221833199262619 - }, - "else": { - "operation": "boost", - "score": 0.09479095786809921 + "score": 0.04339143633842468 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 344.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.04016850143671036 - }, - "else": { - "operation": "boost", - "score": 0.09291169047355652 - } - }, - "else": { - "operation": "boost", - "score": -0.07964406907558441 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.4601406753063202 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.06605306267738342 + "score": 0.07321755588054657 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.11131633073091507 + "score": 0.08142878115177155 }, "else": { "operation": "boost", - "score": 0.10749033093452454 + "score": 0.042580246925354004 } } } - }, - "else": { - "operation": "boost", - "score": 0.04329223930835724 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 20.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.013560670427978039 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.012478095479309559 + "score": -0.10084109753370285 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { - "operation": "boost", - "score": 0.10165580362081528 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 32.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.01578318513929844 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07748663425445557 - }, - "else": { - "operation": "boost", - "score": 0.10429311543703079 - } - } + "operation": "boost", + "score": -0.1655210554599762 }, "else": { "operation": "boost", - "score": -0.16363602876663208 + "score": -0.028231782838702202 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.04600462317466736 - }, - "else": { - "operation": "boost", - "score": 0.050593696534633636 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.014447621069848537 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.0, - "then": { - "operation": "boost", - "score": 0.06179893761873245 - }, - "else": { - "operation": "boost", - "score": 0.11170000582933426 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.033829133957624435 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "boost", - "score": 0.12833274900913239 + "score": 0.09098635613918304 }, "else": { "operation": "boost", - "score": 0.06295982748270035 + "score": -0.009171332232654095 } } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.08921512961387634 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.19266389310359955 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { "operation": "boost", - "score": -0.040884196758270264 + "score": -0.006157289259135723 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { - "operation": "boost", - "score": 0.15003632009029388 + "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 + } + } }, "else": { - "operation": "boost", - "score": 0.1316266506910324 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.053121596574783325 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04731715843081474 + }, + "else": { + "operation": "boost", + "score": 0.11025198549032211 + } + }, + "else": { + "operation": "boost", + "score": 0.07256726920604706 + } + } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.0952393114566803 + "score": -0.049320418387651443 }, "else": { - "operation": "boost", - "score": 0.09589103609323502 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.06986689567565918 + }, + "else": { + "operation": "boost", + "score": 0.04440688714385033 + } + } } } } } - }, - "else": { - "operation": "boost", - "score": -0.030017206445336342 } + }, + "else": { + "operation": "boost", + "score": 0.03357893228530884 } - }, - "else": { - "operation": "boost", - "score": -0.016757532954216003 } } - } - }, - "else": { - "operation": "boost", - "score": -0.010076436214148998 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.06588467210531235 - }, - "else": { - "operation": "boost", - "score": 0.10678920149803162 - } }, "else": { - "operation": "boost", - "score": 0.034779518842697144 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.017674479633569717 - }, - "else": { - "operation": "boost", - "score": -0.5496404767036438 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.012295255437493324 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.023790685459971428 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "NumReferences", + "threshold": 131.5, "then": { "operation": "boost", - "score": 0.07240544259548187 + "score": -0.035084839910268784 }, "else": { - "operation": "boost", - "score": 0.15759646892547607 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.0, + "then": { + "operation": "boost", + "score": 0.10560549795627594 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08814885467290878 + }, + "else": { + "operation": "boost", + "score": 0.11586331576108932 + } + }, + "else": { + "operation": "boost", + "score": 0.05266343057155609 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.10031954944133759 } + }, + "else": { + "operation": "boost", + "score": -0.060876429080963135 } - }, - "else": { - "operation": "boost", - "score": -0.011651336215436459 } }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Type" + "Function" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { - "operation": "boost", - "score": 0.000545621442142874 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "boost", - "score": -0.0514364130795002 + "score": 0.04895709827542305 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.13497522473335266 - }, - "else": { - "operation": "boost", - "score": 0.10433309525251389 - } + "operation": "boost", + "score": 0.056799959391355515 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4608.5, "then": { "operation": "boost", - "score": 0.10570857673883438 + "score": 0.032756831496953964 }, "else": { "operation": "boost", - "score": 0.014582005329430103 + "score": 0.13462834060192108 } } }, "else": { "operation": "boost", - "score": 0.02963270992040634 + "score": 0.005848924163728952 } }, "else": { "operation": "boost", - "score": 0.17783360183238983 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005105739459395409 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10579.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10719.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14738.0, - "then": { - "operation": "boost", - "score": 0.3335011601448059 - }, - "else": { - "operation": "boost", - "score": -0.10163121670484543 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14501.0, - "then": { - "operation": "boost", - "score": -0.05508317053318024 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14379.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12389809638261795 - }, - "else": { - "operation": "boost", - "score": -0.10142592340707779 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.22502776980400085 - }, - "else": { - "operation": "boost", - "score": 0.03987232595682144 - } - } + "score": 0.17948542535305023 } } }, "else": { - "operation": "boost", - "score": 0.11746414750814438 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FileProximityDistance", + "threshold": 29.5, "then": { + "operation": "boost", + "score": 0.06479192525148392 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5138.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1169474720954895 + "score": 0.1287747621536255 }, "else": { - "operation": "boost", - "score": 0.03574040159583092 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.1215340718626976 + "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.06550786644220352 + "score": -0.12411695718765259 } - }, - "else": { - "operation": "boost", - "score": 0.07558061182498932 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.026300743222236633 + "score": -0.11144591122865677 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.03057156316936016 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 379.0, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": -0.13178598880767822 + "score": 0.07227978855371475 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 363.0, - "then": { - "operation": "boost", - "score": 0.11468814313411713 - }, - "else": { - "operation": "boost", - "score": 0.11862736940383911 - } + "operation": "boost", + "score": 0.09459211677312851 } - }, - "else": { - "operation": "boost", - "score": 0.0705951675772667 } } }, "else": { "operation": "boost", - "score": 0.038917865604162216 + "score": 0.055335212498903275 } } }, "else": { "operation": "boost", - "score": 0.020916946232318878 + "score": 0.02395429089665413 } - }, - "else": { - "operation": "boost", - "score": 0.026403723284602165 } - } - }, - "else": { - "operation": "boost", - "score": 0.008279542438685894 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.050152819603681564 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": -0.10834988206624985 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10691125690937042 + }, + "else": { + "operation": "boost", + "score": -0.04612200707197189 + } + }, + "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 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12386451661586761 + "score": -0.03632097318768501 }, "else": { - "operation": "boost", - "score": -0.10210996121168137 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.052290625870227814 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.01742180809378624 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0995524600148201 + }, + "else": { + "operation": "boost", + "score": 0.07139299809932709 + } + } + } } } } - }, - "else": { - "operation": "boost", - "score": -0.0036779565270990133 } } }, "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "Scope", "set": [ - "Namespace" + "ClassScope", + "FileScope" ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace" + "Function" ], "then": { - "operation": "boost", - "score": 0.09801346063613892 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15646100044250488 + }, + "else": { + "operation": "boost", + "score": 0.025493767112493515 + } }, "else": { "operation": "boost", - "score": 0.017787180840969086 + "score": 0.007783149369060993 } }, "else": { "operation": "boost", - "score": -0.0013088551349937916 + "score": 3.358894173288718e-05 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.006735268980264664 - }, - "else": { - "operation": "boost", - "score": -0.11634286493062973 - } }, "else": { "operation": "boost", - "score": -0.005391827784478664 + "score": -0.003154890378937125 } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 398484.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01656377874314785 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09170518815517426 - }, - "else": { - "operation": "boost", - "score": 0.11991254985332489 - } - }, - "else": { - "operation": "boost", - "score": 0.06511443853378296 - } - }, - "else": { - "operation": "boost", - "score": 0.055452145636081696 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00040237585199065506 - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.0230767410248518 + "score": 0.07417891174554825 }, "else": { "operation": "boost", - "score": -0.0017675727140158415 + "score": 0.0101467315107584 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04165803641080856 - }, - "else": { - "operation": "boost", - "score": -0.11292324960231781 - } - }, - "else": { - "operation": "boost", - "score": 0.02545803040266037 - } - } - } - }, - "else": { - "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_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.07724881917238235 - }, - "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.03613607957959175 + "score": 0.08800731599330902 }, "else": { "operation": "boost", - "score": -0.2862619161605835 + "score": 0.09520106762647629 } - } - }, - "else": { - "operation": "boost", - "score": -0.0028735422529280186 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.04298235848546028 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, "then": { - "operation": "boost", - "score": 0.023578671738505363 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.054542701691389084 + "score": 0.11435981839895248 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.0, "then": { "operation": "boost", - "score": 0.000589344184845686 + "score": -0.0030759975779801607 }, "else": { "operation": "boost", - "score": -0.172496035695076 + "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 + } } } }, "else": { "operation": "boost", - "score": -0.01059635914862156 + "score": -0.059274982661008835 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.011645255610346794 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04026108980178833 - }, - "else": { - "operation": "boost", - "score": -0.3433060348033905 - } - } + "operation": "boost", + "score": 0.037735603749752045 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.025986315682530403 - }, - "else": { - "operation": "boost", - "score": 0.009785913862287998 - } - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.0006055812700651586 + "score": -0.07170332968235016 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.019268333911895752 + "score": -0.02159433253109455 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.050979841500520706 + "score": -0.14834250509738922 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.03231193497776985 + "score": -0.44293856620788574 }, "else": { "operation": "boost", - "score": -0.06194676458835602 + "score": -0.9319264888763428 } } } } + }, + "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.019318927079439163 + }, + "else": { + "operation": "boost", + "score": -0.08763932436704636 + } } } } + }, + "else": { + "operation": "boost", + "score": -0.020663456991314888 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 17.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "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": 3.5, + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18751.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 22368.0, "then": { "operation": "boost", - "score": 0.06995173543691635 + "score": -0.006078618578612804 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.06993742287158966 - }, - "else": { - "operation": "boost", - "score": 0.003793092677369714 - } + "operation": "boost", + "score": 0.024314939975738525 } }, "else": { - "operation": "boost", - "score": -0.0014977193204686046 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.06519660353660583 + }, + "else": { + "operation": "boost", + "score": 0.11273820698261261 + } } }, + "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": "IsInstanceMember", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": 0.11777745187282562 + }, + "else": { + "operation": "boost", + "score": -0.01334524154663086 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8890.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8956.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { "operation": "boost", - "score": -0.10429619252681732 + "score": -0.10196453332901001 }, "else": { - "operation": "boost", - "score": 0.06756380945444107 + "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.003844571067020297 + "score": 0.07029625028371811 } }, "else": { "operation": "boost", - "score": 0.007901434786617756 + "score": -0.1581154614686966 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.11113855987787247 + } + }, + "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": "boost", - "score": 0.007032054476439953 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.054730262607336044 + "score": 0.14243820309638977 }, "else": { "operation": "boost", - "score": -0.2281092256307602 + "score": 0.11279025673866272 } + }, + "else": { + "operation": "boost", + "score": -0.2607899010181427 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0006735912756994367 - }, - "else": { - "operation": "boost", - "score": -0.04871213063597679 - } - }, - "else": { - "operation": "boost", - "score": -0.015781467780470848 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.019856322556734085 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_Statement", + "CCC_TopLevel" ], "then": { "operation": "boost", - "score": 0.002279141219332814 + "score": 0.13644054532051086 }, "else": { - "operation": "boost", - "score": -0.006674622651189566 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10965083539485931 + }, + "else": { + "operation": "boost", + "score": -0.023889193311333656 + } } }, "else": { - "operation": "boost", - "score": -0.00803168024867773 - } - } - }, - "else": { - "operation": "boost", - "score": -0.07580754160881042 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.02859637327492237 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.0038072664756327868 + "score": 0.006027278024703264 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, "then": { - "operation": "boost", - "score": 0.0739835575222969 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8751.0, + "then": { + "operation": "boost", + "score": 0.10686041414737701 + }, + "else": { + "operation": "boost", + "score": 0.10488531738519669 + } }, "else": { "operation": "boost", - "score": 0.027198772877454758 + "score": 0.09317463636398315 } } - }, - "else": { - "operation": "boost", - "score": -0.06382779031991959 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.025277288630604744 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11266063153743744 + }, + "else": { + "operation": "boost", + "score": 0.09743236750364304 + } + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08207804709672928 + }, + "else": { + "operation": "boost", + "score": -0.7193828225135803 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8213.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8296.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.1440954953432083 + }, + "else": { + "operation": "boost", + "score": 0.06299242377281189 + } + }, + "else": { + "operation": "boost", + "score": 0.0983557254076004 + } + }, + "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.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.1052829697728157 + "score": 0.11073284596204758 }, "else": { "operation": "boost", - "score": -0.10374985635280609 + "score": -0.28234386444091797 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.012251995503902435 + "score": -0.3174605965614319 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.15195167064666748 + }, + "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 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.12212970107793808 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7467.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7590.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.109327532351017 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11571714282035828 + }, + "else": { + "operation": "boost", + "score": -0.11138954013586044 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10172060877084732 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06719394028186798 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7834.5, + "then": { + "operation": "boost", + "score": 0.10620920360088348 + }, + "else": { + "operation": "boost", + "score": 0.07630033046007156 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07714354991912842 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10237197577953339 + } + } + }, + "else": { + "operation": "boost", + "score": -0.7286947965621948 + } + } + }, + "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": "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 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8051.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1134641021490097 + }, + "else": { + "operation": "boost", + "score": -0.10109062492847443 + } + }, + "else": { + "operation": "boost", + "score": 0.04255624860525131 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.04956893250346184 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8187.0, + "then": { + "operation": "boost", + "score": 0.12325620651245117 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8044.5, + "then": { + "operation": "boost", + "score": 0.11582455784082413 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7509.0, + "then": { + "operation": "boost", + "score": -0.11158844828605652 + }, + "else": { + "operation": "boost", + "score": 0.14737914502620697 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1761539876461029 + } + } + } + } + } + } }, "else": { - "operation": "boost", - "score": 0.1042201966047287 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8022.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8158.0, + "then": { + "operation": "boost", + "score": -0.11049371212720871 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.021576842293143272 + } + }, + "else": { + "operation": "boost", + "score": -0.15353578329086304 + } } } }, "else": { "operation": "boost", - "score": 0.08584969490766525 - } - }, - "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": 2.5, - "then": { - "operation": "boost", - "score": 0.08694309741258621 - }, - "else": { - "operation": "boost", - "score": -0.3562334179878235 - } - }, - "else": { - "operation": "boost", - "score": 0.0984758660197258 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.030067529529333115 - }, - "else": { - "operation": "boost", - "score": -0.054398003965616226 - } - }, - "else": { - "operation": "boost", - "score": 0.06065797805786133 - } + "score": -0.10703901201486588 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.037580978125333786 - }, - "else": { - "operation": "boost", - "score": 0.07745721936225891 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.16006039083003998 + "score": -0.10700280219316483 }, "else": { "operation": "boost", - "score": 0.118615061044693 + "score": 0.11449114978313446 } }, "else": { "operation": "boost", - "score": 0.021716494113206863 + "score": -0.2639961540699005 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.025158382952213287 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.047168832272291183 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.1136324554681778 - }, - "else": { - "operation": "boost", - "score": 0.1123690977692604 - } - } - }, - "else": { - "operation": "boost", - "score": 0.007086780853569508 - } + "operation": "boost", + "score": 0.11685184389352798 } } - } - }, - "else": { - "operation": "boost", - "score": 0.015368475578725338 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05564745515584946 }, "else": { "operation": "boost", - "score": 0.12434498965740204 + "score": 0.02275303192436695 } - }, - "else": { - "operation": "boost", - "score": -0.0508069209754467 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07338821142911911 }, "else": { "operation": "boost", - "score": -0.02851768396794796 + "score": -0.02905375324189663 } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.008027967065572739 + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8161.0, "then": { "operation": "boost", - "score": 0.11015958338975906 + "score": 0.03988879546523094 }, "else": { - "operation": "boost", - "score": 0.131010040640831 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.11478686332702637 + "score": 0.04062018170952797 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7834.5, "then": { "operation": "boost", - "score": 0.09957076609134674 + "score": 0.3541563153266907 }, "else": { "operation": "boost", - "score": 0.03130451589822769 + "score": 0.3053189218044281 } } - }, - "else": { - "operation": "boost", - "score": 0.020928846672177315 } + }, + "else": { + "operation": "boost", + "score": 0.03501906618475914 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 8002.0, "then": { "operation": "boost", - "score": 0.015702173113822937 + "score": 0.06517153978347778 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 7702.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11923117935657501 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06637129187583923 - }, - "else": { - "operation": "boost", - "score": 0.07465218007564545 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.011265583336353302 - }, - "else": { - "operation": "boost", - "score": 0.04050995409488678 - } - } - } + "operation": "boost", + "score": 0.4016737937927246 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.06303543597459793 - }, - "else": { - "operation": "boost", - "score": 0.07260646671056747 - } + "operation": "boost", + "score": -0.18418440222740173 } } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.20888200402259827 - }, - "else": { - "operation": "boost", - "score": 0.0002532475918997079 - } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01717005856335163 + "score": 0.014440600760281086 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03558003157377243 - }, - "else": { - "operation": "boost", - "score": 0.08675744384527206 - } - }, - "else": { - "operation": "boost", - "score": 0.00292055937461555 - } + "operation": "boost", + "score": -0.1100151538848877 }, "else": { "operation": "boost", - "score": -0.021480826660990715 + "score": 0.08171653747558594 } }, "else": { - "operation": "boost", - "score": -0.02169961854815483 + "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", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.012360326945781708 + }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 110939.5, "then": { + "operation": "boost", + "score": -0.1416569948196411 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 13840.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 14305.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.05193514749407768 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.008318723179399967 - }, - "else": { - "operation": "boost", - "score": -0.02802245318889618 - } - }, - "else": { - "operation": "boost", - "score": 0.010733367875218391 - } - } - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11207365989685059 - }, - "else": { - "operation": "boost", - "score": -0.001997982384636998 - } + "operation": "boost", + "score": 0.01702863909304142 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.028308840468525887 - }, - "else": { - "operation": "boost", - "score": -0.08395934849977493 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0059125409461557865 - }, - "else": { - "operation": "boost", - "score": -0.051252707839012146 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0054930769838392735 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.030657730996608734 + "score": 0.07514497637748718 }, "else": { "operation": "boost", - "score": 0.12949185073375702 + "score": -0.13153555989265442 } - }, - "else": { - "operation": "boost", - "score": 0.07517752796411514 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.04463246092200279 + "score": 0.10056792199611664 }, "else": { "operation": "boost", - "score": -0.015112634748220444 + "score": 0.1365695595741272 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10865.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.008396095596253872 - }, - "else": { - "operation": "boost", - "score": 0.0466277189552784 - } + "operation": "boost", + "score": -0.014194603078067303 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 9.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Namespace", - "Keyword", - "Macro", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.04592100903391838 - }, - "else": { - "operation": "boost", - "score": 0.11935333907604218 - } - }, - "else": { - "operation": "boost", - "score": 0.11024209856987 - } - }, - "else": { - "operation": "boost", - "score": -0.11694513261318207 - } - }, - "else": { - "operation": "boost", - "score": 0.027809878811240196 - } + "operation": "boost", + "score": 0.1046484187245369 }, "else": { "operation": "boost", - "score": 0.00948970764875412 + "score": -0.14917878806591034 } } }, "else": { "operation": "boost", - "score": 0.009626786224544048 + "score": -0.09797956049442291 } } } } + }, + "else": { + "operation": "boost", + "score": 0.10707733780145645 } } } }, "else": { "operation": "boost", - "score": -0.0005338435294106603 + "score": -0.0002530912170186639 } }, { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type", - "Function" + "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": "HadSymbolType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", @@ -350674,1622 +339172,1398 @@ "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "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 + } + }, + "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "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", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0018094974802806973 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "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", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1316.5, - "then": { - "operation": "boost", - "score": 0.12127558887004852 - }, - "else": { - "operation": "boost", - "score": -0.049946378916502 - } + "operation": "boost", + "score": -0.026353677734732628 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11507517844438553 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012972933240234852 + }, + "else": { + "operation": "boost", + "score": 0.05143539980053902 + } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.27280181646347046 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10267826914787292 - }, - "else": { - "operation": "boost", - "score": 0.09933829307556152 - } - } - }, - "else": { - "operation": "boost", - "score": 0.015583546832203865 - } + "operation": "boost", + "score": 0.06132834777235985 }, "else": { "operation": "boost", - "score": -0.5064374804496765 + "score": 0.047543179243803024 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.019692813977599144 + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004924481268972158 + }, + "else": { + "operation": "boost", + "score": 0.09710372984409332 + } + }, + "else": { + "operation": "boost", + "score": -0.024540802463889122 + } }, "else": { "operation": "boost", - "score": -0.00037760150735266507 + "score": 0.03154253214597702 } }, "else": { "operation": "boost", - "score": -0.05457569658756256 + "score": 0.006648062262684107 } } }, "else": { - "operation": "boost", - "score": 0.04078356549143791 + "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": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.057907834649086 + }, + "else": { + "operation": "boost", + "score": 0.016320914030075073 + } + }, + "else": { + "operation": "boost", + "score": -0.019737042486667633 + } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "ContextKind", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "CCC_Statement", + "CCC_TopLevel" ], "then": { - "operation": "boost", - "score": 0.0073581780306994915 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.01684933714568615 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03684954345226288 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11089877784252167 + }, + "else": { + "operation": "boost", + "score": 0.10530136525630951 + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "boost", + "score": -0.015060569159686565 + }, + "else": { + "operation": "boost", + "score": 0.15614017844200134 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 6.0, "then": { - "operation": "boost", - "score": -0.10258501023054123 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.0, + "then": { + "operation": "boost", + "score": 0.04657655954360962 + }, + "else": { + "operation": "boost", + "score": 0.1188209280371666 + } }, "else": { "operation": "boost", - "score": 0.12485863268375397 + "score": -0.05833810940384865 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.1016879454255104 + "score": -0.14002302289009094 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.19766861200332642 + "score": 0.10175486654043198 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.12249098718166351 - }, - "else": { - "operation": "boost", - "score": 0.10680898278951645 - } + "operation": "boost", + "score": 0.11140128970146179 } } } }, "else": { - "operation": "boost", - "score": 0.013351618312299252 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.16103452444076538 + "score": 0.016493454575538635 }, "else": { - "operation": "boost", - "score": 0.06521724909543991 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.14994187653064728 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.11587820202112198 - }, - "else": { - "operation": "boost", - "score": 0.030573707073926926 - } + "operation": "boost", + "score": 0.07860633730888367 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.03375563770532608 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.1091930940747261 + "score": 0.11255265772342682 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.09226524084806442 - }, - "else": { - "operation": "boost", - "score": 0.20199929177761078 - } + "operation": "boost", + "score": 0.13377757370471954 } + }, + "else": { + "operation": "boost", + "score": -0.11660099774599075 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.037125542759895325 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.04255467653274536 + "score": 0.14676479995250702 }, "else": { "operation": "boost", - "score": -0.024522989988327026 + "score": 0.04456391930580139 } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0512433722615242 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.07052335888147354 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.0, + "then": { + "operation": "boost", + "score": 0.09653052687644958 }, "else": { + "operation": "boost", + "score": -0.1453748643398285 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 8.0, "then": { "operation": "boost", - "score": -0.8730816841125488 + "score": 0.1140751764178276 }, "else": { "operation": "boost", - "score": -0.040964726358652115 + "score": 0.11948603391647339 } + }, + "else": { + "operation": "boost", + "score": -0.16690154373645782 } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.5, + "then": { + "operation": "boost", + "score": -0.036639340221881866 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "boost", - "score": 0.04647289216518402 + "score": 0.10875600576400757 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.14921818673610687 + "score": -0.08403301984071732 }, "else": { "operation": "boost", - "score": 0.05758265033364296 + "score": 0.10144828259944916 } } } + }, + "else": { + "operation": "boost", + "score": -0.5232328772544861 } } } + }, + "else": { + "operation": "boost", + "score": 0.00890728086233139 } } } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.006919293198734522 - }, - "else": { - "operation": "boost", - "score": 0.0025372724048793316 - } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", "Keyword", - "Macro", - "Constructor" + "Variable", + "Operator", + "Constructor", + "Type", + "Namespace" ], "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01157665066421032 - }, - "else": { - "operation": "boost", - "score": 0.04732779413461685 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03196538984775543 - }, - "else": { - "operation": "boost", - "score": -0.03584136441349983 - } - } + "operation": "boost", + "score": 0.010161848738789558 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.11172309517860413 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.10427151620388031 - }, - "else": { - "operation": "boost", - "score": 0.03847093880176544 - } - } - }, - "else": { - "operation": "boost", - "score": -0.008096221834421158 - } + "operation": "boost", + "score": 0.0060227252542972565 } }, "else": { - "operation": "boost", - "score": -0.11625707894563675 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_TopLevel", - "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": 69564.0, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.003087516874074936 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10855317860841751 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.031086064875125885 + }, + "else": { + "operation": "boost", + "score": 0.15725819766521454 + } + }, + "else": { + "operation": "boost", + "score": -0.05092532932758331 + } }, "else": { - "operation": "boost", - "score": 0.10506369173526764 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": -0.005817297380417585 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 213.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 229.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 530.5, + "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": 3.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.008481187745928764 + "score": 0.08588734269142151 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.05211372673511505 + "score": 0.11638680845499039 }, "else": { "operation": "boost", - "score": 0.09843961149454117 + "score": 0.07351258397102356 } } }, "else": { "operation": "boost", - "score": -0.11206109076738358 + "score": -0.13045144081115723 } }, "else": { - "operation": "boost", - "score": 0.09001943469047546 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09177961945533752 + }, + "else": { + "operation": "boost", + "score": 0.06157601997256279 + } } }, "else": { - "operation": "boost", - "score": -0.21999584138393402 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 132.0, - "then": { - "operation": "boost", - "score": 0.12309765070676804 - }, - "else": { - "operation": "boost", - "score": -0.1128503680229187 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12506616115570068 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.01626795157790184 + }, + "else": { + "operation": "boost", + "score": 0.13235172629356384 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.0371847003698349 + }, + "else": { + "operation": "boost", + "score": 0.08834553509950638 + } + } + } } } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.04842350631952286 - }, - "else": { - "operation": "boost", - "score": -0.09150789678096771 - } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, - "then": { - "operation": "boost", - "score": 0.06167886406183243 - }, - "else": { - "operation": "boost", - "score": 0.1089458167552948 - } - }, - "else": { - "operation": "boost", - "score": 0.02559671364724636 - } + "operation": "boost", + "score": -0.011128704063594341 } + }, + "else": { + "operation": "boost", + "score": -0.00846597459167242 } }, "else": { "operation": "boost", - "score": 0.015031659975647926 + "score": -0.024037685245275497 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.4224223792552948 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19905.0, + "threshold": 11006.0, "then": { + "operation": "boost", + "score": -0.019702879711985588 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26817.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.07954168319702148 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.10552491992712021 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.05421341210603714 + }, + "else": { + "operation": "boost", + "score": -0.2014145851135254 + } }, "else": { "operation": "boost", - "score": 0.11846784502267838 + "score": 0.08423177897930145 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21097.0, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.11346893757581711 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11200466752052307 + }, + "else": { + "operation": "boost", + "score": 0.09750567376613617 + } }, "else": { "operation": "boost", - "score": 0.11124005168676376 + "score": -0.7000288963317871 } } - } - }, - "else": { - "operation": "boost", - "score": 0.02779865637421608 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59076.5, - "then": { - "operation": "boost", - "score": -0.2765810191631317 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48375.0, + "threshold": 1274.0, "then": { - "operation": "boost", - "score": 0.08801829814910889 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.399953693151474 + }, + "else": { + "operation": "boost", + "score": 0.09984475374221802 + } }, "else": { "operation": "boost", - "score": 0.0025138105265796185 + "score": -0.03080056793987751 } } - }, - "else": { - "operation": "boost", - "score": -0.0043889801017940044 } - } - }, - "else": { - "operation": "boost", - "score": 0.018020186573266983 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.006444822996854782 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 6.0, - "then": { - "operation": "boost", - "score": -0.013609427027404308 }, "else": { "operation": "boost", - "score": -0.27287986874580383 + "score": -0.018549256026744843 } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.027619995176792145 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28225.0, - "then": { - "operation": "boost", - "score": -0.4540001153945923 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 971.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.05906635895371437 - }, - "else": { - "operation": "boost", - "score": 0.10557176172733307 - } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 143.5, - "then": { - "operation": "boost", - "score": 0.10531748831272125 - }, - "else": { - "operation": "boost", - "score": 0.005699349567294121 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 621.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -1.068785548210144 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.06101124361157417 - }, - "else": { - "operation": "boost", - "score": 0.10451976954936981 - } + "operation": "boost", + "score": 0.11125696450471878 }, "else": { "operation": "boost", - "score": 0.03793645650148392 + "score": -0.03358175605535507 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.09856925159692764 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.006263382267206907 - }, - "else": { - "operation": "boost", - "score": 0.09999968856573105 - } + "operation": "boost", + "score": 0.0656772181391716 } }, "else": { "operation": "boost", - "score": -0.06255543231964111 + "score": 0.005791411269456148 } + }, + "else": { + "operation": "boost", + "score": 0.007965834811329842 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37666.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59972.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.013743381015956402 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.09968913346529007 + "score": 0.004450688604265451 }, "else": { "operation": "boost", - "score": 0.049723874777555466 + "score": -0.026277143508195877 } - } - }, - "else": { - "operation": "boost", - "score": 0.003902283962816 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04297523945569992 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.14319457113742828 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10036158561706543 - }, - "else": { - "operation": "boost", - "score": 0.10365572571754456 - } - }, - "else": { - "operation": "boost", - "score": 0.028123853728175163 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], - "then": { + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.03294484689831734 + } + }, + "else": { + "operation": "boost", + "score": -0.00696588447317481 + } + } + } + } + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0839330404996872 + "score": 0.015494339168071747 }, "else": { "operation": "boost", - "score": 0.012308978475630283 + "score": 0.003509857691824436 } - }, - "else": { - "operation": "boost", - "score": -0.003584279678761959 } - }, - "else": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Constructor", + "Function", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09542887657880783 - }, - "else": { - "operation": "boost", - "score": 0.08128451555967331 - } - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Namespace" + "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08814888447523117 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.03705471009016037 - }, - "else": { - "operation": "boost", - "score": 0.14636477828025818 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1062304899096489 - } - }, - "else": { - "operation": "boost", - "score": 0.07000355422496796 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.11472882330417633 + "score": 0.06490448117256165 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.024112431332468987 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 532.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.16391947865486145 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10409598052501678 + "score": 0.011169728823006153 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10550004988908768 - }, - "else": { - "operation": "boost", - "score": 0.11730659008026123 - } + "operation": "boost", + "score": -0.3291932940483093 }, "else": { "operation": "boost", - "score": 0.09698870033025742 + "score": 0.11347991973161697 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.12129828333854675 + "score": 0.01858898624777794 }, "else": { "operation": "boost", - "score": 0.03830109164118767 + "score": 0.0899992287158966 } }, "else": { "operation": "boost", - "score": 0.04371891915798187 + "score": -0.2328079789876938 } - }, - "else": { - "operation": "boost", - "score": -0.12304724007844925 } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09152965992689133 }, "else": { "operation": "boost", - "score": -0.17838619649410248 + "score": 0.01847931742668152 } }, "else": { "operation": "boost", - "score": -0.010911460965871811 + "score": -0.01997656747698784 } }, "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.6262800097465515 - }, - "else": { - "operation": "boost", - "score": -0.03677574545145035 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0003610480925999582 - } - }, - { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.000604224915150553 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "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": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.08030232042074203 + "score": -0.017406756058335304 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.007431254722177982 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09077151864767075 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": -0.11070439219474792 - }, - "else": { - "operation": "boost", - "score": 0.17633026838302612 - } - } - }, - "else": { - "operation": "boost", - "score": -0.1831011176109314 - } - } + "operation": "boost", + "score": 0.07770003378391266 }, "else": { "operation": "boost", - "score": -0.03204137459397316 + "score": 0.0042795455083251 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 17.0, + "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.1383804827928543 + "score": -0.019771572202444077 }, "else": { - "operation": "boost", - "score": 0.005757786799222231 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 274.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 474.5, - "then": { - "operation": "boost", - "score": 0.07054737210273743 - }, - "else": { - "operation": "boost", - "score": 0.10718978196382523 - } + "operation": "boost", + "score": -0.0010421437909826636 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.03532915934920311 + "score": -1.1481515169143677 }, "else": { "operation": "boost", - "score": -0.20248271524906158 + "score": -0.06802206486463547 } } - }, - "else": { - "operation": "boost", - "score": 0.023380734026432037 } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.01351480558514595 }, "else": { "operation": "boost", - "score": -0.16418692469596863 + "score": -0.011340834200382233 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.05689384043216705 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0001371461694361642 + } + } + }, + { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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.007000420242547989 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": 0.044757578521966934 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.24288934469223022 + "score": 0.0409579761326313 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30660.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43044.5, - "then": { - "operation": "boost", - "score": 0.02053837850689888 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 37723.5, - "then": { - "operation": "boost", - "score": 0.09815621376037598 - }, - "else": { - "operation": "boost", - "score": 0.055693402886390686 - } - }, - "else": { - "operation": "boost", - "score": -0.0851937085390091 - } - } - }, - "else": { - "operation": "boost", - "score": 0.003849172266200185 - } + "operation": "boost", + "score": 0.0755566880106926 } - }, - "else": { - "operation": "boost", - "score": -0.027537617832422256 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", "CCC_EnumTag", "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.014905966818332672 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.004028548486530781 + "score": 0.020146099850535393 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.2491898387670517 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05684802681207657 + }, + "else": { + "operation": "boost", + "score": 0.03163072094321251 + } + }, + "else": { + "operation": "boost", + "score": -0.001966611947864294 + } }, "else": { - "operation": "boost", - "score": -0.03159649297595024 + "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.029757961630821228 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03397975116968155 + }, + "else": { + "operation": "boost", + "score": -0.3054511547088623 + } + } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 1.5, @@ -352297,1793 +340571,1725 @@ "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" + "CCC_Statement" ], "then": { - "operation": "boost", - "score": 0.11329500377178192 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0044554173946380615 + }, + "else": { + "operation": "boost", + "score": 0.02908875234425068 + } + }, + "else": { + "operation": "boost", + "score": 0.00033731688745319843 + } }, "else": { "operation": "boost", - "score": -0.02649044245481491 + "score": 0.002777441870421171 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "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.17569078505039215 + "score": -0.0067928205244243145 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.09089867770671844 + "score": 0.03615214303135872 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 77.5, - "then": { - "operation": "boost", - "score": 0.10385765880346298 - }, - "else": { - "operation": "boost", - "score": 0.12967458367347717 - } + "operation": "boost", + "score": -0.018900888040661812 } } } + } + }, + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.003187097841873765 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.06297758966684341 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 63.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.05952995643019676 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62.5, + "threshold": 23252.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.036914244294166565 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.03886756673455238 + }, + "else": { + "operation": "boost", + "score": 0.08852601051330566 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.05945603922009468 + }, + "else": { + "operation": "boost", + "score": 0.08177496492862701 + } + } }, "else": { + "operation": "boost", + "score": -0.004853356163948774 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10737647116184235 + "score": 0.1133054792881012 }, "else": { "operation": "boost", - "score": 0.11306329071521759 + "score": -0.04152899980545044 } + }, + "else": { + "operation": "boost", + "score": 0.09142494946718216 } - }, - "else": { - "operation": "boost", - "score": -0.10854943096637726 } }, "else": { + "operation": "boost", + "score": -0.004645606502890587 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.12149791419506073 + }, + "else": { + "operation": "boost", + "score": -0.57929527759552 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0006940102321095765 + "score": 0.007313149981200695 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.5, - "then": { - "operation": "boost", - "score": -0.3092013895511627 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.004127961117774248 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.1219676285982132 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11092232912778854 - }, - "else": { - "operation": "boost", - "score": 0.11771435290575027 - } - }, - "else": { - "operation": "boost", - "score": -0.017095200717449188 - } - } - }, - "else": { - "operation": "boost", - "score": 0.03267740458250046 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04173519089818001 - }, - "else": { - "operation": "boost", - "score": 0.01204309705644846 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.08546074479818344 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 49.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.0, - "then": { - "operation": "boost", - "score": 0.11725525557994843 - }, - "else": { - "operation": "boost", - "score": -0.543033242225647 - } - }, - "else": { - "operation": "boost", - "score": 0.09113948792219162 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06176790967583656 - } - }, - "else": { - "operation": "boost", - "score": -0.010063782334327698 - } - } + "operation": "boost", + "score": -0.05311813950538635 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.5, - "then": { - "operation": "boost", - "score": 0.025177424773573875 - }, - "else": { - "operation": "boost", - "score": 0.10642911493778229 - } + "operation": "boost", + "score": 0.07216043025255203 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.13018746674060822 - }, - "else": { - "operation": "boost", - "score": 0.10555291920900345 - } - }, - "else": { - "operation": "boost", - "score": -0.11838018149137497 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.10578976571559906 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.1718766689300537 - }, - "else": { - "operation": "boost", - "score": 0.10758589208126068 - } - }, - "else": { - "operation": "boost", - "score": -0.19214080274105072 - } - } - }, - "else": { - "operation": "boost", - "score": -0.009439602494239807 - } + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.031789518892765045 + }, + "else": { + "operation": "boost", + "score": 0.01591135561466217 } } } } + }, + "else": { + "operation": "boost", + "score": -0.0011936655500903726 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.1006675511598587 + "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.07017733156681061 + "score": 0.0945003554224968 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.0022505908273160458 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.04624803736805916 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.03471241146326065 + "score": 0.08396031707525253 }, "else": { "operation": "boost", - "score": 0.09735191613435745 + "score": 0.09521451592445374 } }, "else": { "operation": "boost", - "score": -0.003656388260424137 + "score": 0.14243264496326447 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": -0.2650761604309082 }, "else": { "operation": "boost", - "score": -0.055493056774139404 + "score": -0.49875301122665405 } } } - }, - "else": { + } + } + }, + "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": 5.5, + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.005224030464887619 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.01993727870285511 - }, - "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "NumReferences", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.655197024345398 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09573715180158615 - }, - "else": { - "operation": "boost", - "score": 0.021550117060542107 - } + "operation": "boost", + "score": -0.10030949860811234 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11210739612579346 - }, - "else": { - "operation": "boost", - "score": 0.10875875502824783 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.19165563583374023 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.1081407442688942 - }, - "else": { - "operation": "boost", - "score": 0.13516174256801605 - } - }, - "else": { - "operation": "boost", - "score": -0.2578880786895752 - } - } - }, - "else": { - "operation": "boost", - "score": -0.020390260964632034 - } - } + "operation": "boost", + "score": 0.11954007297754288 } - }, - "else": { - "operation": "boost", - "score": 0.008903712965548038 } + }, + "else": { + "operation": "boost", + "score": -0.0601884201169014 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.0682787150144577 + "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.06283610314130783 + "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": "NumReferences", - "threshold": 19.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 2.5, + "threshold": 20.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { "operation": "boost", - "score": 0.12549757957458496 + "score": -0.21244792640209198 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12282765656709671 + "score": -0.10135935246944427 }, "else": { "operation": "boost", - "score": -0.0706193596124649 + "score": 0.12652993202209473 } }, "else": { "operation": "boost", - "score": 0.0344260148704052 + "score": -0.37304773926734924 } }, "else": { "operation": "boost", - "score": -0.05059975013136864 + "score": 0.09077988564968109 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.18830908834934235 + "score": 0.006797381676733494 }, "else": { - "operation": "boost", - "score": 0.13782183825969696 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021840736269950867 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.060475364327430725 + }, + "else": { + "operation": "boost", + "score": 0.12677742540836334 + } + }, + "else": { + "operation": "boost", + "score": 0.12490660697221756 + } + }, + "else": { + "operation": "boost", + "score": 0.02975262887775898 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.060001689940690994 + }, + "else": { + "operation": "boost", + "score": 0.104563869535923 + } + } + } } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.005890773143619299 + "score": -0.1490388810634613 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.03999041020870209 - }, - "else": { - "operation": "boost", - "score": -0.018494339659810066 - } + "operation": "boost", + "score": 0.005661584436893463 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "boost", - "score": -0.09138806909322739 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.12083983421325684 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.08793377876281738 + }, + "else": { + "operation": "boost", + "score": 0.01262042298913002 + } + }, + "else": { + "operation": "boost", + "score": 0.11020481586456299 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.10957615077495575 + "score": 0.10331454128026962 }, "else": { "operation": "boost", - "score": 0.013134224340319633 + "score": 0.12192396074533463 } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07942113280296326 + }, + "else": { + "operation": "boost", + "score": 0.012964945286512375 + } } } } } } } + }, + "else": { + "operation": "boost", + "score": -0.01302577555179596 } } } + }, + "else": { + "operation": "boost", + "score": -0.011878753080964088 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.122806116938591 - }, - "else": { - "operation": "boost", - "score": -0.10510741174221039 - } - }, - "else": { - "operation": "boost", - "score": 0.02262192592024803 - } - }, - "else": { - "operation": "boost", - "score": 0.010521761141717434 - } + "operation": "boost", + "score": -0.03929354250431061 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Constructor" + "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.03370872512459755 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3311.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 3500.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.11003638058900833 - }, - "else": { - "operation": "boost", - "score": 0.09439509361982346 - } - }, - "else": { - "operation": "boost", - "score": 0.032378338277339935 - } + "operation": "boost", + "score": 0.033024322241544724 }, "else": { "operation": "boost", - "score": 0.10564359277486801 + "score": 0.12177680432796478 } }, "else": { + "operation": "boost", + "score": -0.025617072358727455 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.018322207033634186 + "score": -0.017040370032191277 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.010560695081949234 + "score": 0.04260038584470749 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11478453129529953 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.29367557168006897 + "score": 0.08837002515792847 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.10684090852737427 - }, - "else": { - "operation": "boost", - "score": 0.1278712898492813 - } + "operation": "boost", + "score": 0.07133070379495621 } }, "else": { - "operation": "boost", - "score": 0.10613522678613663 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.100611612200737 + }, + "else": { + "operation": "boost", + "score": 0.10779924690723419 + } } - }, - "else": { - "operation": "boost", - "score": 0.045321814715862274 } } }, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.00967495609074831 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], "then": { + "operation": "boost", + "score": 0.11347155272960663 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.07037156075239182 - }, - "else": { - "operation": "boost", - "score": -0.12428931146860123 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.11657341569662094 + "score": 0.23075444996356964 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.04545293748378754 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07560718804597855 - }, - "else": { - "operation": "boost", - "score": 0.1036142036318779 - } - } + "operation": "boost", + "score": 0.09312749654054642 }, "else": { "operation": "boost", - "score": 0.061623573303222656 + "score": 0.14928261935710907 } } }, "else": { "operation": "boost", - "score": 0.03363693132996559 + "score": -0.15749487280845642 } } + }, + "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 } + }, + "else": { + "operation": "boost", + "score": 0.01716517098248005 } } + }, + "else": { + "operation": "boost", + "score": -0.11465691775083542 } } - }, - "else": { - "operation": "boost", - "score": -0.007747950032353401 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02003542147576809 - }, - "else": { - "operation": "boost", - "score": 0.00375421904027462 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.004477845039218664 - } - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.003112531965598464 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.0027715119067579508 - }, - "else": { - "operation": "boost", - "score": 0.011175076477229595 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.006570665631443262 + "score": 0.0020454612094908953 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "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.10065394639968872 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": -0.29710447788238525 + "score": 0.11938928812742233 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10804516822099686 + "score": 0.09388848394155502 }, "else": { "operation": "boost", - "score": 0.055677011609077454 + "score": 0.10991144925355911 } } }, "else": { "operation": "boost", - "score": 0.09569783508777618 + "score": 0.01928785815834999 } }, "else": { "operation": "boost", - "score": 0.03846238553524017 + "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": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 486.5, + "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.11564595997333527 + "score": 0.02961147204041481 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "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": "FileProximityDistance", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.08069627732038498 - }, - "else": { - "operation": "boost", - "score": -0.4010747969150543 - } + "operation": "boost", + "score": 0.013427432626485825 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.07037823647260666 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11415690183639526 - }, - "else": { - "operation": "boost", - "score": 0.10669425874948502 - } - } + "operation": "boost", + "score": 0.10088977962732315 } }, "else": { "operation": "boost", - "score": 0.056386590003967285 + "score": -0.14294709265232086 } } - }, - "else": { - "operation": "boost", - "score": 0.004612616263329983 } } - }, - "else": { + } + } + } + } + } + }, + { + "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": "FilterLength", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.12184779345989227 - }, - "else": { - "operation": "boost", - "score": -0.1009865254163742 - } - }, - "else": { - "operation": "boost", - "score": 0.033419426530599594 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.1686883568763733 - }, - "else": { - "operation": "boost", - "score": 0.0340956375002861 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.41679349541664124 + "score": 0.16827067732810974 }, "else": { "operation": "boost", - "score": 0.021224921569228172 + "score": 0.22632654011249542 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.02232154831290245 }, "else": { "operation": "boost", - "score": -0.01065128669142723 + "score": -0.013382741250097752 } + }, + "else": { + "operation": "boost", + "score": 0.03150663524866104 } + }, + "else": { + "operation": "boost", + "score": -0.013879799284040928 } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.0061685978434979916 + "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": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 76.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.0783533900976181 - }, - "else": { - "operation": "boost", - "score": -0.22331269085407257 - } - }, - "else": { - "operation": "boost", - "score": 0.07255569845438004 - } + "operation": "boost", + "score": 0.11856492608785629 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 81.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.0010313353268429637 + "score": 0.02202451415359974 }, "else": { - "operation": "boost", - "score": 0.0734761506319046 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08837790787220001 + }, + "else": { + "operation": "boost", + "score": -0.6524826288223267 + } + }, + "else": { + "operation": "boost", + "score": 0.09201841801404953 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 877.5, + "then": { + "operation": "boost", + "score": 0.19841724634170532 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 209.0, + "then": { + "operation": "boost", + "score": 0.09737909585237503 + }, + "else": { + "operation": "boost", + "score": 0.05861712992191315 + } + }, + "else": { + "operation": "boost", + "score": 0.05846020206809044 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2525063753128052 + } + } } }, "else": { - "operation": "boost", - "score": -0.018162980675697327 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.016945090144872665 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, "then": { "operation": "boost", - "score": 0.0665421113371849 + "score": 0.15752655267715454 }, "else": { - "operation": "boost", - "score": 0.023001285269856453 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.002480532741174102 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.020204899832606316 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.10859548300504684 + }, + "else": { + "operation": "boost", + "score": 0.1373744159936905 + } }, "else": { "operation": "boost", - "score": 0.05613863468170166 + "score": -0.10767380148172379 } - }, - "else": { - "operation": "boost", - "score": -0.03879866376519203 } } } + }, + "else": { + "operation": "boost", + "score": 0.04292680695652962 } }, "else": { - "operation": "boost", - "score": -0.012812700122594833 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, + "feature": "NumReferences", + "threshold": 115.5, "then": { "operation": "boost", - "score": 0.08706851303577423 + "score": -0.02932683378458023 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 110.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "boost", - "score": -0.10170846432447433 + "score": 0.11004232615232468 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, - "then": { - "operation": "boost", - "score": 0.035251978784799576 - }, - "else": { - "operation": "boost", - "score": 0.14245855808258057 - } + "operation": "boost", + "score": 0.03440432250499725 } }, "else": { - "operation": "boost", - "score": 0.003497886471450329 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10875959694385529 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "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.10155799239873886 + "score": 0.011282887309789658 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 36.5, "then": { "operation": "boost", - "score": 0.12057800590991974 + "score": -0.19704501330852509 }, "else": { "operation": "boost", - "score": -0.10041846334934235 + "score": -0.05327858775854111 } } - }, - "else": { - "operation": "boost", - "score": -0.31267446279525757 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1202721893787384 - }, - "else": { - "operation": "boost", - "score": 0.12446402758359909 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.1038377657532692 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010732363909482956 + }, + "else": { + "operation": "boost", + "score": -0.08562622964382172 + } }, "else": { "operation": "boost", - "score": 0.13853323459625244 + "score": -0.01013268157839775 } - }, - "else": { - "operation": "boost", - "score": 0.009590055793523788 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.008728200569748878 - }, - "else": { - "operation": "boost", - "score": -0.0036550608929246664 - } } } }, "else": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "FileScope" + "Function", + "Type" ], "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_UnionTag", + "CCC_ParenthesizedExpression" + ], "then": { "operation": "boost", - "score": 0.09731044620275497 + "score": 0.02364920638501644 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.012727553024888039 + "score": 0.014024495147168636 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.031231002882122993 - }, - "else": { - "operation": "boost", - "score": -0.7642579078674316 - } + "operation": "boost", + "score": 0.04152324050664902 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.284943550825119 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05048760026693344 + "score": 0.04275303706526756 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.10357143729925156 - }, - "else": { - "operation": "boost", - "score": 0.1105470359325409 - } + "operation": "boost", + "score": -0.040929120033979416 } + }, + "else": { + "operation": "boost", + "score": 0.0516987070441246 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1635126769542694 + "score": -0.03246968984603882 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.0, + "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.045425426214933395 + "score": -0.005770217161625624 }, "else": { - "operation": "boost", - "score": 0.12334752827882767 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.018445907160639763 + "score": -0.02203275077044964 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], "then": { "operation": "boost", - "score": 0.09668951481580734 + "score": -0.2893243730068207 }, "else": { "operation": "boost", - "score": 0.00437151687219739 + "score": -0.19346536695957184 } }, "else": { "operation": "boost", - "score": -0.6839081048965454 + "score": -0.022660044953227043 } } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11819060146808624 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3542.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.10454827547073364 + "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": -1.446914792060852 + "score": -0.010335388593375683 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 53.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.12056610733270645 + "score": 0.0389166995882988 }, "else": { "operation": "boost", - "score": 0.045531656593084335 + "score": 0.13524498045444489 } } } @@ -354092,455 +342298,632 @@ "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 1.0, + "threshold": 7.0, "then": { "operation": "boost", - "score": -1.01575767993927 + "score": -0.2112884372472763 }, "else": { - "operation": "boost", - "score": 0.01576569490134716 + "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 + } } } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.00047934000031091273 - }, - "else": { - "operation": "boost", - "score": -0.8881635665893555 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03320322558283806 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 442.5, - "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 7.0, + "threshold": 3.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 522.5, - "then": { - "operation": "boost", - "score": -0.09179526567459106 - }, - "else": { - "operation": "boost", - "score": 0.11562490463256836 - } + "operation": "boost", + "score": 0.007118739653378725 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 473.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.009402510710060596 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 515.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.004512403160333633 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01411068718880415 + "score": 0.018655380234122276 }, "else": { "operation": "boost", - "score": -0.2900601029396057 + "score": 0.10918322205543518 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 472.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.01574600860476494 + "score": -0.0133872851729393 }, "else": { - "operation": "boost", - "score": 0.1077955961227417 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.008067110553383827 + }, + "else": { + "operation": "boost", + "score": 0.05822988599538803 + } } - }, - "else": { - "operation": "boost", - "score": 0.04226447269320488 } } }, "else": { + "operation": "boost", + "score": 0.015766004100441933 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0014059861423447728 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0059222010895609856 + }, + "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": 16.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "GlobalScope" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10133.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.09669402986764908 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7846.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.11430678516626358 + "score": 0.012326105497777462 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5197.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6307.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.14672362804412842 + "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.12661747634410858 + "score": 0.06973452121019363 } }, "else": { "operation": "boost", - "score": 0.029143327847123146 + "score": -0.005340272095054388 } } + }, + "else": { + "operation": "boost", + "score": -0.008888984099030495 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 255.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.9953460097312927 }, "else": { + "operation": "boost", + "score": 0.001149671385064721 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Operator", + "Constructor", + "Function", + "Namespace" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.1125679537653923 - }, - "else": { - "operation": "boost", - "score": 0.04782431945204735 - } - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.011186100542545319 + "score": 0.07819042354822159 }, "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.137796550989151 + }, + "else": { + "operation": "boost", + "score": 0.06141616031527519 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.028803860768675804 + "score": 0.00743847107514739 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 336.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], "then": { "operation": "boost", - "score": -0.24366386234760284 + "score": 0.11421047151088715 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 326.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11291085928678513 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.5279397368431091 - }, - "else": { - "operation": "boost", - "score": 0.13352695107460022 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.04311163350939751 - }, - "else": { - "operation": "boost", - "score": -0.27931734919548035 - } - } + "operation": "boost", + "score": 0.01913519576191902 } } + }, + "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": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.28853675723075867 + "score": -0.09763524681329727 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 352.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 364.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12003639340400696 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.10049739480018616 - }, - "else": { - "operation": "boost", - "score": 0.08884762972593307 - } - } + "operation": "boost", + "score": 0.08367172628641129 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.5351725816726685 - }, - "else": { - "operation": "boost", - "score": 0.12582850456237793 - } + "operation": "boost", + "score": 0.14712435007095337 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.1279400736093521 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09898261725902557 - }, - "else": { - "operation": "boost", - "score": 0.1449992060661316 - } - } - }, - "else": { - "operation": "boost", - "score": -0.13389168679714203 - } - }, - "else": { - "operation": "boost", - "score": 0.028303731232881546 - } - }, - "else": { - "operation": "boost", - "score": -0.10733845084905624 - } + "operation": "boost", + "score": -0.10166620463132858 } } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.015454304404556751 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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.005256766453385353 + }, + "else": { + "operation": "boost", + "score": -0.07786449790000916 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.017482386901974678 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022778989747166634 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.0025486210361123085 }, "else": { "operation": "boost", - "score": -0.10652969032526016 + "score": -0.739951491355896 } } } + } + }, + "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": "NumReferences", - "threshold": 245.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.004909174051135778 + "score": 0.10804763436317444 }, "else": { + "operation": "boost", + "score": 0.007441780064254999 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 247.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 252.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 254.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.14840739965438843 + "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.11153572052717209 + }, + "else": { + "operation": "boost", + "score": -1.5909855365753174 + } }, "else": { "operation": "boost", - "score": 0.143167644739151 + "score": 0.09568189084529877 } }, "else": { "operation": "boost", - "score": -0.20177589356899261 + "score": -0.030170345678925514 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10178446024656296 - }, - "else": { - "operation": "boost", - "score": 0.11794399470090866 - } + "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.003259131917729974 } } + }, + "else": { + "operation": "boost", + "score": -0.00751735782250762 } } } @@ -354548,410 +342931,346 @@ } }, "else": { - "operation": "boost", - "score": -0.0009240873623639345 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope" ], "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace", - "Type", - "Function" + "CCC_Statement", + "CCC_TopLevel", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Type" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "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.09669055044651031 + "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": "FileProximityDistance", - "threshold": 17.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag" ], "then": { + "operation": "boost", + "score": 0.10968631505966187 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 460.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 462.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 558.0, "then": { + "operation": "boost", + "score": 0.022298011928796768 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 524.0, "then": { "operation": "boost", - "score": -0.08097336441278458 + "score": 0.1468123346567154 }, "else": { "operation": "boost", - "score": 0.10213609039783478 + "score": 0.0973275750875473 } - }, - "else": { - "operation": "boost", - "score": 0.11926402896642685 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1066.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1090.0, "then": { "operation": "boost", - "score": -0.30415505170822144 + "score": 0.0019574682228267193 }, "else": { + "operation": "boost", + "score": 0.09459394961595535 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.0, + "feature": "NumReferences", + "threshold": 1015.0, "then": { "operation": "boost", - "score": -0.21839815378189087 + "score": -1.4604294300079346 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7295.5, - "then": { - "operation": "boost", - "score": -0.48963475227355957 - }, - "else": { - "operation": "boost", - "score": 0.06835274398326874 - } + "operation": "boost", + "score": -0.07872742414474487 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 894.5, + "then": { + "operation": "boost", + "score": -3.696253538131714 + }, + "else": { + "operation": "boost", + "score": -0.24455250799655914 } } - }, - "else": { - "operation": "boost", - "score": -0.1383882761001587 } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.01497996598482132 - }, - "else": { - "operation": "boost", - "score": 0.058858051896095276 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.022547537460923195 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 264.5, - "then": { - "operation": "boost", - "score": 0.11866898834705353 - }, - "else": { - "operation": "boost", - "score": -0.1003737524151802 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.5261050462722778 - }, - "else": { - "operation": "boost", - "score": 0.1837293654680252 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1224973052740097 - }, - "else": { - "operation": "boost", - "score": -0.10837412625551224 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.10618855804204941 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7561.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8259.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 858647.0, - "then": { - "operation": "boost", - "score": 0.07288959622383118 - }, - "else": { - "operation": "boost", - "score": 0.013868323527276516 - } - }, - "else": { - "operation": "boost", - "score": 0.12991464138031006 - } - }, - "else": { - "operation": "boost", - "score": 0.019263090565800667 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "boost", - "score": 0.04561275243759155 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0025067890528589487 - }, - "else": { - "operation": "boost", - "score": -0.06614018976688385 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ClassOrStructTag" - ], + "threshold": 473.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 320998.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.09786694496870041 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7240.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.11002388596534729 - }, - "else": { - "operation": "boost", - "score": 0.1113104373216629 - } + "operation": "boost", + "score": 0.00568772666156292 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 621.0, "then": { "operation": "boost", - "score": -0.21904821693897247 + "score": 0.0017244991613551974 }, "else": { "operation": "boost", - "score": 0.07526396214962006 + "score": 0.07162890583276749 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.0, + "threshold": 3069.0, "then": { - "operation": "boost", - "score": 0.08010631054639816 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 3502.5, "then": { - "operation": "boost", - "score": 0.09015411138534546 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 5251.5, "then": { "operation": "boost", - "score": -0.42069748044013977 + "score": 0.07531154155731201 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.26291030645370483 - }, - "else": { - "operation": "boost", - "score": 0.07581984996795654 - } + "operation": "boost", + "score": -0.10190063714981079 } + }, + "else": { + "operation": "boost", + "score": 0.1162247285246849 } + }, + "else": { + "operation": "boost", + "score": -0.08625443279743195 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61.5, + "threshold": 5368.0, "then": { "operation": "boost", - "score": 0.017504455521702766 + "score": -0.36092275381088257 }, "else": { "operation": "boost", - "score": 0.09155987948179245 + "score": -0.055297333747148514 } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.0, - "then": { - "operation": "boost", - "score": 0.04490559548139572 - }, - "else": { - "operation": "boost", - "score": 0.09638509899377823 - } } }, "else": { @@ -354959,809 +343278,850 @@ "feature": "FileProximityDistance", "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.027506977319717407 - }, - "else": { - "operation": "boost", - "score": 0.12214546650648117 - } + "operation": "boost", + "score": 0.009982336312532425 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 816.0, "then": { "operation": "boost", - "score": 0.06106359511613846 + "score": 0.00168310955632478 }, "else": { "operation": "boost", - "score": 0.09667180478572845 + "score": 0.07909034192562103 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 471.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 17.5, + "operation": "boost", + "score": 0.12228931486606598 + }, + "else": { + "operation": "boost", + "score": -0.28904688358306885 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1462.0, + "then": { + "operation": "boost", + "score": 0.027011973783373833 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1402.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.05093706026673317 + "score": 0.11502334475517273 }, "else": { + "operation": "boost", + "score": -0.18846282362937927 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 903.5, "then": { - "operation": "boost", - "score": 0.09638721495866776 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 995.5, "then": { - "operation": "boost", - "score": 0.09759335964918137 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 1303.5, "then": { + "operation": "boost", + "score": -0.8447687029838562 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1190.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" + "CCC_Statement", + "CCC_Expression" ], + "then": { + "operation": "boost", + "score": 0.11272060126066208 + }, + "else": { + "operation": "boost", + "score": 0.060237180441617966 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07405632734298706 + }, + "else": { + "operation": "boost", + "score": -0.08434034883975983 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.06092308461666107 + }, + "else": { + "operation": "boost", + "score": 0.14407701790332794 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 580.5, + "then": { + "operation": "boost", + "score": 0.04384274780750275 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.06500755250453949 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 660.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3.5, + "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.11062833666801453 + "score": -0.5778682231903076 }, "else": { "operation": "boost", - "score": 0.05821187421679497 + "score": -1.4555426836013794 } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09385652840137482 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.1054157093167305 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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 + } + }, + "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.023798050358891487 + "score": -0.7479925155639648 } }, "else": { "operation": "boost", - "score": -0.048290129750967026 + "score": 0.04783685877919197 } }, "else": { "operation": "boost", - "score": 0.09574560075998306 + "score": -1.0112189054489136 } } } } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10219712555408478 + } + }, + "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": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.4537450671195984 + }, + "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": "boost", + "score": 0.07674819231033325 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 430.5, + "then": { + "operation": "boost", + "score": -0.6512492299079895 }, "else": { "operation": "boost", - "score": -0.13920603692531586 + "score": 0.08045675605535507 } } }, "else": { + "operation": "boost", + "score": 0.12702856957912445 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.10366718471050262 + }, + "else": { + "operation": "boost", + "score": -0.29011911153793335 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13286.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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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": "boost", - "score": 0.022132903337478638 - }, - "else": { - "operation": "boost", - "score": -0.23128622770309448 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.019035791978240013 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.2302655130624771 - }, - "else": { - "operation": "boost", - "score": 0.10340746492147446 - } - }, - "else": { - "operation": "boost", - "score": 0.01992437057197094 - } - }, - "else": { - "operation": "boost", - "score": -0.023051315918564796 - } - } - } + "operation": "boost", + "score": 0.009297979064285755 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11263824999332428 - }, - "else": { - "operation": "boost", - "score": -0.08018343150615692 - } + "operation": "boost", + "score": 0.11438488215208054 } + }, + "else": { + "operation": "boost", + "score": 0.37172871828079224 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.5, + "threshold": 12735.5, "then": { - "operation": "boost", - "score": -0.5796083807945251 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.0, + "threshold": 13063.0, "then": { "operation": "boost", - "score": 0.09491810947656631 + "score": 0.047620609402656555 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.1380227655172348 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0808306485414505 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.054483428597450256 - }, - "else": { - "operation": "boost", - "score": 0.0912957489490509 - } - }, - "else": { - "operation": "boost", - "score": -0.262209951877594 - } - } - } + "operation": "boost", + "score": 0.09309361129999161 } + }, + "else": { + "operation": "boost", + "score": -0.08969324082136154 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 12036.5, "then": { "operation": "boost", - "score": -0.18388248980045319 + "score": 0.010723716579377651 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, - "then": { - "operation": "boost", - "score": -0.22747661173343658 - }, - "else": { - "operation": "boost", - "score": 0.11173231154680252 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.07032875716686249 - }, - "else": { - "operation": "boost", - "score": 0.10182517766952515 - } - } + "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": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 2734.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 2833.0, "then": { - "operation": "boost", - "score": 0.02128729224205017 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { + "operation": "boost", + "score": 0.05913146957755089 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "threshold": 4067.0, "then": { + "operation": "boost", + "score": 0.08218292146921158 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5.5, + "threshold": 3468.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.06387688964605331 - }, - "else": { - "operation": "boost", - "score": 0.1095227524638176 - } - }, - "else": { - "operation": "boost", - "score": -0.054371222853660583 - } + "operation": "boost", + "score": 0.11049765348434448 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.11245370656251907 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08140761405229568 - }, - "else": { - "operation": "boost", - "score": 0.18032626807689667 - } - } + "operation": "boost", + "score": 0.10300324857234955 } - }, - "else": { - "operation": "boost", - "score": 0.062473952770233154 } - }, - "else": { - "operation": "boost", - "score": -0.029367364943027496 } + }, + "else": { + "operation": "boost", + "score": 0.10859324038028717 } }, "else": { - "operation": "boost", - "score": -0.018435966223478317 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08931917697191238 + }, + "else": { + "operation": "boost", + "score": 0.030952295288443565 + } } }, "else": { "operation": "boost", - "score": 0.024841098114848137 + "score": 0.005088873207569122 } } } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.012346867471933365 - } - }, - "else": { - "operation": "boost", - "score": 0.0007768819341436028 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.11387860029935837 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09919501841068268 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.09438951313495636 - }, - "else": { - "operation": "boost", - "score": -1.324238657951355 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Type" - ], + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 67.0, + "threshold": 476.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 109.5, + "threshold": 1972.5, "then": { "operation": "boost", - "score": -0.010331227444112301 + "score": 0.10483860969543457 }, "else": { "operation": "boost", - "score": 0.11189921945333481 + "score": -0.143084317445755 } }, "else": { "operation": "boost", - "score": 0.10925491899251938 + "score": 0.1187051311135292 } }, "else": { "operation": "boost", - "score": 0.024892330169677734 + "score": 0.13538393378257751 } }, "else": { "operation": "boost", - "score": 0.055780719965696335 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.00682006636634469 - }, - "else": { - "operation": "boost", - "score": -0.11898687481880188 + "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": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1098.5, "then": { "operation": "boost", - "score": -0.002046868670731783 + "score": 0.10201174765825272 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 688.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 794.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.17816831171512604 - }, - "else": { - "operation": "boost", - "score": -0.09675683826208115 - } - }, - "else": { - "operation": "boost", - "score": 0.08575474470853806 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.26187679171562195 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], - "then": { - "operation": "boost", - "score": 0.09382873773574829 - }, - "else": { - "operation": "boost", - "score": 0.053920846432447433 - } - } - } + "operation": "boost", + "score": 0.056869298219680786 }, "else": { "operation": "boost", - "score": 0.0941428616642952 + "score": 0.10428232699632645 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.0, + "feature": "NumReferences", + "threshold": 434.5, "then": { "operation": "boost", - "score": -0.021534999832510948 + "score": -0.04859844595193863 }, "else": { "operation": "boost", - "score": 0.08517812192440033 + "score": 0.09802622348070145 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.03079403005540371 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.04786830395460129 - }, - "else": { - "operation": "boost", - "score": -0.001200472586788237 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10486642271280289 - }, - "else": { - "operation": "boost", - "score": -0.1236615851521492 - } - }, - "else": { - "operation": "boost", - "score": 0.10246463865041733 - } - } - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 412.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 454.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 754.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.04734452813863754 - }, - "else": { - "operation": "boost", - "score": -0.11532432585954666 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.4700198471546173 + "score": -0.008324316702783108 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 589.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10219992697238922 + "score": 0.12684151530265808 }, "else": { "operation": "boost", - "score": 0.10625986009836197 + "score": 0.10328803956508636 } } + }, + "else": { + "operation": "boost", + "score": 0.03138609975576401 } }, "else": { - "operation": "boost", - "score": -0.011839733459055424 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.046455759555101395 - }, - "else": { - "operation": "boost", - "score": 0.11969438940286636 - } + "operation": "boost", + "score": 0.08842921257019043 }, "else": { "operation": "boost", - "score": -0.8464521765708923 + "score": 0.11552780866622925 } - }, - "else": { - "operation": "boost", - "score": -0.044698189944028854 } + }, + "else": { + "operation": "boost", + "score": -0.19174805283546448 } + }, + "else": { + "operation": "boost", + "score": 0.01179643627256155 } } } @@ -355769,3800 +344129,4059 @@ } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0013701063580811024 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8093.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13867.0, - "then": { - "operation": "boost", - "score": 0.03310965746641159 - }, - "else": { - "operation": "boost", - "score": 0.08531099557876587 - } - }, - "else": { - "operation": "boost", - "score": -0.03828217461705208 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0016266473103314638 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44220.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56010.5, - "then": { - "operation": "boost", - "score": 0.0020702274050563574 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55483.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10798648744821548 + "score": 0.0707482174038887 }, "else": { "operation": "boost", - "score": 0.10258720070123672 + "score": 0.09336821734905243 } }, "else": { - "operation": "boost", - "score": 0.11934676021337509 + "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": "boost", - "score": -0.17701475322246552 + "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": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 4.5, "then": { - "operation": "boost", - "score": -0.025098111480474472 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 676.5, "then": { "operation": "boost", - "score": 0.07199208438396454 + "score": 0.28383252024650574 }, "else": { + "operation": "boost", + "score": 0.12250266224145889 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55726.0, + "threshold": 521.5, "then": { - "operation": "boost", - "score": 0.16464245319366455 + "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.09938915073871613 + "score": 0.11535605043172836 } + }, + "else": { + "operation": "boost", + "score": 0.019269365817308426 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 408.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { + "operation": "boost", + "score": 0.09240173548460007 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.1104729175567627 + "score": -0.027123969048261642 }, "else": { "operation": "boost", - "score": 0.10809765011072159 + "score": 0.07608432322740555 } - }, - "else": { + } + }, + "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": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 23416.0, "then": { - "operation": "boost", - "score": 0.09418690949678421 + "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, + "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, + "then": { + "operation": "boost", + "score": 0.0663256049156189 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 371693.0, + "then": { + "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.044653672724962234 + }, + "else": { + "operation": "boost", + "score": -0.5038248896598816 + } + }, + "else": { + "operation": "boost", + "score": 0.1074037104845047 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288180.0, + "then": { + "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_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.06602200120687485 + }, + "else": { + "operation": "boost", + "score": -0.11611029505729675 + } + }, + "else": { + "operation": "boost", + "score": -0.2019246518611908 + } + }, + "else": { + "operation": "boost", + "score": -0.010720081627368927 + } + } + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 20414.5, "then": { - "operation": "boost", - "score": 0.023719679564237595 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10403764247894287 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.013067732565104961 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22160.0, + "then": { + "operation": "boost", + "score": 0.10878154635429382 + }, + "else": { + "operation": "boost", + "score": 0.08840467035770416 + } + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 20349.0, "then": { + "operation": "boost", + "score": -0.1885685920715332 + }, + "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { + "operation": "boost", + "score": -0.05634760484099388 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 20157.5, "then": { "operation": "boost", - "score": 0.10568808764219284 + "score": 0.11953003704547882 }, "else": { "operation": "boost", - "score": -0.10696890205144882 + "score": 0.06293146312236786 } - }, - "else": { - "operation": "boost", - "score": 0.09078036993741989 } - }, - "else": { - "operation": "boost", - "score": 0.02192608080804348 } } } + }, + "else": { + "operation": "boost", + "score": 0.0372607596218586 } }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { "operation": "boost", - "score": 0.11662748456001282 + "score": 0.13435347378253937 }, "else": { "operation": "boost", - "score": 0.07966037094593048 + "score": -0.008088726550340652 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 19035.0, "then": { + "operation": "boost", + "score": 0.13109977543354034 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 18751.5, "then": { "operation": "boost", - "score": -0.05639031156897545 + "score": -0.0044226557947695255 }, "else": { - "operation": "boost", - "score": 0.16231097280979156 + "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.13281811773777008 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.173980712890625 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08144690841436386 - }, - "else": { - "operation": "boost", - "score": 0.07023333013057709 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.02597085013985634 - }, - "else": { - "operation": "boost", - "score": 0.09231721609830856 - } + "operation": "boost", + "score": 0.00878005288541317 } }, "else": { "operation": "boost", - "score": -0.14005480706691742 + "score": -0.00810197088867426 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44315.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 8890.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 45000.0, + "threshold": 8956.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55221.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 9064.5, "then": { - "operation": "boost", - "score": -0.3301198482513428 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, "then": { + "operation": "boost", + "score": -0.10181281715631485 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 16.0, "then": { "operation": "boost", - "score": 0.03002770245075226 + "score": 0.10711608827114105 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.0910448357462883 + "score": 0.09195108711719513 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08998150378465652 - }, - "else": { - "operation": "boost", - "score": 0.03618945926427841 - } + "operation": "boost", + "score": -0.1036488264799118 } } - }, - "else": { - "operation": "boost", - "score": 0.06408362090587616 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.058215804398059845 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10375593602657318 - }, - "else": { - "operation": "boost", - "score": 0.09174265712499619 - } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.0071077169850468636 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 46904.0, - "then": { - "operation": "boost", - "score": 0.08101774752140045 - }, - "else": { - "operation": "boost", - "score": -0.1349061280488968 - } - } + "operation": "boost", + "score": 0.0700712725520134 } + }, + "else": { + "operation": "boost", + "score": -0.15356415510177612 } }, + "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": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 7369.0, "then": { - "operation": "boost", - "score": 0.0873822420835495 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10242664813995361 + "score": 0.1415833979845047 }, "else": { "operation": "boost", - "score": 0.11673212796449661 + "score": 0.11135481297969818 } + }, + "else": { + "operation": "boost", + "score": -0.17477181553840637 } } - }, - "else": { - "operation": "boost", - "score": 0.021832339465618134 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel" + ], "then": { + "operation": "boost", + "score": 0.12811419367790222 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "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, "then": { "operation": "boost", - "score": 0.06104247644543648 + "score": -0.02814542129635811 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.09413712471723557 + "score": 0.005065077915787697 }, "else": { - "operation": "boost", - "score": 0.09036418795585632 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8751.0, + "then": { + "operation": "boost", + "score": 0.10265152156352997 + }, + "else": { + "operation": "boost", + "score": 0.10343826562166214 + } + }, + "else": { + "operation": "boost", + "score": 0.09566408395767212 + } } } }, "else": { - "operation": "boost", - "score": 0.051995448768138885 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11046988517045975 - }, - "else": { - "operation": "boost", - "score": 0.0836588516831398 - } - } - }, - "else": { - "operation": "boost", - "score": -0.04676932841539383 - } - } - }, - "else": { - "operation": "boost", - "score": -0.06222779303789139 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.0008860955131240189 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.004154104273766279 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 419.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 420.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 506.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18404.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.12676650285720825 + "score": 0.01961546018719673 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13335.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13801.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.2057322859764099 - }, - "else": { - "operation": "boost", - "score": 0.055441685020923615 - } - }, - "else": { - "operation": "boost", - "score": 0.18020083010196686 - } + "operation": "boost", + "score": 0.11157681047916412 }, "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09205305576324463 - }, - "else": { - "operation": "boost", - "score": 0.020698873326182365 - } + "operation": "boost", + "score": 0.0949820801615715 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 6.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1301.5, - "then": { - "operation": "boost", - "score": 0.08371445536613464 - }, - "else": { - "operation": "boost", - "score": 0.27523377537727356 - } - }, - "else": { - "operation": "boost", - "score": -0.05974126234650612 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06288354098796844 - }, - "else": { - "operation": "boost", - "score": 0.12286412715911865 - } - } - }, - "else": { - "operation": "boost", - "score": 0.013958760537207127 - } + "operation": "boost", + "score": 0.07914714515209198 }, "else": { "operation": "boost", - "score": 0.012405687011778355 + "score": -0.4432945251464844 } } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.10988316684961319 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8213.5, + "then": { + "operation": "boost", + "score": 0.10999692231416702 + }, + "else": { + "operation": "boost", + "score": -0.015877947211265564 + } }, "else": { "operation": "boost", - "score": 0.11060675233602524 + "score": 0.038481418043375015 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 503.5, + "threshold": 8668.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": -2.332533597946167 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10688057541847229 + }, + "else": { + "operation": "boost", + "score": 0.058038871735334396 + } }, "else": { "operation": "boost", - "score": 0.1460726261138916 + "score": -0.36983662843704224 } }, "else": { "operation": "boost", - "score": 0.05829619616270065 + "score": -0.1053377240896225 } } } - }, - "else": { - "operation": "boost", - "score": 0.10598921030759811 } - }, - "else": { - "operation": "boost", - "score": -0.014717615209519863 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 7360.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8910.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7768.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { + "operation": "boost", + "score": 0.09747283160686493 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27933.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.35631972551345825 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28306.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30389.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "boost", - "score": -0.13503895699977875 + "score": 0.11009763181209564 }, "else": { "operation": "boost", - "score": 0.07462847232818604 + "score": -0.00396140618249774 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06728854030370712 - }, - "else": { - "operation": "boost", - "score": 0.13509999215602875 - } - } - }, - "else": { - "operation": "boost", - "score": 0.023904230445623398 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7477.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.14771875739097595 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.15072087943553925 + }, + "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.10742440819740295 + }, + "else": { + "operation": "boost", + "score": -0.23176667094230652 + } + } + }, + "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.10464361310005188 + }, + "else": { + "operation": "boost", + "score": -0.10377661138772964 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10873671621084213 + } }, "else": { "operation": "boost", - "score": -0.02762317657470703 + "score": -0.3125990331172943 } - }, - "else": { - "operation": "boost", - "score": 0.11756119132041931 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5280.5, - "then": { - "operation": "boost", - "score": 0.055003758519887924 - }, - "else": { - "operation": "boost", - "score": 0.12899646162986755 } } } }, - "else": { - "operation": "boost", - "score": -0.027515215799212456 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.13649360835552216 - }, - "else": { - "operation": "boost", - "score": -0.0009006746695376933 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.04731081798672676 - }, - "else": { - "operation": "boost", - "score": 0.09861162304878235 - } - }, - "else": { - "operation": "boost", - "score": -0.017698971554636955 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.013475066982209682 - }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3202.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3510.5, - "then": { - "operation": "boost", - "score": -0.10341814160346985 - }, - "else": { - "operation": "boost", - "score": 0.14972014725208282 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.09467247873544693 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 903.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.09045061469078064 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8265.5, + "then": { + "operation": "boost", + "score": -0.14314283430576324 + }, + "else": { + "operation": "boost", + "score": 0.06986264884471893 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.15496183931827545 + "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.08628371357917786 + "score": 0.08063752204179764 } }, "else": { "operation": "boost", - "score": -1.0517091751098633 + "score": -0.10210646688938141 + } + } + } + }, + "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": "boost", + "score": 0.04247593507170677 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7875.5, + "then": { + "operation": "boost", + "score": 0.11312159895896912 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.03623289242386818 + }, + "else": { + "operation": "boost", + "score": 0.12561248242855072 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.044691264629364014 } }, "else": { + "operation": "boost", + "score": -0.04390530288219452 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8054.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8158.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 8476.5, "then": { + "operation": "boost", + "score": -0.12682819366455078 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8416.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.11103284358978271 + "score": 0.1087404116988182 }, "else": { "operation": "boost", - "score": 0.0011441211681813002 + "score": -0.4267744719982147 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 73.0, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 161.5, - "then": { - "operation": "boost", - "score": 0.09649010002613068 - }, - "else": { - "operation": "boost", - "score": -0.3215460479259491 - } - }, - "else": { - "operation": "boost", - "score": -0.6093958020210266 - } - }, - "else": { - "operation": "boost", - "score": 0.1112605631351471 - } + "operation": "boost", + "score": 0.1104322150349617 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.33350902795791626 - }, - "else": { - "operation": "boost", - "score": -0.37254598736763 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09978882968425751 - }, - "else": { - "operation": "boost", - "score": -0.2966071665287018 - } - } + "operation": "boost", + "score": 0.07359102368354797 } } }, "else": { "operation": "boost", - "score": 0.09609415382146835 + "score": -0.16081589460372925 } - }, - "else": { - "operation": "boost", - "score": -0.29245004057884216 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 199.5, + "threshold": 8150.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 12.0, "then": { "operation": "boost", - "score": -0.3265935778617859 + "score": 0.12477309256792068 }, "else": { "operation": "boost", - "score": 0.07248655706644058 + "score": 0.08546657860279083 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 184.5, - "then": { - "operation": "boost", - "score": 0.10896014422178268 - }, - "else": { - "operation": "boost", - "score": 0.09505005925893784 - } + "operation": "boost", + "score": 0.10944489389657974 } }, "else": { - "operation": "boost", - "score": 0.028884582221508026 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.0, + "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.207370325922966 + "score": 0.11624304950237274 }, "else": { "operation": "boost", - "score": 0.13511404395103455 + "score": -0.525761067867279 } }, "else": { "operation": "boost", - "score": -0.14604613184928894 + "score": 0.03612349554896355 } - }, - "else": { - "operation": "boost", - "score": 0.0009140545735135674 } } + }, + "else": { + "operation": "boost", + "score": -0.00395452044904232 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "boost", - "score": 0.02444392442703247 - }, - "else": { - "operation": "boost", - "score": -0.013202836737036705 - } + "operation": "boost", + "score": -0.08077273517847061 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.026118125766515732 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.012106726877391338 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 74.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10613954067230225 - }, - "else": { - "operation": "boost", - "score": -0.25754573941230774 - } + "operation": "boost", + "score": -0.10653692483901978 }, "else": { "operation": "boost", - "score": -0.3800990581512451 + "score": 0.11299459636211395 } + }, + "else": { + "operation": "boost", + "score": -0.25572407245635986 } + }, + "else": { + "operation": "boost", + "score": 0.11493047326803207 } } + }, + "else": { + "operation": "boost", + "score": 0.02016156166791916 } } - }, - "else": { + } + } + }, + "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": "FilterLength", - "threshold": 18.0, + "feature": "NumReferences", + "threshold": 1318535.0, "then": { "operation": "boost", - "score": 0.10987631976604462 + "score": 0.01469360664486885 }, "else": { - "operation": "boost", - "score": -0.03446808457374573 + "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 + } + } } + }, + "else": { + "operation": "boost", + "score": 0.08527535945177078 } }, "else": { "operation": "boost", - "score": -0.008757147938013077 + "score": -0.032231781631708145 } } - } - } - }, - { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0795573890209198 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.008097292855381966 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.037269238382577896 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.202397882938385 + } + } + } }, "else": { "operation": "boost", - "score": -0.08599156141281128 + "score": -0.0057387156412005424 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7434.5, "then": { "operation": "boost", - "score": -0.23351328074932098 + "score": 0.01041041873395443 }, "else": { "operation": "boost", - "score": 0.009916977025568485 + "score": 0.10481611639261246 } } - }, - "else": { + } + }, + "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": 1.5, + "threshold": 6.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 76.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.003322482807561755 - }, - "else": { - "operation": "boost", - "score": 0.08320567011833191 - } - }, - "else": { - "operation": "boost", - "score": -0.017580557614564896 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.1386202573776245 - }, - "else": { - "operation": "boost", - "score": 0.10644103586673737 - } - }, - "else": { - "operation": "boost", - "score": 0.09160012006759644 - } - } + "operation": "boost", + "score": 0.0634690597653389 }, "else": { "operation": "boost", - "score": 0.010230932384729385 + "score": 0.10372588783502579 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope", - "FileScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.0, "then": { - "operation": "boost", - "score": 0.007033222354948521 - }, - "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 81.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 150.0, "then": { - "operation": "boost", - "score": 0.006318357773125172 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 157.5, "then": { - "operation": "boost", - "score": -0.03200841322541237 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.08870965987443924 + }, + "else": { + "operation": "boost", + "score": -1.0634597539901733 + } }, "else": { "operation": "boost", - "score": 0.0394088514149189 + "score": 0.10343969613313675 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.001211377209983766 }, "else": { "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 94.5, "then": { "operation": "boost", - "score": -0.014614012092351913 + "score": -0.2888478934764862 }, "else": { - "operation": "boost", - "score": -0.06259341537952423 + "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 + } } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.018662743270397186 - }, - "else": { - "operation": "boost", - "score": -0.11825268715620041 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0018407601164653897 }, "else": { "operation": "boost", - "score": 0.05621366947889328 + "score": 0.14423689246177673 } }, "else": { "operation": "boost", - "score": -0.0055811540223658085 + "score": -0.08682970702648163 } } } - }, - "else": { - "operation": "boost", - "score": -5.514232270797947e-06 } }, "else": { + "operation": "boost", + "score": -0.0016605686396360397 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { - "operation": "boost", - "score": 0.005717685911804438 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.006750231143087149 + "score": 0.10236728936433792 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.03579506650567055 - }, - "else": { - "operation": "boost", - "score": 0.02453210949897766 - } - }, - "else": { - "operation": "boost", - "score": -0.008479656651616096 - } + "operation": "boost", + "score": -0.033064406365156174 } }, + "else": { + "operation": "boost", + "score": -0.06830690801143646 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 163.5, + "then": { + "operation": "boost", + "score": 0.0968737006187439 + }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 100.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 114.0, "then": { "operation": "boost", - "score": 0.0018074637046083808 + "score": -0.009076130576431751 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.0037752322386950254 + "score": 0.062202099710702896 }, "else": { "operation": "boost", - "score": -0.007215121760964394 + "score": 0.09614437818527222 } } }, "else": { "operation": "boost", - "score": -0.0008135279640555382 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.13167358934879303 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0365389809012413 - }, - "else": { - "operation": "boost", - "score": -0.04713538661599159 - } - }, - "else": { - "operation": "boost", - "score": -0.10585552453994751 - } + "score": -0.09670703858137131 } - }, - "else": { - "operation": "boost", - "score": -0.02521919086575508 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01729934848845005 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, "then": { "operation": "boost", - "score": 0.018003562465310097 + "score": 0.10845710337162018 }, "else": { - "operation": "boost", - "score": 0.0035744367633014917 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.007496039383113384 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.04659532010555267 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 69.5, "then": { "operation": "boost", - "score": -0.0033967243507504463 + "score": -0.08042021840810776 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 61.5, + "threshold": 51.5, "then": { - "operation": "boost", - "score": 0.09881681948900223 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.2617889642715454 + }, + "else": { + "operation": "boost", + "score": 0.08905868232250214 + } + }, + "else": { + "operation": "boost", + "score": 0.003642786294221878 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.11485632508993149 + }, + "else": { + "operation": "boost", + "score": 0.09082090854644775 + } + } }, "else": { "operation": "boost", - "score": 0.02566339075565338 + "score": -0.020992251113057137 } } + }, + "else": { + "operation": "boost", + "score": -0.038223668932914734 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 46.5, "then": { "operation": "boost", - "score": -0.01881098747253418 + "score": 0.10844169557094574 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11005639284849167 - }, - "else": { - "operation": "boost", - "score": 0.05121907964348793 - } - }, - "else": { - "operation": "boost", - "score": -0.017475998029112816 - } + "operation": "boost", + "score": -0.20338734984397888 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 267.0, + "then": { + "operation": "boost", + "score": 0.1066020205616951 + }, + "else": { + "operation": "boost", + "score": -0.020859787240624428 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": 0.09490302205085754 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 110.5, "then": { - "operation": "boost", - "score": 0.013068142347037792 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 111.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1192.5, - "then": { - "operation": "boost", - "score": -0.04449309781193733 - }, - "else": { - "operation": "boost", - "score": 0.011157749220728874 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, + "threshold": 137.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304.5, "then": { - "operation": "boost", - "score": 0.10760538280010223 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 306.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.12800295650959015 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1753.0, + "then": { + "operation": "boost", + "score": 0.0016553750028833747 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 758.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 868.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1155.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, + "then": { + "operation": "boost", + "score": 0.1092950701713562 + }, + "else": { + "operation": "boost", + "score": 0.019251257181167603 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 822.5, + "then": { + "operation": "boost", + "score": 0.1251228153705597 + }, + "else": { + "operation": "boost", + "score": 0.1069672554731369 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 464.0, + "then": { + "operation": "boost", + "score": -0.016144651919603348 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 414.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.12511998414993286 + }, + "else": { + "operation": "boost", + "score": 0.09646381437778473 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.018946249037981033 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 364.5, + "then": { + "operation": "boost", + "score": 0.031228404492139816 + }, + "else": { + "operation": "boost", + "score": 0.22820498049259186 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023201214149594307 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08008144795894623 + } + } + }, + "else": { + "operation": "boost", + "score": -0.24207821488380432 + } + }, + "else": { + "operation": "boost", + "score": -0.005602053366601467 + } + }, + "else": { + "operation": "boost", + "score": 0.12036052346229553 + } }, "else": { - "operation": "boost", - "score": -0.033510297536849976 + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.008069631643593311 + } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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.0051294369623064995 + "score": 0.10998613387346268 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 92.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08465052396059036 + "score": -0.04893101006746292 }, "else": { "operation": "boost", - "score": -0.18518584966659546 + "score": 0.13259878754615784 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.12724867463111877 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10451492667198181 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.0, - "then": { - "operation": "boost", - "score": 0.0976647362112999 - }, - "else": { - "operation": "boost", - "score": -0.13264575600624084 - } - } - } + "operation": "boost", + "score": 0.020960431545972824 } } + } + } + }, + "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": "NumReferences", - "threshold": 679.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.055706143379211426 + "score": 0.13476347923278809 }, "else": { - "operation": "boost", - "score": 0.02143450453877449 + "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": "boost", - "score": -0.014414285309612751 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "boost", - "score": 0.007649426814168692 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 88.0, "then": { - "operation": "boost", - "score": 0.04819156229496002 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 467.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.10582198202610016 - }, - "else": { - "operation": "boost", - "score": 0.13791196048259735 - } + "operation": "boost", + "score": -0.06428588181734085 }, "else": { "operation": "boost", - "score": -0.10613833367824554 + "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": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 313.0, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 446.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.04171144962310791 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 676.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.03194409981369972 - }, - "else": { - "operation": "boost", - "score": 0.09414492547512054 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09915593266487122 - }, - "else": { - "operation": "boost", - "score": 0.10813248157501221 - } - }, - "else": { - "operation": "boost", - "score": 0.07355855405330658 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10468249022960663 - }, - "else": { - "operation": "boost", - "score": -0.10623615235090256 - } - } - } + "operation": "boost", + "score": 0.08500952273607254 }, "else": { + "operation": "boost", + "score": 0.12029504776000977 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 504.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 780.5, + "threshold": 961.0, "then": { "operation": "boost", - "score": 0.009220387786626816 + "score": 0.09886380285024643 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.08254869282245636 - }, - "else": { - "operation": "boost", - "score": 0.131318598985672 - } + "operation": "boost", + "score": -0.2264346033334732 } + }, + "else": { + "operation": "boost", + "score": 0.10360242426395416 } } }, "else": { "operation": "boost", - "score": 0.013453726656734943 + "score": 0.03133267164230347 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.06988827139139175 - }, - "else": { - "operation": "boost", - "score": 0.13326431810855865 - } + "operation": "boost", + "score": 0.020488504320383072 } }, "else": { + "operation": "boost", + "score": 0.1172361969947815 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 149.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 176.5, "then": { "operation": "boost", - "score": -0.067330501973629 + "score": -0.01571737229824066 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174.5, "then": { + "operation": "boost", + "score": 0.11603476107120514 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 151.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.02117922157049179 + "score": 0.11562962830066681 }, "else": { "operation": "boost", - "score": 0.10718604922294617 + "score": 0.004982424434274435 } }, "else": { "operation": "boost", - "score": -0.1863231062889099 + "score": 0.09223390370607376 } - }, - "else": { - "operation": "boost", - "score": -0.002268731128424406 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 46.5, "then": { - "operation": "boost", - "score": -0.0203202273696661 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 37521.0, + "threshold": 133.5, "then": { - "operation": "boost", - "score": 0.026223551481962204 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28489.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 146.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.12650512158870697 - }, - "else": { - "operation": "boost", - "score": -0.0935920774936676 - } + "operation": "boost", + "score": 0.09524156153202057 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.028310580179095268 - }, - "else": { - "operation": "boost", - "score": 0.1382446140050888 - } + "operation": "boost", + "score": -0.0586981475353241 } }, + "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": 23623.0, + "threshold": 129.5, "then": { "operation": "boost", - "score": -0.6525364518165588 + "score": -0.6828874349594116 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6350.0, - "then": { - "operation": "boost", - "score": 0.10274289548397064 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.08358319103717804 - }, - "else": { - "operation": "boost", - "score": 0.14881396293640137 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15374.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18549.5, - "then": { - "operation": "boost", - "score": 0.10942140221595764 - }, - "else": { - "operation": "boost", - "score": 0.128523588180542 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10775.5, - "then": { - "operation": "boost", - "score": -0.3554014265537262 - }, - "else": { - "operation": "boost", - "score": 0.02718658372759819 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.01433631032705307 - } + "operation": "boost", + "score": -0.02611038275063038 } } } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 45.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.028306232765316963 + "score": 0.12117015570402145 }, "else": { "operation": "boost", - "score": 0.09223872423171997 + "score": 0.1358531266450882 } }, "else": { "operation": "boost", - "score": -0.062486473470926285 + "score": -0.1692117601633072 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.09661750495433807 + "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.08146972954273224 + "score": -0.12553906440734863 } } - }, - "else": { - "operation": "boost", - "score": 0.09372392296791077 } - }, - "else": { - "operation": "boost", - "score": -0.04524606466293335 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 99.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.08671942353248596 - }, - "else": { - "operation": "boost", - "score": 0.09403626620769501 - } + "operation": "boost", + "score": -0.07202153652906418 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 85.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 86.5, "then": { - "operation": "boost", - "score": -0.3541035056114197 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.0, + "threshold": 97.5, "then": { "operation": "boost", - "score": -0.001331580919213593 + "score": 0.10784265398979187 }, "else": { "operation": "boost", - "score": 0.119038887321949 + "score": -0.17518490552902222 } - } - }, - "else": { - "operation": "boost", - "score": -0.008479196578264236 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.25878605246543884 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.013551879674196243 }, "else": { "operation": "boost", - "score": 0.09677813202142715 + "score": 0.12833741307258606 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4133.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10111886262893677 + "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 + } }, "else": { - "operation": "boost", - "score": 0.009412582032382488 + "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 + } } } } + } + } + }, + "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": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.08231177181005478 }, "else": { "operation": "boost", - "score": -0.06407418847084045 + "score": 0.14099016785621643 } + }, + "else": { + "operation": "boost", + "score": -0.10995344072580338 } - }, - "else": { - "operation": "boost", - "score": -0.013940699398517609 } } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Operator", + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.04667532816529274 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.006101452279835939 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 217.0, + "then": { + "operation": "boost", + "score": 0.11759188771247864 + }, + "else": { + "operation": "boost", + "score": -0.1776786744594574 + } + }, + "else": { + "operation": "boost", + "score": -0.27923649549484253 + } }, "else": { - "operation": "boost", - "score": -0.06357724964618683 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09218358248472214 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 186.5, + "then": { + "operation": "boost", + "score": -0.11304944008588791 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.23625360429286957 + }, + "else": { + "operation": "boost", + "score": 0.10864213854074478 + } + }, + "else": { + "operation": "boost", + "score": -0.13820281624794006 + } + } + } } + }, + "else": { + "operation": "boost", + "score": -0.04511398822069168 } } + }, + "else": { + "operation": "boost", + "score": 0.003015809925273061 } } - }, - "else": { - "operation": "boost", - "score": -0.001239611068740487 } + }, + "else": { + "operation": "boost", + "score": -0.0004046738613396883 } }, { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "boost", - "score": 0.008490717969834805 - }, - "else": { - "operation": "boost", - "score": 0.0011769551783800125 - } + "operation": "boost", + "score": -0.009460430592298508 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Namespace" + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression" ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { - "operation": "boost", - "score": 0.003692102385684848 - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 11.0, + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, + "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": "boost", - "score": 0.12068531662225723 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.022668439894914627 + "score": -0.011111805215477943 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_Statement" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.028042679652571678 + "score": -0.01348403561860323 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 187.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.051772214472293854 + "score": 0.03673667833209038 }, "else": { - "operation": "boost", - "score": 0.11590978503227234 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.057841334491968155 + }, + "else": { + "operation": "boost", + "score": 0.032606206834316254 + } } } }, "else": { - "operation": "boost", - "score": -0.16301359236240387 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.0990595668554306 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11170747131109238 + "score": 0.04562067240476608 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08142410963773727 + "score": 0.012839671224355698 }, "else": { - "operation": "boost", - "score": 0.10893390327692032 + "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 + } } } }, "else": { "operation": "boost", - "score": 0.09072546660900116 + "score": 0.02407318353652954 } }, "else": { - "operation": "boost", - "score": 0.07117145508527756 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020435338839888573 + }, + "else": { + "operation": "boost", + "score": 0.008519905619323254 + } } } + }, + "else": { + "operation": "boost", + "score": -0.003804483450949192 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.048796359449625015 + "score": 0.04107268899679184 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.12113118171691895 - }, - "else": { - "operation": "boost", - "score": 0.05499674752354622 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.03598931059241295 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 106.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "boost", - "score": 0.11510526388883591 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 671.0, "then": { "operation": "boost", - "score": 0.06931430846452713 + "score": -0.0817590057849884 }, "else": { "operation": "boost", - "score": 0.1157003790140152 + "score": 0.13549020886421204 } + }, + "else": { + "operation": "boost", + "score": -0.07522863894701004 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 201.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": 0.09725785255432129 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": -0.11942850798368454 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 84.5, "then": { "operation": "boost", - "score": 0.09081689268350601 + "score": 0.1075885072350502 }, "else": { - "operation": "boost", - "score": -0.06994207203388214 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.0537690706551075 + }, + "else": { + "operation": "boost", + "score": -0.45377781987190247 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.1385803371667862 + }, + "else": { + "operation": "boost", + "score": 0.12025943398475647 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12473326176404953 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "boost", - "score": -0.07390964031219482 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10284503549337387 + }, + "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 + } + } }, "else": { "operation": "boost", - "score": 0.12118165194988251 + "score": 0.04683058708906174 } } }, "else": { - "operation": "boost", - "score": -0.2760128676891327 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.15494567155838013 + }, + "else": { + "operation": "boost", + "score": -0.01442849449813366 + } } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.0027390571776777506 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.059001628309488297 + "score": 0.05240800976753235 }, "else": { - "operation": "boost", - "score": -0.12933695316314697 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11088072508573532 + }, + "else": { + "operation": "boost", + "score": 0.0030251541174948215 + } + }, + "else": { + "operation": "boost", + "score": 0.11509500443935394 + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 24.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.06612180918455124 + "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.08836287260055542 + "score": 0.028019307181239128 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.06485838443040848 + "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.07541455328464508 + }, + "else": { + "operation": "boost", + "score": -0.7378110885620117 + } }, "else": { - "operation": "boost", - "score": 0.0923616960644722 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.1260748654603958 + }, + "else": { + "operation": "boost", + "score": 0.17104984819889069 + } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.11679653078317642 - }, - "else": { - "operation": "boost", - "score": 0.06238990277051926 - } + "operation": "boost", + "score": -0.11448338627815247 } } } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.04119027033448219 - }, - "else": { - "operation": "boost", - "score": -0.2939859926700592 - } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.028323305770754814 + "score": 0.0037141749635338783 }, "else": { - "operation": "boost", - "score": -0.09383149445056915 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.12710879743099213 + "score": -0.08479895442724228 }, "else": { "operation": "boost", - "score": -0.0076928893104195595 + "score": 0.10843289643526077 } }, "else": { - "operation": "boost", - "score": 0.1051764190196991 + "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.10048479586839676 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0731683298945427 - }, - "else": { - "operation": "boost", - "score": 0.09488416463136673 + "score": 0.06358561664819717 } } } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.13906672596931458 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.09199002385139465 - }, - "else": { - "operation": "boost", - "score": -0.03434120863676071 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Operator", + "Unknown", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.022597556933760643 + "score": 0.024121101945638657 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13359639048576355 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1401505470275879 + "score": -0.12774740159511566 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11383183300495148 + "score": 0.0955759659409523 }, "else": { "operation": "boost", - "score": -0.015687357634305954 + "score": -0.10512267798185349 } } - }, - "else": { - "operation": "boost", - "score": 0.07225630432367325 } } }, "else": { "operation": "boost", - "score": 0.015806421637535095 + "score": -0.027478624135255814 } + }, + "else": { + "operation": "boost", + "score": -0.0165246594697237 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { - "operation": "boost", - "score": -0.05446391925215721 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.12652228772640228 + "score": 0.0005073270876891911 }, "else": { - "operation": "boost", - "score": 0.11002933979034424 + "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.009424285963177681 + "score": 0.011312730610370636 + } + }, + "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.019674312323331833 + }, + "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 + } + } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FunctionScope", - "FileScope" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" ], "then": { - "operation": "boost", - "score": 0.059957534074783325 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, "then": { "operation": "boost", - "score": -0.0632961094379425 + "score": -1.2733756303787231 }, "else": { "operation": "boost", - "score": -0.19374705851078033 + "score": 0.026929957792162895 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], + "operation": "boost", + "score": 0.060969822108745575 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.10060274600982666 + "score": 0.13763058185577393 }, "else": { "operation": "boost", - "score": 0.06981123238801956 + "score": 0.2594850957393646 } - }, - "else": { + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", + "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", "CCC_UnionTag", - "CCC_Other" + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.10385148227214813 + "score": 0.06372739374637604 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10304410755634308 - }, - "else": { - "operation": "boost", - "score": 0.10952461510896683 - } - }, - "else": { - "operation": "boost", - "score": 0.1680511236190796 - } - }, - "else": { - "operation": "boost", - "score": -0.0023304542992264032 - } + "operation": "boost", + "score": -0.24703416228294373 } }, "else": { "operation": "boost", - "score": -0.1621064841747284 + "score": -0.020562658086419106 } + }, + "else": { + "operation": "boost", + "score": 0.026929106563329697 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.04844418540596962 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.04347623512148857 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.0, + "then": { + "operation": "boost", + "score": 0.12137055397033691 + }, + "else": { + "operation": "boost", + "score": 0.10790538787841797 + } + }, + "else": { + "operation": "boost", + "score": 0.021256355568766594 + } }, "else": { "operation": "boost", - "score": 0.07769093662500381 + "score": 0.08889096975326538 } }, "else": { "operation": "boost", - "score": 0.025887371972203255 + "score": -0.032105572521686554 } } + }, + "else": { + "operation": "boost", + "score": 0.03225648030638695 } + }, + "else": { + "operation": "boost", + "score": -0.013818695209920406 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Constructor", + "Type" ], "then": { + "operation": "boost", + "score": 0.009462008252739906 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ParenthesizedExpression" + "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": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03700687736272812 - }, - "else": { - "operation": "boost", - "score": 0.10599323362112045 - } - }, - "else": { - "operation": "boost", - "score": 0.03642533719539642 - } + "operation": "boost", + "score": -0.005468500312417746 }, "else": { "operation": "boost", - "score": 0.013297122903168201 + "score": -0.02957906946539879 } + } + }, + "else": { + "operation": "boost", + "score": -0.003014660906046629 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Constructor", + "Function", + "Namespace" + ], + "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.04051947966217995 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 12318.0, "then": { "operation": "boost", - "score": -0.021469244733452797 + "score": -1.2747036218643188 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.09596171230077744 - }, - "else": { - "operation": "boost", - "score": -0.25734347105026245 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.017180433496832848 - }, - "else": { - "operation": "boost", - "score": 0.10766002535820007 - } - } + "operation": "boost", + "score": 0.05327229201793671 } }, "else": { "operation": "boost", - "score": -0.0223383828997612 + "score": -0.6404602527618408 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.042181286960840225 + "score": 0.10776817053556442 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 133.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 162.0, - "then": { - "operation": "boost", - "score": 0.02208637446165085 - }, - "else": { - "operation": "boost", - "score": 0.11660376191139221 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.26152852177619934 - }, - "else": { - "operation": "boost", - "score": -0.13121329247951508 - } - } + "operation": "boost", + "score": 0.07584003359079361 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 7.5, + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.007373692933470011 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.011978412978351116 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10766423493623734 + }, + "else": { + "operation": "boost", + "score": 0.1168011948466301 + } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 11.0, + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.10595273226499557 + "score": -0.5230382680892944 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 290.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 386.5, - "then": { - "operation": "boost", - "score": -0.31982001662254333 - }, - "else": { - "operation": "boost", - "score": 0.1114814355969429 - } - }, - "else": { - "operation": "boost", - "score": 0.05656065791845322 - } + "operation": "boost", + "score": 0.10852646827697754 } } - }, - "else": { - "operation": "boost", - "score": -0.12096064537763596 } } } + }, + "else": { + "operation": "boost", + "score": 0.008403596468269825 } }, "else": { "operation": "boost", - "score": -0.003942511975765228 + "score": 0.01246523018926382 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.035138074308633804 - }, - "else": { - "operation": "boost", - "score": -0.1178530901670456 - } - }, - "else": { - "operation": "boost", - "score": 0.014124569483101368 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.17906172573566437 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.1419217586517334 - }, - "else": { - "operation": "boost", - "score": 0.08727056533098221 - } - }, - "else": { - "operation": "boost", - "score": 0.037838924676179886 - } - } - } + "operation": "boost", + "score": -0.030110886320471764 }, "else": { - "operation": "boost", - "score": -0.010707021690905094 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 427.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 492.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 566.5, - "then": { - "operation": "boost", - "score": 0.10628856718540192 - }, - "else": { - "operation": "boost", - "score": -0.008654266595840454 - } - }, - "else": { - "operation": "boost", - "score": -0.015071315690875053 - } - }, - "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.1136019378900528 + "score": -0.21573716402053833 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 474.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.12335892021656036 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 439.5, + "threshold": 53.0, "then": { "operation": "boost", - "score": 0.012008607387542725 + "score": -0.01041154470294714 }, "else": { "operation": "boost", - "score": 0.11400122940540314 + "score": 0.10513119399547577 } - } - }, - "else": { - "operation": "boost", - "score": -0.006666798610240221 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0035100316163152456 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.16370651125907898 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.5, "then": { "operation": "boost", - "score": -0.04562794417142868 + "score": 0.07133892178535461 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.1766318827867508 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.08790316432714462 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.07964858412742615 - }, - "else": { - "operation": "boost", - "score": 0.050700340420007706 - } - }, - "else": { - "operation": "boost", - "score": -0.03608337417244911 - } - } - } + "operation": "boost", + "score": -0.05587886646389961 } } - } - }, - "else": { - "operation": "boost", - "score": 0.007967197336256504 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03547804802656174 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 32.5, "then": { "operation": "boost", - "score": -0.08961840718984604 + "score": -0.07490447908639908 }, "else": { "operation": "boost", - "score": 0.0485059879720211 + "score": 0.1011657863855362 } - }, - "else": { - "operation": "boost", - "score": -0.02562047354876995 } } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0266172643750906 + }, + "else": { + "operation": "boost", + "score": 0.09321700781583786 } } } @@ -359572,5057 +348191,5197 @@ }, "else": { "operation": "boost", - "score": -0.000617137411609292 + "score": -0.00017012325406540185 } } }, { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7329.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "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, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 75.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.033232204616069794 + "score": -0.044042594730854034 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.11479063332080841 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10592638701200485 - }, - "else": { - "operation": "boost", - "score": -0.10029011219739914 - } - } + "operation": "boost", + "score": 0.0981258824467659 } }, "else": { "operation": "boost", - "score": -0.008076360449194908 + "score": 0.016466841101646423 } }, "else": { + "operation": "boost", + "score": 0.0009819614933803678 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7434.5, + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Symbol", - "CCC_Other" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { + "operation": "boost", + "score": 0.011080209165811539 + }, + "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 73593.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.014229043386876583 + "score": 0.08752705901861191 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 83201.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 110939.5, "then": { - "operation": "boost", - "score": 0.04054691269993782 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.025899935513734818 + "score": 0.0435432605445385 }, "else": { - "operation": "boost", - "score": 0.10190343111753464 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 197058.0, + "then": { + "operation": "boost", + "score": -0.11055287718772888 + }, + "else": { + "operation": "boost", + "score": -0.2317870408296585 + } } + }, + "else": { + "operation": "boost", + "score": 0.01883835531771183 } }, "else": { - "operation": "boost", - "score": -0.012266794219613075 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.007850971072912216 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.0, "then": { - "operation": "boost", - "score": -0.08512383699417114 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.09919498860836029 + "score": -0.13245181739330292 }, "else": { "operation": "boost", - "score": -0.1415778249502182 + "score": -0.008589637465775013 } + }, + "else": { + "operation": "boost", + "score": -2.759380578994751 } - }, - "else": { - "operation": "boost", - "score": -0.13543404638767242 } } - } - }, - "else": { - "operation": "boost", - "score": 0.004749380983412266 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.003336622379720211 - }, - "else": { - "operation": "boost", - "score": -0.016640346497297287 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.08064842224121094 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 34453.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01647159457206726 + "score": -0.06011049821972847 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "HadContextType", + "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": "FileProximityDistance", - "threshold": 23.0, - "then": { - "operation": "boost", - "score": -0.2303435355424881 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7295.5, - "then": { - "operation": "boost", - "score": -0.29815465211868286 - }, - "else": { - "operation": "boost", - "score": 0.06588911265134811 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.922116756439209 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.06703487783670425 - }, - "else": { - "operation": "boost", - "score": -0.17566406726837158 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.07283851504325867 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.005088998004794121 - }, - "else": { - "operation": "boost", - "score": 0.0535799041390419 - } - } + "operation": "boost", + "score": 0.0988512709736824 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.08298596739768982 - }, - "else": { - "operation": "boost", - "score": 0.10576971620321274 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 59352.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": -0.36704984307289124 + "score": 0.08976670354604721 }, "else": { "operation": "boost", - "score": 0.158640056848526 + "score": 0.03773108497262001 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1208449974656105 - }, - "else": { - "operation": "boost", - "score": -0.1072402372956276 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "boost", - "score": -0.02500339224934578 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.15681377053260803 - }, - "else": { - "operation": "boost", - "score": 0.10380622744560242 - } - }, - "else": { - "operation": "boost", - "score": -0.11030150949954987 - } + "score": 0.025091204792261124 } } + }, + "else": { + "operation": "boost", + "score": -0.2741563022136688 } } }, "else": { "operation": "boost", - "score": -0.12948034703731537 + "score": -0.02022102102637291 } - }, - "else": { + } + } + }, + "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": 3.5, + "threshold": 18.5, "then": { - "operation": "boost", - "score": -0.04412166029214859 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.029251577332615852 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 209.0, "then": { "operation": "boost", - "score": -0.2880983352661133 + "score": 0.0672769844532013 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.11920987069606781 - }, - "else": { - "operation": "boost", - "score": 0.13558146357536316 - } + "operation": "boost", + "score": 0.16754034161567688 } + }, + "else": { + "operation": "boost", + "score": -0.015415072441101074 } + }, + "else": { + "operation": "boost", + "score": -0.059765323996543884 } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 5654.5, "then": { - "operation": "boost", - "score": 0.022865256294608116 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "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": "boost", - "score": 0.0029710992239415646 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7108.5, "then": { "operation": "boost", - "score": 0.0906074121594429 + "score": -0.21160122752189636 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 6969.5, "then": { "operation": "boost", - "score": 0.19041851162910461 + "score": 0.12765946984291077 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.020912613719701767 + "score": 0.09050492942333221 }, "else": { "operation": "boost", - "score": 0.09059356153011322 + "score": -0.05629127845168114 } }, "else": { "operation": "boost", - "score": 0.028964722529053688 + "score": 0.13455452024936676 } } } + }, + "else": { + "operation": "boost", + "score": -0.24702033400535583 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "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": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.1175638809800148 + "score": 0.04028250277042389 }, "else": { - "operation": "boost", - "score": 0.46939340233802795 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05994337424635887 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.15017573535442352 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.025971582159399986 + }, + "else": { + "operation": "boost", + "score": 0.1541374921798706 + } + } + } } }, "else": { "operation": "boost", - "score": -0.015218595042824745 + "score": -0.03430768474936485 } }, "else": { "operation": "boost", - "score": -0.001053361687809229 + "score": 0.01531133521348238 } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + } + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.10199395567178726 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.004260113928467035 + "score": -0.08014735579490662 }, "else": { "operation": "boost", - "score": 0.06681811809539795 + "score": 0.029215797781944275 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.0, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.04331871494650841 + "score": 0.020851654931902885 }, "else": { - "operation": "boost", - "score": 0.12357404083013535 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 4.5, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.025814350694417953 + "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": "boost", - "score": 0.10570749640464783 + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.038425322622060776 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.06232164427638054 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": -0.30009499192237854 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.07121023535728455 + }, + "else": { + "operation": "boost", + "score": 0.08268275856971741 + } }, "else": { - "operation": "boost", - "score": 0.11499976366758347 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.038101449608802795 + }, + "else": { + "operation": "boost", + "score": 0.07634971290826797 + } } }, "else": { - "operation": "boost", - "score": 0.03475948050618172 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.04093904048204422 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14745934307575226 + }, + "else": { + "operation": "boost", + "score": 0.06289325654506683 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.06827963143587112 + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.1397206038236618 } } }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.08900737017393112 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": -0.10927701741456985 + "score": 0.10571535676717758 }, "else": { "operation": "boost", - "score": -1.3467878103256226 + "score": -0.10148368030786514 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11747346073389053 - }, - "else": { - "operation": "boost", - "score": 0.0202963687479496 - } + "operation": "boost", + "score": -0.04914555698633194 } }, "else": { "operation": "boost", - "score": -0.06914506107568741 + "score": 0.036635711789131165 } + }, + "else": { + "operation": "boost", + "score": 0.025602800771594048 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "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": "NumReferences", - "threshold": 18.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.45230358839035034 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.09125346690416336 - }, - "else": { + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "boost", - "score": -0.1313386708498001 + "score": -0.004660372156649828 }, "else": { + "operation": "boost", + "score": 0.036719389259815216 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.20263439416885376 + "score": 0.03326508030295372 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0763578712940216 + "score": 0.12706084549427032 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 7.5, "then": { + "operation": "boost", + "score": 0.08999203145503998 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10065259784460068 + "score": 0.19262754917144775 }, "else": { "operation": "boost", - "score": 0.09230253100395203 + "score": 0.14250285923480988 } - }, - "else": { - "operation": "boost", - "score": -0.2678906321525574 } } } + }, + "else": { + "operation": "boost", + "score": 0.008989043533802032 } } - } - }, - "else": { - "operation": "boost", - "score": 0.03720233216881752 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.056202564388513565 - }, - "else": { - "operation": "boost", - "score": 0.007637390401214361 - } - }, - "else": { - "operation": "boost", - "score": -0.01412109937518835 - } - }, - "else": { - "operation": "boost", - "score": 0.02829444594681263 - } - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0026440240908414125 - }, - "else": { - "operation": "boost", - "score": -0.0035557644441723824 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05766300484538078 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.10726851224899292 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": 0.002607552567496896 - }, - "else": { - "operation": "boost", - "score": 0.10713019967079163 - } - }, - "else": { - "operation": "boost", - "score": -0.08582387119531631 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.10037931799888611 - }, - "else": { - "operation": "boost", - "score": 0.011157981120049953 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.1271427869796753 - }, - "else": { - "operation": "boost", - "score": 0.10449493676424026 - } }, "else": { - "operation": "boost", - "score": -0.016723154112696648 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { + "operation": "boost", + "score": 0.08735332638025284 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": 0.11257974058389664 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.057311076670885086 + }, + "else": { + "operation": "boost", + "score": 0.13145746290683746 + } + }, + "else": { + "operation": "boost", + "score": -0.10013201832771301 + } }, "else": { "operation": "boost", - "score": 0.05384862422943115 + "score": -0.075736865401268 } }, "else": { "operation": "boost", - "score": -0.14930494129657745 + "score": 0.20743407309055328 } - }, - "else": { - "operation": "boost", - "score": 0.10075756907463074 } }, "else": { - "operation": "boost", - "score": -0.09607268124818802 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.11533184349536896 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.11932548135519028 + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11282815039157867 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0864289402961731 + }, + "else": { + "operation": "boost", + "score": 0.061699219048023224 + } + } }, "else": { "operation": "boost", - "score": -0.12522587180137634 + "score": 0.1329420953989029 } + }, + "else": { + "operation": "boost", + "score": 0.01774229109287262 } - }, - "else": { - "operation": "boost", - "score": 0.07310473173856735 } } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.3053397536277771 + }, + "else": { + "operation": "boost", + "score": 0.12433672696352005 + } } }, "else": { - "operation": "boost", - "score": -0.040610432624816895 + "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.01891990937292576 } }, "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": "HadSymbolType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.011062918230891228 + "score": 0.036074113100767136 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.056800372898578644 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.02884133905172348 + "score": 0.1397029608488083 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.02859751507639885 - }, - "else": { - "operation": "boost", - "score": 0.02600623480975628 - } + "operation": "boost", + "score": 0.10804705321788788 } - }, - "else": { - "operation": "boost", - "score": -0.08494044095277786 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.05055056884884834 - }, - "else": { - "operation": "boost", - "score": -0.17629750072956085 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09070605784654617 - }, - "else": { - "operation": "boost", - "score": -0.11081434041261673 - } + "score": 0.08391793072223663 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.009393967688083649 + "score": 0.1351318657398224 }, "else": { "operation": "boost", - "score": 0.09173459559679031 + "score": 0.12582221627235413 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.027149822562932968 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.035614799708127975 - }, - "else": { - "operation": "boost", - "score": 0.02141120471060276 - } + "operation": "boost", + "score": 0.06596704572439194 } + }, + "else": { + "operation": "boost", + "score": 0.03609349951148033 } }, "else": { "operation": "boost", - "score": -0.01521483063697815 + "score": 0.008639214560389519 } } + }, + "else": { + "operation": "boost", + "score": 0.023399455472826958 } + }, + "else": { + "operation": "boost", + "score": -0.01264221128076315 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.09973660111427307 - }, - "else": { - "operation": "boost", - "score": -0.07750628888607025 - } } } + }, + "else": { + "operation": "boost", + "score": 0.0022675246000289917 } - }, - "else": { - "operation": "boost", - "score": -0.0011101969284936786 } }, { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 391.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32457.0, - "then": { - "operation": "boost", - "score": 0.005736165679991245 - }, - "else": { - "operation": "boost", - "score": -0.0009450037032365799 - } - }, - "else": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Type" + "CCC_ClassOrStructTag" ], "then": { + "operation": "boost", + "score": 0.10833494365215302 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 460.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 464.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48196.5, - "then": { - "operation": "boost", - "score": 0.11847800016403198 - }, - "else": { - "operation": "boost", - "score": 0.02006218582391739 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 558.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 8.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.09289062023162842 + "score": -0.004111388232558966 }, "else": { - "operation": "boost", - "score": 0.16226156055927277 - } - }, - "else": { - "operation": "boost", - "score": -0.03526744246482849 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { - "operation": "boost", - "score": 0.08141285181045532 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10865882784128189 + "score": 0.11468975245952606 + }, + "else": { + "operation": "boost", + "score": 0.0943528264760971 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69539.5, + "then": { + "operation": "boost", + "score": -0.02167423814535141 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7109.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10144314914941788 + }, + "else": { + "operation": "boost", + "score": 0.11411050707101822 + } + }, + "else": { + "operation": "boost", + "score": 0.06208343803882599 + } + } }, "else": { "operation": "boost", - "score": 0.1631443351507187 + "score": -0.004836652893573046 } } - }, - "else": { - "operation": "boost", - "score": -0.17823754251003265 } }, "else": { "operation": "boost", - "score": 0.025065559893846512 - } - } - }, - "else": { - "operation": "boost", - "score": 0.026837807148694992 - } - } - }, - "else": { - "operation": "boost", - "score": 0.02742432989180088 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 405.5, - "then": { - "operation": "boost", - "score": 0.0457732267677784 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 274.5, - "then": { - "operation": "boost", - "score": 0.14197798073291779 - }, - "else": { - "operation": "boost", - "score": 0.07700429856777191 - } + "score": 0.09777652472257614 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 451.0, + "threshold": 611.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 443558.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Expression" + ], "then": { - "operation": "boost", - "score": 0.04958609864115715 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.009757503867149353 + }, + "else": { + "operation": "boost", + "score": 0.08112356811761856 + } }, "else": { "operation": "boost", - "score": 0.10732945799827576 + "score": 0.10018978267908096 } }, "else": { - "operation": "boost", - "score": -0.10643728077411652 + "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": 634.0, + "then": { + "operation": "boost", + "score": 0.010365399532020092 + }, + "else": { + "operation": "boost", + "score": 0.1747329980134964 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.032595645636320114 + }, + "else": { + "operation": "boost", + "score": -0.4054372310638428 + } + } } }, "else": { - "operation": "boost", - "score": -0.19405855238437653 + "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": "boost", + "score": 0.08636423945426941 + }, + "else": { + "operation": "boost", + "score": -0.34453830122947693 + } } } }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.013110646046698093 - }, - "else": { - "operation": "boost", - "score": -0.18180221319198608 - } - }, - "else": { - "operation": "boost", - "score": -0.0018801861442625523 - } + "operation": "boost", + "score": -0.011669783852994442 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10355332493782043 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 474.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 74.5, + "threshold": 612.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 106.5, + "threshold": 657.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3733.0, "then": { - "operation": "boost", - "score": -0.2507368326187134 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_TopLevel", - "CCC_Expression" + "FunctionScope", + "ClassScope", + "GlobalScope" ], "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.043174996972084045 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": -0.3172478675842285 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 112.5, + "threshold": 7144.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 116.5, + "threshold": 268815.5, "then": { "operation": "boost", - "score": 0.34610047936439514 + "score": 0.07468394935131073 }, "else": { "operation": "boost", - "score": 0.803375244140625 + "score": -0.025387294590473175 } }, "else": { - "operation": "boost", - "score": -0.12760183215141296 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0934334248304367 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 101.5, - "then": { - "operation": "boost", - "score": 0.10755128413438797 - }, - "else": { - "operation": "boost", - "score": 0.04651237651705742 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 80.5, - "then": { - "operation": "boost", - "score": -0.126600980758667 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "boost", - "score": 0.10013432055711746 - }, - "else": { - "operation": "boost", - "score": -0.06696949154138565 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.5589585900306702 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement" - ], - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 84.0, + "threshold": 5162.5, "then": { "operation": "boost", - "score": 0.07455221563577652 + "score": 0.11124803870916367 }, "else": { "operation": "boost", - "score": 0.11880199611186981 + "score": -0.028774376958608627 } - }, - "else": { - "operation": "boost", - "score": 0.0042847455479204655 } + }, + "else": { + "operation": "boost", + "score": 0.10530727356672287 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 96.5, + "threshold": 3994.0, "then": { "operation": "boost", - "score": 0.11219073832035065 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.09668954461812973 - }, - "else": { - "operation": "boost", - "score": -0.2980797588825226 - } - }, - "else": { - "operation": "boost", - "score": 0.1093616634607315 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.16520065069198608 - } + "score": 0.00582013139501214 }, "else": { "operation": "boost", - "score": 0.3153267502784729 + "score": 0.061208467930555344 } - }, - "else": { - "operation": "boost", - "score": -0.21198086440563202 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { + } + }, + "else": { + "operation": "boost", + "score": -0.19084139168262482 + } + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 2715.0, "then": { + "operation": "boost", + "score": -0.48674771189689636 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 1020.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55.5, + "threshold": 1049.5, "then": { - "operation": "boost", - "score": -0.1399734914302826 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 50.5, + "threshold": 1817.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, + "threshold": 12.5, "then": { - "operation": "boost", - "score": -0.7791498303413391 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 2184.5, "then": { "operation": "boost", - "score": 0.10462108999490738 + "score": 0.1302795559167862 }, "else": { "operation": "boost", - "score": 0.11699716746807098 + "score": -0.02572430670261383 } + }, + "else": { + "operation": "boost", + "score": 0.12382940202951431 } }, "else": { "operation": "boost", - "score": 0.025178931653499603 + "score": 0.0010310913203284144 } + }, + "else": { + "operation": "boost", + "score": 0.10611032694578171 } }, "else": { "operation": "boost", - "score": -0.09793508052825928 + "score": -0.08804783225059509 } - }, - "else": { - "operation": "boost", - "score": -0.190835103392601 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FileProximityDistance", "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "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": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 686.5, "then": { - "operation": "boost", - "score": -0.03610849380493164 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.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_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": -0.06312979757785797 + }, + "else": { + "operation": "boost", + "score": -0.2239830642938614 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09259900450706482 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3308.0, + "then": { + "operation": "boost", + "score": 0.10111494362354279 + }, + "else": { + "operation": "boost", + "score": -0.014238185249269009 + } + } + } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 672.5, "then": { "operation": "boost", - "score": 0.01633765548467636 + "score": -0.5300487279891968 }, "else": { "operation": "boost", - "score": 0.067698173224926 + "score": -0.010616296902298927 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 884.0, "then": { "operation": "boost", - "score": 0.07096555083990097 + "score": -0.10086403042078018 }, "else": { "operation": "boost", - "score": 0.10010191798210144 + "score": -0.8568227291107178 } } }, "else": { "operation": "boost", - "score": 0.012242387980222702 + "score": 0.08516591787338257 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 630.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.09855208545923233 + }, + "else": { + "operation": "boost", + "score": 0.1133643388748169 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": 0.11683496832847595 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "FilterLength", + "threshold": 9.5, "then": { + "operation": "boost", + "score": 0.07307519763708115 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.2691527009010315 - }, - "else": { - "operation": "boost", - "score": 0.10453597456216812 - } + "operation": "boost", + "score": 0.060777463018894196 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0007522066007368267 - }, - "else": { - "operation": "boost", - "score": 0.08644271641969681 - } + "operation": "boost", + "score": -0.27426910400390625 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12324083596467972 + }, + "else": { + "operation": "boost", + "score": -0.15750941634178162 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.0, + "then": { + "operation": "boost", + "score": 0.10783607512712479 + }, + "else": { + "operation": "boost", + "score": -0.2524101436138153 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1462.0, + "then": { + "operation": "boost", + "score": 0.02349073812365532 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1453.0, + "then": { + "operation": "boost", + "score": 0.11783809959888458 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 700.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12536601722240448 + }, + "else": { + "operation": "boost", + "score": -0.1169477105140686 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.014418217353522778 + "score": 0.059694379568099976 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.000357422191882506 - }, - "else": { - "operation": "boost", - "score": 0.11566559225320816 - } - }, - "else": { - "operation": "boost", - "score": -0.0908392071723938 - } - }, - "else": { - "operation": "boost", - "score": -0.12191397696733475 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.042474325746297836 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, - "then": { - "operation": "boost", - "score": -0.213075652718544 - }, - "else": { - "operation": "boost", - "score": 0.14575520157814026 - } - }, - "else": { - "operation": "boost", - "score": 0.10142668336629868 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.06401744484901428 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.11605584621429443 - }, - "else": { - "operation": "boost", - "score": 0.037251200526952744 - } - }, - "else": { - "operation": "boost", - "score": 0.08182062953710556 - } - } + "operation": "boost", + "score": 0.12373102456331253 } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 54.0, + "operation": "boost", + "score": -0.4278988540172577 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1392.0, + "then": { + "operation": "boost", + "score": 0.09462673962116241 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.11417564749717712 - }, - "else": { - "operation": "boost", - "score": 0.12165521830320358 - } + "operation": "boost", + "score": 0.08895644545555115 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion" + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1331.0, + "then": { + "operation": "boost", + "score": -1.2171803712844849 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 891.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 954.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 1190.5, "then": { - "operation": "boost", - "score": -0.4749908149242401 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], "then": { "operation": "boost", - "score": 0.06544582545757294 + "score": 0.09726721793413162 }, "else": { "operation": "boost", - "score": 0.09122715145349503 + "score": 0.0028732072096318007 } + }, + "else": { + "operation": "boost", + "score": -0.10650062561035156 } }, "else": { "operation": "boost", - "score": 0.04997614398598671 + "score": 0.10527046769857407 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05591215193271637 + }, + "else": { + "operation": "boost", + "score": -0.1590830385684967 } } } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.12286421656608582 + }, + "else": { + "operation": "boost", + "score": 0.02425779215991497 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.14869174361228943 + }, + "else": { + "operation": "boost", + "score": -0.46035632491111755 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.022301143035292625 } } - }, - "else": { - "operation": "boost", - "score": -0.018558885902166367 } } } }, "else": { + "operation": "boost", + "score": 0.09653985500335693 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 222060.0, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": 0.1275513619184494 + "score": 0.12325061112642288 }, "else": { "operation": "boost", - "score": -0.02607661299407482 + "score": -0.18822382390499115 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.008461110293865204 + }, + "else": { + "operation": "boost", + "score": -0.17215275764465332 + } + }, + "else": { + "operation": "boost", + "score": -0.45036134123802185 } } } + } + }, + "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 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4712.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 6495.0, "then": { "operation": "boost", - "score": -0.01230041403323412 + "score": -0.001562589081004262 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { - "operation": "boost", - "score": 0.009396286681294441 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1398271769285202 + }, + "else": { + "operation": "boost", + "score": 0.12987728416919708 + } + }, + "else": { + "operation": "boost", + "score": 0.08939363062381744 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.04214787483215332 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5805.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.13469047844409943 + }, + "else": { + "operation": "boost", + "score": 0.10276547074317932 + } + }, + "else": { + "operation": "boost", + "score": 0.03631414473056793 + } }, "else": { + "operation": "boost", + "score": -0.27521684765815735 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 590.5, + "then": { + "operation": "boost", + "score": 0.00871626939624548 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 585.5, + "then": { + "operation": "boost", + "score": 0.1486562341451645 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 441.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 452.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.6038469672203064 + "score": -0.11663062125444412 }, "else": { "operation": "boost", - "score": 0.11273304373025894 + "score": 0.167011559009552 } }, "else": { "operation": "boost", - "score": -0.003963432274758816 + "score": -0.11641903966665268 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": 0.0985201969742775 + } + }, + "else": { + "operation": "boost", + "score": -0.09724900871515274 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 452.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 527.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 533.0, "then": { - "operation": "boost", - "score": 0.12719981372356415 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "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.08683495968580246 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 560.5, "then": { "operation": "boost", - "score": 0.10162334144115448 + "score": 0.11339423805475235 }, "else": { "operation": "boost", - "score": -0.40635839104652405 + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 443.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11223895102739334 + }, + "else": { + "operation": "boost", + "score": 0.04369568079710007 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 428.5, "then": { + "operation": "boost", + "score": -0.20996235311031342 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 424.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.08218178898096085 + "score": -0.1614500731229782 }, "else": { "operation": "boost", - "score": 0.15924976766109467 + "score": 0.11015193164348602 } }, "else": { "operation": "boost", - "score": 0.09942948818206787 + "score": 0.052434779703617096 } - }, - "else": { - "operation": "boost", - "score": -0.1682884842157364 } - }, - "else": { - "operation": "boost", - "score": 0.13007254898548126 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.007538899313658476 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", + "feature": "FileProximityDistance", "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.012726353481411934 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 646.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.06897449493408203 - }, - "else": { - "operation": "boost", - "score": 0.12023991346359253 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "threshold": 961.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { + "operation": "boost", + "score": -0.004112012684345245 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1725.5, "then": { "operation": "boost", - "score": 0.024633342400193214 + "score": -0.7502469420433044 }, "else": { - "operation": "boost", - "score": 0.09046753495931625 + "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.10804563015699387 - } - }, - "else": { - "operation": "boost", - "score": 0.03204793855547905 - } - } - }, - "else": { - "operation": "boost", - "score": 0.016459010541439056 - } - }, - "else": { - "operation": "boost", - "score": 0.005179272033274174 - } - } - }, - "else": { - "operation": "boost", - "score": -0.00046767614549025893 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Namespace", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.01180130522698164 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.018452031537890434 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.11637889593839645 - }, - "else": { - "operation": "boost", - "score": -0.10365546494722366 } }, "else": { "operation": "boost", - "score": 0.10548928380012512 + "score": -0.36665117740631104 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 579.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.5541495084762573 - }, - "else": { - "operation": "boost", - "score": 0.11842148751020432 - } + "operation": "boost", + "score": 0.13260087370872498 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { - "operation": "boost", - "score": 0.08887278288602829 - }, - "else": { - "operation": "boost", - "score": -0.06833493709564209 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.008411486633121967 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1202160120010376 - }, - "else": { - "operation": "boost", - "score": -0.22115619480609894 + "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.05220190808176994 + "score": 0.000418495706981048 } } } }, "else": { - "operation": "boost", - "score": -0.008506770245730877 + "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": 618.5, + "threshold": 391.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 14.5, + "threshold": 3.5, "then": { - "operation": "boost", - "score": 0.11252475529909134 - }, - "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Namespace" + "CCC_ClassOrStructTag" ], "then": { + "operation": "boost", + "score": 0.1065460592508316 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2909.5, + "threshold": 460.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 462.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4025.0, + "threshold": 473.0, "then": { - "operation": "boost", - "score": 0.03418886289000511 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 14.5, "then": { "operation": "boost", - "score": 0.0883370116353035 + "score": 0.005084900185465813 }, "else": { - "operation": "boost", - "score": -0.11028790473937988 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.003968062344938517 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1462.0, + "then": { + "operation": "boost", + "score": 0.022681105881929398 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1402.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11578826606273651 + }, + "else": { + "operation": "boost", + "score": -0.09569644927978516 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 700.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0114559605717659 + } + }, + "else": { + "operation": "boost", + "score": 0.04102148488163948 + } + }, + "else": { + "operation": "boost", + "score": -0.053078893572092056 + } + } + } + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8634.5, - "then": { - "operation": "boost", - "score": 0.06931207329034805 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 6965.0, + "threshold": 471.0, "then": { "operation": "boost", - "score": 0.13524265587329865 + "score": 0.08665014803409576 }, "else": { "operation": "boost", - "score": 0.05533967167139053 + "score": 0.014905460178852081 } } + }, + "else": { + "operation": "boost", + "score": 0.09039585292339325 } }, "else": { - "operation": "boost", - "score": 0.028050264343619347 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.12522973120212555 + }, + "else": { + "operation": "boost", + "score": -0.1510152518749237 + } + }, + "else": { + "operation": "boost", + "score": -0.09436514228582382 + } } - }, - "else": { - "operation": "boost", - "score": -0.06866651028394699 } + }, + "else": { + "operation": "boost", + "score": 0.004664168227463961 } }, "else": { "operation": "boost", - "score": -0.054856132715940475 + "score": -0.0007037675241008401 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 395.5, "then": { - "operation": "boost", - "score": 0.008398319594562054 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5270.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5280.5, + "threshold": 604.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8150.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.01864929497241974 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016123943030834198 + }, + "else": { + "operation": "boost", + "score": 0.08683925867080688 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7477.0, + "threshold": 1109.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": -0.052138715982437134 + "score": 0.07684171199798584 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7768.5, - "then": { - "operation": "boost", - "score": 0.2119768112897873 - }, - "else": { - "operation": "boost", - "score": 0.14600995182991028 - } - }, - "else": { - "operation": "boost", - "score": -0.06415972113609314 - } + "operation": "boost", + "score": -0.4154883325099945 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 790.0, "then": { "operation": "boost", - "score": -0.07377065718173981 + "score": 0.10668207705020905 }, "else": { "operation": "boost", - "score": 0.11660975217819214 + "score": 0.06956489384174347 } } }, "else": { "operation": "boost", - "score": 0.024867849424481392 + "score": -0.06709950417280197 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 594.0, "then": { "operation": "boost", - "score": 0.041743919253349304 + "score": 0.10546955466270447 }, "else": { - "operation": "boost", - "score": 0.13359107077121735 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 546.0, + "then": { + "operation": "boost", + "score": 0.11490967869758606 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 440.0, + "then": { + "operation": "boost", + "score": 0.02985912188887596 + }, + "else": { + "operation": "boost", + "score": 0.10188545286655426 + } + }, + "else": { + "operation": "boost", + "score": -0.15515990555286407 + } + } } } }, "else": { "operation": "boost", - "score": 0.0013888927642256021 + "score": 0.021726883947849274 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09796811640262604 + }, + "else": { + "operation": "boost", + "score": -0.10590801388025284 } } } }, "else": { - "operation": "boost", - "score": 0.001214009360410273 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { + "operation": "boost", + "score": 0.08685418963432312 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 577.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 580.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "boost", - "score": 0.13938374817371368 - }, - "else": { - "operation": "boost", - "score": 0.04399972781538963 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.8526784181594849 - }, - "else": { - "operation": "boost", - "score": 0.09975256770849228 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.059279296547174454 - }, - "else": { - "operation": "boost", - "score": 0.03757159411907196 - } - }, - "else": { - "operation": "boost", - "score": 0.02849552407860756 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "threshold": 464.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.5, + "threshold": 507.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 512.0, "then": { "operation": "boost", - "score": 0.14229819178581238 + "score": 0.04415477439761162 }, "else": { "operation": "boost", - "score": 0.06547040492296219 + "score": 0.09508407115936279 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": -14.855518341064453 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "boost", - "score": -2.217646360397339 - }, - "else": { - "operation": "boost", - "score": 0.03286970406770706 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09816467761993408 - }, - "else": { - "operation": "boost", - "score": 0.10225244611501694 - } - }, - "else": { - "operation": "boost", - "score": -0.08768460899591446 - } - } - } + "operation": "boost", + "score": -0.4069157540798187 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 449.0, "then": { "operation": "boost", - "score": -0.00850442610681057 + "score": 0.08132800459861755 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.11570370197296143 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 431.5, + "then": { + "operation": "boost", + "score": -0.12014550715684891 + }, + "else": { + "operation": "boost", + "score": 0.09394926577806473 + } }, "else": { "operation": "boost", - "score": -0.9667673707008362 + "score": 0.015135345980525017 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0382295623421669 - }, - "else": { - "operation": "boost", - "score": 0.014009147882461548 - } + "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 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 444.5, "then": { "operation": "boost", - "score": -0.0037211677990853786 + "score": 0.009261944331228733 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 421.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.0, - "then": { - "operation": "boost", - "score": 0.11732286959886551 - }, - "else": { - "operation": "boost", - "score": -0.049272388219833374 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.0021905223838984966 - }, - "else": { - "operation": "boost", - "score": 0.09013669192790985 - } - } + "operation": "boost", + "score": 0.10389867424964905 }, "else": { "operation": "boost", - "score": -0.02710251696407795 + "score": 0.02675841562449932 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13849978148937225 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Symbol", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_Symbol", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.02761257439851761 - }, - "else": { - "operation": "boost", - "score": -0.12122691422700882 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.012873085215687752 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "boost", - "score": 0.10263797640800476 - }, - "else": { - "operation": "boost", - "score": 0.01235700398683548 - } + "operation": "boost", + "score": 0.05846068635582924 }, "else": { + "operation": "boost", + "score": 0.003256283700466156 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.007319783791899681 - }, - "else": { - "operation": "boost", - "score": 0.11710155010223389 - } - }, - "else": { - "operation": "boost", - "score": 0.008985884487628937 - } - }, - "else": { - "operation": "boost", - "score": -0.049513522535562515 - } - }, - "else": { - "operation": "boost", - "score": -0.13418154418468475 - } + "operation": "boost", + "score": 0.155690535902977 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1704.0, "then": { "operation": "boost", - "score": 0.11242830753326416 + "score": 0.1431487649679184 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.11269877105951309 - }, - "else": { - "operation": "boost", - "score": 0.004126241430640221 - } + "operation": "boost", + "score": 0.06781362742185593 } }, "else": { "operation": "boost", - "score": 0.04213592782616615 + "score": 0.3092496693134308 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.06420263648033142 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.02506568841636181 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.307588666677475 - }, - "else": { - "operation": "boost", - "score": 0.12229984253644943 - } - }, - "else": { - "operation": "boost", - "score": 0.09455094486474991 - } - } - }, - "else": { - "operation": "boost", - "score": -0.14914284646511078 - } - } + "operation": "boost", + "score": -0.13273443281650543 } } + }, + "else": { + "operation": "boost", + "score": 0.01917448081076145 } - }, - "else": { - "operation": "boost", - "score": 0.0007641466800123453 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 603.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 611.5, - "then": { - "operation": "boost", - "score": -0.1008019894361496 - }, - "else": { - "operation": "boost", - "score": 0.10581658780574799 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.02424289844930172 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 723.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 755.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Namespace" + "Keyword", + "Destructor", + "Unknown", + "Constructor", + "Namespace" ], "then": { "operation": "boost", - "score": 0.11681082844734192 + "score": 0.046681102365255356 }, "else": { "operation": "boost", - "score": 0.33175960183143616 + "score": -0.10861244052648544 } }, "else": { + "operation": "boost", + "score": -0.9795028567314148 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 447.0, "then": { "operation": "boost", - "score": 0.12106852978467941 + "score": -0.07107935100793839 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.26795217394828796 + "score": -0.15584196150302887 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.10208892822265625 - }, - "else": { - "operation": "boost", - "score": -0.12314252555370331 - } + "operation": "boost", + "score": -3.1444900035858154 } } - } - }, - "else": { - "operation": "boost", - "score": 0.06339530646800995 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.11131712794303894 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.01243856456130743 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 51.0, - "then": { - "operation": "boost", - "score": 0.02726144902408123 }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { - "operation": "boost", - "score": -0.5991698503494263 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10988376289606094 + "score": 0.045977529138326645 + }, + "else": { + "operation": "boost", + "score": 0.11072813719511032 + } + }, + "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.1042034849524498 + "score": -0.1340940296649933 } } } } }, - "else": { - "operation": "boost", - "score": -0.10401232540607452 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.021228095516562462 - }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": -0.12338156998157501 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 48.5, + "threshold": 5924.5, "then": { - "operation": "boost", - "score": 0.10743815451860428 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8214.5, + "then": { + "operation": "boost", + "score": -0.2397880256175995 + }, + "else": { + "operation": "boost", + "score": 0.09593097865581512 + } }, "else": { - "operation": "boost", - "score": 0.08380137383937836 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 166.5, - "then": { - "operation": "boost", - "score": -0.0503605492413044 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Symbol" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005949351005256176 + } + }, + "else": { + "operation": "boost", + "score": -0.043857622891664505 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 410.0, "then": { "operation": "boost", - "score": -0.07263018935918808 + "score": -0.02834898792207241 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.1075909212231636 + "score": 0.12123597413301468 }, "else": { "operation": "boost", - "score": 0.06862571835517883 + "score": -0.26288366317749023 } } }, "else": { - "operation": "boost", - "score": -0.00649529043585062 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.26116418838500977 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "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": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.050785891711711884 + "score": -0.050112638622522354 }, "else": { "operation": "boost", - "score": 0.14294882118701935 + "score": -0.5195292830467224 } }, "else": { "operation": "boost", - "score": -0.13131661713123322 + "score": -0.5159109830856323 } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10461875796318054 }, "else": { - "operation": "boost", - "score": 0.03634722903370857 + "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 + } + } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 532.0, + "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.004653281532227993 + "score": -0.35336020588874817 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 4467.5, "then": { + "operation": "boost", + "score": -0.15707632899284363 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 1765.5, "then": { - "operation": "boost", - "score": 0.033310599625110626 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.0, + "threshold": 1860.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 90.5, + "threshold": 3478.5, + "then": { + "operation": "boost", + "score": 0.10681251436471939 + }, + "else": { + "operation": "boost", + "score": -0.09591950476169586 + } + }, + "else": { + "operation": "boost", + "score": 0.10796822607517242 + } + }, + "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.10640958696603775 + "score": 0.07384754717350006 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25.5, + "threshold": 757.5, "then": { "operation": "boost", - "score": -0.07878077775239944 + "score": -0.10975154489278793 }, "else": { "operation": "boost", - "score": 0.10608520358800888 + "score": -0.8249486684799194 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, + "feature": "NumReferences", + "threshold": 668.0, "then": { "operation": "boost", - "score": 0.10289952158927917 + "score": 0.10047018527984619 }, "else": { "operation": "boost", - "score": 0.08866484463214874 + "score": -0.038761384785175323 } } } - }, - "else": { - "operation": "boost", - "score": -0.15663519501686096 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 518.0, + "then": { + "operation": "boost", + "score": 0.1097930446267128 + }, + "else": { + "operation": "boost", + "score": -0.039172712713479996 + } } - }, - "else": { + } + } + } + } + } + }, + "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.07387030869722366 + }, + "else": { + "operation": "boost", + "score": 0.1155184656381607 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.25040504336357117 + }, + "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": 86.5, + "threshold": 961.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 104.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.18931549787521362 + "score": 0.09103654325008392 }, "else": { "operation": "boost", - "score": 0.10614977777004242 + "score": 0.107828289270401 } }, "else": { "operation": "boost", - "score": -0.012713110074400902 + "score": -0.1405637264251709 } + }, + "else": { + "operation": "boost", + "score": 0.11460157483816147 + } + }, + "else": { + "operation": "boost", + "score": -0.1060740202665329 + } + } + } + }, + "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": { + "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.07050852477550507 + }, + "else": { + "operation": "boost", + "score": 0.10457852482795715 } + }, + "else": { + "operation": "boost", + "score": -0.28907883167266846 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6293.5, + "then": { + "operation": "boost", + "score": 0.12429457157850266 + }, + "else": { + "operation": "boost", + "score": -0.08002349734306335 } } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.144953653216362 + }, + "else": { + "operation": "boost", + "score": 0.05782734230160713 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3341.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3606.5, + "then": { + "operation": "boost", + "score": 0.005820554215461016 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.10676586627960205 + }, + "else": { + "operation": "boost", + "score": 0.09843171387910843 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44.5, + "threshold": 3370.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.09018329530954361 + "score": -0.2896454930305481 }, "else": { "operation": "boost", - "score": 0.1221110001206398 + "score": 0.08369076997041702 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": 0.17454001307487488 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.10591036826372147 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 3488.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 3536.0, "then": { "operation": "boost", - "score": 0.06198786199092865 + "score": -0.10313844680786133 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.559010922908783 - }, - "else": { - "operation": "boost", - "score": 0.4738036096096039 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.12872767448425293 - }, - "else": { - "operation": "boost", - "score": 0.4987727999687195 - } - } + "operation": "boost", + "score": 0.20058684051036835 } }, "else": { "operation": "boost", - "score": -0.12881647050380707 + "score": -0.10254786908626556 } }, "else": { "operation": "boost", - "score": -0.007743112277239561 + "score": 0.1462482362985611 } } - }, - "else": { - "operation": "boost", - "score": -0.031225552782416344 } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.08199514448642731 - }, - "else": { - "operation": "boost", - "score": 0.11555489897727966 - } }, "else": { "operation": "boost", - "score": -0.050291649997234344 + "score": -0.012307364493608475 } - }, - "else": { - "operation": "boost", - "score": 0.008198869414627552 } } - }, - "else": { - "operation": "boost", - "score": 0.00026595560484565794 } + }, + "else": { + "operation": "boost", + "score": -0.00031513572321273386 } }, { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", + "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": -0.0006326808361336589 + "score": 0.002231793710961938 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 894.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.07030041515827179 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1605.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.03903350979089737 + "score": 0.02250482514500618 }, "else": { - "operation": "boost", - "score": 0.11318603903055191 - } - } - }, - "else": { - "operation": "boost", - "score": -0.018042979761958122 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Type" + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.021168921142816544 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.05014561116695404 - }, - "else": { - "operation": "boost", - "score": 0.013669363223016262 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34322.0, - "then": { - "operation": "boost", - "score": 0.10562136769294739 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 32.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.026032544672489166 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 34.5, + "threshold": 78.5, "then": { "operation": "boost", - "score": 0.11290577054023743 + "score": -0.14478494226932526 }, "else": { - "operation": "boost", - "score": 0.06934836506843567 + "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 + } + } } }, "else": { - "operation": "boost", - "score": 0.015054432675242424 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.1700281798839569 + }, + "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 + } + } + } } - } - }, - "else": { - "operation": "boost", - "score": 0.003022966207936406 - } - }, - "else": { - "operation": "boost", - "score": -0.0030055164825171232 - } - }, - "else": { - "operation": "boost", - "score": -0.04909601807594299 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0039480943232774734 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "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_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "boost", - "score": 0.1338518112897873 }, "else": { - "operation": "boost", - "score": -1.2709378004074097 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.07176971435546875 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.11028289794921875 + }, + "else": { + "operation": "boost", + "score": -0.11935442686080933 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.9014007449150085 + }, + "else": { + "operation": "boost", + "score": -0.0040567428804934025 + } + }, + "else": { + "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": "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 + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.02374875918030739 + }, + "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 + } + } + } + } + } + } + } + } + } } }, "else": { "operation": "boost", - "score": 0.052408620715141296 + "score": -0.0017296049045398831 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.10414111614227295 + "score": 0.0035976364742964506 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.15254880487918854 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07915277034044266 + }, + "else": { + "operation": "boost", + "score": 0.06824079155921936 + } + }, + "else": { + "operation": "boost", + "score": -0.1012941300868988 + } }, "else": { "operation": "boost", - "score": 0.1566382646560669 + "score": 0.02270866185426712 } } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "boost", + "score": -0.07529082149267197 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2.5, + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.10207176953554153 + "score": 0.003144137328490615 }, "else": { "operation": "boost", - "score": 0.12902553379535675 + "score": 0.10476183146238327 } }, "else": { - "operation": "boost", - "score": -0.12012413144111633 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.13223804533481598 + }, + "else": { + "operation": "boost", + "score": 0.04601030796766281 + } + }, + "else": { + "operation": "boost", + "score": -0.031044354662299156 + } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.037848662585020065 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.051036205142736435 + "score": -0.09522237628698349 }, "else": { "operation": "boost", - "score": 0.13360266387462616 + "score": 0.09407306462526321 } - }, - "else": { - "operation": "boost", - "score": 1.2458796501159668 } } }, "else": { - "operation": "boost", - "score": 0.1451718956232071 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.074251189827919 - }, - "else": { - "operation": "boost", - "score": -0.4324840307235718 + "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.04142005369067192 + "score": -0.09162381291389465 } - }, - "else": { - "operation": "boost", - "score": 0.005618241615593433 } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 25.5, "then": { + "operation": "boost", + "score": 0.10605646669864655 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, "then": { + "operation": "boost", + "score": 0.018687045201659203 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.054912019520998 + "score": 0.008084351196885109 }, "else": { - "operation": "boost", - "score": 0.10288067162036896 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14422.0, + "then": { + "operation": "boost", + "score": 0.09637477248907089 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 444.5, + "then": { + "operation": "boost", + "score": -0.09007740765810013 + }, + "else": { + "operation": "boost", + "score": 0.09408626705408096 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.01595940627157688 } }, "else": { "operation": "boost", - "score": -0.02391263283789158 + "score": -0.0058025033213198185 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.13632352650165558 - }, - "else": { - "operation": "boost", - "score": 0.07181061059236526 - } - }, - "else": { - "operation": "boost", - "score": 0.021790826693177223 - } + "operation": "boost", + "score": 0.09012136608362198 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 265874.5, "then": { + "operation": "boost", + "score": 0.04521685093641281 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.0056219156831502914 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 272.5, + "then": { + "operation": "boost", + "score": 0.034664954990148544 + }, + "else": { + "operation": "boost", + "score": 0.12059945613145828 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.005008689593523741 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { "operation": "boost", - "score": -0.048685066401958466 + "score": -0.019646788015961647 }, "else": { - "operation": "boost", - "score": 0.02059830166399479 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "NumReferences", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "boost", - "score": -0.14229020476341248 + "score": -0.12668852508068085 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.39762362837791443 - }, - "else": { - "operation": "boost", - "score": 0.11063189804553986 - } + "operation": "boost", + "score": 0.08716040849685669 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07475551217794418 + "score": -0.0687028244137764 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11280012875795364 + "score": 0.0400347039103508 }, "else": { - "operation": "boost", - "score": 0.1587052047252655 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.010063815861940384 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09063903987407684 + }, + "else": { + "operation": "boost", + "score": 0.07645659893751144 + } + } } } } - }, - "else": { - "operation": "boost", - "score": 0.0025121227372437716 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.01874750666320324 - }, - "else": { - "operation": "boost", - "score": 0.10496710240840912 - } - }, - "else": { - "operation": "boost", - "score": -0.03868258744478226 } - }, - "else": { - "operation": "boost", - "score": -0.0708007663488388 } } - }, - "else": { - "operation": "boost", - "score": 0.00018598107271827757 } - }, - "else": { - "operation": "boost", - "score": -0.008214399218559265 } + }, + "else": { + "operation": "boost", + "score": -0.005107522010803223 } - }, - "else": { - "operation": "boost", - "score": -0.004956321325153112 } - } - } - }, - "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_Statement", - "CCC_Namespace", - "CCC_Type" - ], + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", - "Destructor", - "Namespace", "Keyword", - "Macro", + "Variable", + "Destructor", + "Operator", + "Unknown", "Constructor", + "Function", "Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1764.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1789.0, + "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" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0030798122752457857 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0008709885296411812 + }, + "else": { + "operation": "boost", + "score": 0.037993814796209335 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7163.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.044842679053545 + "score": 0.08421199768781662 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4708.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11648181080818176 + "score": 0.17253223061561584 }, "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11546147614717484 - }, - "else": { - "operation": "boost", - "score": 0.046718910336494446 - } + "operation": "boost", + "score": 0.11555762588977814 } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4241.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": -0.0029191740322858095 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11046.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "boost", - "score": 0.022932928055524826 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10810.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.1117316409945488 + "score": -0.05267103761434555 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4398.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7017.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9251.0, - "then": { - "operation": "boost", - "score": -0.043597858399152756 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.06525047868490219 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8318.5, - "then": { - "operation": "boost", - "score": 0.10117311030626297 - }, - "else": { - "operation": "boost", - "score": 0.08556636422872543 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.019941024482250214 - } + "operation": "boost", + "score": 0.0943041443824768 }, "else": { "operation": "boost", - "score": 0.10464510321617126 + "score": -0.2835027873516083 } } + }, + "else": { + "operation": "boost", + "score": 0.14523963630199432 } - }, - "else": { - "operation": "boost", - "score": -0.043120287358760834 } } } }, "else": { "operation": "boost", - "score": 0.12519235908985138 + "score": -0.018524151295423508 } - }, - "else": { - "operation": "boost", - "score": -0.0336129404604435 } }, "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": "FileProximityDistance", - "threshold": 18.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.006261436268687248 + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.10211854428052902 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.0746268704533577 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08025600761175156 + "score": 0.146021768450737 }, "else": { "operation": "boost", - "score": 0.0938485637307167 + "score": 0.045987486839294434 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.12063977867364883 - }, - "else": { - "operation": "boost", - "score": 0.1802995502948761 - } - }, - "else": { - "operation": "boost", - "score": 0.03623023256659508 - } + "operation": "boost", + "score": 0.04499959200620651 } }, "else": { - "operation": "boost", - "score": 0.01809956133365631 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0025379706639796495 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Type" + "CCC_TopLevel" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.09039285778999329 - }, - "else": { - "operation": "boost", - "score": -0.11330310255289078 - } - }, - "else": { - "operation": "boost", - "score": 0.05816157907247543 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12467904388904572 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08224253356456757 - }, - "else": { - "operation": "boost", - "score": 0.06003778427839279 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.07707899808883667 - }, - "else": { - "operation": "boost", - "score": 0.07412619888782501 - } - } - }, - "else": { - "operation": "boost", - "score": 0.09791922569274902 - } - } + "operation": "boost", + "score": 0.09962349385023117 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.06740429252386093 - }, - "else": { - "operation": "boost", - "score": 0.018040897324681282 - } + "operation": "boost", + "score": 0.08830726891756058 } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "boost", - "score": 0.11135466396808624 - }, - "else": { - "operation": "boost", - "score": 0.17776894569396973 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.43658745288848877 - }, - "else": { - "operation": "boost", - "score": 0.08171157538890839 - } - }, - "else": { - "operation": "boost", - "score": 0.06184457242488861 - } - }, - "else": { - "operation": "boost", - "score": -0.0011177861597388983 - } - }, - "else": { - "operation": "boost", - "score": 0.07661649584770203 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.41219234466552734 - }, - "else": { - "operation": "boost", - "score": 0.01881622150540352 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.08607935160398483 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.017125658690929413 - }, - "else": { - "operation": "boost", - "score": -0.20007799565792084 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": -0.6268309354782104 - }, - "else": { - "operation": "boost", - "score": 0.11812969297170639 - } - }, - "else": { - "operation": "boost", - "score": -0.0025481493212282658 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.13455180823802948 - }, - "else": { - "operation": "boost", - "score": 0.11749480664730072 - } - }, - "else": { - "operation": "boost", - "score": 0.3875265121459961 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.02502523735165596 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08040639013051987 - }, - "else": { - "operation": "boost", - "score": 0.001971644349396229 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.046980395913124084 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.065687395632267 - }, - "else": { - "operation": "boost", - "score": 0.06031513214111328 - } - } - } - } - } - } + } + }, + "else": { + "operation": "boost", + "score": 0.10127152502536774 + } + }, + "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.0008722601924091578 + } + }, + { + "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_Type" + ], + "then": { + "operation": "boost", + "score": 0.0023225729819387197 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "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.012021641246974468 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.10984189063310623 + }, + "else": { + "operation": "boost", + "score": -0.026279151439666748 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.0626896545290947 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.07792454212903976 + }, + "else": { + "operation": "boost", + "score": 0.11326075345277786 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.07621145993471146 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10624305158853531 + }, + "else": { + "operation": "boost", + "score": -0.2014504224061966 } } } @@ -364631,783 +353390,1357 @@ }, "else": { "operation": "boost", - "score": 0.024352939799427986 + "score": 0.10206539928913116 } } }, "else": { - "operation": "boost", - "score": -0.0286420825868845 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.01255851425230503 + "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": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 59.5, "then": { "operation": "boost", - "score": -0.11280694603919983 + "score": 0.010755171068012714 }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.06162572652101517 + "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.030873829498887062 + "score": -0.17645609378814697 } } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.001043404801748693 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.665153443813324 + "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, + "then": { + "operation": "boost", + "score": 0.10166065394878387 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.0, + "then": { + "operation": "boost", + "score": 0.11236035078763962 + }, + "else": { + "operation": "boost", + "score": -0.4561728239059448 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009580983780324459 + } }, "else": { - "operation": "boost", - "score": 0.009308448992669582 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.01623273268342018 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.08327562361955643 + } + } } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.010451585054397583 - } - }, - "else": { - "operation": "boost", - "score": -0.006303118541836739 - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.028429212048649788 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 14.5, "then": { - "operation": "boost", - "score": 0.08396368473768234 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1806.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": -0.09528421610593796 + "score": 0.03596383333206177 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1610.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.1127500832080841 + "score": -0.08124514669179916 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1283019632101059 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 310.0, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10231105238199234 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292.0, + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.4388035237789154 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.22467753291130066 + }, + "else": { + "operation": "boost", + "score": 0.11694282293319702 + } }, "else": { + "operation": "boost", + "score": -0.26029884815216064 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 195.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.027119144797325134 + "score": 0.11352366954088211 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 170.0, - "then": { - "operation": "boost", - "score": 0.1265684813261032 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.03417275846004486 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 151.0, - "then": { - "operation": "boost", - "score": 0.1222163587808609 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 134.0, - "then": { - "operation": "boost", - "score": -0.14589419960975647 - }, - "else": { - "operation": "boost", - "score": 0.265739768743515 - } - } - } - } + "operation": "boost", + "score": 0.025673897936940193 } }, "else": { "operation": "boost", - "score": -0.34310412406921387 + "score": -0.10487306118011475 } + }, + "else": { + "operation": "boost", + "score": 0.11486293375492096 } } - }, - "else": { - "operation": "boost", - "score": 0.02875821478664875 } } } }, "else": { "operation": "boost", - "score": 0.027443304657936096 + "score": -0.00870082713663578 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.022505803033709526 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.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": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.40063270926475525 + "score": 0.035114310681819916 }, "else": { "operation": "boost", - "score": -0.1278841495513916 + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3648.0, + "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, "then": { + "operation": "boost", + "score": 0.020402662456035614 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3680.5, + "threshold": 1196.5, "then": { "operation": "boost", - "score": 0.014830155298113823 + "score": -0.020383575931191444 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 1180.5, "then": { - "operation": "boost", - "score": 0.13790464401245117 + "operation": "if_member", + "feature": "SymbolCategory", + "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": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 25.5, "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 356.0, + "then": { + "operation": "boost", + "score": -0.04411202669143677 + }, + "else": { + "operation": "boost", + "score": 0.09476260840892792 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": 0.045268114656209946 + }, + "else": { + "operation": "boost", + "score": 0.1129855290055275 + } + }, + "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 + } + } + } + } + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.11439929157495499 + "score": -0.037685416638851166 + }, + "else": { + "operation": "boost", + "score": 0.10543529689311981 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.21182721853256226 + }, + "else": { + "operation": "boost", + "score": 0.13132813572883606 + } }, "else": { "operation": "boost", - "score": -0.24891747534275055 + "score": -0.04199528321623802 } }, "else": { "operation": "boost", - "score": 0.08015941083431244 + "score": -0.2744795083999634 } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { + "operation": "boost", + "score": -0.08493735641241074 + }, + "else": { + "operation": "boost", + "score": -0.004769459832459688 + } } }, "else": { - "operation": "boost", - "score": 0.009429940022528172 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.004307464696466923 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.10134756565093994 + }, + "else": { + "operation": "boost", + "score": 0.10052650421857834 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04611366614699364 + } } + }, + "else": { + "operation": "boost", + "score": -0.0014812814770266414 } } - }, - "else": { + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "FileScope" + "Namespace" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.0774950385093689 + "score": 0.004561457317322493 }, "else": { - "operation": "boost", - "score": 0.11362607777118683 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06244586035609245 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05299096181988716 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.017725767567753792 + }, + "else": { + "operation": "boost", + "score": 0.12663032114505768 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.08194159716367722 + }, + "else": { + "operation": "boost", + "score": 0.09377508610486984 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009951922111213207 + } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.5, + "operation": "boost", + "score": -0.10912660509347916 + }, + "else": { + "operation": "boost", + "score": -0.0034023935440927744 + } + } + }, + "else": { + "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_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_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.024894744157791138 + "score": -0.00632650637999177 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.1715874969959259 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045596279203891754 + }, + "else": { + "operation": "boost", + "score": -0.025244932621717453 + } + }, + "else": { + "operation": "boost", + "score": -0.009173017926514149 + } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.14949242770671844 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04941356182098389 + }, + "else": { + "operation": "boost", + "score": 0.11945166438817978 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.11050965636968613 + }, + "else": { + "operation": "boost", + "score": 0.12388481944799423 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.13352929055690765 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.047753434628248215 + }, + "else": { + "operation": "boost", + "score": -0.5302838087081909 + } + }, + "else": { + "operation": "boost", + "score": 0.13333268463611603 + } + } + }, + "else": { + "operation": "boost", + "score": 0.016924137249588966 + } + } }, "else": { - "operation": "boost", - "score": 0.10904822498559952 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.009901142679154873 + }, + "else": { + "operation": "boost", + "score": 0.07154294103384018 + } } } }, "else": { "operation": "boost", - "score": -0.2468014508485794 + "score": -0.011761737987399101 } } }, "else": { "operation": "boost", - "score": -0.29977837204933167 + "score": -0.0844401940703392 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.12981314957141876 }, "else": { - "operation": "boost", - "score": 0.009932426735758781 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.06493102759122849 + }, + "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", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1633283942937851 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.33095210790634155 + }, + "else": { + "operation": "boost", + "score": -0.9506571292877197 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0002136744005838409 + } } } + }, + "else": { + "operation": "boost", + "score": 0.000948573462665081 } }, "else": { - "operation": "boost", - "score": 0.0032586173620074987 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0022935443557798862 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 66931.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": 0.10856965184211731 + "score": -0.0018395435763522983 }, "else": { - "operation": "boost", - "score": -0.2098417580127716 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03062356449663639 + }, + "else": { + "operation": "boost", + "score": 0.1595979630947113 + } } }, "else": { - "operation": "boost", - "score": -0.01723538152873516 + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.11332527548074722 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11247611790895462 + }, + "else": { + "operation": "boost", + "score": -0.3222096264362335 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.44313979148864746 + }, + "else": { + "operation": "boost", + "score": -0.022226279601454735 + } + } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.5, + "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" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.002995554357767105 - }, - "else": { - "operation": "boost", - "score": 0.11447581648826599 - } + "operation": "boost", + "score": 0.06771028786897659 }, "else": { "operation": "boost", - "score": 0.10630994290113449 + "score": -0.13387079536914825 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.568488597869873 }, "else": { "operation": "boost", - "score": -0.09039885550737381 + "score": 0.09254157543182373 } - }, - "else": { - "operation": "boost", - "score": 0.03359869495034218 } } + } + } + } + }, + "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": "FileProximityDistance", - "threshold": 27.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", + "CCC_EnumTag", "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", - "CCC_Other" + "CCC_ParenthesizedExpression", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.11689934134483337 + "score": 0.007717037573456764 }, "else": { "operation": "boost", - "score": -0.10474283993244171 + "score": -0.10573960840702057 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 113.5, + "threshold": 9969.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23452.0, + "threshold": 16649.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "operation": "boost", + "score": 0.012158913537859917 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27227.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "boost", - "score": 0.11036184430122375 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 32153.0, - "then": { - "operation": "boost", - "score": 0.02238360606133938 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0785662904381752 - }, - "else": { - "operation": "boost", - "score": -0.2958435118198395 - } - }, - "else": { - "operation": "boost", - "score": -0.33865493535995483 - } - }, - "else": { - "operation": "boost", - "score": -0.45696669816970825 - } - } - } + "operation": "boost", + "score": -0.20093318819999695 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.2206549048423767 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25208.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.039227720350027084 - }, - "else": { - "operation": "boost", - "score": 0.13067486882209778 - } - }, - "else": { - "operation": "boost", - "score": 0.0876660868525505 - } - } + "operation": "boost", + "score": 0.10419701784849167 } }, "else": { + "operation": "boost", + "score": 0.04633164778351784 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40755.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "NumReferences", + "threshold": 348.0, "then": { + "operation": "boost", + "score": -0.018603401258587837 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 68345.0, + "threshold": 313.5, "then": { "operation": "boost", - "score": 0.01141503918915987 + "score": 0.09407202899456024 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 229.5, "then": { "operation": "boost", - "score": 0.07100547850131989 + "score": -0.02316010184586048 }, "else": { - "operation": "boost", - "score": 0.11638440191745758 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.07322701066732407 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 68345.0, - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 180.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 381517.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 749331.5, - "then": { - "operation": "boost", - "score": 0.09893220663070679 - }, - "else": { - "operation": "boost", - "score": 0.0912078320980072 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.7057422995567322 - }, - "else": { - "operation": "boost", - "score": 0.072080098092556 - } - }, - "else": { - "operation": "boost", - "score": 0.10592087358236313 - } - } + "operation": "boost", + "score": 0.11651613563299179 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 213764.5, + "threshold": 136.5, "then": { "operation": "boost", - "score": -0.03160342574119568 + "score": -0.15063126385211945 }, "else": { "operation": "boost", - "score": 0.0651610791683197 + "score": 0.09538327902555466 } } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.07123788446187973 - }, - "else": { - "operation": "boost", - "score": -0.04504179581999779 - } } } } @@ -365415,50 +354748,88 @@ "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 25.0, + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.39769262075424194 + "score": -0.6947469711303711 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50363.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 7.5, "then": { - "operation": "boost", - "score": -0.007965859957039356 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "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.03759710118174553 + "score": 0.10930949449539185 }, "else": { "operation": "boost", - "score": 0.06991194933652878 + "score": -0.11462529748678207 } }, "else": { "operation": "boost", - "score": 0.10562077164649963 + "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", @@ -365466,775 +354837,408 @@ "threshold": 5.5, "then": { "operation": "boost", - "score": -0.23950350284576416 + "score": -0.06697729974985123 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 317127.5, + "threshold": 24.5, "then": { "operation": "boost", - "score": -0.0305294468998909 + "score": -0.9596304893493652 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88329.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 99439.0, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.020642848685383797 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245161.0, - "then": { - "operation": "boost", - "score": 0.09720627963542938 - }, - "else": { - "operation": "boost", - "score": 0.0033686815295368433 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 171892.5, - "then": { - "operation": "boost", - "score": 0.10882847756147385 - }, - "else": { - "operation": "boost", - "score": 0.0948723778128624 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09736549109220505 - } - }, - "else": { - "operation": "boost", - "score": 0.00749232666566968 - } - }, - "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": 4.5, - "then": { - "operation": "boost", - "score": 0.12505865097045898 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 59716.0, - "then": { - "operation": "boost", - "score": 0.10136198252439499 - }, - "else": { - "operation": "boost", - "score": 0.01290734764188528 - } - }, - "else": { - "operation": "boost", - "score": -0.3866962790489197 - } - } - }, - "else": { - "operation": "boost", - "score": -0.3246321976184845 - } - }, - "else": { - "operation": "boost", - "score": 0.08951101452112198 - } - } + "operation": "boost", + "score": -0.3590363562107086 } } } } + } + } + } + }, + "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.29534855484962463 + "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 } } - }, - "else": { - "operation": "boost", - "score": -0.004413584712892771 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.021291982382535934 + "score": 0.1300443708896637 }, "else": { "operation": "boost", - "score": -0.5298618078231812 + "score": -0.031324855983257294 } }, "else": { + "operation": "boost", + "score": 0.005557127296924591 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 47.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 1615.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1639.0, "then": { "operation": "boost", - "score": 0.007878185249865055 + "score": 0.0356200747191906 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.10088352859020233 + "score": -0.03496947139501572 }, "else": { "operation": "boost", - "score": -0.7844385504722595 + "score": 0.19545257091522217 } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "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": 5.5, + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.12872418761253357 + "score": 0.1666792780160904 }, "else": { "operation": "boost", - "score": -0.11869549006223679 + "score": -0.505709707736969 } }, "else": { - "operation": "boost", - "score": -0.49054843187332153 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.11460010707378387 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" ], "then": { "operation": "boost", - "score": 0.1412668079137802 + "score": 0.10034927725791931 }, "else": { "operation": "boost", - "score": -0.3163955509662628 + "score": -0.10121184587478638 } - }, - "else": { - "operation": "boost", - "score": 0.11537012457847595 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "boost", + "score": 0.3085139989852905 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09870409220457077 - }, - "else": { - "operation": "boost", - "score": -0.10743090510368347 - } + "operation": "boost", + "score": 0.06696678698062897 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.1037139892578125 + "score": 0.024800816550850868 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10388894379138947 - }, - "else": { - "operation": "boost", - "score": -0.24910271167755127 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28771.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 36071.0, - "then": { - "operation": "boost", - "score": 0.08086276799440384 - }, - "else": { - "operation": "boost", - "score": 0.11140662431716919 - } - }, - "else": { - "operation": "boost", - "score": -0.03405136242508888 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.143545463681221 - }, - "else": { - "operation": "boost", - "score": 0.07261644303798676 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.006964965257793665 + "score": -0.05910249799489975 }, "else": { "operation": "boost", - "score": 0.09504493325948715 + "score": 0.0973525419831276 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34973.5, - "then": { - "operation": "boost", - "score": -0.012882805429399014 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09469939768314362 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.009832109324634075 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.19374831020832062 - }, - "else": { - "operation": "boost", - "score": 0.08623689413070679 - } - }, - "else": { - "operation": "boost", - "score": -0.038628410547971725 - } - } - } + "operation": "boost", + "score": 0.0 } } - } - }, - "else": { - "operation": "boost", - "score": -0.24786636233329773 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.05002421513199806 - } - } - }, - "else": { - "operation": "boost", - "score": -0.015712838619947433 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.010089467279613018 - }, - "else": { - "operation": "boost", - "score": 0.10854548215866089 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.21569786965847015 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.12290281802415848 - }, - "else": { - "operation": "boost", - "score": -0.10035379230976105 - } - } - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00036022160202264786 - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.009520139545202255 - }, - "else": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1526383012533188 - }, - "else": { - "operation": "boost", - "score": 0.1153220683336258 - } - }, - "else": { - "operation": "boost", - "score": -0.20919574797153473 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50011.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.00019688982865773141 - }, - "else": { - "operation": "boost", - "score": 0.0519656203687191 - } - }, - "else": { - "operation": "boost", - "score": -0.03049406222999096 - } - }, - "else": { - "operation": "boost", - "score": 0.020382240414619446 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.011080590076744556 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.0014220254961401224 - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.09203189611434937 - }, - "else": { - "operation": "boost", - "score": -0.061023615300655365 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 65.5, - "then": { - "operation": "boost", - "score": -0.023021036759018898 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 60.5, - "then": { - "operation": "boost", - "score": 0.09899558126926422 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.46254271268844604 + }, + "else": { + "operation": "boost", + "score": -0.10130380094051361 + } + } + } + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 44.0, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { + "operation": "boost", + "score": -0.15207135677337646 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.3913658857345581 + "score": -0.11956058442592621 }, "else": { "operation": "boost", - "score": 0.1141829788684845 + "score": 0.10429756343364716 } + } + } + }, + "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": 5.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.14011859893798828 + "score": -0.08390699326992035 }, "else": { "operation": "boost", - "score": 0.11382269859313965 + "score": -0.0281053576618433 } } } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.015150145627558231 + "score": -0.29445481300354004 }, "else": { "operation": "boost", - "score": -0.25801265239715576 + "score": -0.03519997000694275 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.008113332092761993 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.1880781352519989 + "score": 0.1409132033586502 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.02424609661102295 + "score": 0.023849720135331154 }, "else": { - "operation": "boost", - "score": 0.08813457936048508 + "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 + } } } } @@ -366242,3799 +355246,3252 @@ }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.013932432048022747 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22.5, + "threshold": 13.5, "then": { - "operation": "boost", - "score": 0.037105947732925415 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 15.5, + "threshold": 838.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.05997452139854431 + "score": -0.013300331309437752 }, "else": { - "operation": "boost", - "score": 0.1000598594546318 - } - }, - "else": { - "operation": "boost", - "score": 0.04425438493490219 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.088930144906044 + "score": 0.05269069969654083 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1184.0, - "then": { - "operation": "boost", - "score": 0.05591696873307228 - }, - "else": { - "operation": "boost", - "score": -0.2947635352611542 - } + "operation": "boost", + "score": -0.33596494793891907 } - }, - "else": { - "operation": "boost", - "score": -0.6474397778511047 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 161.5, + "threshold": 735.0, "then": { "operation": "boost", - "score": 0.0961313545703888 + "score": 0.08889203518629074 }, "else": { - "operation": "boost", - "score": -0.22467517852783203 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 64.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 67.5, - "then": { - "operation": "boost", - "score": 0.010865016840398312 - }, - "else": { - "operation": "boost", - "score": 0.10653669387102127 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 52.5, - "then": { - "operation": "boost", - "score": -0.27112168073654175 - }, - "else": { - "operation": "boost", - "score": 0.047135837376117706 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.10755463689565659 + "score": 0.028061265125870705 }, "else": { "operation": "boost", - "score": 0.0018212255090475082 + "score": -0.05789916589856148 } } - }, - "else": { - "operation": "boost", - "score": 0.0036650346592068672 } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 164.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 188.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.05936942249536514 + "score": 0.11050862073898315 }, "else": { "operation": "boost", - "score": 0.12810084223747253 + "score": -0.30428245663642883 } - }, - "else": { - "operation": "boost", - "score": 0.03637085482478142 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10883486270904541 - }, - "else": { - "operation": "boost", - "score": -0.12212250381708145 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "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", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 52.5, + "threshold": 1.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 112.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": -7.701275535509922e-06 + "score": 0.053861103951931 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.03255487605929375 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.023188892751932144 - }, - "else": { - "operation": "boost", - "score": -0.1030898317694664 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 48.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.1419682651758194 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.03925001248717308 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11163677275180817 - }, - "else": { - "operation": "boost", - "score": -0.11869317293167114 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 19.0, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": 0.1086324155330658 + "score": 0.04772607609629631 }, "else": { "operation": "boost", - "score": 0.033566176891326904 + "score": -0.19403177499771118 } - } - }, - "else": { - "operation": "boost", - "score": 0.010116773657500744 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.08318547904491425 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 79.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.012261982075870037 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 80.5, + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 157.5, + "operation": "boost", + "score": -0.020631110295653343 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.02984781004488468 + "score": -0.12486311048269272 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 347.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 642.5, - "then": { - "operation": "boost", - "score": 0.08309226483106613 - }, - "else": { - "operation": "boost", - "score": 0.13814660906791687 - } - }, - "else": { - "operation": "boost", - "score": -0.004280679393559694 - } - }, - "else": { - "operation": "boost", - "score": 0.017639299854636192 - } + "operation": "boost", + "score": 0.07903818786144257 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107.0, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 147.5, - "then": { - "operation": "boost", - "score": 0.10597610473632812 - }, - "else": { - "operation": "boost", - "score": 0.008749669417738914 - } + "operation": "boost", + "score": 0.016808252781629562 }, "else": { "operation": "boost", - "score": 0.12033022940158844 + "score": 0.1402163803577423 } }, "else": { - "operation": "boost", - "score": -0.17298224568367004 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 166.5, + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 191.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212.5, - "then": { - "operation": "boost", - "score": 0.06621622294187546 - }, - "else": { - "operation": "boost", - "score": 0.10606615245342255 - } - }, - "else": { - "operation": "boost", - "score": -0.31044894456863403 - } + "operation": "boost", + "score": 0.08949548751115799 }, "else": { "operation": "boost", - "score": 0.11130497604608536 + "score": -0.6340553760528564 } - }, - "else": { - "operation": "boost", - "score": -0.14921465516090393 } - }, - "else": { - "operation": "boost", - "score": -0.11587128043174744 } } }, "else": { - "operation": "boost", - "score": 0.11492346972227097 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.019211072474718094 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.0747610330581665 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.11964371055364609 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 18.5, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 28.5, - "then": { - "operation": "boost", - "score": -0.15381714701652527 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": -0.10657308250665665 - }, - "else": { - "operation": "boost", - "score": 0.10133948177099228 - } - } + "operation": "boost", + "score": -0.4050194025039673 }, "else": { "operation": "boost", - "score": -0.1931983232498169 + "score": 0.12019115686416626 } + }, + "else": { + "operation": "boost", + "score": -0.10795020312070847 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 56.0, - "then": { - "operation": "boost", - "score": 0.10171274095773697 }, "else": { "operation": "boost", - "score": -0.13234640657901764 + "score": 0.0015976623399183154 } } } } + }, + "else": { + "operation": "boost", + "score": -0.15007257461547852 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 57.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": -0.23233354091644287 + "score": 0.08789321035146713 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 31.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "boost", - "score": 0.13045093417167664 + "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.07013721764087677 + "score": 0.0179100651293993 } } }, "else": { "operation": "boost", - "score": -0.05304153636097908 + "score": -0.0965641513466835 } }, "else": { "operation": "boost", - "score": 0.1310308277606964 - } - }, - "else": { - "operation": "boost", - "score": 0.04523707926273346 - } - }, - "else": { - "operation": "boost", - "score": -0.1322663277387619 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.004395561292767525 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.056966379284858704 - }, - "else": { - "operation": "boost", - "score": -0.2696797847747803 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10598617792129517 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.11041116714477539 - }, - "else": { - "operation": "boost", - "score": 0.1082703024148941 + "score": 0.03496309369802475 } } - }, - "else": { - "operation": "boost", - "score": -0.7647877931594849 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.018738586455583572 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { + "operation": "boost", + "score": -0.07284963876008987 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.10824001580476761 + "score": -0.12077067792415619 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.008747804909944534 - }, - "else": { - "operation": "boost", - "score": 0.3703725039958954 - } + "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.1781815141439438 + "score": 0.11156845092773438 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.016394976526498795 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.12904883921146393 + "score": 0.1367480605840683 }, "else": { "operation": "boost", - "score": -0.15679560601711273 + "score": -0.3230268359184265 } - }, - "else": { - "operation": "boost", - "score": -0.1238318383693695 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.10682659596204758 - }, - "else": { - "operation": "boost", - "score": -0.21190665662288666 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.004154855851083994 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12129999697208405 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.005008358508348465 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.018428264185786247 - }, - "else": { - "operation": "boost", - "score": 0.09769189357757568 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09899388998746872 - }, - "else": { - "operation": "boost", - "score": -0.03655829280614853 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.01078246720135212 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.10478027164936066 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.11838435381650925 + "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.028662657365202904 + "score": -0.004184836987406015 } } - }, - "else": { - "operation": "boost", - "score": -0.14022785425186157 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.013444142416119576 - }, - "else": { - "operation": "boost", - "score": -0.08352519571781158 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 3.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": -0.1916484236717224 + "score": -0.05109884962439537 }, "else": { "operation": "boost", - "score": 0.1280391365289688 + "score": -0.007858586497604847 } } } - }, - "else": { - "operation": "boost", - "score": 0.014023086987435818 } + }, + "else": { + "operation": "boost", + "score": 0.020581314340233803 } } } - }, - "else": { - "operation": "boost", - "score": -0.0038255667313933372 } } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0008870347519405186 - } - }, - { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.0009390563936904073 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 286067.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 298482.5, - "then": { + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_Type" + "FileScope" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 417741.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.023419810459017754 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.10168062150478363 + "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.39587733149528503 + "score": -0.07154730707406998 } + }, + "else": { + "operation": "boost", + "score": -0.0007746167830191553 } }, "else": { "operation": "boost", - "score": -0.049979086965322495 + "score": 0.10331084579229355 } }, "else": { - "operation": "boost", - "score": -0.00279375072568655 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.045257214456796646 + "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.07875802367925644 + "score": -0.18170765042304993 } }, "else": { - "operation": "boost", - "score": 0.06884606927633286 - } - }, - "else": { - "operation": "boost", - "score": 0.023795457556843758 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.018846245482563972 + "score": 0.04395516961812973 }, "else": { "operation": "boost", - "score": 0.01345442421734333 + "score": -0.0859576016664505 } }, "else": { - "operation": "boost", - "score": -0.0018593384884297848 + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08167087286710739 + }, + "else": { + "operation": "boost", + "score": -0.019127285107970238 + } } - }, - "else": { + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Type" + "Function" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3202.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3510.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0048832339234650135 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.12427201867103577 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11794.0, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.13302725553512573 + "score": 0.09536249935626984 }, "else": { "operation": "boost", - "score": 0.1148596853017807 + "score": -0.10480455309152603 } - }, - "else": { - "operation": "boost", - "score": 0.04672771319746971 } - }, - "else": { - "operation": "boost", - "score": 0.1296902745962143 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "operation": "boost", + "score": -0.06930069625377655 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06750716269016266 + }, + "else": { + "operation": "boost", + "score": 0.06772234290838242 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021252118051052094 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.015880655497312546 + "score": -0.2204572707414627 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.2333337366580963 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10109599679708481 + }, + "else": { + "operation": "boost", + "score": 0.07680962979793549 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.2485482096672058 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11198756843805313 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.20407168567180634 + }, + "else": { + "operation": "boost", + "score": 0.08712541311979294 + } + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 1.3242733478546143 + "score": -0.01052157487720251 }, "else": { "operation": "boost", - "score": -0.10539200156927109 + "score": 0.1238420382142067 } } } }, "else": { "operation": "boost", - "score": -0.10004852712154388 + "score": 0.012826112098991871 } } }, "else": { - "operation": "boost", - "score": 0.24162741005420685 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.0005937851965427399 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13998.5, + "then": { + "operation": "boost", + "score": 0.03399742767214775 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.09751220047473907 + }, + "else": { + "operation": "boost", + "score": 0.11744139343500137 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07543954998254776 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09784293919801712 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.019299160689115524 + }, + "else": { + "operation": "boost", + "score": -0.12641742825508118 + } + } + } + } } }, "else": { - "operation": "boost", - "score": 0.00897606648504734 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.03471372276544571 - }, - "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_TopLevel" + "Variable", + "Namespace" ], "then": { "operation": "boost", - "score": 0.09408979117870331 + "score": 0.05431767925620079 + }, + "else": { + "operation": "boost", + "score": 0.007782378233969212 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04444018006324768 + }, + "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 + } + } + } + } }, "else": { "operation": "boost", - "score": 0.09935881197452545 + "score": 0.04880242422223091 } } }, "else": { "operation": "boost", - "score": -0.07765210419893265 + "score": 0.0033682279754430056 } - }, - "else": { - "operation": "boost", - "score": 0.06359737366437912 } + }, + "else": { + "operation": "boost", + "score": 0.00037265062564983964 } } }, "else": { "operation": "boost", - "score": 0.00548333628103137 + "score": -0.012829042971134186 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_TopLevel", + "CCC_ArrowMemberAccess", "CCC_SymbolOrNewName", "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", + "CCC_TopLevel", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], + "then": { + "operation": "boost", + "score": -0.0204616691917181 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": -0.018482277169823647 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.008581782691180706 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10148649662733078 + }, + "else": { + "operation": "boost", + "score": -0.14938940107822418 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.022593140602111816 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.11889942735433578 - }, - "else": { - "operation": "boost", - "score": 0.03420385345816612 - } + "operation": "boost", + "score": 0.08557764440774918 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.08807552605867386 - }, - "else": { - "operation": "boost", - "score": 0.13207796216011047 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.10179190337657928 - }, - "else": { - "operation": "boost", - "score": 0.12948472797870636 - } - }, - "else": { - "operation": "boost", - "score": -0.11742889881134033 - } + "operation": "boost", + "score": 0.018838685005903244 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.04612463340163231 - }, - "else": { - "operation": "boost", - "score": 0.1337951421737671 - } - }, - "else": { - "operation": "boost", - "score": 0.3526052236557007 - } + "operation": "boost", + "score": 0.09906835108995438 } }, "else": { "operation": "boost", - "score": 0.12257768213748932 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": 0.06922084838151932 - }, - "else": { - "operation": "boost", - "score": -0.37417277693748474 + "score": -0.13123507797718048 } } } }, "else": { "operation": "boost", - "score": 0.03903689607977867 + "score": -0.038913603872060776 } }, "else": { - "operation": "boost", - "score": 0.005475341808050871 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.011252893134951591 - }, - "else": { - "operation": "boost", - "score": -0.004554602783173323 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { "operation": "boost", - "score": 0.018132619559764862 + "score": -0.2044840157032013 }, "else": { - "operation": "boost", - "score": 0.047296617180109024 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.19381938874721527 + }, + "else": { + "operation": "boost", + "score": -1.5396077632904053 + } } }, "else": { "operation": "boost", - "score": -0.052005745470523834 + "score": -0.05858014151453972 } }, "else": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 13.0, "then": { - "operation": "boost", - "score": -0.11440135538578033 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 64.5, "then": { - "operation": "boost", - "score": -0.03801781311631203 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 308.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 21470.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "boost", - "score": 0.10805564373731613 - }, - "else": { - "operation": "boost", - "score": -0.03215800225734711 - } - }, - "else": { - "operation": "boost", - "score": 0.12222365289926529 - } - }, - "else": { - "operation": "boost", - "score": 0.07531097531318665 - } - }, - "else": { - "operation": "boost", - "score": -0.02753543108701706 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 25.5, - "then": { - "operation": "boost", - "score": 0.04992618411779404 - }, - "else": { - "operation": "boost", - "score": 0.09863677620887756 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.07234956324100494 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08195800334215164 - }, - "else": { - "operation": "boost", - "score": 0.04053542762994766 - } - }, - "else": { - "operation": "boost", - "score": 0.06524748355150223 - } - } - } - } + "operation": "boost", + "score": 0.05040978640317917 }, "else": { "operation": "boost", - "score": -0.08145811408758163 + "score": 0.11355443298816681 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10518113523721695 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.135086789727211 - }, - "else": { - "operation": "boost", - "score": 0.07987960427999496 - } - } - }, - "else": { - "operation": "boost", - "score": 0.002201019786298275 - } - }, - "else": { - "operation": "boost", - "score": 0.06144723296165466 - } + "operation": "boost", + "score": -0.14588484168052673 } + }, + "else": { + "operation": "boost", + "score": 0.119831882417202 } }, "else": { - "operation": "boost", - "score": -0.006250898353755474 + "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": "HadSymbolType", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.017858264967799187 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.060391347855329514 + "score": -0.01677219569683075 }, "else": { "operation": "boost", - "score": 0.024460632354021072 + "score": -0.5210446715354919 } + }, + "else": { + "operation": "boost", + "score": 0.024648120626807213 } } }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0026009520515799522 + "score": 0.08317450433969498 }, "else": { "operation": "boost", - "score": 0.04258963093161583 + "score": 0.10797899961471558 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type" - ], + "operation": "boost", + "score": 0.0629810318350792 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3171.0, + "then": { + "operation": "boost", + "score": 0.02799614891409874 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "boost", + "score": -0.022720549255609512 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.022728845477104187 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.016460387036204338 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.7627923488616943 - }, - "else": { - "operation": "boost", - "score": 0.06662801653146744 - } - }, - "else": { - "operation": "boost", - "score": 0.04493238776922226 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06909872591495514 - }, - "else": { - "operation": "boost", - "score": 0.06000358611345291 - } - } - }, - "else": { - "operation": "boost", - "score": 0.04855068773031235 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.10706769675016403 - }, - "else": { - "operation": "boost", - "score": 0.0543232187628746 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.025569137185811996 - }, - "else": { - "operation": "boost", - "score": 0.028830276802182198 - } - } - } + "operation": "boost", + "score": -0.39826324582099915 }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.26579487323760986 - }, - "else": { - "operation": "boost", - "score": 0.00306958076544106 - } + "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": "boost", - "score": 0.01854943484067917 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.2123987227678299 + }, + "else": { + "operation": "boost", + "score": -0.23428353667259216 + } } + }, + "else": { + "operation": "boost", + "score": -0.004975901450961828 } } } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.01501523982733488 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03317462280392647 + }, + "else": { + "operation": "boost", + "score": 0.10778061300516129 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.21616092324256897 + }, + "else": { + "operation": "boost", + "score": 0.05478822439908981 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.002275702776387334 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04461078345775604 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 509.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.023031724616885185 - }, - "else": { - "operation": "boost", - "score": 0.1013960912823677 - } + "operation": "boost", + "score": 0.05084504559636116 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", + "feature": "NumReferences", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "boost", + "score": 0.0399295836687088 + }, + "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.027936939150094986 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.12249050289392471 + "score": 0.10707342624664307 }, "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.044518474489450455 - }, - "else": { - "operation": "boost", - "score": 0.09585783630609512 - } + "operation": "boost", + "score": 0.09877005964517593 } + }, + "else": { + "operation": "boost", + "score": -0.10239730030298233 } - }, - "else": { - "operation": "boost", - "score": -0.04271700978279114 } } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Keyword", - "Constructor" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14971.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.07807032018899918 - }, - "else": { - "operation": "boost", - "score": 0.014256192371249199 - } + "operation": "boost", + "score": 0.034361060708761215 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2024.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.11618895828723907 + "score": 0.0825238972902298 }, "else": { "operation": "boost", - "score": -0.007687798235565424 + "score": 0.11862460523843765 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 11.5, "then": { - "operation": "boost", - "score": 0.009284618310630322 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.0, + "then": { + "operation": "boost", + "score": -0.1063745990395546 + }, + "else": { + "operation": "boost", + "score": 0.11924582719802856 + } }, "else": { "operation": "boost", - "score": 0.05373106151819229 + "score": 0.07424243539571762 } }, "else": { "operation": "boost", - "score": 0.029970986768603325 + "score": 0.03705926612019539 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.14755232632160187 - }, - "else": { - "operation": "boost", - "score": 0.12047094106674194 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], + "feature": "NumReferences", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "boost", - "score": 0.055987365543842316 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.10945665091276169 + "score": 0.04037795588374138 + }, + "else": { + "operation": "boost", + "score": -0.18699730932712555 + } + }, + "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": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.016386142000555992 + }, + "else": { + "operation": "boost", + "score": 0.08967249095439911 + } }, "else": { "operation": "boost", - "score": 0.11649349331855774 + "score": -0.033642515540122986 } } }, "else": { - "operation": "boost", - "score": 0.04473240301012993 + "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" + ], + "then": { + "operation": "boost", + "score": 0.08280761539936066 + }, + "else": { + "operation": "boost", + "score": -0.26963353157043457 + } } }, "else": { - "operation": "boost", - "score": 0.02355862781405449 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "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" + ], + "then": { + "operation": "boost", + "score": 0.09739644080400467 + }, + "else": { + "operation": "boost", + "score": -0.3274013102054596 + } + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 141315.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 167779.0, - "then": { - "operation": "boost", - "score": -0.021023303270339966 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 166361.0, + "threshold": 2.5, "then": { + "operation": "boost", + "score": -0.2588683068752289 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", + "CCC_TopLevel", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess" ], "then": { "operation": "boost", - "score": -0.3184848129749298 + "score": 0.012848610989749432 }, "else": { "operation": "boost", - "score": -0.8673130869865417 + "score": -0.40926867723464966 } - }, - "else": { - "operation": "boost", - "score": -0.20881840586662292 } } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.06255032867193222 + }, + "else": { + "operation": "boost", + "score": -0.06391981989145279 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11763054877519608 }, "else": { + "operation": "boost", + "score": -0.25438231229782104 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 96602.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98088.5, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.08350399881601334 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { + "operation": "boost", + "score": -0.30136480927467346 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 46.5, "then": { "operation": "boost", - "score": 0.10561753809452057 + "score": 0.1366138607263565 }, "else": { "operation": "boost", - "score": 0.043428726494312286 + "score": 0.05423160269856453 } + } + }, + "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.03892601653933525 + "score": -0.003556353272870183 } } - }, - "else": { - "operation": "boost", - "score": 0.08693517744541168 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 62087.0, + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.04812617972493172 + "score": 0.023426571860909462 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 44558.0, + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 45000.0, - "then": { - "operation": "boost", - "score": 0.02637665532529354 - }, - "else": { - "operation": "boost", - "score": 0.10599572211503983 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24308.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 4.5, "then": { "operation": "boost", - "score": -0.035270433872938156 + "score": 0.09238967299461365 }, "else": { "operation": "boost", - "score": 0.11847738176584244 + "score": 0.10778338462114334 } }, "else": { "operation": "boost", - "score": -0.006059941370040178 + "score": 0.05557025969028473 + } + }, + "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 } } } } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.07025980949401855 + }, + "else": { + "operation": "boost", + "score": 0.026580005884170532 + } } } + }, + "else": { + "operation": "boost", + "score": 0.006579677574336529 } - }, - "else": { - "operation": "boost", - "score": -0.005948818754404783 } } } } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07804179936647415 - }, - "else": { - "operation": "boost", - "score": 0.0011715939035639167 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0777662917971611 - }, - "else": { - "operation": "boost", - "score": 0.008861030451953411 - } - }, - "else": { - "operation": "boost", - "score": 0.011188491247594357 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Keyword", - "Macro" - ], + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.3016676902770996 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.05616007000207901 - }, - "else": { - "operation": "boost", - "score": -0.11240657418966293 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0004776615824084729 - } - }, - "else": { - "operation": "boost", - "score": -0.03666379675269127 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor" - ], + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 627.0, + "feature": "FilterLength", + "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 14.5, "then": { "operation": "boost", - "score": 0.11148738116025925 - }, - "else": { - "operation": "boost", - "score": 0.017992030829191208 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.1300230324268341 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.14745621383190155 - }, - "else": { - "operation": "boost", - "score": 0.16931720077991486 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.09719026833772659 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.1467442512512207 - }, - "else": { - "operation": "boost", - "score": 0.0866997092962265 - } + "score": 0.03759480267763138 }, "else": { - "operation": "boost", - "score": 0.012974477373063564 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 801.5, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5270.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5280.5, - "then": { - "operation": "boost", - "score": 0.03429598733782768 - }, - "else": { - "operation": "boost", - "score": 0.09490411728620529 - } - }, - "else": { - "operation": "boost", - "score": -0.0015572112752124667 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "threshold": 58.5, "then": { - "operation": "boost", - "score": 0.05157556012272835 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 784.5, + "threshold": 549.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.046111635863780975 - }, - "else": { - "operation": "boost", - "score": 0.12131792306900024 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], + "feature": "NumReferences", + "threshold": 716.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 667.0, + "threshold": 2759.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 2928.5, "then": { "operation": "boost", - "score": 0.12449193000793457 + "score": 0.043974872678518295 }, "else": { "operation": "boost", - "score": -0.10228005796670914 + "score": 0.12465312331914902 } }, "else": { "operation": "boost", - "score": -0.11271921545267105 + "score": -0.09291550517082214 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 627.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 678.5, - "then": { - "operation": "boost", - "score": 0.045791998505592346 - }, - "else": { - "operation": "boost", - "score": -0.27197667956352234 - } - }, - "else": { - "operation": "boost", - "score": 0.0802842527627945 - } + "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": "NumReferences", - "threshold": 11154.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13537.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18429.0, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.004379970952868462 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18474.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19474.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20811.0, - "then": { - "operation": "boost", - "score": 0.0072597600519657135 - }, - "else": { - "operation": "boost", - "score": -0.0736328661441803 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 19362.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": -0.1233503669500351 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10724993795156479 - }, - "else": { - "operation": "boost", - "score": 0.0 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00989930983632803 - } - } + "operation": "boost", + "score": 0.11943908780813217 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.06303799152374268 - }, - "else": { - "operation": "boost", - "score": 0.09310460090637207 - } + "operation": "boost", + "score": -0.007685762830078602 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.041300948709249496 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4311.5, "then": { - "operation": "boost", - "score": -0.039734650403261185 - }, - "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 12997.5, "then": { "operation": "boost", - "score": 0.0422702431678772 + "score": 0.018617823719978333 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 16175.5, + "threshold": 6623.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010877026244997978 - }, - "else": { - "operation": "boost", - "score": -0.5700775384902954 - } - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13971.5, + "threshold": 6956.0, "then": { - "operation": "boost", - "score": 0.07376549392938614 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 10094.0, "then": { "operation": "boost", - "score": -1.2077574729919434 + "score": 0.1699139028787613 }, "else": { "operation": "boost", - "score": -0.06311912834644318 + "score": 0.06104579567909241 } + }, + "else": { + "operation": "boost", + "score": 0.1247696653008461 } + }, + "else": { + "operation": "boost", + "score": 0.0356840081512928 } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11993.5, - "then": { - "operation": "boost", - "score": -0.026625128462910652 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 618.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11886.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.13034547865390778 + "score": 0.010520048439502716 }, "else": { "operation": "boost", - "score": 0.10748109966516495 + "score": -0.08319052308797836 } }, "else": { - "operation": "boost", - "score": 0.05513320118188858 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13468.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, - "then": { - "operation": "boost", - "score": 0.17694611847400665 - }, - "else": { - "operation": "boost", - "score": 0.11670433729887009 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type" - ], - "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 616.0, "then": { "operation": "boost", - "score": 0.08836021274328232 + "score": 0.09463086724281311 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11851.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "boost", - "score": 0.4124678075313568 - }, - "else": { - "operation": "boost", - "score": 0.04942842945456505 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "ClassScope", + "GlobalScope" + ], "then": { - "operation": "boost", - "score": -0.2619874179363251 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.09380321204662323 + }, + "else": { + "operation": "boost", + "score": 0.010320114903151989 + } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11437.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.11675217747688293 + "score": 0.08859140425920486 }, "else": { "operation": "boost", - "score": 0.1271054446697235 + "score": -0.3078831136226654 } }, "else": { "operation": "boost", - "score": 0.0945936068892479 + "score": -0.4144437909126282 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.050561364740133286 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1033.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.006369316019117832 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.08209382742643356 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6391.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6529.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6702.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7138.0, + "threshold": 148.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7161.0, + "operation": "boost", + "score": -0.015980374068021774 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_TopLevel", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 142.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "boost", + "score": 0.10727618634700775 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10339.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], "then": { - "operation": "boost", - "score": -0.13727536797523499 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9135.0, + "threshold": 95.5, "then": { + "operation": "boost", + "score": 0.011872630566358566 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 9195.5, + "threshold": 88.5, "then": { + "operation": "boost", + "score": 0.11583667248487473 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.0, - "then": { - "operation": "boost", - "score": 0.13240647315979004 - }, - "else": { - "operation": "boost", - "score": -0.888036847114563 - } + "operation": "boost", + "score": -0.04760150983929634 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 22.5, + "threshold": 7.5, "then": { - "operation": "boost", - "score": 2.6654746532440186 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { - "operation": "boost", - "score": -0.03612430393695831 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10053.0, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10206.0, + "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": "if_greater", - "feature": "NumReferences", - "threshold": 10264.0, - "then": { - "operation": "boost", - "score": 0.6616566777229309 - }, - "else": { - "operation": "boost", - "score": -0.10988721251487732 - } + "operation": "boost", + "score": 0.12195166200399399 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.14596326649188995 - }, - "else": { - "operation": "boost", - "score": -0.10709859430789948 - } + "operation": "boost", + "score": -0.11826609820127487 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66.0, + "then": { + "operation": "boost", + "score": 0.08235250413417816 }, "else": { "operation": "boost", - "score": -0.1354827880859375 + "score": 0.12767459452152252 } } + }, + "else": { + "operation": "boost", + "score": 0.06414943188428879 } } - }, - "else": { - "operation": "boost", - "score": 0.10808100551366806 } - }, - "else": { - "operation": "boost", - "score": -0.016892017796635628 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.1989579051733017 - }, - "else": { - "operation": "boost", - "score": 0.07345617562532425 } }, "else": { "operation": "boost", - "score": -0.3309684991836548 + "score": -0.13615921139717102 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7597.0, - "then": { - "operation": "boost", - "score": -0.06827843934297562 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7467.0, - "then": { - "operation": "boost", - "score": 0.11341359466314316 - }, - "else": { - "operation": "boost", - "score": -0.1424463391304016 - } + "operation": "boost", + "score": 0.10879827290773392 } } }, "else": { - "operation": "boost", - "score": 0.0868767723441124 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6816.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6996.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": -0.22261415421962738 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.04529581964015961 + }, + "else": { + "operation": "boost", + "score": 0.09638898819684982 + } }, "else": { "operation": "boost", - "score": -0.38053587079048157 + "score": -0.1886570304632187 } - }, - "else": { - "operation": "boost", - "score": -0.03779971972107887 } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6615.0, + } + } + } + } + } + } + } + }, + "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.14673389494419098 + "score": 0.10367385298013687 }, "else": { "operation": "boost", - "score": 0.0921749472618103 + "score": 0.1122707650065422 } }, "else": { "operation": "boost", - "score": -0.2169255167245865 + "score": 0.07514990121126175 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.0, - "then": { - "operation": "boost", - "score": 0.2103656381368637 }, "else": { "operation": "boost", - "score": -0.16573016345500946 + "score": 0.03284112364053726 } + }, + "else": { + "operation": "boost", + "score": 0.028168847784399986 } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1250436156988144 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 17.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1051.5, - "then": { - "operation": "boost", - "score": -0.020961377769708633 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.14264845848083496 - }, - "else": { - "operation": "boost", - "score": -0.10251984000205994 - } - } + "operation": "boost", + "score": 3.0883753299713135 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5886.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.002159015741199255 - }, - "else": { - "operation": "boost", - "score": 0.0963093638420105 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3121.5, - "then": { - "operation": "boost", - "score": -0.14164359867572784 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3079.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3104.5, - "then": { - "operation": "boost", - "score": 0.19878078997135162 - }, - "else": { - "operation": "boost", - "score": 0.1555589735507965 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.12450835853815079 - }, - "else": { - "operation": "boost", - "score": -0.06619669497013092 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2508.5, - "then": { - "operation": "boost", - "score": 0.12742601335048676 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1589.5, - "then": { - "operation": "boost", - "score": 0.09271211922168732 - }, - "else": { - "operation": "boost", - "score": 0.039235346019268036 - } - }, - "else": { - "operation": "boost", - "score": -0.11290036141872406 - } - } - } - } - } - } + "operation": "boost", + "score": -0.10249660164117813 } } } + }, + "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 } }, "else": { + "operation": "boost", + "score": -0.04709358513355255 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.0, + "then": { + "operation": "boost", + "score": 0.06019216403365135 + }, + "else": { + "operation": "boost", + "score": 0.1004827693104744 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 988.5, + "threshold": 81.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1008.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { + "operation": "boost", + "score": -0.11957315355539322 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 148.0, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.08120900392532349 + "score": 0.10692090541124344 }, "else": { "operation": "boost", - "score": -0.5448237657546997 + "score": 0.06809946149587631 } }, "else": { + "operation": "boost", + "score": -0.000826087431050837 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.013833433389663696 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.058476462960243225 + }, + "else": { + "operation": "boost", + "score": 0.09437920153141022 + } + } + }, + "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, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1022.5, + "threshold": 60.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.0, + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.20741257071495056 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16225554049015045 + }, + "else": { + "operation": "boost", + "score": 0.08864784240722656 + } }, "else": { "operation": "boost", - "score": 0.06909356266260147 + "score": -0.010173331014811993 } }, "else": { "operation": "boost", - "score": -0.018034376204013824 + "score": 0.09139709174633026 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1000.5, - "then": { - "operation": "boost", - "score": 0.12290556728839874 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 989.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 50.5, "then": { "operation": "boost", - "score": 0.1187627986073494 + "score": 0.10915199667215347 }, "else": { "operation": "boost", - "score": -0.18416562676429749 + "score": -0.3950292766094208 } }, "else": { "operation": "boost", - "score": 0.08162157982587814 + "score": -0.2737055718898773 } } } }, "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, + "then": { + "operation": "boost", + "score": 0.10312318801879883 + }, + "else": { + "operation": "boost", + "score": -0.012966156005859375 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.5, + "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 133.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 236336.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 812.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 835.0, - "then": { - "operation": "boost", - "score": 0.08367016911506653 - }, - "else": { - "operation": "boost", - "score": 0.11060062795877457 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 677.0, - "then": { - "operation": "boost", - "score": -0.15949346125125885 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.10600833594799042 - }, - "else": { - "operation": "boost", - "score": 0.1289779543876648 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.1549094021320343 - } + "operation": "boost", + "score": 0.09516891837120056 }, "else": { "operation": "boost", - "score": 0.11995307356119156 + "score": 0.009515030309557915 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 132.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 641.5, + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.056885603815317154 + }, + "else": { + "operation": "boost", + "score": 0.10612775385379791 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.020692288875579834 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 964.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 982.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.11474490165710449 + "score": -0.02234531007707119 }, "else": { "operation": "boost", - "score": 0.11397252976894379 + "score": 0.11986090242862701 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 946.5, - "then": { - "operation": "boost", - "score": -0.6521891951560974 - }, - "else": { - "operation": "boost", - "score": 0.029559509828686714 - } + "operation": "boost", + "score": 0.014163524843752384 } - }, - "else": { - "operation": "boost", - "score": 0.14305485785007477 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.10571538656949997 + }, + "else": { + "operation": "boost", + "score": 0.10965141654014587 + } + } + }, + "else": { + "operation": "boost", + "score": -0.031893737614154816 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.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, + "then": { + "operation": "boost", + "score": 0.12704749405384064 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11931413412094116 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.0073494212701916695 - }, - "else": { - "operation": "boost", - "score": -0.07003634423017502 - } + "operation": "boost", + "score": -0.02957492507994175 } } } + }, + "else": { + "operation": "boost", + "score": 0.0059743463061749935 } } } } }, "else": { - "operation": "boost", - "score": 0.0013122591190040112 - } - }, - "else": { - "operation": "boost", - "score": -0.0004747525090351701 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 618.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.1102745309472084 - }, - "else": { - "operation": "boost", - "score": 0.04221455752849579 - } - }, - "else": { - "operation": "boost", - "score": -0.050384677946567535 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.008472529239952564 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4889.0, + "threshold": 46.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8150.0, + "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", - "Namespace" + "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 8.5, + "threshold": 24.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 23436.5, + "threshold": 92.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26021.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 43912.0, - "then": { - "operation": "boost", - "score": 0.05048879235982895 - }, - "else": { - "operation": "boost", - "score": -0.16606564819812775 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11604893207550049 - }, - "else": { - "operation": "boost", - "score": 0.11018429696559906 - } - } + "operation": "boost", + "score": 0.11472474783658981 }, "else": { "operation": "boost", - "score": -0.059667449444532394 + "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": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.10202241688966751 + "score": -0.007698480971157551 }, "else": { "operation": "boost", - "score": 0.08735465258359909 + "score": 0.11291202902793884 } + }, + "else": { + "operation": "boost", + "score": 0.04086155816912651 } }, "else": { "operation": "boost", - "score": 0.00994535069912672 + "score": -0.08911667764186859 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7473.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7477.0, + "threshold": 44.5, "then": { + "operation": "boost", + "score": -0.2296466827392578 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 4.0, "then": { - "operation": "boost", - "score": -0.047731541097164154 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4414885640144348 + }, + "else": { + "operation": "boost", + "score": 0.11546877026557922 + } }, "else": { + "operation": "boost", + "score": 0.13516798615455627 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7731.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.11940986663103104 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7768.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.22916899621486664 + "score": 0.13811521232128143 }, "else": { "operation": "boost", - "score": 0.12995724380016327 + "score": 0.12120804190635681 } - }, - "else": { - "operation": "boost", - "score": -0.06375991553068161 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.06769575923681259 }, "else": { "operation": "boost", - "score": 0.10870703309774399 + "score": -0.12811101973056793 } + }, + "else": { + "operation": "boost", + "score": -0.025562645867466927 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0028706334996968508 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00041070388397201896 + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "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 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.022168787196278572 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5516.0, + "threshold": 131.5, "then": { "operation": "boost", - "score": 0.011938245967030525 + "score": -0.05850684270262718 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 5270.5, + "threshold": 122.0, "then": { + "operation": "boost", + "score": 0.12649790942668915 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5280.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.01500410120934248 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5351.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FilterLength", "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.058857403695583344 + "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.13275767862796783 + "score": 0.07787970453500748 } }, "else": { "operation": "boost", - "score": -0.05498334765434265 + "score": 0.01501394435763359 } - }, - "else": { - "operation": "boost", - "score": -0.3288804292678833 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.03257487341761589 - }, - "else": { - "operation": "boost", - "score": 0.12854668498039246 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5139.0, - "then": { - "operation": "boost", - "score": -0.10981977730989456 - }, - "else": { - "operation": "boost", - "score": 0.09562747180461884 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4910.5, - "then": { - "operation": "boost", - "score": -0.20468857884407043 - }, - "else": { - "operation": "boost", - "score": 0.3358667492866516 - } + "operation": "boost", + "score": 0.02570560947060585 } } } @@ -370044,906 +358501,1021 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3748.5, + "threshold": 110939.5, + "then": { + "operation": "boost", + "score": 0.07266800105571747 + }, + "else": { + "operation": "boost", + "score": 0.0052414159290492535 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11490827798843384 + }, + "else": { + "operation": "boost", + "score": -0.000640469545032829 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1439.5, "then": { "operation": "boost", - "score": -0.08517155051231384 + "score": 0.1072305291891098 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3229.0, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.06196935102343559 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3251.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3587.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08019623160362244 - }, - "else": { - "operation": "boost", - "score": -0.0676548108458519 - } + "operation": "boost", + "score": -0.06803147494792938 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3569.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.4601012170314789 + "score": 0.09578870981931686 }, "else": { - "operation": "boost", - "score": 0.1305634081363678 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.10663352906703949 + }, + "else": { + "operation": "boost", + "score": 0.12468820065259933 + } } } }, "else": { "operation": "boost", - "score": 0.10212746262550354 + "score": 0.013027466833591461 } - }, - "else": { - "operation": "boost", - "score": 0.0033709609415382147 } } } } - } - }, - "else": { - "operation": "boost", - "score": 0.0011946852318942547 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11912.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12036.5, + "then": { + "operation": "boost", + "score": 0.020366154611110687 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0375695638358593 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13641153275966644 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.1331801861524582 + }, + "else": { + "operation": "boost", + "score": -0.10746349394321442 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009383467957377434 + } + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Function" ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "boost", + "score": -0.030331268906593323 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.19221508502960205 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.02019866369664669 + "score": -0.10856659710407257 }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.0, - "then": { - "operation": "boost", - "score": 0.10188589990139008 - }, - "else": { - "operation": "boost", - "score": 0.23738212883472443 - } - }, - "else": { - "operation": "boost", - "score": 0.061268165707588196 - } + "operation": "boost", + "score": -0.4104191064834595 }, "else": { "operation": "boost", - "score": -0.1957312822341919 + "score": 0.11741691827774048 } } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "boost", - "score": 0.028011979535222054 }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13971906900405884 + "score": 0.0905766636133194 }, "else": { - "operation": "boost", - "score": -0.10735692083835602 + "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.015018909238278866 + "score": 0.03334978595376015 } } } }, "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": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_Type" + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type" ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 198.0, + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.14556653797626495 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 181.0, + "threshold": 3835.5, "then": { - "operation": "boost", - "score": 0.1401289850473404 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 21.0, + "threshold": 3953.0, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10607285797595978 - }, - "else": { - "operation": "boost", - "score": -0.0963316261768341 - } + "operation": "boost", + "score": 0.07783288508653641 }, "else": { "operation": "boost", - "score": 0.10978285223245621 + "score": 0.11765507608652115 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 221.5, - "then": { - "operation": "boost", - "score": 0.1086018830537796 }, "else": { "operation": "boost", - "score": -0.18433204293251038 + "score": 0.020607220008969307 } }, "else": { - "operation": "boost", - "score": 0.1117129772901535 - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 267.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11138725280761719 + "score": 0.009672742336988449 }, "else": { "operation": "if_greater", - "feature": "HadSymbolType", + "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11873794347047806 + "score": -0.10114482790231705 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "boost", - "score": 0.12205594778060913 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.004537058062851429 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08443323522806168 + } + } + }, + "else": { + "operation": "boost", + "score": -0.002004520036280155 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.02560274302959442 + }, + "else": { + "operation": "boost", + "score": 0.07806071639060974 + } + } }, "else": { - "operation": "boost", - "score": 0.040363430976867676 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.02443879283964634 + }, + "else": { + "operation": "boost", + "score": 0.08192253112792969 + } + }, + "else": { + "operation": "boost", + "score": 0.06442292034626007 + } + }, + "else": { + "operation": "boost", + "score": 0.01437500398606062 + } } } } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10349392145872116 - }, - "else": { - "operation": "boost", - "score": -0.02716117538511753 - } } }, "else": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6941.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 439.0, + "threshold": 7434.5, "then": { "operation": "boost", - "score": 0.08846402168273926 + "score": 0.04425974562764168 }, "else": { "operation": "boost", - "score": 0.04750121012330055 + "score": 0.11004376411437988 } }, "else": { "operation": "boost", - "score": -0.0516284815967083 + "score": -0.03117164969444275 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, "then": { + "operation": "boost", + "score": -0.03194443881511688 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.0, + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.1241438016295433 + "score": -0.009994595311582088 }, "else": { - "operation": "boost", - "score": -0.5609443783760071 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.06606806814670563 - }, - "else": { - "operation": "boost", - "score": 0.11490976065397263 - } - }, - "else": { - "operation": "boost", - "score": 0.1341446489095688 - } + "operation": "boost", + "score": -0.10179953277111053 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.10460338741540909 + "score": 0.03545296564698219 }, "else": { "operation": "boost", - "score": 0.06524300575256348 + "score": 0.08740795403718948 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": -0.07143882662057877 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.0967181921005249 + "score": -0.009527924470603466 }, "else": { "operation": "boost", - "score": -0.18238814175128937 + "score": 0.05739439278841019 } + }, + "else": { + "operation": "boost", + "score": 0.02187078446149826 } } } }, "else": { - "operation": "boost", - "score": 0.03883703425526619 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.1019231453537941 - }, - "else": { - "operation": "boost", - "score": -0.09951553493738174 + "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.10286998748779297 + }, + "else": { + "operation": "boost", + "score": -0.10135441273450851 + } + }, + "else": { + "operation": "boost", + "score": -0.13233156502246857 + } + }, + "else": { + "operation": "boost", + "score": 0.032526761293411255 + } } } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 40.5, - "then": { - "operation": "boost", - "score": -0.009209190495312214 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.0821707621216774 - }, - "else": { - "operation": "boost", - "score": 0.1319977045059204 - } - }, - "else": { - "operation": "boost", - "score": -1.0228182077407837 - } - } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 541.5, + "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": "NumReferences", - "threshold": 585.0, - "then": { - "operation": "boost", - "score": 0.042368002235889435 - }, - "else": { - "operation": "boost", - "score": 0.10550306737422943 - } - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Namespace", - "Function" + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type", + "Namespace" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 250.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 323.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.024843985214829445 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.09617258608341217 + "score": 0.11767552047967911 }, "else": { "operation": "boost", - "score": -0.051031533628702164 + "score": 0.013619810342788696 } - }, - "else": { - "operation": "boost", - "score": -0.5065528750419617 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 103.5, - "then": { - "operation": "boost", - "score": -0.16096298396587372 - }, - "else": { - "operation": "boost", - "score": 0.08611654490232468 - } + "operation": "boost", + "score": 0.04475861042737961 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 97.5, - "then": { - "operation": "boost", - "score": 0.11585871130228043 - }, - "else": { - "operation": "boost", - "score": -0.27374303340911865 - } + "operation": "boost", + "score": 0.10431259870529175 } } }, "else": { + "operation": "boost", + "score": -0.10020677000284195 + } + }, + "else": { + "operation": "boost", + "score": -0.061696361750364304 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 55.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 233.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.1197030246257782 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 16.5, + "threshold": 29.5, "then": { + "operation": "boost", + "score": -0.10089657455682755 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 357.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.3294970989227295 + "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 + } + } }, "else": { "operation": "boost", - "score": 0.10758776217699051 + "score": 0.13668292760849 } - }, - "else": { - "operation": "boost", - "score": -0.006437137722969055 } - }, - "else": { - "operation": "boost", - "score": -0.044375550001859665 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 50.5, - "then": { - "operation": "boost", - "score": 0.09905959665775299 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.15360702574253082 - }, - "else": { - "operation": "boost", - "score": 0.103780597448349 - } - } + "operation": "boost", + "score": 0.013632889837026596 } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 34.5, - "then": { - "operation": "boost", - "score": -0.34265831112861633 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 33.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.056410051882267 }, "else": { - "operation": "boost", - "score": 0.09722201526165009 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsReservedName", "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.11048706620931625 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -0.20591025054454803 - }, - "else": { - "operation": "boost", - "score": 0.07574351131916046 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, + "feature": "NumReferences", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.030460244044661522 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", "threshold": 21.5, "then": { "operation": "boost", - "score": -0.1366911083459854 + "score": 0.06810175627470016 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.0, + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.2584020793437958 + "score": 0.06455749273300171 }, "else": { "operation": "boost", - "score": -0.582647979259491 + "score": 0.11314165592193604 } }, "else": { "operation": "boost", - "score": 0.09957153350114822 + "score": 0.08379708230495453 } } - }, - "else": { - "operation": "boost", - "score": 0.02544422261416912 } }, "else": { "operation": "boost", - "score": -0.05834924429655075 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.1463509202003479 - }, - "else": { - "operation": "boost", - "score": -0.3294839560985565 + "score": 0.11329077929258347 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.011294619180262089 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.2698127031326294 - }, - "else": { - "operation": "boost", - "score": -0.4914938807487488 - } - } + "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_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.05034610629081726 - }, - "else": { - "operation": "boost", - "score": 0.11404252052307129 - } + "operation": "boost", + "score": -0.0016945742536336184 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.37591999769210815 + "score": -0.10135223716497421 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.32979831099510193 + "score": 0.07014783471822739 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.10751866549253464 + "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_greater", - "feature": "FileProximityDistance", - "threshold": 14.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Function", + "Type" + ], "then": { - "operation": "boost", - "score": -0.38269999623298645 + "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.09770407527685165 + "score": -0.13138209283351898 } } } @@ -370952,2852 +359524,2546 @@ }, "else": { "operation": "boost", - "score": -0.24174511432647705 + "score": 0.04647967219352722 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1140.5, "then": { - "operation": "boost", - "score": -0.10128682106733322 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1149.5, "then": { "operation": "boost", - "score": -0.38178902864456177 + "score": 0.050924111157655716 }, "else": { "operation": "boost", - "score": -2.44830322265625 + "score": 0.18161848187446594 } + }, + "else": { + "operation": "boost", + "score": 0.012434015981853008 } } + }, + "else": { + "operation": "boost", + "score": 0.002162389224395156 } } } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.00718233548104763 - }, - "else": { - "operation": "boost", - "score": -0.04051594063639641 - } + "operation": "boost", + "score": -0.003956463187932968 } }, "else": { "operation": "boost", - "score": -0.00019736292597372085 + "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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.016226043924689293 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.007476980332285166 + }, + "else": { + "operation": "boost", + "score": 5.004979175282642e-05 + } } }, "else": { "operation": "boost", - "score": 0.002000492997467518 + "score": -0.029486989602446556 } } }, { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, + "operation": "boost", + "score": -0.042712029069662094 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "boost", + "score": 0.18796013295650482 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "boost", - "score": -0.009519698098301888 + "score": -0.10085843503475189 }, "else": { - "operation": "boost", - "score": -0.024799594655632973 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.47757571935653687 + }, + "else": { + "operation": "boost", + "score": -0.1363552361726761 + } } - }, - "else": { - "operation": "boost", - "score": 0.0024526501074433327 } }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 7.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.0008879807428456843 + "score": 1.5666284561157227 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11581312865018845 - }, - "else": { - "operation": "boost", - "score": 0.09308429807424545 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "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" + ], "then": { "operation": "boost", - "score": 0.04496929794549942 + "score": 0.1550350934267044 }, "else": { "operation": "boost", - "score": -0.17687305808067322 + "score": -0.46267056465148926 } - } - }, - "else": { - "operation": "boost", - "score": 0.017210738733410835 - } - } - }, - "else": { - "operation": "boost", - "score": 0.016624577343463898 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.2165846973657608 - }, - "else": { - "operation": "boost", - "score": -0.19744598865509033 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.019051270559430122 }, "else": { "operation": "boost", - "score": 0.006757229566574097 + "score": 0.7834787964820862 } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": 0.007096166722476482 + "score": -0.06853631883859634 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.057065200060606 - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.08538474142551422 - }, - "else": { - "operation": "boost", - "score": -0.18603694438934326 - } - } + "operation": "boost", + "score": 2.178177833557129 }, "else": { "operation": "boost", - "score": -0.02449561096727848 + "score": -0.10560537129640579 } } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.1049971953034401 - }, - "else": { - "operation": "boost", - "score": -0.0810503289103508 - } - }, - "else": { - "operation": "boost", - "score": -0.06690309941768646 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { "operation": "boost", - "score": 0.016274742782115936 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": -0.006109821610152721 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.0355025939643383 - }, - "else": { - "operation": "boost", - "score": -0.03672441840171814 - } - } + "score": 0.10667290538549423 } } + }, + "else": { + "operation": "boost", + "score": 0.021403390914201736 } - }, - "else": { - "operation": "boost", - "score": 0.0006651444709859788 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Type", + "Namespace" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "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" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "boost", + "score": -0.0005170971853658557 + }, + "else": { + "operation": "boost", + "score": -0.1088654100894928 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.027890663594007492 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 111.5, + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Type" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 341.5, - "then": { - "operation": "boost", - "score": 0.07778501510620117 - }, - "else": { - "operation": "boost", - "score": 0.11339441686868668 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 142.0, - "then": { - "operation": "boost", - "score": -0.10740525275468826 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.10397327691316605 - }, - "else": { - "operation": "boost", - "score": 0.12246540933847427 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0193865355104208 - } - }, - "else": { - "operation": "boost", - "score": 0.17199082672595978 - } - }, - "else": { "operation": "boost", - "score": 0.07418423146009445 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1851.0, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6530.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6689.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07390844076871872 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.03851432353258133 - }, - "else": { - "operation": "boost", - "score": 0.09531103819608688 - } - } - }, - "else": { - "operation": "boost", - "score": 0.002682852791622281 - } - }, - "else": { - "operation": "boost", - "score": 0.11966085433959961 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1877.5, - "then": { - "operation": "boost", - "score": 0.08077216148376465 - }, - "else": { - "operation": "boost", - "score": 0.11368430405855179 - } - }, - "else": { - "operation": "boost", - "score": -0.02397848479449749 - } - } - }, - "else": { - "operation": "boost", - "score": 0.006639654748141766 - } + "score": 0.009088727645576 }, "else": { - "operation": "boost", - "score": 0.017600910738110542 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.0030055909883230925 - }, - "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 11.5, + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11857616901397705 + "score": 0.019787432625889778 }, "else": { "operation": "boost", - "score": -0.06611201912164688 + "score": 0.10062868893146515 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.024041099473834038 }, "else": { "operation": "boost", - "score": -0.23404569923877716 + "score": 0.03417575731873512 } } + }, + "else": { + "operation": "boost", + "score": 0.006406643893569708 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Destructor", - "Namespace", - "Constructor" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "IsReservedName", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Statement" + "CCC_ArrowMemberAccess", + "CCC_Symbol", + "CCC_DotMemberAccess" ], "then": { - "operation": "boost", - "score": 0.12096018344163895 - }, - "else": { - "operation": "boost", - "score": 0.031903889030218124 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], "then": { - "operation": "boost", - "score": 0.16895948350429535 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 7.5, + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.25029048323631287 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": 0.060148563235998154 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.06229474022984505 + "score": 0.06394296139478683 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.11907616257667542 - }, - "else": { - "operation": "boost", - "score": 0.01711759902536869 - } - }, - "else": { - "operation": "boost", - "score": 0.017528582364320755 - } + "operation": "boost", + "score": 0.13828223943710327 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09392128884792328 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": 0.05945894867181778 - }, - "else": { - "operation": "boost", - "score": 0.08042320609092712 - } + "operation": "boost", + "score": 0.001122408895753324 } }, "else": { "operation": "boost", - "score": -0.029255596920847893 + "score": 0.18864630162715912 } + }, + "else": { + "operation": "boost", + "score": -0.07610895484685898 } + }, + "else": { + "operation": "boost", + "score": 0.04339172691106796 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0187985822558403 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { + "operation": "boost", + "score": -2.006385326385498 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" + "CCC_ArrowMemberAccess", + "CCC_Symbol" ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.150624617934227 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.032999783754348755 - }, - "else": { - "operation": "boost", - "score": 0.0770343765616417 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.10221733897924423 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.257944792509079 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.04756345599889755 - }, - "else": { - "operation": "boost", - "score": 0.1129530742764473 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "GlobalScope" ], "then": { "operation": "boost", - "score": 0.03477422520518303 + "score": 0.13337358832359314 }, "else": { "operation": "boost", - "score": -0.12734898924827576 + "score": 0.039903730154037476 } }, "else": { "operation": "boost", - "score": 0.019694741815328598 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.018332378938794136 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.05800332874059677 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.09707561880350113 - }, - "else": { - "operation": "boost", - "score": -0.12214898318052292 - } - }, - "else": { - "operation": "boost", - "score": -0.34312328696250916 - } - } + "score": 0.003505914006382227 } }, "else": { "operation": "boost", - "score": -0.03474890813231468 + "score": 0.0181468166410923 } } + }, + "else": { + "operation": "boost", + "score": 0.055292241275310516 } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 19362.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 19474.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50008.0, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.014903154224157333 + "score": 0.05072060972452164 }, "else": { - "operation": "boost", - "score": 0.10745272040367126 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09497156739234924 + }, + "else": { + "operation": "boost", + "score": 0.049940235912799835 + } } }, "else": { - "operation": "boost", - "score": -0.06103511154651642 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 38396.0, "then": { - "operation": "boost", - "score": 0.03236216679215431 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 60891.5, "then": { "operation": "boost", - "score": -0.730378270149231 + "score": -0.0011127329198643565 }, "else": { "operation": "boost", - "score": 0.10690107196569443 + "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": 9.5, + "threshold": 12.0, "then": { - "operation": "boost", - "score": 0.14501959085464478 + "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.09940579533576965 + "score": -0.15363731980323792 } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.2386358231306076 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 7746.0, "then": { - "operation": "boost", - "score": 0.09584730118513107 + "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.02736043371260166 + "score": 0.03722105547785759 } + }, + "else": { + "operation": "boost", + "score": 0.0400882251560688 } }, "else": { "operation": "boost", - "score": -0.18117362260818481 + "score": -0.03550180047750473 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_TopLevel", - "CCC_Namespace", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 11.0, + "threshold": 2147483648.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "IsReservedName", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.11084041744470596 + "score": -0.10739953070878983 }, "else": { - "operation": "boost", - "score": 0.1236286610364914 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.009475099854171276 + "score": 0.02697301283478737 }, "else": { - "operation": "boost", - "score": 0.0976090356707573 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.10488477349281311 - }, - "else": { - "operation": "boost", - "score": 0.15589606761932373 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "threshold": 28.5, "then": { - "operation": "boost", - "score": -0.29667699337005615 + "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.11311492323875427 + "score": 0.07158965617418289 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.020802835002541542 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "feature": "IsInBaseClass", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.15460580587387085 + "score": 0.12237437069416046 }, "else": { "operation": "boost", - "score": 0.13562889397144318 + "score": -0.01789100095629692 } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + } + }, + "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": 0.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.15890085697174072 + "score": 0.013058406300842762 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 5.5, + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { + "operation": "boost", + "score": 0.0046228691935539246 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "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": 15.5, + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 13.5, "then": { "operation": "boost", - "score": -0.11233837902545929 + "score": 0.08002417534589767 }, "else": { "operation": "boost", - "score": 0.14255473017692566 + "score": -0.10865511745214462 } }, "else": { "operation": "boost", - "score": -0.2018960863351822 + "score": 0.09297607839107513 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.3200221061706543 - }, - "else": { - "operation": "boost", - "score": 0.1696428656578064 - } + "operation": "boost", + "score": -0.015569481067359447 } }, "else": { - "operation": "boost", - "score": 0.13030850887298584 + "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.041450973600149155 + "score": 0.02877935767173767 } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + } + } + }, + "else": { + "operation": "boost", + "score": -0.00397774251177907 + } + }, + "else": { + "operation": "boost", + "score": 0.01636177860200405 + } + } + }, + "else": { + "operation": "boost", + "score": 0.029455194249749184 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00508407736197114 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.005886073689907789 + }, + "else": { + "operation": "boost", + "score": -0.012186783365905285 + } + } + } + } + }, + "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.024100830778479576 + }, + "else": { + "operation": "boost", + "score": -0.03458790108561516 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.007765098940581083 + }, + "else": { + "operation": "boost", + "score": 0.000738635309971869 + } + } + } + } + }, + "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": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "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.14913001656532288 + "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.14920733869075775 + "score": 0.09356073290109634 } }, "else": { "operation": "boost", - "score": 0.04994361475110054 + "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.009244244545698166 + "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": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 21.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": -0.1511070877313614 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.1340685933828354 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], + "operation": "boost", + "score": -0.06595123559236526 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.18160851299762726 + "score": 0.1224369928240776 }, "else": { "operation": "boost", - "score": 0.06303581595420837 + "score": 0.11405625939369202 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.001195881748571992 + "score": 0.02439621277153492 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.13068576157093048 + "score": 0.09903234243392944 }, "else": { "operation": "boost", - "score": 0.09074801951646805 + "score": -0.15150600671768188 } }, "else": { - "operation": "boost", - "score": 0.07363034784793854 + "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 } } + } + } + } + } + }, + "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.02915044128894806 + "score": 0.08305090665817261 } } + }, + "else": { + "operation": "boost", + "score": 0.01100369542837143 } }, "else": { "operation": "boost", - "score": 0.030590666458010674 + "score": -0.011889494955539703 } } + }, + "else": { + "operation": "boost", + "score": 0.02072897180914879 } + }, + "else": { + "operation": "boost", + "score": 0.01862248219549656 } }, "else": { - "operation": "boost", - "score": -0.01985127665102482 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.01339950505644083 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033884335309267044 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.12915624678134918 + }, + "else": { + "operation": "boost", + "score": 0.11399044096469879 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1723327338695526 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.0006640683277510107 } }, "else": { "operation": "boost", - "score": -0.0011076743248850107 + "score": -0.012700523249804974 } - }, - "else": { - "operation": "boost", - "score": 0.001473763957619667 } } }, { "operation": "if_greater", "feature": "NumReferences", - "threshold": 86.5, + "threshold": 391.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 1.0, "then": { - "operation": "boost", - "score": -0.0075514656491577625 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" + "CCC_ClassOrStructTag" ], "then": { + "operation": "boost", + "score": 0.10190942138433456 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 459.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 461.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119809.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 558.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.04471684992313385 - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.15389956533908844 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": 0.08201564103364944 - }, - "else": { - "operation": "boost", - "score": 0.08666476607322693 - } - } - } + "operation": "boost", + "score": 0.020402971655130386 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "NumReferences", + "threshold": 524.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08043991029262543 - }, - "else": { - "operation": "boost", - "score": -0.007885517552495003 - } - }, - "else": { - "operation": "boost", - "score": 0.08790735900402069 - } + "operation": "boost", + "score": 0.15011011064052582 }, "else": { "operation": "boost", - "score": 0.09814096987247467 + "score": 0.09206531196832657 } } }, "else": { - "operation": "boost", - "score": -0.032554127275943756 + "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": 560.5, + "threshold": 473.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 40920.5, + "threshold": 320998.0, "then": { "operation": "boost", - "score": -0.12432870268821716 + "score": 0.09269475936889648 }, "else": { "operation": "boost", - "score": 0.03179651126265526 + "score": -0.018412631005048752 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 579.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13707.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14301.0, - "then": { - "operation": "boost", - "score": -0.004065288696438074 - }, - "else": { - "operation": "boost", - "score": 0.14850972592830658 - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1514.5, - "then": { - "operation": "boost", - "score": -0.08495793491601944 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1205.0, - "then": { - "operation": "boost", - "score": 0.12711292505264282 - }, - "else": { - "operation": "boost", - "score": 0.07558497786521912 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1467.5, - "then": { - "operation": "boost", - "score": 0.10759492963552475 - }, - "else": { - "operation": "boost", - "score": -0.19175855815410614 - } - }, - "else": { - "operation": "boost", - "score": -0.11902405321598053 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.2032967209815979 - } + "operation": "boost", + "score": 0.015019840560853481 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 92287.0, + "threshold": 1462.0, "then": { "operation": "boost", - "score": 0.09766596555709839 + "score": 0.02009027823805809 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 564.5, + "threshold": 1453.0, "then": { + "operation": "boost", + "score": 0.11654186993837357 + }, + "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "Variable", + "Type" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 903.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 1.962005853652954 - }, - "else": { - "operation": "boost", - "score": 0.03471500054001808 - } - }, - "else": { - "operation": "boost", - "score": 0.11595841497182846 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2067.5, + "threshold": 966.5, "then": { "operation": "boost", - "score": -0.2867015302181244 + "score": 0.0017575661186128855 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1274.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1376.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09448587149381638 - }, - "else": { - "operation": "boost", - "score": -0.15866927802562714 - } - }, - "else": { - "operation": "boost", - "score": 0.12315873056650162 - } + "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.033236272633075714 + "score": -0.23863543570041656 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 631.5, + "threshold": 580.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5077.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10751955211162567 - }, - "else": { - "operation": "boost", - "score": 0.030782369896769524 - } - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.6303724646568298 - }, - "else": { - "operation": "boost", - "score": 0.0036866425070911646 - } - } + "operation": "boost", + "score": 0.018843382596969604 }, "else": { "operation": "boost", - "score": 0.11481773853302002 + "score": 0.08510316908359528 } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 562.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 2919.5, + "threshold": 803.5, "then": { + "operation": "boost", + "score": -0.12104400992393494 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 3627.0, + "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": 10.5, + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.10056224465370178 + "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.2104250192642212 + "score": -0.13492989540100098 } }, "else": { - "operation": "boost", - "score": -0.13360393047332764 + "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.11281143873929977 } - }, - "else": { - "operation": "boost", - "score": 0.14333966374397278 } }, "else": { "operation": "boost", - "score": -0.022131841629743576 + "score": -0.15548548102378845 } } + }, + "else": { + "operation": "boost", + "score": 0.10213784873485565 } } }, "else": { - "operation": "boost", - "score": -0.0035944003611803055 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 562.5, - "then": { - "operation": "boost", - "score": 0.20572830736637115 - }, - "else": { - "operation": "boost", - "score": 0.08680260926485062 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, - "then": { - "operation": "boost", - "score": 0.013388345018029213 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Function" - ], - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10693883150815964 + "score": 0.0885762944817543 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 88.5, + "threshold": 1157.5, "then": { "operation": "boost", - "score": -0.10155785828828812 + "score": 0.1328626275062561 }, "else": { "operation": "boost", - "score": 0.17203930020332336 + "score": -0.07927755266427994 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10687717795372009 + "score": 0.023913446813821793 }, "else": { "operation": "boost", - "score": 0.1348494440317154 + "score": 0.1090681254863739 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.22475837171077728 - }, - "else": { - "operation": "boost", - "score": 0.7127001285552979 - } + "operation": "boost", + "score": -0.08832657337188721 } } } - }, - "else": { - "operation": "boost", - "score": 0.10404670983552933 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.094776451587677 - }, - "else": { - "operation": "boost", - "score": 0.10306542366743088 - } - }, - "else": { - "operation": "boost", - "score": -0.025418095290660858 } } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.0, + "then": { + "operation": "boost", + "score": 0.09317020326852798 + }, + "else": { + "operation": "boost", + "score": 0.0057714395225048065 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0944669172167778 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 425.5, + "then": { + "operation": "boost", + "score": -0.7961204648017883 + }, + "else": { + "operation": "boost", + "score": 0.08282921463251114 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04538167268037796 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 444.0, + "then": { + "operation": "boost", + "score": -0.914707601070404 + }, + "else": { + "operation": "boost", + "score": -0.12760530412197113 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 395.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_Namespace", + "CCC_UnionTag", + "CCC_Symbol", + "CCC_Other", + "CCC_Expression", + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": -0.0017174313543364406 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 426.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 182813.5, + "then": { + "operation": "boost", + "score": 0.07741034030914307 }, "else": { + "operation": "boost", + "score": -0.2202959656715393 + } + }, + "else": { + "operation": "boost", + "score": -0.04443231597542763 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09803476184606552 + }, + "else": { + "operation": "boost", + "score": -0.02286510355770588 + } + } + } + }, + "else": { + "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": "NumReferences", + "threshold": 1851.0, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 112.5, + "threshold": 6299.5, "then": { + "operation": "boost", + "score": -0.21954381465911865 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 152.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.05452365800738335 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 173.0, - "then": { - "operation": "boost", - "score": 0.05689185485243797 - }, - "else": { - "operation": "boost", - "score": 0.11343421041965485 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.07772569358348846 - }, - "else": { - "operation": "boost", - "score": -0.22597730159759521 - } - } + "operation": "boost", + "score": 0.1379278302192688 + }, + "else": { + "operation": "boost", + "score": -0.507710874080658 + } + } + }, + "else": { + "operation": "boost", + "score": -0.554100751876831 + } + }, + "else": { + "operation": "boost", + "score": 0.056265901774168015 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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": 2.5, + "then": { + "operation": "boost", + "score": 0.06854967772960663 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 10529.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.7069227695465088 + "score": 0.11491239070892334 }, "else": { "operation": "boost", - "score": 0.0581989549100399 + "score": 0.07308447360992432 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 130.0, - "then": { - "operation": "boost", - "score": 0.16389866173267365 - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08459435403347015 - }, - "else": { - "operation": "boost", - "score": -0.28555363416671753 - } - } + "operation": "boost", + "score": 0.10220542550086975 } } }, "else": { "operation": "boost", - "score": -0.504194974899292 + "score": -0.2925182580947876 } + }, + "else": { + "operation": "boost", + "score": -0.12488272786140442 } + }, + "else": { + "operation": "boost", + "score": -0.15526048839092255 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "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": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 618.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 621.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 3366.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 213.5, + "threshold": 7560.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 245.0, + "threshold": 8751.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 558.0, + "threshold": 10614.0, "then": { "operation": "boost", - "score": -0.16509751975536346 + "score": 0.013853252865374088 }, "else": { "operation": "boost", - "score": 0.1081327423453331 + "score": 0.07263099402189255 } }, "else": { - "operation": "boost", - "score": 0.12319734692573547 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 119.0, + "operation": "boost", + "score": 0.13476526737213135 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": 0.10197408497333527 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, + "then": { + "operation": "boost", + "score": 0.10409124195575714 + }, + "else": { + "operation": "boost", + "score": 0.04856889694929123 + } }, "else": { - "operation": "boost", - "score": -0.10136290639638901 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08939948678016663 + }, + "else": { + "operation": "boost", + "score": -0.003018096787855029 + } } - }, - "else": { - "operation": "boost", - "score": 0.01321347150951624 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15169639885425568 }, "else": { "operation": "boost", - "score": 0.1106548011302948 + "score": -0.028635285794734955 } } }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 3200.5, "then": { - "operation": "boost", - "score": -0.015335727483034134 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3259.5, + "then": { + "operation": "boost", + "score": 0.08588362485170364 + }, + "else": { + "operation": "boost", + "score": 0.10907955467700958 + } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { + "operation": "boost", + "score": 0.8031365275382996 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 302.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 608.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.05923131853342056 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 796.0, "then": { - "operation": "boost", - "score": 0.1033158004283905 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.0, + "threshold": 7.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": 0.2838349938392639 + "score": 0.08879651874303818 }, "else": { "operation": "boost", - "score": -0.11520273983478546 + "score": -0.33466246724128723 } }, "else": { - "operation": "boost", - "score": 0.11465388536453247 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1355.5, + "then": { + "operation": "boost", + "score": -0.11985193938016891 + }, + "else": { + "operation": "boost", + "score": 0.10095422714948654 + } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.09118262678384781 - } - }, - "else": { - "operation": "boost", - "score": -0.08478333055973053 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0033625459764152765 - } - }, - "else": { - "operation": "boost", - "score": 0.00021151847613509744 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Expression", - "CCC_Type", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 428.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 431.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.03248592093586922 }, "else": { - "operation": "boost", - "score": 0.1046266108751297 + "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": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1484.0, + "operation": "boost", + "score": 0.0881437212228775 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression", + "CCC_Type" + ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.08248881995677948 - }, - "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1128898561000824 - }, - "else": { - "operation": "boost", - "score": 0.07104991376399994 - } - } + "operation": "boost", + "score": 0.1199006512761116 }, "else": { "operation": "boost", - "score": -0.016865605488419533 + "score": -0.035651061683893204 } - }, - "else": { - "operation": "boost", - "score": -0.7896558046340942 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": 0.07627685368061066 - }, - "else": { - "operation": "boost", - "score": -0.30601808428764343 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 739.0, - "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1121.5, + "threshold": 761.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1244.0, + "threshold": 808.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 1560.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 1647.0, "then": { - "operation": "boost", - "score": -0.017219096422195435 + "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": "boost", - "score": 0.11237147450447083 + "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": "boost", - "score": -0.2392943948507309 - } - }, - "else": { - "operation": "boost", - "score": 0.11047985404729843 - } - }, - "else": { - "operation": "boost", - "score": -0.43325167894363403 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 668.0, - "then": { - "operation": "boost", - "score": 0.10988122969865799 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.13208946585655212 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 493.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 569.0, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.12080845236778259 + "score": 0.008763240650296211 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "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.14846612513065338 + "score": -0.07125187665224075 }, "else": { "operation": "boost", - "score": 0.10431355983018875 + "score": -0.6032833456993103 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 780.5, + "then": { + "operation": "boost", + "score": 0.11037324368953705 }, "else": { "operation": "boost", - "score": -0.4102008044719696 + "score": -0.10469823330640793 } } + }, + "else": { + "operation": "boost", + "score": -0.17456009984016418 } } } - }, - "else": { - "operation": "boost", - "score": 0.058798011392354965 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.13371750712394714 - }, - "else": { - "operation": "boost", - "score": 0.11051661521196365 } } }, "else": { "operation": "boost", - "score": 0.020726405084133148 + "score": 0.09388293325901031 } }, "else": { - "operation": "boost", - "score": 0.014413335360586643 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.005075324326753616 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 296.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "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.016219085082411766 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.07664193212985992 + "score": 0.10369117558002472 }, "else": { - "operation": "boost", - "score": 0.003666232107207179 + "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 + } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 304.5, - "then": { - "operation": "boost", - "score": 0.03606323525309563 }, "else": { "operation": "boost", - "score": 0.08786128461360931 + "score": -0.45641398429870605 } - } - }, - "else": { - "operation": "boost", - "score": -0.03404700383543968 - } - }, - "else": { - "operation": "boost", - "score": 0.11451937258243561 - } - }, - "else": { - "operation": "boost", - "score": -0.043394338339567184 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.10896178334951401 - }, - "else": { - "operation": "boost", - "score": 0.02964341640472412 - } - }, - "else": { - "operation": "boost", - "score": -0.01268234197050333 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1128.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3957.5, - "then": { - "operation": "boost", - "score": 0.09708014130592346 + } }, "else": { - "operation": "boost", - "score": 0.11406110972166061 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 424.5, + "then": { + "operation": "boost", + "score": -0.004134549759328365 + }, + "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.029482614248991013 + }, + "else": { + "operation": "boost", + "score": 0.11058391630649567 + } + }, + "else": { + "operation": "boost", + "score": -0.018154608085751534 + } + }, + "else": { + "operation": "boost", + "score": -0.029527295380830765 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.03536691889166832 } } }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.3288728594779968 + "score": -0.3021254241466522 }, "else": { "operation": "boost", - "score": -0.14077579975128174 + "score": 0.10776519775390625 } } } }, "else": { "operation": "boost", - "score": 0.0003028148494195193 + "score": -0.0002560199936851859 } - } - }, - "else": { - "operation": "boost", - "score": -0.0003634155436884612 - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.11338981986045837 - }, - "else": { - "operation": "boost", - "score": 0.07218754291534424 - } - }, - "else": { - "operation": "boost", - "score": 0.0950147807598114 - } + "operation": "boost", + "score": 0.07786449044942856 }, "else": { - "operation": "boost", - "score": 0.02809547632932663 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1121.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.11550772935152054 - }, - "else": { - "operation": "boost", - "score": 0.08563187718391418 - } + "operation": "boost", + "score": 0.010373012162744999 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": -0.8008553385734558 - }, - "else": { - "operation": "boost", - "score": -0.06140963360667229 - } - }, - "else": { - "operation": "boost", - "score": -6.720770034007728e-05 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "threshold": 756.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10106758773326874 - }, - "else": { - "operation": "boost", - "score": -0.3043031096458435 - } + "operation": "boost", + "score": -0.10397736728191376 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 9.5, "then": { "operation": "boost", - "score": 0.02244468964636326 + "score": 0.0614035464823246 }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 7.0, "then": { "operation": "boost", - "score": 0.03635704889893532 + "score": 0.0722745954990387 }, "else": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 844.5, "then": { "operation": "boost", - "score": -0.04150306060910225 + "score": 0.11957701295614243 }, "else": { "operation": "boost", - "score": -0.3867199718952179 + "score": 0.11284732073545456 } } } @@ -373806,2248 +362072,3382 @@ "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1318535.0, + "threshold": 509.5, "then": { + "operation": "boost", + "score": 0.005361767020076513 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": -0.11630409955978394 + "score": -0.1341540813446045 }, "else": { - "operation": "boost", - "score": 0.11420536041259766 + "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 + } } - }, - "else": { - "operation": "boost", - "score": -0.15762266516685486 } } }, "else": { + "operation": "boost", + "score": -0.09474875777959824 + } + } + }, + "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", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 395.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3926.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 4456.5, "then": { "operation": "boost", - "score": -0.35718339681625366 + "score": 0.03688452020287514 }, "else": { "operation": "boost", - "score": 0.003582401666790247 + "score": -0.4270537793636322 } }, "else": { + "operation": "boost", + "score": -0.05724320188164711 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 15402.5, "then": { "operation": "boost", - "score": -0.05248719081282616 + "score": 0.0401856005191803 }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6692.5, "then": { - "operation": "boost", - "score": 0.10667746514081955 + "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.0893222987651825 + "score": -0.060661930590867996 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 5174.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 5235.0, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 22741.0, "then": { "operation": "boost", - "score": 0.08792302757501602 + "score": 0.006068825721740723 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { - "operation": "boost", - "score": -0.008869307115674019 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8751.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.07863756269216537 + }, + "else": { + "operation": "boost", + "score": 0.11197619885206223 + } + }, + "else": { + "operation": "boost", + "score": -0.14517387747764587 + } + }, + "else": { + "operation": "boost", + "score": 0.10199764370918274 + } + }, + "else": { + "operation": "boost", + "score": -0.05821837857365608 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.07267476618289948 + "score": 0.03292534500360489 }, "else": { - "operation": "boost", - "score": -0.007088593672960997 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20414.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.10535013675689697 + }, + "else": { + "operation": "boost", + "score": 0.11398537456989288 + } + }, + "else": { + "operation": "boost", + "score": -0.06297680735588074 + } } } } }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.8215135931968689 + }, + "else": { + "operation": "boost", + "score": 0.10876250267028809 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.035810958594083786 + }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ + "CCC_ClassOrStructTag", + "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", + "CCC_EnumTag", "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "boost", - "score": 0.016437098383903503 + "score": -0.07674729079008102 }, "else": { - "operation": "boost", - "score": -0.9188499450683594 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.10577821731567383 + }, + "else": { + "operation": "boost", + "score": -0.7449407577514648 + } } } - }, - "else": { - "operation": "boost", - "score": 0.05975376069545746 } } - } - } - }, - "else": { - "operation": "boost", - "score": 0.0075695812702178955 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, - "then": { - "operation": "boost", - "score": 0.07148303091526031 - }, - "else": { - "operation": "boost", - "score": 0.013801878318190575 - } - }, - "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": 1.5, - "then": { - "operation": "boost", - "score": 0.005289718043059111 }, "else": { - "operation": "boost", - "score": -0.7743480801582336 - } - }, - "else": { - "operation": "boost", - "score": -0.9823607206344604 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.2537311911582947 - }, - "else": { - "operation": "boost", - "score": -0.019382793456315994 - } - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { - "operation": "boost", - "score": 0.03979165479540825 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": -0.6953312158584595 - }, - "else": { - "operation": "boost", - "score": 0.03589567169547081 - } - } - }, - "else": { - "operation": "boost", - "score": 0.08872383832931519 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, - "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 40920.5, "then": { - "operation": "boost", - "score": -0.024168791249394417 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 304083.5, "then": { "operation": "boost", - "score": -0.28347423672676086 + "score": -0.027184071019291878 }, "else": { - "operation": "boost", - "score": -0.15106864273548126 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.1000613197684288 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53063.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.013052895665168762 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "boost", + "score": 0.10060176253318787 + }, + "else": { + "operation": "boost", + "score": 0.007093564607203007 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09127653390169144 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123460.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09853420406579971 + }, + "else": { + "operation": "boost", + "score": 0.01615307852625847 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 1.2266260385513306 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.040708281099796295 + }, + "else": { + "operation": "boost", + "score": 0.053106147795915604 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01035374216735363 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.03918677195906639 } - }, - "else": { - "operation": "boost", - "score": 0.04541867598891258 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 619.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 620.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 5.0, + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 709.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, + "feature": "NumReferences", + "threshold": 1248.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1268.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1568.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.034753475338220596 + }, + "else": { + "operation": "boost", + "score": 0.17474548518657684 + } + }, + "else": { + "operation": "boost", + "score": -0.07241597026586533 + } + }, + "else": { + "operation": "boost", + "score": 0.09647692739963531 + } + }, + "else": { + "operation": "boost", + "score": -0.13467158377170563 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11787456274032593 + }, + "else": { + "operation": "boost", + "score": -0.012004882097244263 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08638889342546463 + }, + "else": { + "operation": "boost", + "score": -0.22911109030246735 + } + } + }, + "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_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10422050207853317 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 785.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 2442.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.10203531384468079 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3426.0, + "then": { + "operation": "boost", + "score": -0.28054389357566833 + }, + "else": { + "operation": "boost", + "score": 0.10749383270740509 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3169.0, + "then": { + "operation": "boost", + "score": 0.09845355898141861 + }, + "else": { + "operation": "boost", + "score": 0.11715209484100342 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.022660180926322937 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.02897805906832218 + }, + "else": { + "operation": "boost", + "score": 0.1054188460111618 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2027.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.075968436896801 + }, + "else": { + "operation": "boost", + "score": -0.2211223691701889 + } + }, + "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": "NumReferences", + "threshold": 942.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 954.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1031.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1817.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1823.5, + "then": { + "operation": "boost", + "score": 0.020875919610261917 + }, + "else": { + "operation": "boost", + "score": 0.3126637935638428 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03571275994181633 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12354796379804611 + } + }, + "else": { + "operation": "boost", + "score": -0.059421345591545105 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0027054008096456528 + }, + "else": { + "operation": "boost", + "score": -0.49843624234199524 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 777.5, "then": { - "operation": "boost", - "score": -0.12237875163555145 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "boost", - "score": -0.11316820979118347 + "score": 0.09846266359090805 }, "else": { "operation": "boost", - "score": 0.013094635680317879 + "score": 0.09349852800369263 } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12068906426429749 }, "else": { - "operation": "boost", - "score": -0.16603614389896393 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 701.5, + "then": { + "operation": "boost", + "score": -0.061663318425416946 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 698.0, + "then": { + "operation": "boost", + "score": 0.11148838698863983 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 676.0, + "then": { + "operation": "boost", + "score": -0.27748537063598633 + }, + "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 + } + } + } + } } } - }, - "else": { - "operation": "boost", - "score": -0.35732948780059814 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 893.5, "then": { "operation": "boost", - "score": -0.1448453962802887 + "score": 0.11539904028177261 }, "else": { "operation": "boost", - "score": 0.05945628508925438 + "score": 0.10621892660856247 } }, "else": { - "operation": "boost", - "score": 0.008974404074251652 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0017766745295375586 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": 0.039657581597566605 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { "operation": "boost", - "score": -0.12633128464221954 + "score": 0.11418169736862183 }, "else": { - "operation": "boost", - "score": -0.5280067920684814 - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03717529773712158 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.07834741473197937 - }, - "else": { - "operation": "boost", - "score": -0.031811803579330444 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.03834044188261032 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1074118.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], "then": { - "operation": "boost", - "score": 0.045832060277462006 + "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": "boost", - "score": -0.24272514879703522 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.0025388060603290796 + "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.9425166845321655 + "score": -0.18744848668575287 } - }, - "else": { - "operation": "boost", - "score": -0.1607990711927414 } } } } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 3278.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.08247476816177368 + "score": 0.11117827147245407 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": 0.09551149606704712 - }, - "else": { - "operation": "boost", - "score": -0.3976576626300812 - } + "operation": "boost", + "score": -0.10564660280942917 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.06697287410497665 - }, - "else": { - "operation": "boost", - "score": -0.018475716933608055 - } + "operation": "boost", + "score": -0.12186361849308014 } - }, - "else": { - "operation": "boost", - "score": -0.25158849358558655 } - }, - "else": { - "operation": "boost", - "score": 0.011923909187316895 } + }, + "else": { + "operation": "boost", + "score": 0.10134243965148926 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.4324975609779358 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 452.5, "then": { "operation": "boost", - "score": 0.1114480271935463 + "score": -0.07278098911046982 }, "else": { - "operation": "boost", - "score": -0.08996503055095673 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15349651873111725 + }, + "else": { + "operation": "boost", + "score": 0.06136306747794151 + } } } } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "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.08216456323862076 + "score": 0.09920252859592438 }, "else": { "operation": "boost", - "score": 0.0812097042798996 + "score": -0.40184375643730164 } } }, "else": { "operation": "boost", - "score": 0.08875083923339844 + "score": 0.0036472519859671593 } + }, + "else": { + "operation": "boost", + "score": -0.0002326584217371419 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.0007907002582214773 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Expression", - "CCC_Symbol", - "CCC_Other" + "CCC_TopLevel" ], "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": 0.009480300359427929 + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 756.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.08607739955186844 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.057397544384002686 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.07052841782569885 + }, + "else": { + "operation": "boost", + "score": 0.11452153325080872 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 509.5, + "then": { + "operation": "boost", + "score": 0.004721513018012047 + }, + "else": { + "operation": "boost", + "score": 0.06410686671733856 + } + } + }, + "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": 2.5, + "threshold": 7059.5, "then": { + "operation": "boost", + "score": 0.0037214960902929306 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 6975.5, "then": { + "operation": "boost", + "score": 0.10914259403944016 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_Symbol" + "CCC_ClassOrStructTag" ], "then": { "operation": "boost", - "score": 0.024945972487330437 + "score": 0.09975786507129669 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 6592.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 6676.0, "then": { + "operation": "boost", + "score": 0.018570873886346817 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 144.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 290.0, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { "operation": "boost", - "score": -0.022194353863596916 + "score": -0.14248716831207275 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 248.0, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.11534763127565384 + "score": 0.06603001803159714 }, "else": { + "operation": "boost", + "score": 0.10045457631349564 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12059376388788223 + }, + "else": { + "operation": "boost", + "score": -0.28168749809265137 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 636.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 806.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 221.0, + "threshold": 6320.5, "then": { - "operation": "boost", - "score": 0.1284031867980957 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "then": { + "operation": "boost", + "score": -0.3018433749675751 + }, + "else": { + "operation": "boost", + "score": -1.217344045639038 + } + }, + "else": { + "operation": "boost", + "score": -0.013022946193814278 + } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 19.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10816705226898193 + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10120803117752075 + }, + "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 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.17005771398544312 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1154.0, + "then": { + "operation": "boost", + "score": -0.17224536836147308 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.8177352547645569 + }, + "else": { + "operation": "boost", + "score": -0.12012318521738052 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01711219735443592 + } }, "else": { "operation": "boost", - "score": -0.10853076726198196 + "score": -0.2005741447210312 } + }, + "else": { + "operation": "boost", + "score": -0.34481531381607056 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 26.0, - "then": { - "operation": "boost", - "score": -1.3464429378509521 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 63.5, + "threshold": 777.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 783.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 102.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.2795768082141876 + "score": -0.48110005259513855 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 789.5, "then": { "operation": "boost", - "score": 0.10180540382862091 + "score": 0.10868088901042938 }, "else": { "operation": "boost", - "score": 0.03769887983798981 + "score": -0.037148136645555496 } } }, "else": { - "operation": "boost", - "score": -0.05025608092546463 + "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": 22.5, + "threshold": 715.0, "then": { "operation": "boost", - "score": -0.07516272366046906 + "score": -0.08907788246870041 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 19.5, + "threshold": 706.5, "then": { + "operation": "boost", + "score": 0.12714150547981262 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.020846227183938026 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.11607711017131805 + "score": 0.014685327187180519 }, "else": { "operation": "boost", - "score": -0.12850584089756012 + "score": 0.08599825948476791 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": -0.06963656842708588 }, "else": { "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 673.0, "then": { + "operation": "boost", + "score": -0.2363768219947815 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { "operation": "boost", - "score": -0.009861058555543423 + "score": 0.09638265520334244 }, "else": { "operation": "boost", - "score": 0.1056048646569252 + "score": 0.029001938179135323 } - }, - "else": { - "operation": "boost", - "score": 0.04491938278079033 } } } } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FileProximityDistance", + "threshold": 19.5, "then": { "operation": "boost", - "score": -0.019254734739661217 + "score": -0.9662525057792664 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.0966271385550499 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.07157150655984879 + "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": "boost", - "score": 0.0035488277208060026 + "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": { + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 486.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 4.5, + "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.039083853363990784 + "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": "NumReferences", - "threshold": 9.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.10282426327466965 - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": -0.08107544481754303 - }, - "else": { - "operation": "boost", - "score": 0.14335712790489197 - } - }, - "else": { - "operation": "boost", - "score": -0.11927971243858337 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.02863224782049656 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": 0.07107504457235336 - }, - "else": { - "operation": "boost", - "score": 0.10487060248851776 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, - "then": { - "operation": "boost", - "score": -0.19754047691822052 - }, - "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.03828966245055199 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.0 - }, - "else": { - "operation": "boost", - "score": 0.13511449098587036 - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.050695259124040604 - } - } + "operation": "boost", + "score": -0.07454726845026016 + }, + "else": { + "operation": "boost", + "score": 0.09685694426298141 } + }, + "else": { + "operation": "boost", + "score": -0.113828644156456 } }, "else": { - "operation": "boost", - "score": -0.034072473645210266 + "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 + } } - }, - "else": { - "operation": "boost", - "score": -0.058543458580970764 } + }, + "else": { + "operation": "boost", + "score": -0.00044029977289028466 } } - }, - "else": { - "operation": "boost", - "score": 0.0063253128901124 } } - }, - "else": { - "operation": "boost", - "score": 0.018311088904738426 - } - }, - "else": { - "operation": "boost", - "score": -0.0023955153301358223 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": -0.09947076439857483 - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0049094813875854015 - }, - "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "boost", - "score": -0.02010708674788475 - }, - "else": { - "operation": "boost", - "score": -0.04063264653086662 } } - } - } - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.0476992167532444 - }, - "else": { - "operation": "boost", - "score": -0.04511100798845291 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": 0.09005002677440643 - }, - "else": { - "operation": "boost", - "score": 0.03340427950024605 - } }, "else": { "operation": "boost", - "score": 0.08306573331356049 + "score": -0.0007236163364723325 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": 0.011646649800240993 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 395.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace" ], "then": { - "operation": "boost", - "score": -0.002504633739590645 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": -0.06812820583581924 - }, - "else": { - "operation": "boost", - "score": 0.07965049892663956 - } - } - }, - "else": { - "operation": "boost", - "score": 0.0840659812092781 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.0019269011681899428 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 176.0, + "threshold": 3612.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 223.5, + "threshold": 42558.5, "then": { "operation": "boost", - "score": 0.0839591696858406 + "score": 0.10304208844900131 }, "else": { - "operation": "boost", - "score": 0.10555575042963028 + "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": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 2421.0, "then": { - "operation": "boost", - "score": -0.048136498779058456 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.11054517328739166 + }, + "else": { + "operation": "boost", + "score": 0.050350889563560486 + } }, "else": { - "operation": "boost", - "score": 0.08490771800279617 + "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": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 25.0, - "then": { - "operation": "boost", - "score": 0.11510467529296875 - }, - "else": { - "operation": "boost", - "score": 0.07970511168241501 - } + "operation": "boost", + "score": 0.09166263788938522 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08892899751663208 - }, - "else": { - "operation": "boost", - "score": 0.028058402240276337 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.09600415825843811 - }, - "else": { - "operation": "boost", - "score": 0.12240485101938248 - } - }, - "else": { - "operation": "boost", - "score": 0.03240750730037689 - } - } + "operation": "boost", + "score": -0.10540840029716492 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_SymbolOrNewName" + "CCC_TopLevel", + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 509.5, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], "then": { "operation": "boost", - "score": 0.019251422956585884 + "score": 0.10423307120800018 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { "operation": "boost", - "score": -0.03967619314789772 + "score": 0.10109678655862808 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 292.0, + "threshold": 756.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 529.5, + "threshold": 877.0, "then": { - "operation": "boost", - "score": -0.024301111698150635 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.26587679982185364 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5708.0, + "then": { + "operation": "boost", + "score": 0.10275864601135254 + }, + "else": { + "operation": "boost", + "score": -0.028209418058395386 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1656.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.059140171855688095 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3782.5, + "then": { + "operation": "boost", + "score": 0.06849242001771927 + }, + "else": { + "operation": "boost", + "score": 0.10809610784053802 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 988.0, + "then": { + "operation": "boost", + "score": -0.2852354943752289 + }, + "else": { + "operation": "boost", + "score": 0.10036862641572952 + } + } + } }, "else": { - "operation": "boost", - "score": 0.11944298446178436 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.014332742430269718 + }, + "else": { + "operation": "boost", + "score": 0.11237639933824539 + } } }, "else": { - "operation": "boost", - "score": -0.11432300508022308 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 657.5, + "then": { + "operation": "boost", + "score": 0.09106671810150146 + }, + "else": { + "operation": "boost", + "score": 0.01697167195379734 + } + }, + "else": { + "operation": "boost", + "score": -0.052326750010252 + } } } } }, + "else": { + "operation": "boost", + "score": -0.028748370707035065 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.5, + "then": { + "operation": "boost", + "score": 0.10571198910474777 + }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 414.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.09115895628929138 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11359056085348129 + "score": -0.026648813858628273 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 427.0, "then": { - "operation": "boost", - "score": 0.1575879007577896 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "boost", - "score": 0.04590905085206032 + "score": 0.1132078468799591 }, "else": { - "operation": "boost", - "score": 0.11140777915716171 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.2835056483745575 + }, + "else": { + "operation": "boost", + "score": 0.07983754575252533 + } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 201.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 322.5, - "then": { - "operation": "boost", - "score": 0.03068181313574314 }, "else": { "operation": "boost", - "score": 0.11089374870061874 + "score": 0.09292998909950256 } - }, - "else": { - "operation": "boost", - "score": 0.026528388261795044 } } }, + "else": { + "operation": "boost", + "score": -0.04358537867665291 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12898777425289154 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.05660704895853996 + }, + "else": { + "operation": "boost", + "score": 0.0020276394207030535 + } + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "IsDeprecated", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 245161.0, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { + "operation": "boost", + "score": 0.154104545712471 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 11.5, "then": { "operation": "boost", - "score": 0.10717861354351044 + "score": 0.08870281279087067 }, "else": { "operation": "boost", - "score": 0.06159590557217598 + "score": 0.15408658981323242 } }, "else": { "operation": "boost", - "score": -0.2787666618824005 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0874151661992073 - }, - "else": { - "operation": "boost", - "score": 0.017366452142596245 + "score": -0.1308351308107376 } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": -0.023649590089917183 - }, - "else": { - "operation": "boost", - "score": -0.4851459264755249 - } + "operation": "boost", + "score": 0.01672496646642685 } } } }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 21.5, + "feature": "NumReferences", + "threshold": 501.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 729.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.13471686840057373 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 27.5, - "then": { - "operation": "boost", - "score": 0.08637792617082596 - }, - "else": { - "operation": "boost", - "score": -0.09034144133329391 - } - } + "operation": "boost", + "score": 0.08200542628765106 }, "else": { + "operation": "boost", + "score": 0.1133754700422287 + } + }, + "else": { + "operation": "boost", + "score": -0.22909773886203766 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.24916715919971466 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 446.0, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 566.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 961.0, "then": { "operation": "boost", - "score": -0.13522182404994965 + "score": 0.09117726236581802 }, "else": { "operation": "boost", - "score": 0.1024540588259697 + "score": -0.13594281673431396 } }, "else": { "operation": "boost", - "score": -0.025197289884090424 + "score": 0.11441770195960999 } + }, + "else": { + "operation": "boost", + "score": -0.1049758791923523 } - }, - "else": { + } + } + }, + "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": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 685.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 878.5, "then": { "operation": "boost", - "score": 0.10697176307439804 + "score": 0.05841011181473732 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 212.0, - "then": { - "operation": "boost", - "score": 0.015562272630631924 - }, - "else": { - "operation": "boost", - "score": 0.13132165372371674 - } - }, - "else": { - "operation": "boost", - "score": -0.006384788081049919 - } + "operation": "boost", + "score": 0.1001439169049263 } }, "else": { "operation": "boost", - "score": 0.06062450632452965 + "score": -0.2406335175037384 } + }, + "else": { + "operation": "boost", + "score": -0.010776110924780369 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6621.5, + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.12960867583751678 + }, + "else": { + "operation": "boost", + "score": 0.05231141299009323 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.004421899560838938 + }, + "else": { + "operation": "boost", + "score": -0.11580107361078262 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.000293208344373852 + } + }, + { + "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": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -1.2111814612580929e-05 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 636.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 814.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 816.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 13459.0, + "threshold": 827.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 946.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 961.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 21311.0, + "feature": "FileProximityDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.06599763035774231 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 22949.0, + "threshold": 245728.5, "then": { "operation": "boost", - "score": 0.010672971606254578 + "score": -0.25632941722869873 }, "else": { - "operation": "boost", - "score": 0.10491402447223663 + "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.12095380574464798 + "score": 0.09970507770776749 } }, - "else": { - "operation": "boost", - "score": 0.10223572701215744 - } - }, - "else": { - "operation": "boost", - "score": -0.48066088557243347 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12955.5, - "then": { - "operation": "boost", - "score": 0.11799725145101547 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11886.5, - "then": { - "operation": "boost", - "score": -1.2946823835372925 - }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 14.0, "then": { "operation": "boost", - "score": 0.038664668798446655 + "score": 0.0597112812101841 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8265.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.10722532123327255 - }, - "else": { - "operation": "boost", - "score": 0.06440256536006927 - } - }, - "else": { - "operation": "boost", - "score": 0.0656287744641304 - } + "operation": "boost", + "score": 0.11375366896390915 } } + }, + "else": { + "operation": "boost", + "score": -0.13924144208431244 } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.010433197021484375 }, "else": { - "operation": "boost", - "score": 0.01543021947145462 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": -0.04816710948944092 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 6.0, "then": { "operation": "boost", - "score": -0.5455420613288879 + "score": -0.12967830896377563 }, "else": { "operation": "boost", - "score": 0.07581707090139389 + "score": 0.15179823338985443 } }, "else": { "operation": "boost", - "score": -0.36956238746643066 + "score": -0.13074567914009094 } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7021.0, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 7089.0, "then": { "operation": "boost", - "score": 0.11215709894895554 + "score": -0.006799082737416029 }, "else": { "operation": "boost", - "score": 0.1004694327712059 + "score": 0.11110108345746994 } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": -0.06115154176950455 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.40460601449012756 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.05665850639343262 - }, - "else": { - "operation": "boost", - "score": 0.09644027799367905 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07847923785448074 - }, - "else": { - "operation": "boost", - "score": 0.0007220017723739147 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.5032509565353394 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0879269689321518 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.08676730841398239 - }, - "else": { - "operation": "boost", - "score": -0.1380244791507721 - } - } - } - } + "feature": "NumReferences", + "threshold": 852.5, + "then": { + "operation": "boost", + "score": -0.09313010424375534 + }, + "else": { + "operation": "boost", + "score": 0.0987725630402565 } } } + }, + "else": { + "operation": "boost", + "score": 0.08472920209169388 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": "SymbolScopeDistance", - "threshold": 3.0, - "then": { + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 630.0, "then": { - "operation": "boost", - "score": -0.005857232958078384 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.126892551779747 + }, + "else": { + "operation": "boost", + "score": 0.10048885643482208 + } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.0444503128528595 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 88.5, "then": { "operation": "boost", - "score": 0.049939580261707306 + "score": 0.09649910032749176 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.08982652425765991 - }, - "else": { - "operation": "boost", - "score": 0.056330595165491104 - } + "operation": "boost", + "score": 0.10914114862680435 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FunctionScope", - "FileScope" - ], + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 257.5, "then": { - "operation": "boost", - "score": 0.053896840661764145 - }, - "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "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": 19.5, + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.052747733891010284 + "score": 0.0376657173037529 }, "else": { "operation": "boost", - "score": -0.22657252848148346 + "score": -0.08701593428850174 } }, "else": { + "operation": "boost", + "score": -0.14398494362831116 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 252.0, + "then": { + "operation": "boost", + "score": 0.10914907604455948 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { - "operation": "boost", - "score": -0.10346362739801407 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 124.5, + "then": { + "operation": "boost", + "score": 0.13569827377796173 + }, + "else": { + "operation": "boost", + "score": 0.12532341480255127 + } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 131.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 176.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 181.5, "then": { - "operation": "boost", - "score": 0.026056934148073196 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 239.5, + "then": { + "operation": "boost", + "score": -0.11091241985559464 + }, + "else": { + "operation": "boost", + "score": 0.10889805108308792 + } + }, + "else": { + "operation": "boost", + "score": -0.15675204992294312 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.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, + "then": { + "operation": "boost", + "score": -0.028953013941645622 + }, + "else": { + "operation": "boost", + "score": 0.11328506469726562 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0019793843384832144 + } }, "else": { - "operation": "boost", - "score": 0.10335373878479004 + "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": "FilterLength", - "threshold": 2.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": 0.10328012704849243 + "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 + } + } + } }, "else": { "operation": "boost", - "score": -0.06457532197237015 + "score": -0.03189234063029289 } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 130.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_Statement" - ], + "operation": "boost", + "score": 0.1072971299290657 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": 0.09629816561937332 + "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.021340174600481987 + "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": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, + "then": { + "operation": "boost", + "score": 0.07481014728546143 }, "else": { - "operation": "boost", - "score": 0.04837522655725479 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12216120958328247 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.375501811504364 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12376817315816879 + }, + "else": { + "operation": "boost", + "score": -0.1644829362630844 + } + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.09178753942251205 } } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 222.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 223.5, + "then": { + "operation": "boost", + "score": 0.02314002998173237 }, "else": { "operation": "boost", - "score": 0.02537689171731472 + "score": 0.12823866307735443 } + }, + "else": { + "operation": "boost", + "score": -0.027201607823371887 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 80.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.025963537395000458 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 307.0, "then": { "operation": "boost", - "score": -0.06972424685955048 + "score": 0.10602972656488419 }, "else": { - "operation": "boost", - "score": 0.1269887387752533 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.07091060280799866 + "score": 0.08191868662834167 }, "else": { "operation": "boost", - "score": 0.09212517738342285 + "score": -0.08876724541187286 } - }, - "else": { - "operation": "boost", - "score": 0.043820783495903015 } } }, "else": { - "operation": "boost", - "score": 0.013370598666369915 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": 0.0582372285425663 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 227.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": 0.09717351943254471 - }, - "else": { - "operation": "boost", - "score": 0.12955011427402496 - } + "operation": "boost", + "score": 0.11055203527212143 }, "else": { "operation": "boost", - "score": -0.0039475904777646065 + "score": -0.13296951353549957 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.03595967963337898 + "score": -0.15921558439731598 }, "else": { "operation": "boost", - "score": -0.11421110481023788 + "score": -0.879972517490387 } } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.10185706615447998 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.04202500358223915 + "score": 0.10184939950704575 }, "else": { "operation": "boost", - "score": -0.04006028175354004 + "score": 0.10066276043653488 } } }, "else": { - "operation": "boost", - "score": 0.008205902762711048 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.10972587019205093 + }, + "else": { + "operation": "boost", + "score": 0.25906750559806824 + } + }, + "else": { + "operation": "boost", + "score": -1.0605086088180542 + } } } } @@ -376056,2861 +365456,3435 @@ }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.021934213116765022 - }, - "else": { - "operation": "boost", - "score": 0.0013617351651191711 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.0018804628634825349 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 200.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.014665094204246998 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": -0.035977330058813095 - }, - "else": { - "operation": "boost", - "score": -0.1362055093050003 - } - } + "operation": "boost", + "score": 0.9602012038230896 }, "else": { "operation": "boost", - "score": 0.015287087298929691 + "score": -0.15047450363636017 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 29.5, + "feature": "NumReferences", + "threshold": 188.5, "then": { "operation": "boost", - "score": 0.11552827805280685 + "score": 0.1321702003479004 }, "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "operation": "boost", + "score": -0.08436799049377441 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], "then": { "operation": "boost", - "score": 0.07957249879837036 + "score": 0.10803738981485367 }, "else": { - "operation": "boost", - "score": -0.044108133763074875 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { + "operation": "boost", + "score": 0.13757175207138062 + }, + "else": { + "operation": "boost", + "score": -0.7015922665596008 + } } - }, - "else": { - "operation": "boost", - "score": -0.04395114257931709 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 83201.0, - "then": { - "operation": "boost", - "score": -0.3351101577281952 - }, - "else": { - "operation": "boost", - "score": 0.03430929780006409 - } - }, - "else": { - "operation": "boost", - "score": -0.004364719148725271 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00028446875512599945 - } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace", - "CCC_Type" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.004556113388389349 - }, - "else": { - "operation": "boost", - "score": 0.08108384162187576 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1280205.5, - "then": { - "operation": "boost", - "score": -0.06436827778816223 - }, - "else": { - "operation": "boost", - "score": -0.9334253072738647 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "boost", - "score": 0.09175175428390503 - }, - "else": { - "operation": "boost", - "score": 0.02906808629631996 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.024414606392383575 - }, - "else": { - "operation": "boost", - "score": 0.09672623127698898 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "boost", - "score": 0.05349024012684822 - }, - "else": { - "operation": "boost", - "score": -0.037066735327243805 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": -0.1959369033575058 - }, - "else": { - "operation": "boost", - "score": 0.08282691985368729 - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "boost", - "score": 0.12071815133094788 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": -0.3169682025909424 - }, - "else": { - "operation": "boost", - "score": 0.08741544932126999 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02557804062962532 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "feature": "NumReferences", + "threshold": 610.5, "then": { "operation": "boost", - "score": 0.11354809999465942 - }, - "else": { - "operation": "boost", - "score": 0.08065252006053925 - } - }, - "else": { - "operation": "boost", - "score": -0.011364953592419624 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Expression" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.10116463899612427 - }, - "else": { - "operation": "boost", - "score": -0.8742287755012512 - } - }, - "else": { - "operation": "boost", - "score": -0.002895392244681716 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.11529967188835144 - }, - "else": { - "operation": "boost", - "score": 0.10747778415679932 - } - }, - "else": { - "operation": "boost", - "score": -0.15079790353775024 - } - } + "score": 0.11646075546741486 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 20.5, + "threshold": 9.5, "then": { - "operation": "boost", - "score": -0.025331851094961166 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.09921539574861526 + "score": -0.8257911801338196 }, "else": { "operation": "boost", - "score": 0.03114526905119419 + "score": 0.040497925132513046 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.03675829619169235 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, + "then": { + "operation": "boost", + "score": 0.43126416206359863 + }, + "else": { + "operation": "boost", + "score": 0.12618765234947205 + } }, "else": { - "operation": "boost", - "score": 0.0599098801612854 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { + "operation": "boost", + "score": -0.0010256090899929404 + }, + "else": { + "operation": "boost", + "score": 0.14267420768737793 + } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "NumReferences", + "threshold": 87.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.019889259710907936 - }, - "else": { - "operation": "boost", - "score": -0.3981051445007324 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 6.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 276.0, "then": { "operation": "boost", - "score": 0.11016537249088287 + "score": -0.08354903012514114 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1074118.5, + "threshold": 216.5, "then": { + "operation": "boost", + "score": 0.15435722470283508 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "boost", - "score": -0.38865968585014343 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.5, + "then": { + "operation": "boost", + "score": 0.11294630169868469 + }, + "else": { + "operation": "boost", + "score": -0.07524048537015915 + } }, "else": { - "operation": "boost", - "score": 0.01734272949397564 - } - }, - "else": { - "operation": "boost", - "score": 0.04688573256134987 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.5, - "then": { - "operation": "boost", - "score": -0.21896027028560638 - }, - "else": { - "operation": "boost", - "score": 0.11129772663116455 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.005552884191274643 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105.5, + "then": { + "operation": "boost", + "score": 0.07770140469074249 + }, + "else": { + "operation": "boost", + "score": 0.1387208253145218 + } + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.05730368196964264 } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.013466122560203075 - }, - "else": { - "operation": "boost", - "score": -0.2293505221605301 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.12292620539665222 }, "else": { - "operation": "boost", - "score": 0.05738180875778198 + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.7690717577934265 + }, + "else": { + "operation": "boost", + "score": 0.044115811586380005 + } } - }, - "else": { - "operation": "boost", - "score": -0.018980592489242554 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1318535.0, + } + }, + "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": "boost", - "score": 0.014979960396885872 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.12536989152431488 + "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": "IsNameInContext", + "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.2921357750892639 + "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 + } }, "else": { "operation": "boost", - "score": 0.014505512081086636 + "score": -0.10510219633579254 } } + }, + "else": { + "operation": "boost", + "score": -0.025843998417258263 } } + }, + "else": { + "operation": "boost", + "score": 0.09608727693557739 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 6044.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "boost", + "score": -0.11739646643400192 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1536.0, "then": { - "operation": "boost", - "score": -0.0024094528052955866 + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1647.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1065576896071434 + }, + "else": { + "operation": "boost", + "score": 0.012312822043895721 + } + }, + "else": { + "operation": "boost", + "score": 0.15802070498466492 + } + }, + "else": { + "operation": "boost", + "score": 0.1360553652048111 + } }, "else": { "operation": "boost", - "score": -0.20157502591609955 + "score": -0.004306808114051819 } - }, - "else": { - "operation": "boost", - "score": 0.08198834210634232 } } } }, "else": { + "operation": "boost", + "score": -0.00027685044915415347 + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 86.5, + "feature": "IsInstanceMember", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.04460381343960762 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 2.5, + "threshold": 18.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "FilterLength", + "threshold": 3.5, "then": { - "operation": "boost", - "score": -0.009180470369756222 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.006200931500643492 + }, + "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_TopLevel", + "CCC_Type" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Constructor", + "Type" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_ClassOrStructTag" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 119809.5, + "threshold": 3889.0, "then": { "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3928.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.7286561131477356 + "score": 0.041705306619405746 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 19014.5, "then": { "operation": "boost", - "score": 0.05371794477105141 + "score": 0.0844651535153389 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 190379.0, + "threshold": 5577.5, "then": { - "operation": "boost", - "score": -0.19499042630195618 - }, - "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 17.5, + "threshold": 21.0, "then": { "operation": "boost", - "score": 0.09520433098077774 + "score": 0.11286123096942902 }, "else": { "operation": "boost", - "score": 0.08396344631910324 + "score": 0.09019777178764343 } + }, + "else": { + "operation": "boost", + "score": -0.2022964507341385 } } } }, + "else": { + "operation": "boost", + "score": -0.053474050015211105 + } + }, + "else": { + "operation": "boost", + "score": 0.1058933436870575 + } + }, + "else": { + "operation": "boost", + "score": -0.021888338029384613 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10109958797693253 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.07853634655475616 + }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 148934.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 23.5, "then": { "operation": "boost", - "score": 0.07762961834669113 + "score": 0.01828927733004093 }, "else": { - "operation": "boost", - "score": -0.005075845867395401 + "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": "boost", - "score": 0.08538936823606491 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.0223728995770216 + }, + "else": { + "operation": "boost", + "score": 0.06866560131311417 + } } }, "else": { - "operation": "boost", - "score": 0.09659522771835327 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.06387076526880264 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.07266387343406677 + }, + "else": { + "operation": "boost", + "score": 0.013566164299845695 + } + } } } }, "else": { - "operation": "boost", - "score": -0.029077114537358284 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Keyword", - "Constructor", - "Type", - "Function" - ], - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 91.5, + "feature": "FileProximityDistance", + "threshold": 22.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 321.5, + "feature": "FileProximityDistance", + "threshold": 25.5, "then": { + "operation": "boost", + "score": 0.0456383153796196 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FileProximityDistance", + "threshold": 24.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6873.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.11900486797094345 - }, - "else": { - "operation": "boost", - "score": -0.15838409960269928 - } - }, - "else": { - "operation": "boost", - "score": -0.017072616145014763 - } + "operation": "boost", + "score": -0.0013987226411700249 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassOrStructTag" + "CCC_Type" ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 974.0, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1494.0, - "then": { - "operation": "boost", - "score": 0.27362263202667236 - }, - "else": { - "operation": "boost", - "score": 0.1415104866027832 - } + "operation": "boost", + "score": 0.09920220822095871 }, "else": { "operation": "boost", - "score": -0.03921644389629364 + "score": 0.08863648772239685 } }, - "else": { - "operation": "boost", - "score": 0.01631246507167816 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 324.5, - "then": { - "operation": "boost", - "score": 0.04652860388159752 - }, "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.1331990659236908 + "score": 0.08277402818202972 }, "else": { "operation": "boost", - "score": -0.11535047739744186 + "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": "NumReferences", - "threshold": 12661.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 14301.0, - "then": { - "operation": "boost", - "score": 0.005227568559348583 - }, - "else": { - "operation": "boost", - "score": 0.1410103589296341 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 405.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { + "operation": "boost", + "score": -0.17715948820114136 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", + "feature": "FilterLength", "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 535.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 920.0, - "then": { - "operation": "boost", - "score": 0.06401313841342926 - }, - "else": { - "operation": "boost", - "score": -0.16760843992233276 - } - }, - "else": { - "operation": "boost", - "score": 0.12768688797950745 - } + "operation": "boost", + "score": 0.09688523411750793 }, "else": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.20549540221691132 - }, - "else": { - "operation": "boost", - "score": 0.14982293546199799 - } + "operation": "boost", + "score": 0.0806875005364418 } - }, - "else": { - "operation": "boost", - "score": -0.2366444617509842 } }, "else": { "operation": "boost", - "score": -0.07354926317930222 + "score": 0.04266922548413277 } + }, + "else": { + "operation": "boost", + "score": 0.002056750236079097 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 15.5, + "threshold": 23.5, "then": { + "operation": "boost", + "score": -0.043197132647037506 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 6.5, "then": { "operation": "boost", - "score": 0.11865710467100143 + "score": 0.011310802772641182 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 821.5, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "boost", - "score": 0.5294588804244995 + "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": "boost", - "score": 0.0006097567966207862 + "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 + } + } } } - }, - "else": { - "operation": "boost", - "score": 0.03735986724495888 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 6.5, + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.024355219677090645 - }, - "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { + "operation": "boost", + "score": -0.012018010020256042 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 6.5, "then": { + "operation": "boost", + "score": 0.024487411603331566 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 156.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Statement", + "CCC_Type" ], "then": { - "operation": "boost", - "score": -0.042248692363500595 + "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.4429967701435089 + "score": 0.027157247066497803 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 154.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "boost", - "score": 0.10918693989515305 + "score": 0.06612168252468109 }, "else": { "operation": "boost", - "score": -0.018230030313134193 + "score": 0.036479294300079346 } } + } + } + }, + "else": { + "operation": "boost", + "score": -0.011126159690320492 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.020525451749563217 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08720005303621292 + }, + "else": { + "operation": "boost", + "score": 0.0755922868847847 + } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "FilterLength", + "threshold": 6.5, "then": { "operation": "boost", - "score": -0.03488994017243385 + "score": 0.006963761989027262 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 251.0, - "then": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10604701191186905 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 268.0, - "then": { - "operation": "boost", - "score": -0.21298396587371826 - }, - "else": { - "operation": "boost", - "score": 0.09521022439002991 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 131.5, - "then": { - "operation": "boost", - "score": -0.07274491339921951 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 120.0, - "then": { - "operation": "boost", - "score": 0.08296163380146027 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.1119217649102211 - }, - "else": { - "operation": "boost", - "score": 0.08223774284124374 - } - } - }, - "else": { - "operation": "boost", - "score": -0.05098634585738182 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 190.5, - "then": { - "operation": "boost", - "score": -0.09278356283903122 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 123.0, - "then": { - "operation": "boost", - "score": 0.09955090284347534 - }, - "else": { - "operation": "boost", - "score": 0.07159214466810226 - } - } - } + "operation": "boost", + "score": 0.05291450023651123 } } }, "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "operation": "boost", + "score": 0.05034222826361656 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.05545240640640259 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.02543638087809086 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 228.0, - "then": { - "operation": "boost", - "score": -0.35179486870765686 - }, - "else": { - "operation": "boost", - "score": 0.04835052788257599 - } + "operation": "boost", + "score": 0.1202089786529541 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.11182453483343124 - }, - "else": { - "operation": "boost", - "score": -0.677490234375 - } + "operation": "boost", + "score": -0.31973445415496826 } }, "else": { "operation": "boost", - "score": -0.03765001520514488 + "score": 0.08840020000934601 } + }, + "else": { + "operation": "boost", + "score": 0.09765497595071793 } } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10876227915287018 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": -0.01598377153277397 + }, + "else": { + "operation": "boost", + "score": 0.14863519370555878 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09330374747514725 + }, + "else": { + "operation": "boost", + "score": -0.15785697102546692 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03974998742341995 + }, + "else": { + "operation": "boost", + "score": 0.023344721645116806 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0064758858643472195 + } + }, + "else": { + "operation": "boost", + "score": 0.001141635701060295 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.013433392159640789 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.19928662478923798 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11912.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12036.5, + "then": { + "operation": "boost", + "score": 0.020419107750058174 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.055555764585733414 + }, + "else": { + "operation": "boost", + "score": 0.12657904624938965 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013889669440686703 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.017043383792042732 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.09101632982492447 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.12081696093082428 + }, + "else": { + "operation": "boost", + "score": 0.11395778506994247 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.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": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { + "operation": "boost", + "score": 0.0662200003862381 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", "threshold": 3.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "boost", - "score": -2.804483413696289 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "boost", - "score": 0.3642239272594452 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, - "then": { - "operation": "boost", - "score": 0.22759099304676056 - }, - "else": { - "operation": "boost", - "score": -0.13784706592559814 - } - } - } + "operation": "boost", + "score": 0.09376700967550278 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.12671460211277008 - }, - "else": { - "operation": "boost", - "score": -0.1558573991060257 - } + "operation": "boost", + "score": 0.11547673493623734 } - }, - "else": { - "operation": "boost", - "score": 0.05303597077727318 } }, "else": { + "operation": "boost", + "score": 0.05994492024183273 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.06193391978740692 + }, + "else": { + "operation": "boost", + "score": 0.11808845400810242 + } + }, + "else": { + "operation": "boost", + "score": 0.050532400608062744 + } + }, + "else": { + "operation": "boost", + "score": 0.046095412224531174 + } + }, + "else": { + "operation": "boost", + "score": 0.10353568941354752 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.18404386937618256 + }, + "else": { + "operation": "boost", + "score": 0.12056254595518112 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010730862617492676 + }, + "else": { + "operation": "boost", + "score": 0.13868224620819092 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0003498863079585135 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "HadSymbolType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": -0.1067577451467514 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": 0.16243118047714233 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 90.5, - "then": { - "operation": "boost", - "score": 0.1290079653263092 - }, - "else": { - "operation": "boost", - "score": 0.18903765082359314 - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.07449039071798325 - } + "operation": "boost", + "score": 0.06273659318685532 }, "else": { "operation": "boost", - "score": -0.014610562473535538 + "score": 0.09739222377538681 } + }, + "else": { + "operation": "boost", + "score": 0.06416144967079163 } } }, "else": { "operation": "boost", - "score": -0.023663297295570374 + "score": 0.03274885565042496 } } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": 0.0025629838928580284 - }, - "else": { - "operation": "boost", - "score": 0.01489637978374958 - } + "operation": "boost", + "score": 0.07844597101211548 } }, "else": { "operation": "boost", - "score": 0.003400831948965788 + "score": 0.0011279820464551449 } - }, - "else": { - "operation": "boost", - "score": -0.04133269190788269 } - }, - "else": { - "operation": "boost", - "score": 0.00015339767560362816 } } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.1515267789363861 - }, - "else": { - "operation": "boost", - "score": -0.11976218223571777 - } } - }, - "else": { - "operation": "boost", - "score": -0.00037628127029165626 } - } - }, - { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 820317.5, - "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" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": 0.04952513426542282 + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.1254620999097824 + }, + "else": { + "operation": "boost", + "score": -0.28885096311569214 + } + }, + "else": { + "operation": "boost", + "score": 0.11011804640293121 + } + }, + "else": { + "operation": "boost", + "score": 0.061350543051958084 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.14382237195968628 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.08833912760019302 + }, + "else": { + "operation": "boost", + "score": 0.013917871750891209 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02793486788868904 + } }, "else": { - "operation": "boost", - "score": -0.08441483229398727 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05218067765235901 + }, + "else": { + "operation": "boost", + "score": -0.020967500284314156 + } } }, "else": { "operation": "boost", - "score": 0.03522467985749245 + "score": -0.000159332063049078 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": 0.022627396509051323 - }, - "else": { - "operation": "boost", - "score": 0.09555431455373764 - } - }, - "else": { - "operation": "boost", - "score": 0.03419804945588112 - } + "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": "FileProximityDistance", - "threshold": 15.5, + "feature": "FilterLength", + "threshold": 6.5, "then": { - "operation": "boost", - "score": 0.011141420342028141 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 8.5, "then": { "operation": "boost", - "score": -0.003758625127375126 + "score": 0.025560559704899788 }, "else": { "operation": "boost", - "score": 0.07812784612178802 + "score": 0.015237560495734215 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Type" - ], + }, + "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.11707286536693573 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_Statement", - "CCC_Type" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 199.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.006486073601990938 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10842527449131012 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 277.5, + "then": { + "operation": "boost", + "score": 0.01566111482679844 + }, + "else": { + "operation": "boost", + "score": 0.09657605737447739 + } + } }, "else": { + "operation": "boost", + "score": 0.025860393419861794 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 895.0, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 6404.5, "then": { "operation": "boost", - "score": 0.10821536183357239 + "score": -0.09562452137470245 }, "else": { "operation": "boost", - "score": -0.05380845442414284 + "score": 0.11329237371683121 } + }, + "else": { + "operation": "boost", + "score": -0.1564009189605713 } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 181.0, + "then": { + "operation": "boost", + "score": 0.12743543088436127 }, "else": { + "operation": "boost", + "score": -0.009193282574415207 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0064896452240645885 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.5, + "then": { + "operation": "boost", + "score": 0.0041308170184493065 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.006598532199859619 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.0742870569229126 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.167745441198349 - }, - "else": { - "operation": "boost", - "score": 0.0989757776260376 - } - } - }, - "else": { - "operation": "boost", - "score": 0.12286309897899628 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.006430561188608408 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": 0.17238695919513702 - }, - "else": { - "operation": "boost", - "score": 0.07592229545116425 - } - } - } + "operation": "boost", + "score": 0.06837449967861176 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 13.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.0, - "then": { - "operation": "boost", - "score": 0.20799872279167175 - }, - "else": { - "operation": "boost", - "score": 0.11918658763170242 - } + "operation": "boost", + "score": 0.12193107604980469 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, + "feature": "NumReferences", + "threshold": 81.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 480.0, - "then": { - "operation": "boost", - "score": 0.09631002694368362 - }, - "else": { - "operation": "boost", - "score": -0.029377058148384094 - } + "operation": "boost", + "score": -0.00967510137706995 }, "else": { "operation": "boost", - "score": 0.06431430578231812 + "score": 0.15823817253112793 } } } - }, - "else": { + } + }, + "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": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 83.5, "then": { "operation": "boost", - "score": 0.08734609931707382 + "score": -0.059417497366666794 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 7.0, + "feature": "NumReferences", + "threshold": 82.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.044336672872304916 - }, - "else": { - "operation": "boost", - "score": -0.12892776727676392 - } + "operation": "boost", + "score": 0.1183377355337143 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": 0.03426846116781235 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.08268345147371292 + }, + "else": { + "operation": "boost", + "score": -0.44273510575294495 + } }, "else": { - "operation": "boost", - "score": 0.09713252633810043 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.0, + "then": { + "operation": "boost", + "score": 0.108941949903965 + }, + "else": { + "operation": "boost", + "score": -0.1380675584077835 + } } }, "else": { "operation": "boost", - "score": -0.017352301627397537 + "score": -0.2635612189769745 } } } + }, + "else": { + "operation": "boost", + "score": -0.06694120913743973 } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.014477663673460484 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], + "operation": "boost", + "score": 0.11460692435503006 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10440223664045334 + }, + "else": { + "operation": "boost", + "score": 0.0791323259472847 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0024592748377472162 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "boost", + "score": 0.10426879674196243 + }, + "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.06082620844244957 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 60.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.058773431926965714 + "score": 0.16581952571868896 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": -0.22537344694137573 - }, - "else": { - "operation": "boost", - "score": 0.07785842567682266 - } + "operation": "boost", + "score": 0.08273269981145859 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3547.5, - "then": { - "operation": "boost", - "score": -0.06588266789913177 - }, - "else": { - "operation": "boost", - "score": 0.10426440089941025 - } + "operation": "boost", + "score": 0.003019560594111681 + } + }, + "else": { + "operation": "boost", + "score": 0.08964934200048447 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "boost", + "score": 0.10758465528488159 + }, + "else": { + "operation": "boost", + "score": -0.4019053280353546 } }, "else": { "operation": "boost", - "score": 0.003895931877195835 + "score": -0.24486178159713745 } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "boost", + "score": 0.006253836676478386 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 132.5, "then": { - "operation": "boost", - "score": 0.0006520543829537928 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045900896191596985 + }, + "else": { + "operation": "boost", + "score": 0.10771477222442627 + } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 22.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.27411943674087524 + "score": -0.13106408715248108 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 15.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": 0.1101497933268547 + "score": 0.056612495332956314 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 124.5, "then": { "operation": "boost", - "score": -0.24060454964637756 + "score": -0.13012631237506866 }, "else": { "operation": "boost", - "score": 0.07530191540718079 + "score": 0.1159411147236824 } }, "else": { "operation": "boost", - "score": -0.05830702930688858 + "score": 0.13226905465126038 } } } } } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08894715458154678 + }, + "else": { + "operation": "boost", + "score": -0.18709465861320496 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12371478229761124 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09815295785665512 + }, + "else": { + "operation": "boost", + "score": -0.039548151195049286 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009126214310526848 + } + } + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 69564.0, + "threshold": 296854.0, "then": { + "operation": "boost", + "score": 0.05345524474978447 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 76669.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 102921.5, + "threshold": 44.5, "then": { "operation": "boost", - "score": -0.05875270441174507 + "score": 0.016914140433073044 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "boost", - "score": -0.02576202154159546 - }, - "else": { - "operation": "boost", - "score": 0.1022111028432846 - } + "operation": "boost", + "score": -0.05624571442604065 }, "else": { "operation": "boost", - "score": -0.3163938522338867 + "score": 0.10590590536594391 } } }, "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": "FileProximityDistance", - "threshold": 13.0, + "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.09115379303693771 + "score": 0.035451166331768036 }, "else": { "operation": "boost", - "score": 0.10911940038204193 + "score": -0.39031797647476196 } } }, "else": { "operation": "boost", - "score": 0.023230550810694695 + "score": 0.016176914796233177 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "NumReferences", + "threshold": 289.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 311.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, + "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", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.057889629155397415 + }, + "else": { + "operation": "boost", + "score": -0.09571971744298935 + } + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 11.5, + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.0, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.025263378396630287 + "score": 0.020680274814367294 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 170.5, + "threshold": 501.5, "then": { - "operation": "boost", - "score": 0.15473972260951996 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 55.0, + "threshold": 900.5, "then": { "operation": "boost", - "score": -0.010158652439713478 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 38.0, - "then": { - "operation": "boost", - "score": 0.22479699552059174 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09228778630495071 - }, - "else": { - "operation": "boost", - "score": 0.14313805103302002 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 137.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 317.0, - "then": { - "operation": "boost", - "score": 0.04009091481566429 - }, - "else": { - "operation": "boost", - "score": -0.3845110535621643 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 88.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.0, - "then": { - "operation": "boost", - "score": 0.09402377903461456 - }, - "else": { - "operation": "boost", - "score": -0.20409587025642395 - } + "score": 0.09847649931907654 }, "else": { "operation": "boost", - "score": 0.13099412620067596 + "score": 0.11229591071605682 } }, "else": { - "operation": "boost", - "score": 0.024471156299114227 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50010.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, - "then": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.13284210860729218 + "score": -0.107404924929142 }, "else": { "operation": "boost", - "score": 0.19258728623390198 + "score": 0.10957035422325134 } - }, - "else": { - "operation": "boost", - "score": 0.11609833687543869 } - }, - "else": { - "operation": "boost", - "score": -0.32240402698516846 } }, "else": { "operation": "boost", - "score": -0.02190571278333664 + "score": 0.055432237684726715 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "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": 454.5, + "threshold": 86.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 614.5, - "then": { - "operation": "boost", - "score": 0.09108629077672958 - }, - "else": { - "operation": "boost", - "score": 0.10732060670852661 - } - }, - "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 102.5, "then": { "operation": "boost", - "score": 0.07322269678115845 + "score": 0.01294466108083725 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 11.5, + "threshold": 99.0, "then": { "operation": "boost", - "score": -0.45613378286361694 + "score": 0.09312333166599274 }, "else": { "operation": "boost", - "score": 0.016004906967282295 + "score": -0.18046027421951294 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": -0.028082648292183876 + "score": 0.04760312661528587 }, "else": { - "operation": "boost", - "score": 0.1384444236755371 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96.0, + "then": { + "operation": "boost", + "score": 0.08927181363105774 + }, + "else": { + "operation": "boost", + "score": 0.11408285796642303 + } } } } }, "else": { + "operation": "boost", + "score": -0.03568573296070099 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.023424362763762474 + "score": 0.12629280984401703 }, "else": { + "operation": "boost", + "score": -0.27685439586639404 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function" + ], + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.12617231905460358 - }, - "else": { - "operation": "boost", - "score": 0.1516338735818863 - } + "operation": "boost", + "score": 0.012968306429684162 }, "else": { "operation": "boost", - "score": 0.0441141352057457 + "score": 0.12016778439283371 } + }, + "else": { + "operation": "boost", + "score": -0.03838469460606575 } } } }, - "else": { - "operation": "boost", - "score": -0.09165279567241669 - } - } - }, - "else": { - "operation": "boost", - "score": 0.024122564122080803 - } - }, - "else": { - "operation": "boost", - "score": -0.014269758947193623 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], - "then": { - "operation": "boost", - "score": 0.03232094645500183 - }, - "else": { - "operation": "boost", - "score": 0.012840887531638145 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3225.0, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Namespace" - ], - "then": { - "operation": "boost", - "score": 0.08344312757253647 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6843.0, - "then": { - "operation": "boost", - "score": 0.015249993652105331 - }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 50.5, "then": { - "operation": "boost", - "score": 0.08934856206178665 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.09166199713945389 + }, + "else": { + "operation": "boost", + "score": 0.057397905737161636 + } + }, + "else": { + "operation": "boost", + "score": -0.0709809884428978 + } }, "else": { "operation": "boost", - "score": 0.12117129564285278 + "score": -0.1859954446554184 } }, "else": { "operation": "boost", - "score": -0.015298519283533096 + "score": -0.11289287358522415 } } } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 85.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.11956223845481873 - }, - "else": { - "operation": "boost", - "score": 0.04476087912917137 - } + "operation": "boost", + "score": 0.11232214421033859 }, "else": { "operation": "boost", - "score": -0.07478226721286774 + "score": 0.12269030511379242 } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.01585126854479313 - }, - "else": { - "operation": "boost", - "score": -0.11804357916116714 - } + "operation": "boost", + "score": -0.12095960974693298 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_SymbolOrNewName" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 45.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.11676830053329468 - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.4370138645172119 - }, - "else": { - "operation": "boost", - "score": 0.07608332484960556 - } - }, - "else": { - "operation": "boost", - "score": -0.058377183973789215 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.10177092254161835 - }, - "else": { - "operation": "boost", - "score": 0.07403187453746796 - } - } - } + "operation": "boost", + "score": 0.1065715029835701 }, "else": { "operation": "boost", - "score": 0.007315353490412235 + "score": 0.07084105908870697 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.007411640603095293 - }, - "else": { - "operation": "boost", - "score": 0.05555541813373566 - } + "operation": "boost", + "score": -0.06550656259059906 } } } } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 219281.5, - "then": { - "operation": "boost", - "score": 0.11221356689929962 - }, - "else": { - "operation": "boost", - "score": 0.008149867877364159 - } - } - }, - "else": { - "operation": "boost", - "score": 0.00022055003501009196 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07767802476882935 - }, - "else": { - "operation": "boost", - "score": -0.02693570777773857 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type" - ], - "then": { - "operation": "boost", - "score": 0.08778514713048935 - }, - "else": { - "operation": "boost", - "score": 0.006149887107312679 - } - }, - "else": { - "operation": "boost", - "score": -0.00504448264837265 - } } }, "else": { "operation": "boost", - "score": -0.022006867453455925 + "score": 0.003781162900850177 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 44.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.09878752380609512 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.10816078633069992 - }, - "else": { - "operation": "boost", - "score": -0.07653502374887466 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Namespace" - ], + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 64.5, "then": { - "operation": "boost", - "score": 0.08396770805120468 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 275.0, "then": { "operation": "boost", - "score": 0.02915484458208084 + "score": 0.039345528930425644 }, "else": { - "operation": "boost", - "score": 0.12990590929985046 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 156.5, + "then": { + "operation": "boost", + "score": 0.11379610747098923 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.0, + "then": { + "operation": "boost", + "score": -0.08770938217639923 + }, + "else": { + "operation": "boost", + "score": 0.15728843212127686 + } + } } + }, + "else": { + "operation": "boost", + "score": -0.2455744594335556 } }, "else": { "operation": "boost", - "score": -0.10485449433326721 + "score": -0.1440250426530838 } }, "else": { "operation": "boost", - "score": 0.06475850939750671 + "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": 10.5, + "threshold": 4.0, "then": { - "operation": "boost", - "score": -0.05149193853139877 + "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" + ], + "then": { + "operation": "boost", + "score": 0.1297018676996231 + }, + "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": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 453.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 532.0, + "threshold": 501.5, "then": { - "operation": "boost", - "score": -0.14778229594230652 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 678.5, "then": { - "operation": "boost", - "score": -0.04443895071744919 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 7089.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 7108.5, "then": { "operation": "boost", - "score": 0.08881407976150513 + "score": 0.014366996474564075 }, "else": { "operation": "boost", - "score": 0.11076921969652176 + "score": 0.11247412115335464 } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 3661.5, "then": { - "operation": "boost", - "score": 0.11223907768726349 + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.04515538364648819 + }, + "else": { + "operation": "boost", + "score": -0.10208377987146378 + } }, "else": { - "operation": "boost", - "score": 0.0787709429860115 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3505.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02087404392659664 + }, + "else": { + "operation": "boost", + "score": 0.12017494440078735 + } + }, + "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 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 556.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1551373451948166 + }, + "else": { + "operation": "boost", + "score": 0.04340744763612747 + } + } + }, + "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 + } + } + } } } } + }, + "else": { + "operation": "boost", + "score": -0.26529887318611145 } }, "else": { "operation": "boost", - "score": 0.03779182583093643 + "score": 0.086934894323349 } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.00037645362317562103 - } - } - }, - { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 11.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Namespace", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Constructor", - "Type" - ], - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.1330384463071823 }, "else": { "operation": "boost", - "score": -0.1340198963880539 + "score": -0.17878711223602295 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 191566.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "operation": "boost", + "score": 0.09595518559217453 + }, + "else": { + "operation": "boost", + "score": -0.020894482731819153 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 473.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" + ], "then": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], "then": { - "operation": "boost", - "score": 0.04028531536459923 - }, - "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 657.5, "then": { - "operation": "boost", - "score": 0.10261423885822296 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4211.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5251.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5107.5, + "then": { + "operation": "boost", + "score": 0.10675318539142609 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.11986664682626724 + }, + "else": { + "operation": "boost", + "score": -0.2668737471103668 + } + } + } + }, + "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_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 630.0, "then": { "operation": "boost", - "score": 0.09823393076658249 + "score": 0.11301405727863312 }, "else": { "operation": "boost", - "score": 0.10200445353984833 + "score": 0.00991644524037838 } } + }, + "else": { + "operation": "boost", + "score": -0.08960284292697906 } }, "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 77890.0, "then": { "operation": "boost", - "score": -0.06279206275939941 + "score": -1.7902312278747559 }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope" - ], + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 16257.0, "then": { "operation": "boost", - "score": 0.006930517964065075 + "score": 0.0719214677810669 }, "else": { "operation": "boost", - "score": 0.11254546791315079 + "score": -0.31147778034210205 } }, "else": { "operation": "boost", - "score": -0.06503549963235855 + "score": 0.0813322439789772 } } } }, "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 460.5, + "then": { + "operation": "boost", + "score": 0.0991806909441948 + }, + "else": { + "operation": "boost", + "score": -0.16580475866794586 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1462.0, + "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ @@ -378918,2388 +368892,3080 @@ ], "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 16290.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 350855.0, "then": { + "operation": "boost", + "score": 0.09163392335176468 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 18.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.04182294383645058 + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2110.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2713.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7105.0, + "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.023473143577575684 + }, + "else": { + "operation": "boost", + "score": 0.0916372537612915 + } + }, + "else": { + "operation": "boost", + "score": 0.022564779967069626 + } + }, + "else": { + "operation": "boost", + "score": 0.1097777709364891 + } + }, + "else": { + "operation": "boost", + "score": -0.27944415807724 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014544793404638767 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1392.0, + "then": { + "operation": "boost", + "score": 0.10413013398647308 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 693.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 789.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 968.0, "then": { "operation": "boost", - "score": -0.043557070195674896 + "score": 0.12289079278707504 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 260.5, - "then": { - "operation": "boost", - "score": 0.1165507510304451 - }, - "else": { - "operation": "boost", - "score": -0.1217743307352066 - } + "operation": "boost", + "score": 0.2920297682285309 } }, "else": { "operation": "boost", - "score": 0.10838422924280167 + "score": 0.04449556767940521 } + }, + "else": { + "operation": "boost", + "score": 0.1156134083867073 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 249796.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], "then": { "operation": "boost", - "score": -3.509140968322754 + "score": 0.1456785649061203 }, "else": { "operation": "boost", - "score": -0.13479243218898773 + "score": -0.10116846114397049 } } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 19.0, + "feature": "NumReferences", + "threshold": 426.5, + "then": { + "operation": "boost", + "score": -0.027171533554792404 + }, + "else": { + "operation": "boost", + "score": 0.22299738228321075 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.07463329285383224 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 903.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1035.5, + "then": { + "operation": "boost", + "score": 0.011242326349020004 + }, + "else": { + "operation": "boost", + "score": 0.09610350430011749 + } + }, + "else": { + "operation": "boost", + "score": -0.12064561992883682 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 524.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19201.0, + "then": { + "operation": "boost", + "score": 0.07674149423837662 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10027.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.14619822800159454 + "score": 0.03224997967481613 }, "else": { "operation": "boost", - "score": 0.1298186182975769 + "score": -0.9408723711967468 } + }, + "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_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", "CCC_ArrowMemberAccess", + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_EnumTag", "CCC_Statement", - "CCC_Expression", "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", "CCC_UnionTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression", "CCC_Other", - "CCC_ParenthesizedExpression" + "CCC_Expression", + "CCC_DotMemberAccess", + "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 166.5, + "threshold": 445.5, "then": { "operation": "boost", - "score": 0.10453925281763077 + "score": 0.10846338421106339 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1.5, + "threshold": 415.0, "then": { "operation": "boost", - "score": -0.10787113010883331 + "score": -0.3642145097255707 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.10832652449607849 - }, - "else": { - "operation": "boost", - "score": 0.04908998683094978 - } + "operation": "boost", + "score": 0.11305121332406998 } } }, "else": { "operation": "boost", - "score": -0.09015461057424545 + "score": -0.43039628863334656 } } - }, - "else": { + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1179.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, + "feature": "NumReferences", + "threshold": 1246.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, + "feature": "NumReferences", + "threshold": 59716.0, "then": { "operation": "boost", - "score": 0.04081786423921585 + "score": -3.1118528842926025 }, "else": { - "operation": "boost", - "score": -0.0620359405875206 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16929.0, + "then": { + "operation": "boost", + "score": 0.0880889743566513 + }, + "else": { + "operation": "boost", + "score": -0.015515612438321114 + } } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.039887089282274246 - }, - "else": { - "operation": "boost", - "score": 0.09683127701282501 - } + "operation": "boost", + "score": 0.09595560282468796 } - } - } - }, - "else": { - "operation": "boost", - "score": 0.02897719293832779 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 402355.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.024821938946843147 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.09400662779808044 - }, - "else": { - "operation": "boost", - "score": 0.038087908178567886 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.06332136690616608 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1751.0, - "then": { - "operation": "boost", - "score": -0.08378206938505173 }, "else": { "operation": "boost", - "score": 0.034057073295116425 + "score": -0.1930975764989853 } } } } } - }, - "else": { - "operation": "boost", - "score": -0.11753398925065994 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 395.5, "then": { "operation": "boost", - "score": 0.0038640755228698254 + "score": 0.004652274306863546 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 292981.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], + "operation": "boost", + "score": -0.19465714693069458 + }, + "else": { + "operation": "boost", + "score": 0.10597789287567139 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 509.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 297177.5, - "then": { - "operation": "boost", - "score": 0.06078234314918518 - }, - "else": { - "operation": "boost", - "score": 0.26779523491859436 - } + "operation": "boost", + "score": 0.09493547677993774 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 756.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName", - "CCC_Expression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 868.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 2.5, + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "FilterLength", + "threshold": 7.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Function" - ], + "operation": "boost", + "score": 0.08308116346597672 + }, + "else": { + "operation": "boost", + "score": -0.2376917004585266 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1656.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, "then": { "operation": "boost", - "score": 0.017267553135752678 + "score": -0.07813651859760284 }, "else": { - "operation": "boost", - "score": -0.13526087999343872 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0960947722196579 + }, + "else": { + "operation": "boost", + "score": -0.19563470780849457 + } } }, "else": { "operation": "boost", - "score": 0.04948605224490166 + "score": -0.00011701409675879404 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04679858684539795 }, "else": { "operation": "boost", - "score": 0.05942835286259651 + "score": 0.10649380832910538 } - }, - "else": { - "operation": "boost", - "score": 0.015137473121285439 } }, "else": { "operation": "boost", - "score": -0.04648137465119362 + "score": -0.011429209262132645 } } }, + "else": { + "operation": "boost", + "score": -0.024533092975616455 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.5, + "then": { + "operation": "boost", + "score": 0.10256737470626831 + }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 159339.0, + "threshold": 412.5, "then": { "operation": "if_member", - "feature": "Scope", + "feature": "SymbolCategory", "set": [ - "ClassScope", - "FunctionScope", - "FileScope" + "Namespace" ], "then": { "operation": "boost", - "score": 0.06189456209540367 + "score": 0.08616013079881668 }, "else": { - "operation": "boost", - "score": -0.05560041964054108 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 140040.0, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "FileScope" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.0, - "then": { - "operation": "boost", - "score": 0.10277760028839111 - }, - "else": { - "operation": "boost", - "score": -0.14330238103866577 - } + "operation": "boost", + "score": -0.02451709657907486 }, "else": { "operation": "boost", - "score": 0.048671189695596695 + "score": 0.07133546471595764 } - }, - "else": { - "operation": "boost", - "score": -0.0007683985168114305 } + }, + "else": { + "operation": "boost", + "score": -0.04650748893618584 } } } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": 0.004287616815418005 }, "else": { - "operation": "boost", - "score": 0.02541389875113964 - } - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Destructor", - "Namespace", - "Keyword", - "Constructor", - "Function" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { + "operation": "boost", + "score": 0.012081116437911987 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 115.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 1232.5, + "threshold": 501.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 729.0, "then": { "operation": "boost", - "score": -0.1279871165752411 + "score": 0.08430742472410202 }, "else": { "operation": "boost", - "score": 0.10554981231689453 + "score": 0.10963127017021179 } }, "else": { "operation": "boost", - "score": -0.11134990304708481 + "score": -0.20437796413898468 } }, "else": { - "operation": "boost", - "score": -0.053872331976890564 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 110.5, - "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Type" ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.0, - "then": { - "operation": "boost", - "score": -0.0328851044178009 - }, - "else": { - "operation": "boost", - "score": 0.121167853474617 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 111.5, - "then": { - "operation": "boost", - "score": -0.17633236944675446 - }, - "else": { - "operation": "boost", - "score": 0.18127910792827606 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 89.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 90.5, + "threshold": 922.5, "then": { "operation": "boost", - "score": 0.0374097041785717 + "score": 0.08705134689807892 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 2.0, + "feature": "NumReferences", + "threshold": 521.5, "then": { "operation": "boost", - "score": 0.1245357096195221 + "score": -0.1326747089624405 }, "else": { "operation": "boost", - "score": -0.24930833280086517 + "score": 0.11264708638191223 } } }, "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_Symbol" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "boost", - "score": -0.01494247280061245 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.008895433507859707 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.1744903028011322 - }, - "else": { - "operation": "boost", - "score": 0.11603286117315292 - } - }, - "else": { - "operation": "boost", - "score": 0.016643868759274483 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.019765371456742287 - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.10332804173231125 - }, - "else": { - "operation": "boost", - "score": 0.10332157462835312 - } - } - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.032253198325634 - }, - "else": { - "operation": "boost", - "score": -0.033907290548086166 - } - } - }, - "else": { - "operation": "boost", - "score": -0.0026007641572505236 - } + "operation": "boost", + "score": -0.0010911333374679089 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "boost", - "score": -0.005464901216328144 }, "else": { "operation": "if_greater", - "feature": "FilterLength", + "feature": "IsNameInContext", "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 113.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 1204.0, "then": { "operation": "boost", - "score": 0.09227430075407028 + "score": 0.08573022484779358 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.06934447586536407 - }, - "else": { - "operation": "boost", - "score": -0.8915966153144836 - } + "operation": "boost", + "score": -0.1308092325925827 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], "then": { "operation": "boost", - "score": -0.35361048579216003 + "score": 0.10016925632953644 }, "else": { "operation": "boost", - "score": -0.006201496813446283 + "score": 0.04811244085431099 } } }, "else": { "operation": "boost", - "score": 0.029847804456949234 + "score": -0.04457610845565796 } }, "else": { "operation": "boost", - "score": 0.010665380395948887 + "score": -0.05074351653456688 } } } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Type", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.02997468411922455 - }, - "else": { - "operation": "boost", - "score": -0.05119871720671654 - } - }, - "else": { - "operation": "boost", - "score": -0.05662577971816063 - } } }, "else": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "FunctionScope", - "FileScope" - ], + "operation": "boost", + "score": 0.002919575432315469 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003132911224383861 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 636.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, "then": { + "operation": "boost", + "score": -0.10681876540184021 + }, + "else": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 1.5, + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1448.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": -0.0991128459572792 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "FileProximityDistance", + "threshold": 20.5, "then": { - "operation": "boost", - "score": 0.11176298558712006 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 3660.5, "then": { - "operation": "boost", - "score": 0.02468740940093994 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 4946.5, "then": { "operation": "boost", - "score": 0.09654494374990463 + "score": -0.014623434282839298 }, "else": { "operation": "boost", - "score": 0.013483173213899136 + "score": 0.11119701713323593 } + }, + "else": { + "operation": "boost", + "score": -0.18607006967067719 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, - "then": { - "operation": "boost", - "score": 0.09668650478124619 - }, - "else": { - "operation": "boost", - "score": 0.014495975337922573 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1310410052537918 - }, - "else": { - "operation": "boost", - "score": -0.22120358049869537 - } - }, - "else": { - "operation": "boost", - "score": 0.006495294161140919 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "IsDeprecated", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.2117213010787964 - }, - "else": { - "operation": "boost", - "score": 0.01140099298208952 - } - }, - "else": { - "operation": "boost", - "score": -0.008020637556910515 - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.10715064406394958 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.01592305861413479 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 14.5, + "threshold": 16714.5, "then": { + "operation": "boost", + "score": 0.010750741697847843 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 13648.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 0.5, + "threshold": 3.5, "then": { "operation": "boost", - "score": 0.09740372747182846 + "score": 0.05192354694008827 }, "else": { - "operation": "boost", - "score": -1.8209373950958252 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14536.5, + "then": { + "operation": "boost", + "score": 0.12398608773946762 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10785527527332306 + }, + "else": { + "operation": "boost", + "score": -0.1913495510816574 + } + } } }, "else": { "operation": "boost", - "score": 0.10918378084897995 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 2.5, - "then": { - "operation": "boost", - "score": -0.053147271275520325 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.07829639315605164 - }, - "else": { - "operation": "boost", - "score": 0.05705876648426056 - } + "score": 0.029453538358211517 } } }, "else": { "operation": "boost", - "score": -0.02606002427637577 + "score": -0.3475241959095001 } } - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 183.5, + "threshold": 14918.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 188.5, + "threshold": 16649.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, "then": { - "operation": "boost", - "score": -0.14234520494937897 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, + "feature": "NumReferences", + "threshold": 27487.0, "then": { "operation": "boost", - "score": 0.09896469861268997 + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32342.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "boost", + "score": 0.0003374289080966264 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, + "then": { + "operation": "boost", + "score": 0.1253245621919632 + }, + "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 + } + } + } + } + }, + "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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28239.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "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": 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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01990444026887417 + } + }, + "else": { + "operation": "boost", + "score": -0.07014243304729462 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.41635778546333313 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26223.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.08801015466451645 + }, + "else": { + "operation": "boost", + "score": -0.3354724943637848 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06813456118106842 + }, + "else": { + "operation": "boost", + "score": 0.10250832885503769 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1032504141330719 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23639.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -1.1952238082885742 + }, + "else": { + "operation": "boost", + "score": -0.05397212877869606 + } + }, + "else": { + "operation": "boost", + "score": -0.0002586705959402025 + } + } + } + } + } + } }, "else": { "operation": "boost", - "score": -0.16538415849208832 + "score": -0.2263496071100235 } } }, "else": { - "operation": "boost", - "score": 0.10035879909992218 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11719752848148346 + }, + "else": { + "operation": "boost", + "score": -0.3960946500301361 + } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 10008.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, + "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": 22.5, + "feature": "FileProximityDistance", + "threshold": 15.5, "then": { - "operation": "boost", - "score": -0.11987710744142532 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 20.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.20290762186050415 + "score": 0.12628333270549774 }, "else": { "operation": "boost", - "score": 0.04485011845827103 + "score": 0.13532845675945282 } + }, + "else": { + "operation": "boost", + "score": -0.06754998117685318 } }, "else": { "operation": "boost", - "score": 0.10962558537721634 + "score": -0.08100289851427078 } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 109.5, + "threshold": 8890.0, "then": { - "operation": "boost", - "score": -0.3529354929924011 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 107.5, + "threshold": 8956.0, "then": { - "operation": "boost", - "score": 0.07539977133274078 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 14.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 2147483648.0, "then": { - "operation": "boost", - "score": -0.0789945051074028 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "FileProximityDistance", + "threshold": 17.5, "then": { "operation": "boost", - "score": -0.07700594514608383 + "score": 0.041863422840833664 }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 35.5, + "feature": "FileProximityDistance", + "threshold": 16.5, "then": { "operation": "boost", - "score": 0.06308688968420029 + "score": 0.10475564002990723 }, "else": { - "operation": "boost", - "score": 0.11153081059455872 + "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 + } + } } } + }, + "else": { + "operation": "boost", + "score": -0.10560082644224167 } }, "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": 65.5, + "threshold": 3988.0, "then": { + "operation": "boost", + "score": -0.02888667583465576 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 75.0, + "threshold": 3851.5, "then": { "operation": "boost", - "score": -0.34638580679893494 + "score": 0.10597792267799377 }, "else": { "operation": "boost", - "score": 0.14289557933807373 + "score": 0.011364971287548542 } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.20153436064720154 + }, + "else": { + "operation": "boost", + "score": 0.0843270942568779 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.12664629518985748 }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 40.5, + "threshold": 1537.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2235.0, + "then": { + "operation": "boost", + "score": 0.11216627061367035 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.4637068212032318 + }, + "else": { + "operation": "boost", + "score": 0.10294357687234879 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13048657774925232 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2491.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": -0.5573278069496155 + "score": 0.15533828735351562 }, "else": { "operation": "boost", - "score": -0.11614590138196945 + "score": 0.09892742335796356 } + }, + "else": { + "operation": "boost", + "score": -0.008130716159939766 } } } } } } - }, - "else": { - "operation": "boost", - "score": -0.016011765226721764 - } - } - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.0008636126294732094 - } - }, - { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "boost", - "score": -0.015021761879324913 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 176.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 223.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": -0.01124248281121254 - }, - "else": { - "operation": "boost", - "score": 0.10954390466213226 } }, "else": { "operation": "boost", - "score": 0.10046882927417755 + "score": -0.03214314952492714 } }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.12194275856018066 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, - "then": { - "operation": "boost", - "score": 0.0982222631573677 - }, - "else": { - "operation": "boost", - "score": 0.05563163757324219 - } - } + "operation": "boost", + "score": -0.012246442027390003 } } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 11.0, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 52.0, - "then": { - "operation": "boost", - "score": 0.11403728276491165 - }, - "else": { - "operation": "boost", - "score": 0.05330176278948784 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.0058160992339253426 - }, - "else": { - "operation": "boost", - "score": 0.08072683960199356 - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_SymbolOrNewName" - ], - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 630.0, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 9994.5, + "feature": "FileProximityDistance", + "threshold": 13.0, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 13459.0, - "then": { - "operation": "boost", - "score": 0.013948659412562847 - }, - "else": { - "operation": "boost", - "score": 0.11430877447128296 - } + "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": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 943.0, + "threshold": 85.0, "then": { "operation": "boost", - "score": 0.08880746364593506 + "score": 0.0709943026304245 }, "else": { "operation": "boost", - "score": 0.012053284794092178 + "score": 0.10836495459079742 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 257.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 12.5, - "then": { - "operation": "boost", - "score": -0.019892007112503052 - }, - "else": { - "operation": "boost", - "score": 0.020868878811597824 - } - }, - "else": { - "operation": "boost", - "score": -0.05163877084851265 - } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaSaysInScope", - "threshold": 0.5, - "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": 1.5, + "threshold": 21.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 376.0, "then": { "operation": "boost", - "score": -0.07331984490156174 + "score": 0.12699569761753082 }, "else": { "operation": "boost", - "score": 0.06803363561630249 + "score": -0.15671876072883606 } }, "else": { "operation": "boost", - "score": -0.17652738094329834 + "score": -0.011279995553195477 } }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, + "feature": "NumReferences", + "threshold": 176.5, "then": { - "operation": "boost", - "score": 0.07209954410791397 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 177.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 181.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10306449979543686 + }, + "else": { + "operation": "boost", + "score": 0.028625058010220528 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 231.0, + "then": { + "operation": "boost", + "score": 0.11064489185810089 + }, + "else": { + "operation": "boost", + "score": -0.5711079239845276 + } + }, + "else": { + "operation": "boost", + "score": 0.14638495445251465 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 186.5, + "then": { + "operation": "boost", + "score": -0.053348615765571594 + }, + "else": { + "operation": "boost", + "score": 0.10782270133495331 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10668914020061493 + }, + "else": { + "operation": "boost", + "score": -0.16080453991889954 + } + } + }, + "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.015975838527083397 + "score": 0.028929712250828743 } } - }, - "else": { - "operation": "boost", - "score": -0.04527975246310234 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 74.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 25.5, + "threshold": 222.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 89.0, + "threshold": 223.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 199.0, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { + "operation": "boost", + "score": 0.016367992386221886 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, + "feature": "NumReferences", + "threshold": 307.0, "then": { - "operation": "boost", - "score": -0.20531262457370758 + "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.12099525332450867 + "score": -0.011186775751411915 } - }, - "else": { - "operation": "boost", - "score": -0.2646714746952057 } }, "else": { "operation": "boost", - "score": 0.1018257886171341 + "score": 0.1841798573732376 } }, "else": { "operation": "boost", - "score": -0.12197772413492203 + "score": -0.01932513527572155 } }, "else": { - "operation": "boost", - "score": 0.09274070709943771 + "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": "FilterLength", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 7.0, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 20.5, + "feature": "NumReferences", + "threshold": 200.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 21.5, + "threshold": 12.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 24.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.1288979947566986 - }, - "else": { - "operation": "boost", - "score": -1.681223147897981e-05 - } - }, - "else": { - "operation": "boost", - "score": -0.013673254288733006 - } + "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": "FilterLength", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 9.0, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.1445762664079666 - }, - "else": { - "operation": "boost", - "score": 0.11660745739936829 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 105.0, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 430.5, - "then": { - "operation": "boost", - "score": 0.014881877228617668 - }, - "else": { - "operation": "boost", - "score": 0.1266946941614151 - } - }, - "else": { - "operation": "boost", - "score": -0.012075605802237988 - } - } + "operation": "boost", + "score": -0.03289482370018959 }, "else": { "operation": "boost", - "score": 0.06871981918811798 + "score": 0.11207876354455948 } } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 610.5, + "then": { + "operation": "boost", + "score": 0.11153948307037354 }, "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 7.5, + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": -0.09477260708808899 - }, - "else": { - "operation": "boost", - "score": 0.1088683232665062 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, + "feature": "NumReferences", + "threshold": 177.5, "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 182.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 264.5, + "threshold": 350.5, "then": { "operation": "boost", - "score": 0.0866006389260292 + "score": -0.10692444443702698 }, "else": { - "operation": "boost", - "score": 0.011640106327831745 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.6376256346702576 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 299.5, + "then": { + "operation": "boost", + "score": 0.39577871561050415 + }, + "else": { + "operation": "boost", + "score": -0.10242854058742523 + } + }, + "else": { + "operation": "boost", + "score": 0.14826257526874542 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04346504807472229 + } } }, "else": { "operation": "boost", - "score": 0.09725090116262436 + "score": 0.18700164556503296 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 153.5, "then": { + "operation": "boost", + "score": -0.16086989641189575 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 8.5, + "threshold": 145.5, "then": { + "operation": "boost", + "score": 0.10737130790948868 + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 12.5, + "threshold": 137.5, "then": { "operation": "boost", - "score": -0.015241311863064766 + "score": -0.42607197165489197 }, "else": { "operation": "boost", - "score": 0.09835947304964066 + "score": 0.07546305656433105 } - }, - "else": { - "operation": "boost", - "score": -0.22293144464492798 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 7.5, - "then": { - "operation": "boost", - "score": 0.10165295004844666 - }, - "else": { - "operation": "boost", - "score": 0.01549049373716116 } } } + }, + "else": { + "operation": "boost", + "score": -0.013259944505989552 } }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 74.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 24563.5, - "then": { - "operation": "boost", - "score": 0.0770215392112732 - }, - "else": { - "operation": "boost", - "score": -0.018895607441663742 - } + "operation": "boost", + "score": 0.0027867748867720366 }, "else": { "operation": "boost", - "score": 0.014071385376155376 + "score": 0.12354940921068192 } } } - }, - "else": { + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0018796513322740793 + } + }, + "else": { + "operation": "boost", + "score": -0.00027510637301020324 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0005379684153012931 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Unknown", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116639.0, + "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 9.5, + "threshold": 16.5, "then": { "operation": "boost", - "score": -0.03959733247756958 + "score": -0.006540196947753429 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { + "operation": "boost", + "score": 0.020408596843481064 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "NumReferences", + "threshold": 148934.5, "then": { "operation": "boost", - "score": 0.10670813918113708 + "score": 0.0907929539680481 }, "else": { - "operation": "boost", - "score": 0.09476127475500107 + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4023343026638031 + }, + "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 + } + } } - }, - "else": { - "operation": "boost", - "score": -0.03912736102938652 } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 3.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 0.5, + "threshold": 325.5, "then": { - "operation": "boost", - "score": -0.0017221674788743258 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Symbol", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 1091.5, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 1320.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10021202266216278 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4261.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4290.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6044.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6175.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.07558123022317886 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9226.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10337.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14319.5, + "then": { + "operation": "boost", + "score": -0.11132889240980148 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13072.0, + "then": { + "operation": "boost", + "score": 0.1140306144952774 + }, + "else": { + "operation": "boost", + "score": -0.027981910854578018 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12380901724100113 + } + }, + "else": { + "operation": "boost", + "score": 0.056423626840114594 + } + } + }, + "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": 13.5, + "threshold": 18.5, "then": { "operation": "boost", - "score": 0.07501614093780518 + "score": -0.10880928486585617 }, "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "NumReferences", + "threshold": 1258.0, "then": { + "operation": "boost", + "score": -0.1135624572634697 + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 12.5, + "feature": "NumReferences", + "threshold": 1219.5, "then": { - "operation": "boost", - "score": 0.1865541785955429 + "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, + "then": { + "operation": "boost", + "score": -0.10190899670124054 + }, + "else": { + "operation": "boost", + "score": 0.10739216208457947 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1315.0, + "then": { + "operation": "boost", + "score": 0.117310531437397 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1200.5, + "then": { "operation": "boost", - "score": -0.21952565014362335 + "score": 0.03494250029325485 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1173.0, + "then": { + "operation": "boost", + "score": 0.13851742446422577 + }, + "else": { + "operation": "boost", + "score": -0.10223404318094254 + } } }, "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": "FileProximityDistance", - "threshold": 9.0, + "feature": "NumReferences", + "threshold": 683.0, "then": { "operation": "boost", - "score": 0.1044297143816948 + "score": 0.09642034024000168 }, "else": { "operation": "boost", - "score": -0.03061513788998127 + "score": 0.10107025504112244 } + }, + "else": { + "operation": "boost", + "score": -0.1041627749800682 } } }, "else": { "operation": "boost", - "score": -0.03349294513463974 + "score": 0.04446323588490486 } }, "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 331.5, "then": { - "operation": "boost", - "score": 0.031546518206596375 + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.06677538901567459 + }, + "else": { + "operation": "boost", + "score": 0.05623670667409897 + } }, "else": { - "operation": "boost", - "score": -0.0689607560634613 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 330.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.15996935963630676 + }, + "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": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.05105879530310631 + "score": -0.5063996911048889 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 17.5, - "then": { - "operation": "boost", - "score": 0.0868690088391304 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.06154507026076317 - }, - "else": { - "operation": "boost", - "score": -0.014533529058098793 - } - } + "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": "HadContextType", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 209.5, "then": { "operation": "boost", - "score": 0.02998226508498192 + "score": -0.4600152373313904 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "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": "FileProximityDistance", - "threshold": 24.5, + "feature": "NumReferences", + "threshold": 336.0, "then": { - "operation": "boost", - "score": 0.013735584914684296 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "SymbolScopeDistance", + "threshold": 3.0, "then": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, + "feature": "FilterLength", + "threshold": 5.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], "then": { - "operation": "boost", - "score": -0.006702962331473827 - }, - "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 22.5, + "feature": "NumReferences", + "threshold": 807.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 23.5, - "then": { - "operation": "boost", - "score": 0.0028683829586952925 - }, - "else": { - "operation": "boost", - "score": 0.10236445814371109 - } + "operation": "boost", + "score": 0.12275461107492447 }, "else": { "operation": "boost", - "score": 0.07197637110948563 + "score": -0.026720041409134865 } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, + "feature": "NumReferences", + "threshold": 11101.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23145.5, "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.0, - "then": { - "operation": "boost", - "score": 0.13549955189228058 - }, - "else": { - "operation": "boost", - "score": 0.23368658125400543 - } + "operation": "boost", + "score": 0.0067432476207613945 }, "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 23.5, + "threshold": 15.5, "then": { "operation": "boost", - "score": 0.0977807343006134 + "score": -0.04729185625910759 }, "else": { "operation": "boost", - "score": -0.04547186940908432 + "score": 0.11503738164901733 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Expression" - ], - "then": { - "operation": "boost", - "score": 0.1253391057252884 - }, - "else": { - "operation": "boost", - "score": 0.07980315387248993 - } + "operation": "boost", + "score": -0.0605824738740921 } - }, - "else": { - "operation": "boost", - "score": -0.17887850105762482 } - } - }, - "else": { - "operation": "boost", - "score": 0.0066796839237213135 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.30000001192092896, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 9.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "NumReferences", + "threshold": 3970.0, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel" - ], + "operation": "boost", + "score": 0.012716706842184067 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3026.0, "then": { + "operation": "boost", + "score": 0.11362159997224808 + }, + "else": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 13.5, + "threshold": 14.5, "then": { "operation": "boost", - "score": 0.11262444406747818 + "score": 0.09385515749454498 }, "else": { - "operation": "boost", - "score": 0.055557575076818466 - } - }, - "else": { - "operation": "boost", - "score": -0.036336008459329605 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Namespace", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 524.0, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 10.5, "then": { "operation": "boost", - "score": 0.052900321781635284 + "score": 0.021830523386597633 }, "else": { "operation": "boost", - "score": -0.03999650105834007 + "score": 0.08844281733036041 } }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, - "then": { - "operation": "boost", - "score": -0.1640869379043579 - }, - "else": { - "operation": "boost", - "score": 0.05913146957755089 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 5.0, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 508.0, "then": { "operation": "boost", - "score": -0.19749340415000916 + "score": 0.11349070817232132 }, "else": { - "operation": "boost", - "score": -0.04503856599330902 + "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 + } } - }, - "else": { - "operation": "boost", - "score": -0.31887561082839966 } } - }, - "else": { - "operation": "boost", - "score": -0.03575340658426285 } } - }, - "else": { - "operation": "boost", - "score": -0.02241133339703083 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "boost", - "score": 0.03850923106074333 + "score": 0.0624343603849411 }, "else": { "operation": "boost", - "score": -0.02977728471159935 + "score": -0.15616559982299805 } } }, "else": { + "operation": "boost", + "score": 0.1255251169204712 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": 7.0, + "threshold": 3.0, "then": { + "operation": "boost", + "score": -0.04189309477806091 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 8.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.12122467160224915 - }, - "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, + "feature": "FileProximityDistance", + "threshold": 11.5, "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": 0.042358674108982086 - }, - "else": { - "operation": "boost", - "score": -0.5476294755935669 - } + "operation": "boost", + "score": 0.01093680877238512 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion" - ], - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, - "then": { - "operation": "boost", - "score": 0.11997724324464798 - }, - "else": { - "operation": "boost", - "score": 0.5632542371749878 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 16.5, - "then": { - "operation": "boost", - "score": -0.34472769498825073 - }, - "else": { - "operation": "boost", - "score": 0.13207393884658813 - } - }, - "else": { - "operation": "boost", - "score": 0.11004416644573212 - } - } + "operation": "boost", + "score": 0.09987690299749374 } + }, + "else": { + "operation": "boost", + "score": -0.125138059258461 } + } + }, + "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": "FilterLength", - "threshold": 5.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_Type" - ], + "operation": "boost", + "score": -0.11972928792238235 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92.5, "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 14.5, + "threshold": 11.5, "then": { + "operation": "boost", + "score": 0.2008715271949768 + }, + "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "NumReferences", + "threshold": 95.5, "then": { "operation": "boost", - "score": 0.08048024028539658 + "score": -0.12538479268550873 }, "else": { "operation": "boost", - "score": 0.15995019674301147 + "score": 0.11599748581647873 } - }, - "else": { - "operation": "boost", - "score": 0.08856014907360077 } }, "else": { - "operation": "boost", - "score": -0.055917203426361084 + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.5, + "then": { + "operation": "boost", + "score": -0.07533645629882812 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82.5, + "then": { + "operation": "boost", + "score": 0.1446443349123001 + }, + "else": { + "operation": "boost", + "score": -0.33114394545555115 + } + } } - }, - "else": { - "operation": "boost", - "score": 0.0003489040827844292 } + }, + "else": { + "operation": "boost", + "score": 0.13443557918071747 } + }, + "else": { + "operation": "boost", + "score": 0.0028896171133965254 } } } } - } - }, - "else": { - "operation": "boost", - "score": -0.0011391236912459135 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, - "then": { + }, + "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 14.5, + "feature": "NumReferences", + "threshold": 195.5, "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, "then": { "operation": "boost", - "score": -0.0025171677116304636 + "score": 0.004766733385622501 }, "else": { - "operation": "boost", - "score": -0.08412779122591019 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09699583053588867 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 402.5, + "then": { + "operation": "boost", + "score": -0.32160428166389465 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10720673948526382 + }, + "else": { + "operation": "boost", + "score": 0.07320809364318848 + } + } + } } }, "else": { "operation": "boost", - "score": -0.0006872338708490133 + "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": "FileProximityDistance", - "threshold": 18.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 78.5, "then": { - "operation": "boost", - "score": -0.13180354237556458 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.5, "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 310.5, + "then": { + "operation": "boost", + "score": -0.007049118168652058 + }, + "else": { + "operation": "boost", + "score": 0.09001092612743378 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 293.5, + "then": { + "operation": "boost", + "score": -0.03966231271624565 + }, + "else": { + "operation": "boost", + "score": 0.09245357662439346 + } + }, + "else": { + "operation": "boost", + "score": -0.311857134103775 + } + } + }, + "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 630.5, + "threshold": 163.5, "then": { "operation": "boost", - "score": 0.11901829391717911 + "score": 0.08347970992326736 }, "else": { "operation": "boost", - "score": 0.210386723279953 + "score": 0.03505120053887367 } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.8027737140655518 }, "else": { "operation": "boost", - "score": 0.0025190655142068863 + "score": 0.10901664942502975 } } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "boost", - "score": 0.031334348022937775 - }, - "else": { - "operation": "boost", - "score": -0.020704219117760658 - } + "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": "FileProximityDistance", - "threshold": 9.5, + "feature": "SemaSaysInScope", + "threshold": 0.5, "then": { - "operation": "boost", - "score": -0.020971717312932014 + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1066734567284584 + }, + "else": { + "operation": "boost", + "score": -0.03798479214310646 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "boost", + "score": -0.41952845454216003 + }, + "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_ParenthesizedExpression" + "CCC_Other", + "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FileProximityDistance", - "threshold": 4.5, + "threshold": 12.5, "then": { "operation": "boost", - "score": 0.020292792469263077 + "score": 0.003406872507184744 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 9.5, "then": { - "operation": "boost", - "score": 0.04556266963481903 - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 10.5, "then": { - "operation": "boost", - "score": 0.22493872046470642 + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09665005654096603 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "boost", + "score": 0.10402515530586243 + }, + "else": { + "operation": "boost", + "score": -0.17073792219161987 + } + } }, "else": { - "operation": "boost", - "score": 0.1196954995393753 + "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.16094687581062317 + "score": 0.05740176513791084 } + }, + "else": { + "operation": "boost", + "score": 0.04599408060312271 } } }, "else": { "operation": "boost", - "score": -0.002551162615418434 + "score": -0.05049802362918854 } } } @@ -381309,902 +371975,879 @@ }, "else": { "operation": "boost", - "score": -0.0003085901844315231 + "score": -0.0003758746897801757 } }, { "operation": "if_greater", - "feature": "SemaFileProximityScore", - "threshold": 0.800000011920929, + "feature": "IsImplementationDetail", + "threshold": 0.5, "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "GlobalScope", - "FunctionScope" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable", - "Type", - "Function" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "HadSymbolType", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "feature": "NumReferences", + "threshold": 9.5, "then": { "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, + "feature": "NumReferences", + "threshold": 6089.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 5.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, + "feature": "FileProximityDistance", + "threshold": 19.0, "then": { "operation": "boost", - "score": -0.014313936233520508 + "score": -0.6367723941802979 }, "else": { "operation": "boost", - "score": 0.08316528052091599 + "score": 0.027011949568986893 } }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07472916692495346 - }, - "else": { - "operation": "boost", - "score": -0.10214059054851532 - } - }, - "else": { - "operation": "boost", - "score": 0.015059112571179867 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "TypeMatchesPreferred", - "threshold": 0.5, - "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 7.5, + "feature": "FilterLength", + "threshold": 3.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 8.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { "operation": "boost", - "score": 0.0004970754380337894 + "score": -0.18362212181091309 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.0998448058962822 - }, - "else": { - "operation": "boost", - "score": -0.3098530173301697 - } + "operation": "boost", + "score": 0.08825422823429108 } }, "else": { + "operation": "boost", + "score": -0.16570794582366943 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "FileProximityDistance", + "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FilterLength", - "threshold": 3.5, + "threshold": 4.0, "then": { "operation": "boost", - "score": -0.11404494941234589 + "score": 0.1076260507106781 }, "else": { "operation": "boost", - "score": 0.10446009039878845 + "score": -0.10694114863872528 } }, "else": { "operation": "boost", - "score": 0.11462706327438354 + "score": 0.135552316904068 } + }, + "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_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, - "then": { - "operation": "boost", - "score": 0.013800322078168392 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.008902843110263348 - }, - "else": { - "operation": "boost", - "score": -0.12965159118175507 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.06581288576126099 - }, - "else": { - "operation": "boost", - "score": 0.033056292682886124 - } - } - } + "operation": "boost", + "score": 0.1220465898513794 }, "else": { "operation": "boost", - "score": -0.044551651924848557 + "score": 0.09303239732980728 } } }, "else": { + "operation": "boost", + "score": 0.07504937052726746 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 6.5, + "feature": "FilterLength", + "threshold": 4.5, "then": { + "operation": "boost", + "score": 0.0565190315246582 + }, + "else": { "operation": "if_greater", - "feature": "IsNameInContext", + "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", - "score": 0.0002452133921906352 + "score": -0.10094248503446579 }, "else": { + "operation": "boost", + "score": 0.10209590941667557 + } + } + }, + "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.011584019288420677 + } + }, + "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": "boost", + "score": -0.006853652652353048 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011388398706912994 + }, + "else": { + "operation": "boost", + "score": 0.014450003392994404 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "SymbolScopeDistance", + "threshold": 1.0, "then": { - "operation": "boost", - "score": 0.006592861842364073 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 30340.5, + "feature": "FileProximityDistance", + "threshold": 13.5, "then": { - "operation": "boost", - "score": -0.007901876233518124 - }, - "else": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.020451802760362625 + "score": -0.11045662313699722 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26168.5, - "then": { - "operation": "boost", - "score": 0.12375427037477493 - }, - "else": { - "operation": "boost", - "score": 0.07113901525735855 - } + "operation": "boost", + "score": 0.11003991961479187 } + }, + "else": { + "operation": "boost", + "score": 0.020545735955238342 } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.11284404247999191 }, "else": { "operation": "boost", - "score": -0.031994350254535675 + "score": 0.15181151032447815 } }, "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 3.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { + "operation": "boost", + "score": 0.04957350715994835 + }, + "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 7.5, + "threshold": 6.0, "then": { "operation": "boost", - "score": -0.05357293412089348 + "score": 0.11498082429170609 }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 6.5, - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "boost", - "score": 0.10207538306713104 - }, - "else": { - "operation": "boost", - "score": -0.06864313036203384 - } - }, - "else": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { - "operation": "boost", - "score": 0.11003358662128448 - }, - "else": { - "operation": "boost", - "score": 0.13246528804302216 - } - } - }, - "else": { - "operation": "boost", - "score": -0.43516942858695984 - } - }, - "else": { - "operation": "boost", - "score": -0.26188841462135315 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor", - "Type", - "Function" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.09820415824651718 - }, - "else": { - "operation": "boost", - "score": 0.0077728512696921825 - } - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": -0.22685395181179047 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 3.5, - "then": { - "operation": "boost", - "score": 0.11955856531858444 - }, - "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 4.5, - "then": { - "operation": "boost", - "score": 0.11475875973701477 - }, - "else": { - "operation": "boost", - "score": 0.06453921645879745 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": -0.18006443977355957 - } - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.07359766215085983 - }, - "else": { - "operation": "boost", - "score": 0.011917716823518276 - } - }, - "else": { - "operation": "boost", - "score": -0.013556225225329399 - } - } - } + "operation": "boost", + "score": -0.011203131638467312 } }, "else": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 10.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.11875927448272705 - }, - "else": { - "operation": "boost", - "score": -0.1649228185415268 - } - }, - "else": { - "operation": "boost", - "score": -0.08541391789913177 - } + "operation": "boost", + "score": 0.11188633739948273 } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006651789415627718 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.019939839839935303 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": -0.5, + "feature": "FileProximityDistance", + "threshold": 3.5, "then": { "operation": "boost", - "score": -0.03046177513897419 + "score": 0.16911838948726654 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, "then": { "operation": "boost", - "score": 0.08597023040056229 + "score": 0.1407659649848938 }, "else": { "operation": "boost", - "score": 0.027629805728793144 + "score": -0.11597326397895813 } } } } } - } - } - }, - "else": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.0049690669402480125 - }, - "else": { - "operation": "boost", - "score": 0.001399590284563601 - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_ArrowMemberAccess", - "CCC_Statement", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_Other" - ], - "then": { - "operation": "if_greater", - "feature": "IsImplementationDetail", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Operator", - "Variable", - "Destructor", - "Namespace", - "Unknown", - "Keyword", - "Macro", - "Constructor" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_DotMemberAccess", - "CCC_EnumTag", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ArrowMemberAccess", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.011560275219380856 - }, - "else": { - "operation": "boost", - "score": 0.046289827674627304 - } - }, - "else": { - "operation": "boost", - "score": -0.0011220359010621905 - } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.048378899693489075 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 10.5, + "feature": "NumReferences", + "threshold": 9.0, "then": { "operation": "boost", - "score": -0.11035280674695969 + "score": 0.09365657716989517 }, "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_Statement" - ], + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, "then": { "operation": "boost", - "score": 0.10260619223117828 + "score": -0.7921183705329895 }, "else": { - "operation": "boost", - "score": 0.03466727212071419 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.4369247555732727 + }, + "else": { + "operation": "boost", + "score": 0.07703229784965515 + } } } }, "else": { "operation": "boost", - "score": -0.007495824713259935 + "score": 0.007292652502655983 } } - }, - "else": { - "operation": "boost", - "score": -0.11239519715309143 } - }, - "else": { + } + } + }, + "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": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_Statement", - "CCC_ClassOrStructTag" - ], + "operation": "boost", + "score": 0.2065284699201584 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistance", - "threshold": -0.5, + "threshold": 3.0, "then": { - "operation": "boost", - "score": 0.03905633091926575 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 69564.0, + "feature": "FileProximityDistance", + "threshold": 18.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 150649.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { "operation": "boost", - "score": -0.0583905391395092 + "score": 0.11177556961774826 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, + "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.05346979573369026 + "score": 0.34912800788879395 }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 93657.0, - "then": { - "operation": "boost", - "score": 0.11060009151697159 - }, - "else": { - "operation": "boost", - "score": 0.0429556630551815 - } - }, - "else": { - "operation": "boost", - "score": 0.04179450124502182 - } + "operation": "boost", + "score": -0.06327354162931442 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 167.5, + "threshold": 1.5, "then": { - "operation": "boost", - "score": -0.05382755771279335 - }, - "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 87.5, + "threshold": 2.5, "then": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 98.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 4.5, + "feature": "NumReferences", + "threshold": 32774.0, "then": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 132.5, + "threshold": 33949.0, "then": { "operation": "boost", - "score": 0.11687815189361572 + "score": 0.00275589432567358 }, "else": { "operation": "boost", - "score": -0.04928437992930412 + "score": 0.11126405000686646 } }, "else": { "operation": "boost", - "score": -0.0608711764216423 + "score": -0.048518288880586624 } }, "else": { - "operation": "boost", - "score": 0.11503217369318008 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1099848747253418 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.0, + "then": { + "operation": "boost", + "score": 0.026838945224881172 + }, + "else": { + "operation": "boost", + "score": 0.10381709039211273 + } + }, + "else": { + "operation": "boost", + "score": -0.2224569022655487 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13326673209667206 + }, + "else": { + "operation": "boost", + "score": 0.06755934655666351 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0732160359621048 + }, + "else": { + "operation": "boost", + "score": 0.04061681032180786 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.17515695095062256 + } + }, + "else": { + "operation": "boost", + "score": 0.009993339888751507 + } + } } }, "else": { - "operation": "boost", - "score": 0.000491590762976557 - } - } - } - } - }, - "else": { - "operation": "boost", - "score": 0.011776365339756012 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_EnumTag", - "CCC_Expression", - "CCC_Namespace", - "CCC_Type", - "CCC_ClassOrStructTag", - "CCC_UnionTag", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 9.5, - "then": { - "operation": "if_member", - "feature": "Scope", - "set": [ - "ClassScope", - "GlobalScope", - "FileScope" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Variable" - ], - "then": { "operation": "if_greater", - "feature": "FilterLength", - "threshold": 14.0, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.1885674148797989 + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.15436714887619019 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.00766731658950448 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026235757395625114 + } + }, + "else": { + "operation": "boost", + "score": 0.12794198095798492 + } + } }, "else": { - "operation": "boost", - "score": 0.1208353266119957 + "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, + "then": { + "operation": "boost", + "score": 0.05274040251970291 + }, + "else": { + "operation": "boost", + "score": 0.1145688146352768 + } + }, + "else": { + "operation": "boost", + "score": -0.12638165056705475 + } + }, + "else": { + "operation": "boost", + "score": 0.10448310524225235 + } + }, + "else": { + "operation": "boost", + "score": 0.05835979804396629 + } } - }, - "else": { - "operation": "boost", - "score": 0.010386188514530659 } }, - "else": { - "operation": "boost", - "score": -0.026449916884303093 - } - }, - "else": { - "operation": "if_greater", - "feature": "IsInstanceMember", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": -0.89058518409729 - }, "else": { "operation": "if_greater", "feature": "NumReferences", - "threshold": 20118.5, + "threshold": 0.5, "then": { + "operation": "boost", + "score": -0.13502247631549835 + }, + "else": { "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "feature": "FileProximityDistance", + "threshold": 8.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 26817.0, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], "then": { - "operation": "boost", - "score": -0.050284795463085175 - }, - "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 23993.5, + "feature": "SymbolScopeDistance", + "threshold": 5.0, "then": { - "operation": "boost", - "score": 0.11696711927652359 + "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": "NumReferences", - "threshold": 21097.0, + "feature": "HadContextType", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10540341585874557 + "score": 0.11295817047357559 }, "else": { "operation": "boost", - "score": 0.10914534330368042 + "score": 0.06299348920583725 } } + }, + "else": { + "operation": "boost", + "score": 0.019836949184536934 } }, "else": { - "operation": "boost", - "score": -0.022960200905799866 + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10686545073986053 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.007504635490477085 + }, + "else": { + "operation": "boost", + "score": 0.07100047171115875 + } + } + }, + "else": { + "operation": "boost", + "score": -0.132868230342865 + } } - }, - "else": { - "operation": "boost", - "score": -0.0014585170429199934 } } } @@ -382213,435 +372856,495 @@ "operation": "if_member", "feature": "Scope", "set": [ - "GlobalScope" + "FunctionScope", + "ClassScope", + "FileScope" ], "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], "then": { + "operation": "boost", + "score": 0.060701627284288406 + }, + "else": { "operation": "if_greater", - "feature": "NumReferences", - "threshold": 11877.5, + "feature": "FilterLength", + "threshold": 1.5, "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 12625.5, + "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.03925085812807083 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.003367809811607003 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03584323078393936 + }, + "else": { + "operation": "boost", + "score": 0.07262790203094482 + } + }, + "else": { + "operation": "boost", + "score": 0.029170794412493706 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008678650483489037 + } }, "else": { "operation": "boost", - "score": 0.09567585587501526 + "score": -0.009807078167796135 } }, "else": { "operation": "boost", - "score": -0.02369404211640358 + "score": -0.01514025405049324 } - }, - "else": { - "operation": "boost", - "score": 0.06442707777023315 } }, "else": { - "operation": "if_greater", - "feature": "HadContextType", - "threshold": 0.5, + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Function", + "Type" + ], "then": { "operation": "boost", - "score": 0.1121983677148819 + "score": -0.03132624924182892 }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "IsReservedName", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.048359114676713943 - }, - "else": { - "operation": "boost", - "score": 0.02172894962131977 - } - }, - "else": { - "operation": "boost", - "score": 0.0011747463140636683 - } + "operation": "boost", + "score": -0.11501562595367432 } } } }, "else": { "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { - "operation": "boost", - "score": 0.004739707335829735 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Operator", + "Keyword", "Variable", "Destructor", - "Namespace", + "Operator", "Unknown", - "Keyword", - "Macro", "Constructor", "Type" ], "then": { - "operation": "boost", - "score": -0.001706857467070222 + "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": "boost", - "score": -0.06774544715881348 + "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" + ], + "then": { + "operation": "boost", + "score": -0.014614921994507313 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0008486551814712584 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.14532820880413055 + }, + "else": { + "operation": "boost", + "score": -0.025752069428563118 + } + } + } } + }, + "else": { + "operation": "boost", + "score": 0.007462368346750736 } } } - } - }, - "else": { - "operation": "boost", - "score": -0.022050460800528526 - } - } - }, - "else": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.0, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 5.5, - "then": { - "operation": "boost", - "score": 0.008697308599948883 - }, - "else": { - "operation": "boost", - "score": -0.03816290572285652 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_ClassStructUnion", - "CCC_TopLevel", - "CCC_SymbolOrNewName", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "boost", - "score": 0.13940061628818512 - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 15.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "boost", - "score": 0.10027442127466202 - }, - "else": { - "operation": "boost", - "score": 0.10346681624650955 - } - }, - "else": { - "operation": "boost", - "score": 0.02943488582968712 - } - } - } - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_Statement", - "CCC_Expression", - "CCC_ClassOrStructTag", - "CCC_Symbol", - "CCC_UnionTag", - "CCC_Other", - "CCC_ParenthesizedExpression" - ], - "then": { - "operation": "if_member", - "feature": "SymbolCategory", - "set": [ - "Namespace" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 3.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 6.5, - "then": { - "operation": "boost", - "score": -0.16407445073127747 }, "else": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_Statement", - "CCC_Symbol" + "Variable", + "Function" ], - "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.1095295324921608 - }, - "else": { - "operation": "boost", - "score": 0.1022680476307869 - } - }, - "else": { - "operation": "boost", - "score": 0.07490068674087524 - } - } - }, - "else": { - "operation": "boost", - "score": 0.043838970363140106 - } - }, - "else": { - "operation": "if_member", - "feature": "ContextKind", - "set": [ - "CCC_EnumTag", - "CCC_SymbolOrNewName", - "CCC_ClassOrStructTag" - ], - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 50007.5, "then": { "operation": "boost", - "score": 0.07781954854726791 + "score": 0.02449943497776985 }, "else": { "operation": "boost", - "score": -0.5695374608039856 + "score": -0.012319260276854038 } - }, - "else": { - "operation": "boost", - "score": -0.017780816182494164 } }, "else": { "operation": "if_greater", - "feature": "IsInBaseClass", - "threshold": 0.5, + "feature": "FilterLength", + "threshold": 2.5, "then": { "operation": "if_member", - "feature": "ContextKind", + "feature": "SymbolCategory", "set": [ - "CCC_ParenthesizedExpression" + "Keyword", + "Variable", + "Destructor", + "Operator", + "Unknown", + "Constructor", + "Type" ], "then": { + "operation": "boost", + "score": 0.007957075722515583 + }, + "else": { "operation": "if_member", - "feature": "SymbolCategory", + "feature": "ContextKind", "set": [ - "Variable" + "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.05318981409072876 + "score": -0.00857355073094368 }, "else": { "operation": "boost", - "score": 0.013902058824896812 + "score": -0.02991998754441738 } - }, - "else": { - "operation": "boost", - "score": 0.004509645979851484 } }, "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 18.5, + "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.005063479766249657 - }, - "else": { "operation": "if_greater", - "feature": "IsImplementationDetail", + "feature": "IsInBaseClass", "threshold": 0.5, "then": { - "operation": "boost", - "score": 0.0999651849269867 - }, - "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ - "Variable" + "Function" ], "then": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 13.5, - "then": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 0.5, - "then": { - "operation": "if_greater", - "feature": "NumReferences", - "threshold": 0.5, - "then": { - "operation": "boost", - "score": 0.08375799655914307 - }, - "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 2.0, - "then": { - "operation": "boost", - "score": 0.03034231625497341 - }, - "else": { - "operation": "boost", - "score": 0.1278867870569229 - } - } - }, - "else": { - "operation": "boost", - "score": -0.10492553561925888 - } - }, - "else": { - "operation": "boost", - "score": 0.04548022896051407 - } - }, - "else": { - "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 10.5, + "feature": "IsNameInContext", + "threshold": 0.5, "then": { "operation": "boost", - "score": -0.0947282537817955 + "score": 0.007093135733157396 }, "else": { "operation": "if_greater", - "feature": "FileProximityDistance", - "threshold": 8.5, + "feature": "HadContextType", + "threshold": 0.5, "then": { - "operation": "if_greater", - "feature": "IsNameInContext", - "threshold": 0.5, + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], "then": { "operation": "if_greater", - "feature": "HadContextType", + "feature": "FilterLength", "threshold": 0.5, "then": { "operation": "boost", - "score": -0.10475878417491913 + "score": 0.013998414389789104 }, "else": { "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 1.5, + "feature": "TypeMatchesPreferred", + "threshold": 0.5, "then": { "operation": "boost", - "score": 0.11926954239606857 + "score": -0.12165842950344086 }, "else": { - "operation": "boost", - "score": 0.10430911183357239 + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08697892725467682 + }, + "else": { + "operation": "boost", + "score": -0.1044471263885498 + } } } }, "else": { - "operation": "if_greater", - "feature": "FilterLength", - "threshold": 1.5, - "then": { - "operation": "if_greater", - "feature": "SymbolScopeDistance", - "threshold": 9.0, - "then": { - "operation": "boost", - "score": -0.2247661054134369 - }, - "else": { - "operation": "boost", - "score": 0.08619440346956253 - } - }, - "else": { - "operation": "boost", - "score": 0.03285118564963341 - } + "operation": "boost", + "score": 0.062120962888002396 } }, "else": { "operation": "boost", - "score": 0.012279434129595757 + "score": 0.04694046452641487 } } + }, + "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.02935420349240303 + }, + "else": { + "operation": "boost", + "score": -0.05213822424411774 + } } + }, + "else": { + "operation": "boost", + "score": 0.0006883793976157904 } + }, + "else": { + "operation": "boost", + "score": -0.0038289958611130714 } } } } }, "else": { - "operation": "boost", - "score": -0.017639826983213425 + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Keyword", + "Unknown", + "Constructor", + "Function", + "Namespace" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.013474937528371811 + } } + }, + "else": { + "operation": "boost", + "score": -9.381832205690444e-05 } - }, - "else": { - "operation": "boost", - "score": -0.00039527288754470646 } } ] \ No newline at end of file